/* ============================================================
   PilotGro Marketing Landing Page — Stylesheet
   Dark theme matching the product dashboard.
   No framework, no build step, no external CDN dependencies
   (Google Fonts is the one allowed exception, per spec).
   ============================================================ */

/* ---------- 1. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

/* ---------- 2. Design tokens ---------- */
:root {
  --bg: #0F172A;
  --bg-alt: #0B1220;
  --surface: #1E293B;
  --surface-2: #253449;
  --surface-hover: #2A3B54;
  --border: #2C3B54;
  --border-soft: rgba(148, 163, 184, 0.16);
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --blue: #3B82F6;
  --blue-soft: #60A5FA;
  --purple: #A855F7;
  --purple-soft: #C084FC;
  --gradient: linear-gradient(135deg, #3B82F6 0%, #7C6BF2 50%, #A855F7 100%);
  --gradient-text: linear-gradient(90deg, #60A5FA, #C084FC);
  --green: #22C55E;
  --red: #F87171;
  --amber: #FBBF24;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 0 1px rgba(124, 107, 242, 0.25), 0 12px 40px -10px rgba(124, 107, 242, 0.35);
  --container: 1180px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 72px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

section[id] { scroll-margin-top: var(--header-h); }

.section {
  padding: 88px 0;
}
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-soft);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(124, 107, 242, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(124, 107, 242, 0.75); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-soft);
}
.btn-secondary:hover { background: var(--surface); border-color: var(--border); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- 4. Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 18px; height: 18px; }
.brand span.pilot { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- 5. Hero ---------- */
.hero {
  padding: calc(var(--header-h) + 64px) 0 80px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%; left: 50%;
  width: 900px; height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-content h1 {
  font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero-content p.lead {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }

/* --- Hero dashboard mockup (pure CSS/SVG placeholder) --- */
.dashboard-mockup {
  background: linear-gradient(180deg, var(--surface), #182233);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-soft);
}
.mockup-dot { width: 9px; height: 9px; border-radius: 50%; }
.mockup-dot.red { background: #F87171; }
.mockup-dot.yellow { background: #FBBF24; }
.mockup-dot.green { background: #34D399; }
.mockup-chrome-url {
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.mockup-body { display: flex; min-height: 340px; }
.mockup-sidebar {
  width: 76px;
  border-right: 1px solid var(--border-soft);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.mockup-sidebar .side-logo {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--gradient);
  margin-bottom: 8px;
}
.side-item {
  width: 40px; height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}
.side-item.active { background: rgba(124, 107, 242, 0.25); box-shadow: inset 0 0 0 1px rgba(124, 107, 242, 0.5); }
.mockup-main { flex: 1; padding: 20px; min-width: 0; }
.mockup-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.mockup-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.mockup-stat .line { height: 6px; width: 60%; border-radius: 3px; background: rgba(255, 255, 255, 0.12); margin-bottom: 10px; }
.mockup-stat .num { font-size: 1.15rem; font-weight: 700; }
.mockup-stat .trend { font-size: 0.68rem; color: var(--green); font-weight: 600; }
.mockup-chart-wrap {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 16px;
}
.mockup-chart-wrap svg { width: 100%; height: 100px; display: block; }
.mockup-activity { display: flex; flex-direction: column; gap: 10px; }
.activity-row { display: flex; align-items: center; gap: 10px; }
.activity-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--gradient); flex-shrink: 0; opacity: 0.85; }
.activity-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.activity-lines .l1 { height: 6px; width: 70%; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.activity-lines .l2 { height: 5px; width: 40%; border-radius: 3px; background: rgba(255, 255, 255, 0.07); }
.status-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  flex-shrink: 0;
}

/* ---------- 6. Mobile nav ---------- */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 90;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 1.05rem;
  font-weight: 600;
}
.mobile-menu .btn { margin-top: 20px; }

/* ---------- 7. Problem section ---------- */
.problem-header { text-align: center; max-width: 640px; margin: 0 auto 44px; }

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}
.tool-chip {
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.85;
}
.tool-chip:nth-child(2n) { transform: translateY(6px); }
.tool-chip:nth-child(3n) { opacity: 0.65; }

.converge-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 28px 0 8px;
}
.converge-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, var(--border), var(--purple));
}
.converge-arrow { color: var(--purple-soft); margin: 2px 0; }
.converge-arrow svg { width: 22px; height: 22px; }

.brand-badge-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  background: var(--gradient);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.brand-badge-large svg { width: 20px; height: 20px; }

.pain-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  gap: 16px;
}
.pain-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(248, 113, 113, 0.12);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.pain-icon svg { width: 22px; height: 22px; }
.pain-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.pain-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- 8. Different section ---------- */
.different-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.different-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.different-card:hover { transform: translateY(-4px); border-color: rgba(124, 107, 242, 0.4); }
.different-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.different-icon svg { width: 24px; height: 24px; color: #fff; }
.different-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; }
.different-card p { color: var(--text-muted); font-size: 0.92rem; }
.badge-soon {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(251, 191, 36, 0.14);
  color: var(--amber);
}
.different-card.span-2 { grid-column: span 1; }

/* ---------- 9. Feature showcase ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border-soft);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-row.reverse .feature-copy { order: 1; }

.feature-index {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple-soft);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}
.feature-copy h3 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.01em; }
.feature-copy p { color: var(--text-muted); font-size: 1rem; max-width: 460px; }

.mockup-frame {
  background: linear-gradient(180deg, var(--surface), #182233);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.mockup-frame-body { padding: 26px; min-height: 220px; display: flex; align-items: center; justify-content: center; }

/* -- viz variants used inside mockup-frame-body -- */
.viz-kanban { display: flex; gap: 12px; width: 100%; }
.viz-kanban .col { flex: 1; background: rgba(255,255,255,0.03); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.viz-kanban .card { background: rgba(255,255,255,0.06); border-radius: 6px; padding: 8px; }
.viz-kanban .card .l1 { height: 5px; width: 80%; background: rgba(255,255,255,0.18); border-radius: 3px; margin-bottom: 6px; }
.viz-kanban .card .l2 { height: 5px; width: 45%; background: rgba(124,107,242,0.5); border-radius: 3px; }

.viz-chat { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 320px; }
.viz-chat .bubble { padding: 10px 14px; border-radius: 14px; font-size: 0.78rem; color: var(--text-muted); max-width: 78%; background: var(--surface-2); border: 1px solid var(--border-soft); }
.viz-chat .bubble.in { align-self: flex-start; border-bottom-left-radius: 4px; }
.viz-chat .bubble.out { align-self: flex-end; background: var(--gradient); color: #fff; border: none; border-bottom-right-radius: 4px; }

.viz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.viz-grid .tile { aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border-soft); position: relative; overflow: hidden; }
.viz-grid .tile::after { content: ""; position: absolute; inset: 0; background: var(--gradient); opacity: 0.35; }
.viz-grid .tile:nth-child(3n)::after { opacity: 0.15; }

.viz-play { display: flex; align-items: center; justify-content: center; width: 100%; }
.viz-play .disc { width: 96px; height: 96px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-glow); }
.viz-play svg { width: 34px; height: 34px; color: #fff; margin-left: 4px; }

.viz-funnel { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 260px; }
.viz-funnel .tier { height: 30px; border-radius: 6px; background: var(--gradient); opacity: 0.9; }
.viz-funnel .tier:nth-child(1) { width: 100%; }
.viz-funnel .tier:nth-child(2) { width: 74%; opacity: 0.75; }
.viz-funnel .tier:nth-child(3) { width: 48%; opacity: 0.6; }
.viz-funnel .tier:nth-child(4) { width: 26%; opacity: 0.45; }

.viz-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; width: 100%; max-width: 300px; }
.viz-calendar .day { aspect-ratio: 1; border-radius: 6px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft); }
.viz-calendar .day.active { background: var(--gradient); border-color: transparent; }

