/* ============================================================
   Neural Stack — site styles
   ============================================================ */

:root {
  --bg: #070a12;
  --bg-2: #0b1020;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e8ebf5;
  --text-dim: #aab2c8;
  --muted: #7d879f;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --pink: #f472b6;
  --green: #34d399;
  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--violet) 55%, var(--pink) 100%);
  --grad-soft: linear-gradient(120deg, rgba(34, 211, 238, .18), rgba(139, 92, 246, .18));
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .7);
  --radius: 18px;
  --radius-sm: 12px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", var(--font-body);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 .5em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--text-dim); }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: inline-block; vertical-align: middle; }
button { font: inherit; color: inherit; }
::selection { background: rgba(139, 92, 246, .45); color: #fff; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
main, .site-header, .site-footer { overflow-x: clip; }
.container-narrow { max-width: 820px; }

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

.icon { flex-shrink: 0; }
.tick { color: var(--cyan); }

/* ---------- Background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-orbs { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
  animation: drift 24s ease-in-out infinite alternate;
}
.orb-a { width: 520px; height: 520px; top: -160px; left: -120px; background: rgba(34,211,238,.35); }
.orb-b { width: 620px; height: 620px; top: 10%; right: -220px; background: rgba(139,92,246,.35); animation-delay: -8s; }
.orb-c { width: 420px; height: 420px; bottom: -200px; left: 35%; background: rgba(244,114,182,.22); animation-delay: -16s; }
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(60px, 40px, 0) scale(1.12); }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.services-grid .reveal:nth-child(2), .why-grid .reveal:nth-child(2), .tier-grid .reveal:nth-child(2), .process .reveal:nth-child(2) { transition-delay: .08s; }
.services-grid .reveal:nth-child(3), .why-grid .reveal:nth-child(3), .tier-grid .reveal:nth-child(3), .process .reveal:nth-child(3) { transition-delay: .16s; }
.services-grid .reveal:nth-child(4), .why-grid .reveal:nth-child(4), .tier-grid .reveal:nth-child(4), .process .reveal:nth-child(4) { transition-delay: .24s; }
.why-grid .reveal:nth-child(5), .process .reveal:nth-child(5) { transition-delay: .32s; }
.why-grid .reveal:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary {
  background: var(--grad); color: #0a0d16; background-size: 200% 200%;
  box-shadow: 0 10px 30px -10px rgba(34,211,238,.55), 0 10px 30px -14px rgba(139,92,246,.6);
}
.btn-primary:hover { background-position: 100% 50%; box-shadow: 0 14px 38px -10px rgba(34,211,238,.7), 0 14px 38px -12px rgba(139,92,246,.75); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.28); transform: translateY(-1px); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.02rem; }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7,10,18,.55);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.site-header.is-scrolled { background: rgba(7,10,18,.82); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.logo-mark { filter: drop-shadow(0 0 12px rgba(139,92,246,.45)); }
.logo-accent { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-size: .93rem; color: var(--text-dim); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta { color: #0a0d16; margin-left: .4rem; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border-strong); cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .6rem 1.25rem 1.25rem;
    background: rgba(7,10,18,.96); border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s var(--ease);
  }
  .site-header.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: .9rem .2rem; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav-links a:last-of-type { border-bottom: 0; }
  .nav-links .nav-cta { margin: .9rem 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 2rem; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .9rem .4rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 500;
  color: var(--text-dim); background: var(--surface); border: 1px solid var(--border);
  margin-bottom: 1.4rem; letter-spacing: .01em;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.18); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(52,211,153,.18);} 50% { box-shadow: 0 0 0 7px rgba(52,211,153,.05);} }
.hero-title { margin-bottom: 1.2rem; }
.hero-sub { font-size: 1.12rem; max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .9rem; color: var(--text-dim); }
.hero-proof li { display: inline-flex; align-items: center; gap: .4rem; }

.hero-visual { position: relative; perspective: 1200px; padding: 1.4rem 0 2.6rem; }
.browser-card {
  border-radius: var(--radius); border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden; transform: rotateY(-6deg) rotateX(3deg);
  transition: transform .6s var(--ease);
  backdrop-filter: blur(10px);
}
.hero-visual:hover .browser-card { transform: rotateY(-2deg) rotateX(1deg); }
.browser-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; border-bottom: 1px solid var(--border); background: rgba(0,0,0,.25); }
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #3a4053; }
.browser-bar .dot:nth-child(1) { background: #ff5f57; } .browser-bar .dot:nth-child(2) { background: #febc2e; } .browser-bar .dot:nth-child(3) { background: #28c840; }
.browser-url { margin-left: .8rem; flex: 1; font-family: var(--font-mono); font-size: .75rem; color: var(--muted); background: rgba(255,255,255,.05); border-radius: 6px; padding: .25rem .6rem; }
.browser-body { padding: 1.2rem; display: grid; gap: 1.2rem; }
.code-lines { font-family: var(--font-mono); font-size: .8rem; line-height: 1.8; }
.code-line { white-space: nowrap; overflow: hidden; }
.tok-kw { color: var(--pink); } .tok-str { color: #a5f3fc; } .tok-tag { color: var(--violet); } .tok-attr { color: #c4b5fd; } .tok-var { color: var(--cyan); } .tok-cm { color: var(--muted); font-style: italic; }
.code-cursor::after { content: ""; display: inline-block; width: 8px; height: 1em; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.score { text-align: center; }
.score small { display: block; margin-top: .4rem; font-size: .68rem; color: var(--muted); }
.ring {
  --p: 100; width: 54px; height: 54px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), rgba(255,255,255,.08) 0);
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  animation: ring-in 1.4s var(--ease) both;
}
.ring::before { content: ""; position: absolute; width: 44px; height: 44px; border-radius: 50%; background: #0d1221; }
.ring span { position: relative; color: var(--green); }
.ring { position: relative; }
@keyframes ring-in { from { filter: saturate(0) opacity(.4); } to { filter: none; } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .7rem;
  padding: .7rem .95rem; border-radius: 14px;
  background: rgba(13,18,33,.85); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(10px);
  font-size: .78rem; color: var(--text-dim); animation: floaty 6s ease-in-out infinite;
}
.float-card .icon { color: var(--cyan); }
.float-card strong { display: block; color: var(--text); font-family: var(--font-head); font-size: .95rem; line-height: 1.1; }
.float-card small { font-size: .72rem; }
.float-a { top: 0; right: -14px; animation-delay: -1s; }
.float-b { top: 46%; left: -28px; animation-delay: -3s; }
.float-c { bottom: 0; right: 10%; animation-delay: -5s; }
.float-c .icon { color: var(--green); }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-8px);} }

.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-top: 4rem; padding: 1.6rem 0 0; border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: .15rem; }
.stat-value { font-family: var(--font-head); font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; }
.stat-label { font-size: .85rem; color: var(--muted); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 2.5rem auto 0; }
  .browser-card, .hero-visual:hover .browser-card { transform: none; }
  .float-a { right: 0; }
  .float-b { left: 0; }
}
@media (max-width: 640px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .float-a { right: 0; top: 0; }
  .float-c { display: none; }
  .score-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Marquee ---------- */
.marquee {
  margin: 3rem 0 0; padding: 1.1rem 0; border-block: 1px solid var(--border); overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 2.6rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: .85rem; color: var(--muted); white-space: nowrap; }
.marquee-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,0)); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 3.2rem; text-align: center; }
.section-head-left { text-align: left; margin: 0; }
.section-head p { font-size: 1.08rem; }
.section-kicker {
  display: inline-block; margin-bottom: 1rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); padding: .3rem .7rem; border-radius: 6px; background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.2);
}

