/*
Theme Name:   neve-scholar-sync
Theme URI:    https://scholar-sync.org/
Description:  scholar-sync child theme based on Neve
Author:       Research Digital Labs
Template:     neve
Version:      1.0.0
Text Domain:  neve-scholar-sync
*/

/* ===========================
   CSS Custom Properties
   =========================== */
:root {
  --color-primary:   #7B2D6E;
  --color-accent:    #4A90D9;
  --color-dark:      #1A1A2E;
  --color-light-bg:  #F5F5F5;
  --color-white:     #FFFFFF;
  --color-border:    #E0E0E0;
  --font-sans:       'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --section-pad:     80px 0;
  --section-pad-sm:  48px 0;
  --container-max:   1200px;
  --radius-card:     12px;
  --ease:            0.2s ease;
}

/* ===========================
   Base
   =========================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-dark);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; }
p { margin-top: 0; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad); }
.section-light   { background-color: var(--color-light-bg); }
.section-white   { background-color: var(--color-white); }
.section-dark    { background-color: var(--color-dark);    color: var(--color-white); }
.section-primary { background-color: var(--color-primary); color: var(--color-white); }

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

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: inherit;
  margin-bottom: 12px;
}

.section-header .section-subtitle {
  font-size: 1.0625rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.section-dark    .section-subtitle,
.section-primary .section-subtitle { color: rgba(255,255,255,0.82); }

/* ===========================
   Neve Override Reset
   =========================== */
.neve-main { padding: 0 !important; }
.nv-content-wrap { padding: 0 !important; }
.single-page-content,
.entry-content { max-width: none !important; padding: 0 !important; }

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: var(--color-white);
  box-shadow: 0 1px 10px rgba(0,0,0,0.07);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo a {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 40px;
  width: auto;
}

/* Scrolled: add drop-shadow so white logos stay visible */
.site-header.scrolled .header-logo img {
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.25));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: color var(--ease);
}

.site-header.scrolled .header-nav a { color: var(--color-dark); }
.header-nav a:hover                  { color: rgba(255,255,255,0.65); }
.site-header.scrolled .header-nav a:hover { color: var(--color-primary); }

/* CTA nav button */
.nav-cta {
  background: rgba(255,255,255,0.15) !important;
  color: var(--color-white) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: all var(--ease) !important;
}

.nav-cta:hover {
  background: var(--color-white) !important;
  color: var(--color-primary) !important;
  border-color: var(--color-white) !important;
}

.site-header.scrolled .nav-cta {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  border-color: var(--color-primary) !important;
}

.site-header.scrolled .nav-cta:hover {
  background: #6a2560 !important;
  border-color: #6a2560 !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.site-header.scrolled .menu-toggle span { background: var(--color-dark); }

.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: #6a2560; border-color: #6a2560; color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(123,45,110,0.3);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn-white:hover {
  background: #f5f5f5; color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline-primary:hover { background: var(--color-primary); color: var(--color-white); }

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: var(--color-white); color: var(--color-primary); }

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-accent:hover { background: #3a7bc8; border-color: #3a7bc8; color: var(--color-white); }

.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ===========================
   SECTION 1 — HERO
   =========================== */
.hero-section {
  background-color: var(--color-primary);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.87);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-secondary-link {
  color: rgba(255,255,255,0.88);
  text-decoration: underline;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--ease);
}
.hero-secondary-link:hover { color: var(--color-white); }

/* Browser Mockup */
.hero-visual { display: flex; justify-content: flex-end; align-items: center; }

.browser-mockup {
  width: 100%;
  max-width: 500px;
  background: #14142A;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
}

.browser-bar {
  background: #1E1E35;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }

.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  height: 26px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.browser-url span {
  color: rgba(255,255,255,0.35);
  font-size: 0.6875rem;
  font-family: monospace;
}

.browser-body { padding: 20px; }

/* Simulated profile in mockup */
.mock-profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mock-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #b55ea8);
  flex-shrink: 0;
}

.mock-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 3px;
}

.mock-title {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.42);
}

.mock-pubs { display: flex; flex-direction: column; gap: 10px; }

.mock-pub {
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 6px 6px 0;
  padding: 10px 12px;
}

.mock-pub-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 3px;
  line-height: 1.4;
}

.mock-pub-meta { font-size: 0.6875rem; color: rgba(255,255,255,0.38); }

.mock-tag {
  display: inline-block;
  background: rgba(123,45,110,0.45);
  color: rgba(255,255,255,0.75);
  font-size: 0.5625rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 5px;
}

