/* =========================================
   SocialPulse — Style.css v2.0
   Brand Refresh: Kubrick Warm Daylight
   ========================================= */

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

/* ---- Local Aliases (light-section defaults) ----
   These map to tokens.css variables. Do NOT hardcode hex values here.
   For dark-section overrides, see .section-dark and named element rules below.
*/
:root {
  /* Layout / non-color */
  --radius:    12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;

  /* Font aliases (tokens.css uses --font-display / --font-body) */
  --font-head: var(--font-display);

  /* Color shorthands for light sections */
  --bg:        var(--color-bg);             /* #f7f5f0 */
  --bg2:       var(--color-bg-alt);         /* #f0ede6 */
  --bg3:       var(--color-surface);        /* #ffffff */
  --bg4:       var(--color-surface-raised); /* #faf9f6 */
  --gold:      var(--color-amber);          /* #f5a623 — unchanged */
  --gold-dim:  var(--color-amber-dark);     /* #c97d08 */
  --gold-glow: var(--color-amber-muted);
  --gold-line: var(--color-border-amber);
  --white:     var(--color-text-primary);   /* #0d1b2a — dark navy on light bg */
  --off-white: var(--color-text-body);      /* #374151 */
  --muted:     var(--color-text-secondary); /* #6b7280 */
  --border:    var(--color-border);         /* #e4dfd6 */
  --shadow:    var(--shadow-lg);
}

html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; height: auto; display: block; }

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

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--color-text-body); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-gold { color: var(--color-amber); }
.text-muted { color: var(--color-text-secondary); }
.text-center { text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-transform: uppercase;
  line-height: 1;
}

.btn-primary {
  background: var(--color-amber);
  color: var(--color-navy);
}
.btn-primary:hover {
  background: var(--color-amber-light);
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,166,35,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-amber);
  border: 1.5px solid var(--color-border-amber);
}
.btn-outline:hover {
  background: var(--color-amber-muted);
  color: var(--color-amber-light);
  border-color: var(--color-amber);
}

/* Secondary button — light context */
.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-border-amber);
  color: var(--color-text-amber);
}

/* Secondary button — dark context */
.section-dark .btn-secondary,
#header .btn-secondary {
  color: var(--color-text-on-dark);
  border-color: var(--color-border-dark);
}
.section-dark .btn-secondary:hover,
#header .btn-secondary:hover {
  border-color: var(--color-border-amber);
  color: var(--color-text-amber-on-dark);
}

.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ======================================
   HEADER / NAV — Dark (navy)
   ====================================== */
#header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(13, 27, 42, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-dark);
  transition: background var(--transition);
}

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

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-text-on-dark);
  letter-spacing: -0.03em;
}

.nav-logo span { color: var(--color-amber); }

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

.nav-links > li > a {
  color: var(--color-text-secondary-on-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--color-text-on-dark);
}

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-on-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Platform dropdown ---- */
.has-dropdown { position: relative; }

.nav-platform-btn {
  background: none;
  border: none;
  color: var(--color-text-secondary-on-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-platform-btn:hover,
.has-dropdown:hover .nav-platform-btn {
  color: var(--color-text-on-dark);
  background: rgba(255,255,255,0.06);
}

.nav-chevron {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
  display: inline-block;
  opacity: 0.7;
}

.has-dropdown:hover .nav-chevron,
.has-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-navy-surface-1);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-dark-md);
  z-index: var(--z-dropdown);
  min-width: 260px;
}

.has-dropdown:hover .nav-dropdown {
  display: block;
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--color-text-secondary-on-dark);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-dropdown-item:hover {
  background: var(--color-navy-surface-2);
  color: var(--color-text-on-dark);
}

.nav-di-icon {
  font-size: 1rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

/* ---- Mobile Nav ---- */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-navy-surface-1);
    border-bottom: 1px solid var(--color-border-dark);
    padding: 16px 24px 24px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav-menu.open { display: block; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    display: block;
    padding: 10px 12px;
    width: 100%;
    font-size: 1rem;
  }
  .nav-cta { margin-left: 0; margin-top: 8px; width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  /* Mobile dropdown accordion */
  .nav-platform-btn {
    width: 100%;
    justify-content: space-between;
    padding: 10px 12px;
    font-size: 1rem;
    color: var(--color-text-secondary-on-dark);
    border-radius: var(--radius-md);
  }
  .nav-platform-btn:hover {
    color: var(--color-text-on-dark);
    background: rgba(255,255,255,0.05);
  }

  .nav-dropdown {
    position: static;
    transform: none;
    background: var(--color-navy-surface-2);
    border: none;
    box-shadow: none;
    border-radius: var(--radius-md);
    padding: 8px;
    margin: 4px 0 8px;
    left: auto;
  }

  .has-dropdown .nav-dropdown { display: none; }
  .has-dropdown.open .nav-dropdown { display: block; }

  .nav-dropdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .nav-dropdown-grid { grid-template-columns: 1fr; }
}

