/* landing.css - Modern, Premium Stylesheet for MrKodi Compliance & Landing Page */

:root {
  --primary: #1565c0;
  --primary-hover: #0d47a1;
  --primary-light: #e3f2fd;
  --secondary: #2e7d32;
  --secondary-hover: #1b5e20;
  --secondary-light: #e8f5e9;
  --text-dark: #263238;
  --text-muted: #546e7a;
  --bg-light: #f8faff;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 30px rgba(21, 101, 192, 0.1);
  --transition: all 0.3s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.logo-emoji {
  font-size: 30px;
  background: var(--primary-light);
  padding: 6px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.2);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: #bbdefb;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, #e3f2fd 0%, transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #0d47a1;
}

.hero-content h1 span {
  color: var(--secondary);
}

.hero-content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.phone-mockup-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup-frame {
  width: 320px;
  height: 640px;
  border: 12px solid #263238;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background: #ffffff;
  position: relative;
}

.phone-mockup-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  color: #0d47a1;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background-color: var(--bg-light);
  padding: 40px 32px;
  border-radius: 20px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
  transform: translateY(-8px);
  background-color: var(--white);
  box-shadow: var(--shadow-hover);
  border-color: rgba(21, 101, 192, 0.1);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 24px;
  display: inline-block;
  background: var(--primary-light);
  padding: 12px;
  border-radius: 16px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.price-card {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.price-card.featured {
  border-color: var(--primary);
  transform: scale(1.03);
}

.price-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 30px;
  transform: rotate(45deg);
}

.price-card:hover {
  box-shadow: var(--shadow-hover);
}

.price-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.price-amt {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.price-amt span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin-bottom: 36px;
}

.price-features li {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.price-features li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: bold;
}

/* Document Details (T&C, Privacy, etc.) */
.policy-page {
  padding: 60px 0 100px;
}

.policy-content {
  background-color: var(--white);
  border-radius: 24px;
  padding: 60px;
  box-shadow: var(--shadow);
}

.policy-content h1 {
  font-size: 36px;
  color: #0d47a1;
  margin-bottom: 12px;
  font-weight: 800;
}

.policy-date {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.policy-section {
  margin-bottom: 32px;
}

.policy-section h2 {
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 16px;
  font-weight: 700;
}

.policy-section p, .policy-section li {
  font-size: 16px;
  color: #455a64;
  margin-bottom: 12px;
}

.policy-section ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* Contact Page Form & Details */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #0d47a1;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 24px;
  background: var(--primary-light);
  padding: 10px;
  border-radius: 12px;
  line-height: 1;
}

.contact-text h4 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-text p {
  color: var(--text-muted);
  font-size: 15px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: var(--font);
  font-size: 15px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

/* Footer Section */
footer {
  background-color: #1a237e;
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}

/* Warning alert box for placeholder data */
.admin-nudge {
  background-color: #fff3e0;
  border-left: 5px solid #ff9800;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  color: #e65100;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content p {
    margin: 0 auto 36px;
  }
  .hero-actions {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .nav-container {
    height: 70px;
  }
  .nav-links {
    display: none; /* simple hidden links for mobile preview simplicity */
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .policy-content {
    padding: 30px 20px;
  }
}