.viz-chatboard { width: 100%; max-width: 340px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 14px; }
.viz-chatboard .cmd-line { display: flex; gap: 8px; align-items: center; font-size: 0.78rem; color: var(--purple-soft); margin-bottom: 12px; }
.viz-chatboard .cmd-line::before { content: "›"; font-weight: 700; }
.viz-chatboard .cmd-response { font-size: 0.76rem; color: var(--text-muted); padding: 10px; background: rgba(255,255,255,0.03); border-radius: 8px; border: 1px solid var(--border-soft); }

.viz-nodes { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 320px; position: relative; }
.viz-nodes::before { content: ""; position: absolute; left: 20px; right: 20px; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px); z-index: 0; }
.viz-nodes .node { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; z-index: 1; }
.viz-nodes .node.on { background: var(--gradient); border-color: transparent; }
.viz-nodes .node svg { width: 18px; height: 18px; color: var(--text); }

.viz-stars { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 260px; }
.viz-stars .row { display: flex; align-items: center; gap: 10px; }
.viz-stars .stars { color: var(--amber); font-size: 0.9rem; letter-spacing: 2px; }
.viz-stars .bar-track { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06); overflow: hidden; }
.viz-stars .bar-fill { height: 100%; background: var(--gradient); border-radius: 3px; }

.viz-chart-only { width: 100%; }
.viz-chart-only svg { width: 100%; height: 140px; }