/* ======================================
   HERO — Dark (navy)
   ====================================== */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  background-color: var(--color-navy);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* All text in hero → dark-section context */
.hero h1, .hero h2, .hero h3, .hero h4 { color: var(--color-text-on-dark); }
.hero p { color: var(--color-text-body-on-dark); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-amber-muted);
  border: 1px solid var(--color-border-amber);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: 28px;
}

.hero h1 { margin-bottom: 24px; max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--color-amber); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--color-text-secondary-on-dark);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-price-note {
  font-size: 0.85rem;
  color: var(--color-text-secondary-on-dark);
}

/* Trust badges strip — inside hero (dark) */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--color-border-dark);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary-on-dark);
}

.trust-item .icon {
  width: 32px;
  height: 32px;
  background: var(--color-amber-muted);
  border: 1px solid var(--color-border-amber);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Trust strip on light bg */
.trust-strip-light {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
}

.trust-strip-light .trust-item {
  color: var(--color-text-secondary);
}

.trust-strip-light .trust-item .icon {
  background: var(--color-amber-muted);
  border-color: var(--color-border-amber);
}

/* ======================================
   STATS BAR — Dark (navy)
   ====================================== */
.stats-bar {
  background: var(--color-navy-surface-1);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-amber);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-secondary-on-dark);
  font-weight: 500;
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ======================================
   SECTION BASE — Light by default
   ====================================== */
.section {
  padding: 96px 0;
}

.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }

/* Dark sections — .section-dark class */
.section-dark {
  background-color: var(--color-navy);
}

/* Alternate light section */
.section-alt {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-header {
  margin-bottom: 56px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--color-text-secondary); font-size: 1.05rem; max-width: 560px; }
.section-dark .section-header p { color: var(--color-text-secondary-on-dark); }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: 12px;
}

/* Light section text label — darker amber */
.section-label-dark {
  color: var(--color-text-amber);
}

/* ======================================
   PLATFORM CARDS (NEW) — Light section
   ====================================== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.platform-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-amber);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.platform-card:hover {
  border-color: var(--color-border-amber);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.platform-card:hover::before { transform: scaleX(1); }

.platform-card-icon {
  font-size: 2.4rem;
}

.platform-card-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.platform-card-tagline {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* ======================================
   SERVICES GRID — Light section
   ====================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-amber);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-border-amber);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: block;
}

.service-card h3 { margin-bottom: 10px; color: var(--color-text-primary); }
.service-card p { color: var(--color-text-secondary); font-size: 0.9rem; margin-bottom: 20px; }

.service-from {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.service-price {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text-amber);
}

/* ======================================
   POPULAR SERVICES STRIP (NEW)
   ====================================== */
.popular-strip {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 40px 0;
}

.popular-strip .section-label { display: block; text-align: center; margin-bottom: 24px; }

.popular-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.popular-pill {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-body);
  transition: all var(--transition);
  text-decoration: none;
}

.popular-pill:hover {
  border-color: var(--color-border-amber);
  color: var(--color-text-amber);
  background: var(--color-amber-muted);
}

/* ======================================
   PRICING CARDS — Light section
   ====================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  border-color: var(--color-border-amber);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.pricing-card.popular {
  background: var(--color-navy);
  border-color: var(--color-amber);
  box-shadow: var(--shadow-amber-md);
}

/* Invert text inside popular card (it's dark) */
.pricing-card.popular h3,
.pricing-card.popular h4 {
  color: var(--color-text-on-dark);
}
.pricing-card.popular .pricing-amount,
.pricing-card.popular .pricing-qty,
.pricing-card.popular .pricing-features li {
  color: var(--color-text-on-dark);
}
.pricing-card.popular .pricing-qty {
  color: var(--color-text-secondary-on-dark);
}
.pricing-card.popular .pricing-features li {
  border-bottom-color: var(--color-border-dark);
}
.pricing-card.popular .pricing-features li::before {
  color: var(--color-amber);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-amber);
  color: var(--color-navy);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-amount {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-qty {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--color-text-body);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--color-border);
}

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

