/* ============================================================================
   TrickGrid landing — main stylesheet (LIGHT theme)
   Custom CSS, no framework. Light cream surface, dark dashboard mockup.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

/* ── Reset & base ─────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; }

::selection { background: var(--accent); color: var(--ink); }

/* ── Layout primitives ────────────────────────────────────────────────────── */

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6); }
.container-narrow { max-width: var(--container-narrow); }

@media (max-width: 720px) {
  .container { padding: 0 var(--s-5); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding: 6px 12px;
  border: 1px solid rgba(132, 204, 22, 0.28);
  background: var(--accent-soft);
  border-radius: 999px;
}

.eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: var(--fs-3xl); letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: var(--fs-2xl); letter-spacing: -0.025em; }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { color: var(--ink-muted); }

.lead { font-size: var(--fs-md); line-height: 1.55; max-width: 56ch; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: -0.005em;
  transition: transform var(--dur-fast) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ink);
  color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.10), 0 8px 16px -4px rgba(15, 23, 42, 0.20);
}

.btn-primary:hover {
  background: #1E293B;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.14), 0 16px 32px -6px rgba(15, 23, 42, 0.30);
  transform: translateY(-1px);
}

/* Lime CTA variant — used on the final CTA block + a couple of strategic spots */
.btn-lime {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(101, 163, 13, 0.20), 0 12px 24px -6px var(--accent-glow);
}
.btn-lime:hover {
  background: #9FE53F;
  box-shadow: 0 1px 2px rgba(101, 163, 13, 0.28), 0 16px 32px -8px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--bg-1);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  background: var(--bg-2);
  border-color: var(--ink);
}

.btn-arrow svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease); }
.btn-arrow:hover svg { transform: translateX(3px); }

/* ── Header / nav ─────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(251, 250, 246, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 250, 246, 0.94);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-mark {
  width: 28px; height: 28px;
  flex-shrink: 0;
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  list-style: none;
}

.nav-links a {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  transition: color var(--dur-fast);
}
.nav-links a:hover { color: var(--ink); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.nav-actions .lang-switch {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}
.nav-actions .lang-switch:hover {
  border-color: var(--ink);
  background: var(--bg-1);
  color: var(--ink);
}

.nav-mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--ink);
}
.nav-mobile-toggle:hover { background: var(--bg-2); }

@media (max-width: 880px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-mobile-toggle { display: flex; }
}

/* mobile menu drawer */
.mobile-drawer {
  position: fixed; inset: 68px 0 0 0;
  background: var(--bg-0);
  padding: var(--s-8) var(--s-6);
  display: none;
  flex-direction: column;
  gap: var(--s-2);
  z-index: 40;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  font-size: var(--fs-lg);
  font-family: var(--font-display);
  font-weight: 600;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

/* ── Section spacing ──────────────────────────────────────────────────────── */

section { padding: var(--s-24) 0; position: relative; }
@media (max-width: 720px) {
  section { padding: var(--s-16) 0; }
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--s-16);
}
.section-head .eyebrow { margin-bottom: var(--s-5); }
.section-head h2 { margin-bottom: var(--s-5); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
  padding-top: var(--s-20);
  padding-bottom: var(--s-32);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(132, 204, 22, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(249, 115, 22, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-16);
  align-items: center;
  position: relative; z-index: 1;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-12); }
}

.hero-copy .eyebrow { margin-bottom: var(--s-6); }
.hero-copy h1 { margin-bottom: var(--s-6); }
.hero-copy h1 .lime { color: var(--accent-deep); }
.hero-copy h1 .underline-wave {
  position: relative;
  white-space: nowrap;
}
.hero-copy h1 .underline-wave::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  border-radius: 4px;
  opacity: 0.85;
}

.hero-copy .lead { margin-bottom: var(--s-10); }

.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-8); }

.hero-trust {
  display: flex; align-items: center; gap: var(--s-3);
  font-size: var(--fs-xs);
  color: var(--ink-faint);
}
.hero-trust strong { color: var(--ink); font-weight: 600; }

/* Hero visual: dark dashboard preview against the light page (Linear-style) */
.hero-visual {
  position: relative;
  perspective: 1400px;
}

/* ── DASHBOARD CARD: dark theme override ──────────────────────────────────
   Override the bg/ink vars for descendants so the card looks like a real
   product screenshot, not a white panel. */
.dashboard-card {
  --bg-0: var(--dash-bg-0);
  --bg-1: var(--dash-bg-1);
  --bg-2: var(--dash-bg-2);
  --line: var(--dash-line);
  --line-strong: var(--dash-line-strong);
  --ink: var(--dash-ink);
  --ink-muted: var(--dash-ink-muted);
  --ink-faint: var(--dash-ink-faint);

  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-dashboard);
  transform: rotate3d(1, -0.6, -0.2, 8deg) translateZ(0);
  transition: transform var(--dur-slow) var(--ease);
  color: var(--ink);
}
.hero:hover .dashboard-card {
  transform: rotate3d(1, -0.6, -0.2, 5deg) translateZ(0);
}