/* ---------- 10. How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  position: relative;
}
.step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--text-muted); font-size: 0.92rem; }
.step-card ul { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.step-card ul li { font-size: 0.85rem; color: var(--text-dim); display: flex; gap: 8px; align-items: flex-start; }
.step-card ul li::before { content: "—"; color: var(--purple-soft); flex-shrink: 0; }

/* ---------- 11. Pricing ---------- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
}
.pricing-toggle span { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }
.pricing-toggle span.active { color: var(--text); }
.toggle-switch {
  width: 52px; height: 28px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  position: relative;
  flex-shrink: 0;
}
.toggle-switch .knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  transition: transform 0.2s ease;
}
.toggle-switch[aria-checked="true"] .knob { transform: translateX(24px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.popular {
  border-color: transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px);
}
.popular-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.price-tier { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.price-desc { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 16px; min-height: 32px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-currency { font-size: 1rem; font-weight: 700; color: var(--text-muted); }
.price-value { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.price-period { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 20px; }
.price-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.price-features li { display: flex; gap: 8px; font-size: 0.84rem; color: var(--text-muted); align-items: flex-start; }
.price-features svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.pricing-note { text-align: center; color: var(--text-dim); font-size: 0.85rem; margin-top: 28px; }

/* ---------- 12. Comparison table ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--surface); }
.comparison-table th, .comparison-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.9rem;
}
.comparison-table thead th {
  background: var(--surface-2);
  font-weight: 700;
  font-size: 0.85rem;
}
.comparison-table th:first-child, .comparison-table td:first-child { color: var(--text-muted); font-weight: 600; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table th.gp-col { color: var(--purple-soft); position: relative; }
.comparison-table td.gp-col { background: rgba(124, 107, 242, 0.06); font-weight: 600; }
.cell-flag { display: inline-flex; align-items: center; gap: 6px; }
.cell-flag svg { width: 16px; height: 16px; flex-shrink: 0; }
.cell-flag.yes { color: var(--green); }
.cell-flag.no { color: var(--red); }
.cell-flag.partial { color: var(--amber); }

/* ---------- 13. Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
}
.placeholder-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.testimonial-stars { color: var(--border); font-size: 0.95rem; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-quote { color: var(--text-dim); font-style: italic; font-size: 0.92rem; margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); border: 1px dashed var(--border); }
.testimonial-name { font-size: 0.85rem; color: var(--text-dim); }

.trust-counter {
  text-align: center;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.trust-counter .num { font-size: 2.4rem; font-weight: 800; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-counter p { color: var(--text-muted); margin-top: 6px; font-size: 0.92rem; }

/* ---------- 14. FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 600;
}
.faq-icon { flex-shrink: 0; transition: transform 0.2s ease; color: var(--purple-soft); }
.faq-icon svg { width: 18px; height: 18px; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer-inner { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ---------- 15. Final CTA ---------- */
.cta-section {
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(168,85,247,0.12));
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
}
.cta-section h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.cta-section p { color: var(--text-muted); max-width: 520px; margin: 0 auto 32px; }
.cta-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
}
.cta-input:focus { outline: none; border-color: var(--purple); }
.cta-input::placeholder { color: var(--text-dim); }
.form-message { margin-top: 16px; font-size: 0.88rem; min-height: 20px; }
.form-message.success { color: var(--green); }
.form-message.error { color: var(--red); }
.cta-disclaimer { margin-top: 18px; font-size: 0.78rem; color: var(--text-dim); }

/* ---------- 16. Footer ---------- */
.site-footer { padding: 64px 0 28px; border-top: 1px solid var(--border-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 44px;
}
.footer-brand p { color: var(--text-dim); font-size: 0.88rem; margin: 14px 0 20px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.social-icon:hover { color: var(--text); border-color: var(--purple); }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.87rem; color: var(--text-dim); }
.footer-col a:hover { color: var(--text-muted); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.82rem;
  color: var(--text-dim);
}
.made-in-india {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- 17. Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(140%);
  transition: transform 0.3s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: 0.85rem; color: var(--text-muted); flex: 1; min-width: 200px; }
.cookie-banner p a { color: var(--blue-soft); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }

/* ---------- 18. Demo modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(2, 6, 20, 0.7);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 32px;
  text-align: center;
  position: relative;
  transform: translateY(10px);
  transition: transform 0.2s ease;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.modal-close svg { width: 16px; height: 16px; }
.modal .disc { width: 72px; height: 72px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.modal .disc svg { width: 26px; height: 26px; color: #fff; margin-left: 3px; }
.modal h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.modal p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 22px; }

/* ---------- 19. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .different-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions .btn-secondary { display: none; }
  .nav-toggle { display: flex; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .feature-visual,
  .feature-row.reverse .feature-copy { order: initial; }
  .feature-copy p { max-width: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.popular { transform: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .different-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mockup-stats-row { grid-template-columns: 1fr 1fr; }
  .mockup-stats-row .mockup-stat:last-child { display: none; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: flex-end; }
  .dashboard-mockup { transform: none; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .mockup-sidebar { width: 56px; }
}