.pricing-features li::before {
  content: '✓';
  color: var(--color-amber);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn { width: 100%; justify-content: center; }

/* ======================================
   ORDER FORM — Light section
   ====================================== */
.order-form-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.order-form-section h3 { margin-bottom: 8px; color: var(--color-text-primary); }
.order-form-section p { color: var(--color-text-secondary); margin-bottom: 32px; }

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}

.form-control:focus { border-color: var(--color-amber); }
.form-control::placeholder { color: var(--color-text-muted); }

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 12px;
  text-align: center;
}

/* ======================================
   HOW IT WORKS — Light alt section
   ====================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 1px;
  background: var(--color-border);
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--color-surface);
  border: 2px solid var(--color-border-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-amber);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.step-card h4 { margin-bottom: 10px; color: var(--color-text-primary); }
.step-card p { color: var(--color-text-secondary); font-size: 0.9rem; }

/* Steps in dark section */
.section-dark .steps-grid::before { background: var(--color-border-dark); }
.section-dark .step-number { background: var(--color-navy-surface-1); }
.section-dark .step-card h4 { color: var(--color-text-on-dark); }
.section-dark .step-card p { color: var(--color-text-secondary-on-dark); }

@media (max-width: 700px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
}

/* ======================================
   TESTIMONIALS — Light section
   ====================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition);
  box-shadow: var(--shadow-sm);
}

.testimonial-card:hover { border-color: var(--color-border-amber); }

.stars {
  color: var(--color-amber);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-amber-dark), var(--color-amber));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-navy);
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-primary);
}

.author-handle {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* ======================================
   FAQ — Light section
   ====================================== */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--color-text-amber); }

.faq-icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-amber);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--color-amber);
  color: var(--color-navy);
  border-color: var(--color-amber);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 22px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-answer.open { display: block; }

/* FAQ in dark section */
.section-dark .faq-item { border-bottom-color: var(--color-border-dark); }
.section-dark .faq-question { color: var(--color-text-on-dark); }
.section-dark .faq-question:hover { color: var(--color-amber); }
.section-dark .faq-icon { border-color: var(--color-border-dark); }
.section-dark .faq-answer { color: var(--color-text-secondary-on-dark); }

/* ======================================
   BLOG CARDS — Light section
   ====================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.blog-card:hover {
  border-color: var(--color-border-amber);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card-thumb {
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-surface-raised));
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.blog-card-thumb::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--color-surface));
}

.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.blog-tag {
  display: inline-block;
  background: var(--color-amber-muted);
  color: var(--color-text-amber);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.blog-card h3 { margin-bottom: 10px; font-size: 1.1rem; color: var(--color-text-primary); }
.blog-card h3 a { color: var(--color-text-primary); }
.blog-card h3 a:hover { color: var(--color-text-amber); }

.blog-card p { color: var(--color-text-secondary); font-size: 0.9rem; flex: 1; margin-bottom: 16px; }

.blog-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 16px;
}

/* ======================================
   AFFILIATE BANNER — Light section
   ====================================== */
.affiliate-banner {
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-surface-raised));
  border: 1px solid var(--color-border-amber);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.affiliate-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.affiliate-banner h2 { margin-bottom: 16px; color: var(--color-text-primary); }
.affiliate-banner p { color: var(--color-text-secondary); max-width: 520px; margin: 0 auto 32px; }

.affiliate-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.affiliate-form .form-control {
  flex: 1;
  min-width: 200px;
}

/* ======================================
   UPSELL STRIP (legacy) — now popular-strip
   ====================================== */
.upsell-strip {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 40px 0;
}

.upsell-strip .section-label { display: block; text-align: center; margin-bottom: 24px; }

.upsell-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.upsell-pill {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-body);
  transition: all var(--transition);
  text-decoration: none;
}

.upsell-pill:hover {
  border-color: var(--color-border-amber);
  color: var(--color-text-amber);
  background: var(--color-amber-muted);
}

/* ======================================
   PAGE HERO (inner pages) — Dark
   ====================================== */
.page-hero {
  padding: 80px 0 60px;
  background: var(--color-navy);
  border-bottom: 1px solid var(--color-border-dark);
}