.mock-sync-bar {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-sync-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #28C840;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.mock-sync-text { font-size: 0.6875rem; color: rgba(255,255,255,0.38); }

/* ===========================
   SECTION 2 — SOCIAL PROOF
   =========================== */
.social-proof-section {
  background: var(--color-light-bg);
  padding: 48px 0;
}

.social-proof-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 28px;
}

.logo-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.logo-placeholder {
  width: 120px;
  height: 40px;
  background: var(--color-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  color: #bbb;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity var(--ease);
}

.logo-placeholder:hover { opacity: 0.9; }

/* ===========================
   SECTION 3 — FEATURES
   =========================== */
.features-section {
  background: var(--color-white);
  padding: var(--section-pad);
}

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

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: box-shadow var(--ease), transform var(--ease);
}

.feature-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px; height: 48px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px; height: 22px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 { font-size: 1.0625rem; margin-bottom: 8px; color: var(--color-dark); }
.feature-card p  { font-size: 0.9375rem; color: #666; line-height: 1.65; margin: 0; }

/* ===========================
   SECTION 4 — WHO IS IT FOR
   =========================== */
.audience-section {
  background: var(--color-light-bg);
  padding: var(--section-pad);
}

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

.audience-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  border-top: 4px solid var(--color-primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.audience-card.accent-blue { border-top-color: var(--color-accent); }

.audience-emoji { font-size: 2.25rem; display: block; margin-bottom: 16px; }

.audience-card h3 {
  font-size: 1.125rem;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.audience-card p {
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 10px;
}

.audience-card .perfect-for {
  font-size: 0.875rem;
  color: #888;
  font-style: italic;
  margin: 0;
}

/* ===========================
   SECTION 5 — HOW IT WORKS
   =========================== */
.how-it-works-section {
  background: var(--color-white);
  padding: var(--section-pad);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-border) 0, var(--color-border) 8px,
    transparent 8px, transparent 18px
  );
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px; height: 56px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 auto 18px;
  box-shadow: 0 4px 14px rgba(123,45,110,0.28);
}

.step-emoji  { font-size: 1.5rem; display: block; margin-bottom: 10px; }

.step-item h3 { font-size: 1rem; color: var(--color-dark); margin-bottom: 8px; }
.step-item p  { font-size: 0.875rem; color: #666; line-height: 1.6; margin: 0; }

/* ===========================
   SECTION 6 — SCREENSHOTS
   =========================== */
.screenshots-section {
  background: var(--color-dark);
  padding: var(--section-pad);
}

.carousel-wrapper {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.carousel-track-container {
  overflow: hidden;
  border-radius: var(--radius-card);
}

.carousel-track {
  display: flex;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide { min-width: 100%; flex-shrink: 0; }

.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #22223A;
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}

.screenshot-icon {
  width: 60px; height: 60px;
  background: rgba(123,45,110,0.28);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
}

.screenshot-label {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.screenshot-caption {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
  max-width: 460px;
  line-height: 1.5;
  padding: 0 20px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.carousel-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease);
  font-size: 1rem;
  flex-shrink: 0;
}
.carousel-btn:hover { background: rgba(255,255,255,0.18); }

.carousel-dots { display: flex; gap: 8px; }

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: var(--color-white);
  transform: scale(1.3);
}

/* ===========================
   SECTION 7 — PRICING
   =========================== */
.pricing-section {
  background: var(--color-light-bg);
  padding: var(--section-pad);
}

/* Billing toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.toggle-label {
  font-weight: 500;
  font-size: 0.9375rem;
  color: #777;
  cursor: pointer;
  transition: color var(--ease);
}

.toggle-label.active { color: var(--color-dark); font-weight: 700; }

.toggle-switch {
  position: relative;
  width: 46px; height: 24px;
  cursor: pointer;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }

.toggle-track {
  position: absolute;
  inset: 0;
  background: #d0d0d0;
  border-radius: 12px;
  transition: background var(--ease);
}

.toggle-thumb {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-white);
  top: 3px; left: 3px;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.toggle-switch input:checked ~ .toggle-track  { background: var(--color-primary); }
.toggle-switch input:checked ~ .toggle-thumb  { transform: translateX(22px); }

.annual-badge {
  background: #e6f5e6;
  color: #2d7a2d;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--ease), transform var(--ease);
}

.pricing-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.1); transform: translateY(-2px); }

.pricing-card-popular {
  border: 2px solid var(--color-accent);
  padding-top: 40px;
}

.most-popular-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.plan-name     { font-size: 1.125rem; font-weight: 700; color: var(--color-dark); margin-bottom: 4px; }
.plan-tagline  { font-size: 0.875rem; color: #888; margin-bottom: 20px; line-height: 1.4; }

.plan-price { margin-bottom: 20px; }

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  display: inline;
}

.price-period {
  font-size: 0.875rem;
  color: #999;
}

.price-annual-note {
  font-size: 0.8125rem;
  color: #999;
  display: block;
  margin-top: 2px;
  min-height: 1.2em;
}

.annual-note { display: none; }
.monthly-price { display: inline; }
.annual-price  { display: none; }

/* Toggled state via JS class on wrapper */
.billing-annual .annual-note    { display: block; }
.billing-annual .monthly-price  { display: none; }
.billing-annual .annual-price   { display: inline; }
.billing-annual .toggle-label.label-monthly { color: #777; font-weight: 500; }
.billing-annual .toggle-label.label-annual  { color: var(--color-dark); font-weight: 700; }

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
  flex: 1;
}

.plan-features li {
  padding: 5px 0;
  font-size: 0.9375rem;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-features li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

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

.pricing-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9375rem;
  color: #666;
}
.pricing-note a { color: var(--color-primary); font-weight: 500; }
.pricing-note a:hover { color: var(--color-accent); }

.pricing-footnote {
  text-align: center;
  margin-top: 14px;
  font-size: 0.8125rem;
  color: #aaa;
}

/* ===========================
   SECTION 8 — TESTIMONIALS
   =========================== */
.testimonials-section {
  background: var(--color-white);
  padding: var(--section-pad);
}

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

.testimonial-card {
  border-left: 4px solid var(--color-primary);
  padding: 24px;
  background: var(--color-white);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
}

.testimonial-quote {
  font-size: 0.9375rem;
  font-style: italic;
  color: #444;
  line-height: 1.7;
  margin: 0 0 20px;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 1.75rem;
  color: var(--color-primary);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
  font-style: normal;
}

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

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #e8e0e8;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.testimonial-avatar svg { width: 28px; height: 28px; fill: #b0a0b0; }

.testimonial-name { font-weight: 700; font-size: 0.9375rem; color: var(--color-dark); }
.testimonial-role { font-size: 0.8125rem; color: #888; }

/* ===========================
   SECTION 9 — FAQ
   =========================== */
.faq-section {
  background: var(--color-light-bg);
  padding: var(--section-pad);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

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

details.faq-item summary {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::marker { display: none; }

.faq-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-chevron svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

details.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  padding: 0 0 20px 0;
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.faq-answer code {
  background: var(--color-border);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
  color: var(--color-primary);
  font-family: monospace;
}

/* ===========================
   SECTION 10 — CTA BANNER
   =========================== */
.cta-banner-section {
  background: var(--color-primary);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.cta-banner-section .container { position: relative; z-index: 1; }

.cta-banner-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--color-white);
  margin-bottom: 12px;
}

.cta-banner-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
  display: block;
}

.footer-tagline { font-size: 0.9375rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin: 0; }

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
}

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }

.footer-links li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--ease);
}
.footer-links li a:hover { color: var(--color-white); }