.dashboard-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--s-5);
}
.dashboard-head .dot-row { display: flex; gap: 6px; }
.dashboard-head .dot-row span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.dashboard-head .live-clock {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}
.dashboard-head .live-clock::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: #22C55E;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse 1.6s var(--ease) infinite;
}

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

.metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}

.metric {
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-4) var(--s-5);
}
.metric-label {
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  margin-bottom: 4px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.metric-value .delta {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-left: 6px;
  font-family: var(--font-mono);
  color: #4ADE80;
}
.metric-value .delta.warm { color: #FB923C; }

.mini-chart {
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-5);
}
.mini-chart-head {
  display: flex; justify-content: space-between;
  margin-bottom: var(--s-4);
  font-size: var(--fs-sm);
}
.mini-chart-head .label { color: var(--ink-muted); }
.mini-chart-head .total { font-weight: 600; color: var(--ink); }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.bars .bar {
  flex: 1;
  background: linear-gradient(180deg, #C0FF3E, #84CC16);
  border-radius: 4px 4px 0 0;
  opacity: 0.92;
  animation: barGrow 0.9s var(--ease-snappy) backwards;
}
.bars .bar.warm { background: linear-gradient(180deg, #FB923C, #EA580C); opacity: 0.7; }
.bars .bar:nth-child(1) { animation-delay: 0.05s; }
.bars .bar:nth-child(2) { animation-delay: 0.10s; }
.bars .bar:nth-child(3) { animation-delay: 0.15s; }
.bars .bar:nth-child(4) { animation-delay: 0.20s; }
.bars .bar:nth-child(5) { animation-delay: 0.25s; }
.bars .bar:nth-child(6) { animation-delay: 0.30s; }
.bars .bar:nth-child(7) { animation-delay: 0.35s; }

@keyframes barGrow {
  from { transform: scaleY(0.05); transform-origin: bottom; }
  to { transform: scaleY(1); }
}

/* Floating cards stay LIGHT (they sit outside the dashboard) */
.float-card {
  position: absolute;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: var(--s-3) var(--s-4);
  box-shadow: var(--shadow-lift);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-xs);
}
.float-card-1 {
  bottom: -32px; left: -40px;
  animation: floatA 6s var(--ease) infinite;
}
.float-card-2 {
  top: -22px; right: -28px;
  animation: floatB 7s var(--ease) infinite;
}
@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.float-card .avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--warm), #EA580C);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  color: #FFFFFF;
  font-size: var(--fs-xs);
}
.float-card .text strong { color: var(--ink); display: block; }
.float-card .text span { color: var(--ink-muted); }

@media (max-width: 980px) {
  .float-card-1, .float-card-2 { display: none; }
  .dashboard-card { transform: none; }
}

/* ── Logo strip ───────────────────────────────────────────────────────────── */

.logo-strip {
  padding: var(--s-12) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-strip-label {
  text-align: center;
  font-size: var(--fs-xs);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--s-6);
}
.logo-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-8);
  align-items: center;
  opacity: 0.65;
}
.logo-strip-grid .logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-md);
  text-align: center;
  color: var(--ink-muted);
  letter-spacing: -0.01em;
}
@media (max-width: 720px) {
  .logo-strip-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
}

/* ── Pain section ─────────────────────────────────────────────────────────── */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 880px) { .pain-grid { grid-template-columns: 1fr; } }

.pain-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-8);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pain-card .number {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  margin-bottom: var(--s-5);
  letter-spacing: 0.06em;
}
.pain-card h3 { margin-bottom: var(--s-3); }
.pain-card .stat {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--warm);
  letter-spacing: -0.02em;
  margin: var(--s-5) 0 var(--s-2);
}
.pain-card p { font-size: var(--fs-sm); }

/* ── Features ─────────────────────────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 880px) { .features-grid { grid-template-columns: 1fr; } }

.feature {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-8);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}
.feature:hover {
  border-color: var(--accent-deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.feature .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: var(--s-5);
}
.feature h3 { font-size: var(--fs-lg); margin-bottom: var(--s-3); }
.feature p { font-size: var(--fs-sm); }

/* ── How it works ─────────────────────────────────────────────────────────── */

.steps-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

.steps-wrap::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
  z-index: 0;
}

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

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid var(--accent-deep);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--accent-deep);
  margin: 0 auto var(--s-5);
  box-shadow: var(--shadow-sm);
}
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--s-3); }
.step p {
  font-size: var(--fs-sm);
  max-width: 280px;
  margin: 0 auto;
}

