/* ===== Reset & Variables ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1B2A4A;
  --navy-light: #243556;
  --navy-dark: #131E35;
  --surface: #1E2D4D;
  --surface-light: #253761;
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --gold-dim: rgba(201,168,76,0.15);
  --green: #4CAF50;
  --yellow: #FFC107;
  --red: #EF5350;
  --white: #FFFFFF;
  --text-primary: #E8E8E8;
  --text-secondary: #A0AEC0;
  --text-dim: #6B7A99;
  --border: rgba(255,255,255,0.08);
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
  --transition: 0.2s ease;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--navy-dark);
}

/* ===== Navigation ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--navy-dark);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-large {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-google {
  width: 100%;
  padding: 0.7rem 1.2rem;
  background: var(--white);
  color: #333;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-google:hover {
  background: #f5f5f5;
}

/* ===== Hero ===== */
.hero {
  background: var(--navy-dark);
  color: var(--white);
  padding: 3rem 2rem;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-split {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2.5rem;
  color: var(--white);
  text-align: center;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-image {
  flex: 1.3;
  max-width: 700px;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-dim);
  max-width: 150px;
  text-align: center;
}

/* ===== Sections ===== */
.section {
  padding: 2.5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.section-dark {
  background: transparent;
  max-width: 1000px;
  padding: 2.5rem 2rem;
  margin: 0 auto;
}

.section h2,
.section-dark h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 700px;
  margin: 0.5rem auto 1.5rem;
  line-height: 1.5;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== Check Grid ===== */
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.check-category {
  padding: 1.5rem;
  border-left: 3px solid var(--gold);
}

.check-category h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.check-category p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== Pricing ===== */
.pricing-card {
  max-width: 500px;
  margin: 1.5rem auto 0;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.pricing-per {
  display: block;
  font-size: 1rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  margin-right: 0.5rem;
}

.pricing-comparison {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ===== Audience ===== */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.audience {
  padding: 1.5rem;
  border-left: 3px solid var(--gold);
}

.audience h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.audience p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-dark);
  color: var(--text-dim);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

.footer-note {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ===== Modal ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 400px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dim);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--white);
}

.modal h2 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-align: center;
}

#auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#auth-form input {
  padding: 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--navy-dark);
  color: var(--text-primary);
}

#auth-form input:focus {
  outline: none;
  border-color: var(--gold);
}

.password-field {
  position: relative;
}

.password-field input {
  width: 100%;
  padding-right: 60px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gold);
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}

#auth-form input::placeholder {
  color: var(--text-dim);
}

.auth-divider {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 1rem 0;
  position: relative;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-toggle {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

.auth-toggle a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

/* ===== Why COLA Clear (4-item grid) ===== */
#why-cola-clear .check-grid {
  grid-template-columns: 1fr 1fr;
}

/* ===== Footnotes ===== */
sup a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.7rem;
}

sup a:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .hero {
    padding: 2rem 1.5rem;
  }

  .hero-split {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-image {
    max-width: 100%;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .steps,
  .check-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .section-dark {
    padding: 2rem 1.5rem;
  }
}