.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-bottom-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: center;
}

.footer-bottom p { font-size: 0.875rem; color: rgba(255,255,255,0.35); margin: 0; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid   { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 48px 0; }

  /* Header mobile */
  .menu-toggle { display: flex; }

  .header-nav {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 12px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 1px solid var(--color-border);
    gap: 0;
    z-index: 999;
  }

  .header-nav.open { display: flex; }

  .header-nav a {
    color: var(--color-dark) !important;
    padding: 14px 24px;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    font-size: 1rem;
  }

  .header-nav a:last-child { border-bottom: none; }

  .nav-cta {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    border-color: var(--color-primary) !important;
    margin: 8px 24px;
    border-radius: 8px;
    text-align: center;
    justify-content: center;
    width: auto;
  }

  /* Hero */
  .hero-section { padding: 110px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; justify-content: center; }
  .browser-mockup { max-width: 400px; }
  .hero-sub { max-width: none; }

  /* Grids */
  .features-grid,
  .audience-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid   { grid-template-columns: 1fr; gap: 24px; }
  .pricing-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner-actions { flex-direction: column; }
}

@media (min-width: 769px) and (max-width: 900px) {
  .features-grid    { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner     { grid-template-columns: 1fr 1fr; }
  .footer-brand     { grid-column: 1 / -1; }
}