/* Card glow (pointer-tracked via --mx/--my) */
.service-card, .tier-card, .why-card { position: relative; overflow: hidden; }
.service-card::before, .tier-card::before, .why-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(139,92,246,.16), transparent 45%);
}
.service-card:hover::before, .tier-card:hover::before, .why-card:hover::before { opacity: 1; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.service-card {
  padding: 1.7rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--grad-soft); border: 1px solid rgba(139,92,246,.3); color: var(--cyan);
}
.service-card:first-child { grid-column: span 1; }
.service-card h3 { font-size: 1.2rem; }
.service-card p { font-size: .95rem; min-height: 5.6em; }
.service-card ul { display: grid; gap: .45rem; font-size: .88rem; color: var(--text-dim); }
.service-card li { display: flex; align-items: center; gap: .5rem; }
@media (max-width: 1080px) { .services-grid { grid-template-columns: repeat(2, 1fr); } .service-card p { min-height: 0; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: step; position: relative; }
.process::before {
  content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent); opacity: .5;
}
.process-step { position: relative; padding: 0 .4rem; }
.process-num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 1.1rem;
  font-family: var(--font-mono); font-size: .85rem; font-weight: 500; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border-strong); position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--bg), 0 0 30px -8px rgba(139,92,246,.6);
}
.process-step h3 { font-size: 1.1rem; }
.process-step p { font-size: .9rem; }
@media (max-width: 980px) { .process { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; } .process::before { display: none; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.tier-grid { display: grid; gap: 1.2rem; align-items: stretch; }
.tier-grid-4 { grid-template-columns: repeat(4, 1fr); }
.tier-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1060px; margin-inline: auto; }
.tier-grid > .reveal { display: flex; }
.tier-card {
  display: flex; flex-direction: column; width: 100%;
  padding: 1.8rem 1.6rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.tier-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.tier-card.is-featured {
  background: linear-gradient(180deg, rgba(139,92,246,.14), rgba(34,211,238,.06) 60%, rgba(255,255,255,.03));
  border-color: rgba(139,92,246,.55);
  box-shadow: 0 0 0 1px rgba(139,92,246,.25), 0 30px 70px -30px rgba(139,92,246,.6);
}
.tier-badge {
  position: absolute; top: 14px; right: 14px; padding: .3rem .7rem; border-radius: 999px;
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: var(--grad); color: #0a0d16;
}
.tier-card:not(.is-featured) .tier-badge { background: var(--surface-2); color: var(--text-dim); border: 1px solid var(--border-strong); }
.tier-head { margin-bottom: 1.2rem; }
.tier-card:has(.tier-badge) .tier-head { padding-right: 5.5rem; }
.tier-name { font-size: 1.35rem; margin-bottom: .2rem; }
.tier-tagline { font-size: .9rem; margin: 0; color: var(--muted); }
.tier-price { display: flex; flex-direction: column; margin-bottom: .7rem; }
.tier-amount { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1; }
.is-featured .tier-amount { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier-note { font-size: .8rem; color: var(--muted); margin-top: .35rem; }
.tier-meta { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--text-dim); padding: .7rem 0; border-block: 1px solid var(--border); margin-bottom: 1.1rem; }
.tier-meta .icon { color: var(--violet); }
.tier-saving { font-size: .8rem; color: var(--green); padding: .6rem 0; border-block: 1px solid var(--border); margin-bottom: 1.1rem; }
.tier-saving-muted { color: var(--muted); }
.tier-features { display: grid; gap: .6rem; font-size: .9rem; color: var(--text-dim); flex: 1; margin-bottom: 1.5rem; }
.tier-features li { display: flex; align-items: flex-start; gap: .55rem; }
.tier-features .tick { margin-top: .2rem; }
.pricing-note {
  display: flex; align-items: center; gap: .9rem; max-width: 720px; margin: 2.4rem auto 0;
  padding: 1rem 1.3rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px dashed var(--border-strong);
}
.pricing-note .icon { color: var(--pink); }
.pricing-note p { margin: 0; font-size: .92rem; }
.pricing-note strong { color: var(--text); }
@media (max-width: 1100px) { .tier-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .tier-grid-3 { grid-template-columns: 1fr; max-width: 520px; } }
@media (max-width: 620px) { .tier-grid-4 { grid-template-columns: 1fr; } }

/* Billing toggle */
.billing-toggle {
  display: inline-flex; gap: .25rem; padding: .3rem; border-radius: 999px; margin: 0 auto 2rem;
  background: var(--surface); border: 1px solid var(--border-strong); position: relative; left: 50%; transform: translateX(-50%);
}
.billing-toggle button {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1.1rem; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  font-weight: 600; font-size: .9rem; color: var(--text-dim); transition: background .2s, color .2s;
}
.billing-toggle button.is-active { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.toggle-save { font-size: .7rem; padding: .15rem .5rem; border-radius: 999px; background: rgba(52,211,153,.15); color: var(--green); font-weight: 600; }

/* ---------- Growth intro ---------- */
.growth-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-bottom: 3.5rem; }
.growth-points { display: grid; gap: 1.1rem; }
.growth-point { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.growth-point > .icon { color: var(--cyan); margin-top: .15rem; }
.growth-point h4 { margin-bottom: .2rem; }
.growth-point p { margin: 0; font-size: .9rem; }
@media (max-width: 900px) { .growth-intro { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.why-card { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform .3s var(--ease), border-color .3s; }
.why-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.why-card > .icon { color: var(--violet); margin-bottom: 1rem; }
.why-card h3 { font-size: 1.1rem; }
.why-card p { margin: 0; font-size: .92rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .7rem; }
.faq-item { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); transition: border-color .25s, background .25s; }
.faq-item.is-open { border-color: rgba(139,92,246,.45); background: var(--surface-2); }
.faq-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; text-align: left;
  padding: 1.1rem 1.3rem; background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--text);
}
.faq-chevron { color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.is-open .faq-chevron { transform: rotate(180deg); color: var(--cyan); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { padding: 0 1.3rem 1.2rem; margin: 0; font-size: .95rem; }

/* ---------- Contact ---------- */
.section-contact { padding-bottom: clamp(4rem, 9vw, 7rem); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.contact-copy h2 { margin-bottom: 1rem; }
.contact-copy p { font-size: 1.05rem; }
.contact-list { display: grid; gap: .8rem; margin-top: 1.6rem; color: var(--text-dim); font-size: .95rem; }
.contact-list li { display: flex; align-items: center; gap: .7rem; }
.contact-list .icon { color: var(--cyan); }
.contact-list a:hover { color: var(--text); text-decoration: underline; }
.contact-panel {
  padding: 2rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
}
.contact-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 500; color: var(--text-dim); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem .95rem; border-radius: 10px; font: inherit; color: var(--text);
  background: rgba(0,0,0,.28); border: 1px solid var(--border-strong); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: #0d1221; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,92,246,.18); }
.field .invalid { border-color: #fb7185; }
.validation-message { font-size: .8rem; color: #fb7185; }
.chip-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .45rem .9rem; border-radius: 999px; font-size: .85rem; cursor: pointer;
  background: rgba(0,0,0,.25); border: 1px solid var(--border-strong); color: var(--text-dim);
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: rgba(255,255,255,.3); color: var(--text); }
.chip.is-on { background: var(--grad-soft); border-color: rgba(139,92,246,.6); color: var(--text); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .4rem; }
.form-fineprint { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted); }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: .8rem 1rem; border-radius: 10px; font-size: .9rem; color: #fecdd3; background: rgba(251,113,133,.12); border: 1px solid rgba(251,113,133,.4); }
.form-success { text-align: center; padding: 2rem 1rem; }
.form-success-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.2rem; background: rgba(52,211,153,.15); color: var(--green); border: 1px solid rgba(52,211,153,.4); }
.form-success h3 { font-size: 1.4rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .contact-panel { padding: 1.4rem; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(0,0,0,.25)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-tag { font-size: .92rem; margin: 1rem 0; max-width: 360px; }
.footer-email { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--text-dim); }
.footer-email:hover { color: var(--cyan); }
.footer-col { display: grid; gap: .55rem; align-content: start; }
.footer-col h4 { margin-bottom: .4rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.footer-col a { font-size: .92rem; color: var(--text-dim); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--border); font-size: .82rem; color: var(--muted); }
.footer-built { font-family: var(--font-mono); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- Blazor chrome ---------- */
#blazor-error-ui {
  color-scheme: light only; background: lightyellow; color: #111; bottom: 0; box-shadow: 0 -1px 2px rgba(0,0,0,.2);
  box-sizing: border-box; display: none; left: 0; padding: .6rem 1.25rem .7rem 1.25rem; position: fixed; width: 100%; z-index: 1000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }
.blazor-error-boundary { background: #b32121; padding: 1rem; color: white; border-radius: 8px; }
.blazor-error-boundary::after { content: "An error has occurred."; }