/* ── Testimonials ─────────────────────────────────────────────────────────── */

.quote-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 880px) { .quote-row { grid-template-columns: 1fr; } }

.quote {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  box-shadow: var(--shadow-sm);
}
.quote .stars {
  display: flex; gap: 2px;
  color: var(--accent-deep);
  font-size: var(--fs-md);
}
.quote blockquote {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}
.quote .author { display: flex; align-items: center; gap: var(--s-3); margin-top: auto; }
.quote .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--warm));
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  color: var(--ink);
  font-size: var(--fs-sm);
}
.quote .author-meta strong { display: block; font-weight: 600; color: var(--ink); font-size: var(--fs-sm); }
.quote .author-meta span { font-size: var(--fs-xs); color: var(--ink-faint); }

/* ── Languages strip ──────────────────────────────────────────────────────── */

.languages-strip {
  padding: var(--s-16) 0;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.languages-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-10);
  flex-wrap: wrap;
}
.languages-strip-copy {
  flex: 1;
  min-width: 280px;
}
.languages-strip-copy h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--s-3);
}
.languages-strip-copy p {
  font-size: var(--fs-sm);
  max-width: 44ch;
}

.lang-chips {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.lang-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  background: var(--bg-0);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -0.005em;
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.lang-chip:hover {
  border-color: var(--accent-deep);
  transform: translateY(-1px);
}
.lang-chip .flag {
  font-size: var(--fs-md);
  line-height: 1;
}
.lang-chip.coming {
  color: var(--ink-faint);
  font-weight: 500;
  font-family: var(--font-body);
  font-style: italic;
  background: transparent;
  border-style: dashed;
}

/* ── Pricing ──────────────────────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  align-items: stretch;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

.plan {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.plan.featured {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 1px var(--accent-deep), var(--shadow-lift);
  background: linear-gradient(180deg, #FAFFF0 0%, var(--bg-1) 60%);
  overflow: hidden;
}
.plan.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(at top right, rgba(132, 204, 22, 0.10), transparent 50%);
  pointer-events: none;
}
.plan-tag {
  position: absolute;
  top: var(--s-5); right: var(--s-5);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
}
.plan h3 { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.plan-desc { font-size: var(--fs-sm); margin-bottom: var(--s-6); min-height: 2.6em; }

.plan-price { display: flex; align-items: baseline; gap: var(--s-2); margin-bottom: var(--s-5); }
.plan-price .currency { font-family: var(--font-mono); color: var(--ink-muted); font-size: var(--fs-md); }
.plan-price .amount { font-family: var(--font-display); font-size: 2.75rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.plan-price .period { font-size: var(--fs-sm); color: var(--ink-muted); }

.plan ul { list-style: none; padding: 0; margin: 0 0 var(--s-8); display: flex; flex-direction: column; gap: var(--s-3); }
.plan ul li { font-size: var(--fs-sm); color: var(--ink-muted); display: flex; gap: var(--s-3); }
.plan ul li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365A30D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.plan .btn { width: 100%; margin-top: auto; }

.pricing-note {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--ink-faint);
  margin-top: var(--s-8);
}
.pricing-note a { color: var(--ink-muted); border-bottom: 1px solid var(--line-strong); }
.pricing-note a:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */

.faq {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: var(--s-6) 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
  padding-right: var(--s-3);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p {
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  line-height: 1.65;
  max-width: 64ch;
}

/* ── Final CTA ────────────────────────────────────────────────────────────── */

.final-cta {
  text-align: center;
  padding: var(--s-32) 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(132, 204, 22, 0.16), transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(249, 115, 22, 0.10), transparent 50%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.final-cta h2 { font-size: var(--fs-3xl); margin-bottom: var(--s-5); }
.final-cta p { font-size: var(--fs-md); margin-bottom: var(--s-8); }
.final-cta .btn-primary,
.final-cta .btn-lime { padding: 18px 32px; font-size: var(--fs-md); }

/* ── Footer ───────────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--line);
  padding: var(--s-16) 0 var(--s-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-10);
  margin-bottom: var(--s-12);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
}

.footer-brand p {
  font-size: var(--fs-sm);
  margin-top: var(--s-4);
  max-width: 30ch;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--s-5);
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col li a { font-size: var(--fs-sm); color: var(--ink-muted); transition: color var(--dur-fast); }
.footer-col li a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: var(--s-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: var(--fs-xs);
  color: var(--ink-faint);
}
.footer-bottom a { color: var(--ink-muted); }
.footer-bottom a:hover { color: var(--ink); }

/* ── Reveal-on-scroll ─────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* utility */
.text-accent { color: var(--accent-deep); }
.text-warm { color: var(--warm); }
.text-muted { color: var(--ink-muted); }
.mono { font-family: var(--font-mono); }