.page-hero h1, .page-hero h2, .page-hero h3 { color: var(--color-text-on-dark); }
.page-hero p { color: var(--color-text-secondary-on-dark); }

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-amber-muted);
  border: 1px solid var(--color-border-amber);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: 20px;
}

.page-hero h1 { margin-bottom: 20px; }
.page-hero p { font-size: 1.05rem; max-width: 600px; }

/* ======================================
   FOOTER — Dark (navy)
   ====================================== */
footer {
  background: var(--color-navy);
  border-top: 1px solid var(--color-border-dark);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { font-size: 1.2rem; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: var(--color-text-secondary-on-dark); line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary-on-dark);
  margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--color-text-secondary-on-dark); font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--color-amber); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--color-border-dark);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 0.82rem; color: var(--color-text-secondary-on-dark); margin: 0; }

.footer-trust {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-badge {
  background: var(--color-navy-surface-1);
  border: 1px solid var(--color-border-dark);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--color-text-secondary-on-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ======================================
   PRODUCT PAGE LAYOUT
   ====================================== */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
}

/* ======================================
   FEATURES / WHY US — Light section
   ====================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.feature-card h4 { margin-bottom: 8px; color: var(--color-text-primary); }
.feature-card p { font-size: 0.88rem; color: var(--color-text-secondary); margin: 0; }

/* Feature cards in dark section */
.section-dark .feature-card {
  background: var(--color-navy-surface-1);
  border-color: var(--color-border-dark);
}
.section-dark .feature-card h4 { color: var(--color-text-on-dark); }
.section-dark .feature-card p { color: var(--color-text-secondary-on-dark); }

/* ======================================
   BREADCRUMB
   ====================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-text-secondary-on-dark);
  margin-bottom: 32px;
}

.breadcrumb a { color: var(--color-text-secondary-on-dark); }
.breadcrumb a:hover { color: var(--color-amber); }
.breadcrumb .sep { color: var(--color-border-dark); }
.breadcrumb .current { color: var(--color-text-on-dark); }

/* ======================================
   BLOG POST
   ====================================== */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .blog-post-layout { grid-template-columns: 1fr; }
}

.post-content h2 { margin: 40px 0 20px; }
.post-content h3 { margin: 32px 0 16px; font-size: 1.25rem; }
.post-content p { margin-bottom: 20px; color: var(--color-text-body); line-height: 1.8; }
.post-content ul, .post-content ol {
  margin: 0 0 20px 24px;
  color: var(--color-text-body);
  line-height: 1.8;
}
.post-content li { margin-bottom: 8px; }
.post-content strong { color: var(--color-text-primary); }
.post-content blockquote {
  border-left: 3px solid var(--color-amber);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--color-amber-muted);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--color-text-body);
}

.post-sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.post-sidebar-card h4 { margin-bottom: 16px; font-size: 0.9rem; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.08em; }

.toc-list { list-style: none; }
.toc-list li { padding: 6px 0; border-bottom: 1px solid var(--color-border); font-size: 0.88rem; }
.toc-list li:last-child { border-bottom: none; }
.toc-list a { color: var(--color-text-secondary); }
.toc-list a:hover { color: var(--color-text-amber); }

/* ======================================
   ABOUT PAGE
   ====================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-surface));
  border: 2px solid var(--color-border-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.team-card h4 { margin-bottom: 4px; }
.team-card .role { font-size: 0.82rem; color: var(--color-text-amber); font-weight: 500; margin-bottom: 12px; }
.team-card p { font-size: 0.85rem; color: var(--color-text-secondary); }

/* ======================================
   MISC UTILITIES
   ====================================== */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: 64px 0;
}

.highlight-box {
  background: var(--color-amber-muted);
  border: 1px solid var(--color-border-amber);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
}

.highlight-box p { color: var(--color-text-body); margin: 0; }

/* ---- Scroll animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Notification bar ---- */
.topbar {
  background: var(--color-amber);
  color: var(--color-navy);
  text-align: center;
  padding: 8px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.topbar a { color: var(--color-navy); text-decoration: underline; }

/* ---- Page not found / misc ---- */
.full-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

/* ======================================
   RESPONSIVE TWEAKS
   ====================================== */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .order-form-section { padding: 32px 24px; }
  .affiliate-banner { padding: 40px 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .steps-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
}
