/* ============================================================
   UnlockIntegrations — styles
   Modern dark theme + cinematic scroll-driven wiring
   ============================================================ */

:root {
  --bg: #06060c;
  --bg-2: #0b0b18;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef0f7;
  --muted: #9aa0b4;
  --muted-2: #6a7086;
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --pink: #f062c0;
  --amber: #ffb547;
  --grad: linear-gradient(120deg, #7c5cff 0%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, rgba(124, 92, 255, 0.15), rgba(34, 211, 238, 0.15));
  --radius: 18px;
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .brand__name { font-family: "Space Grotesk", "Inter", sans-serif; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.grad-warn { background: linear-gradient(120deg,#ffb547,#f062c0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---- scroll progress bar ---- */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--grad); box-shadow: 0 0 12px rgba(124,92,255,0.7); transition: width 0.1s linear; }

/* ============ Parallax background ============ */
.bg-layers { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 80% at 50% -10%, #12122a 0%, var(--bg) 55%); }
.bg-grid { position: absolute; inset: -20% -10%; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(80% 60% at 50% 20%, #000 40%, transparent 90%); will-change: transform; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.orb--1 { width: 520px; height: 520px; top: -120px; left: -80px; background: radial-gradient(circle, #7c5cff, transparent 70%); }
.orb--2 { width: 620px; height: 620px; top: 340px; right: -180px; background: radial-gradient(circle, #22d3ee, transparent 70%); opacity: 0.4; }
.orb--3 { width: 480px; height: 480px; top: 1400px; left: 10%; background: radial-gradient(circle, #f062c0, transparent 70%); opacity: 0.3; }
.noise { position: absolute; inset: 0; opacity: 0.04; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ============ Nav ============ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: background 0.3s var(--ease), padding 0.3s var(--ease), border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6,6,12,0.72); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 10px 0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { display: grid; place-items: center; }
.brand__name { font-weight: 700; font-size: 1.15rem; }
.brand__name span { color: var(--muted); font-weight: 500; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--muted); font-size: 0.94rem; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 0.98rem; padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.3s, background 0.3s; font-family: inherit; }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px rgba(124,92,255,0.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124,92,255,0.5); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

/* ============ Eyebrow / headings ============ */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); text-transform: uppercase; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); margin-bottom: 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.section { padding: 120px 0; position: relative; }
.section__head { max-width: 680px; margin-bottom: 56px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; margin-bottom: 16px; }
.section__head .sub { color: var(--muted); font-size: 1.08rem; }

/* ============ Hero ============ */
.hero { position: relative; padding: 190px 0 110px; overflow: hidden; }
.hero__aura { position: absolute; top: -10%; left: 50%; transform: translateX(-50%); width: 900px; height: 700px; background: radial-gradient(circle, rgba(124,92,255,0.22), transparent 60%); pointer-events: none; will-change: transform; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); line-height: 1.03; margin-bottom: 24px; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
.hero__trust span { font-size: 0.82rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.05em; }
.logos { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 14px; }
.logos span { color: var(--muted); font-weight: 600; font-size: 0.98rem; opacity: 0.7; }
.hero__visual { display: flex; justify-content: center; }
.glass-card { width: 100%; max-width: 380px; background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid var(--border); border-radius: 24px; padding: 24px; backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.glass-card__head { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; font-weight: 600; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5);} 70%{ box-shadow: 0 0 0 12px rgba(52,211,153,0);} 100%{ box-shadow:0 0 0 0 rgba(52,211,153,0);} }
.flow { display: flex; flex-direction: column; gap: 6px; }
.flow__node { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 13px 16px; font-size: 0.95rem; font-weight: 500; }
.flow__node--ai { background: var(--grad-soft); border-color: rgba(124,92,255,0.4); }
.flow__node--ok { background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.35); }
.flow__line { width: 2px; height: 16px; margin-left: 22px; background: linear-gradient(var(--violet), var(--cyan)); opacity: 0.5; }
.glass-card__foot { display: flex; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.glass-card__foot div { flex: 1; }
.glass-card__foot strong { display: block; font-size: 1.5rem; font-family: "Space Grotesk"; }
.glass-card__foot span { font-size: 0.78rem; color: var(--muted); }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-size: 0.78rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.15em; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue span { width: 22px; height: 34px; border: 1.5px solid var(--border); border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; border-radius: 4px; background: var(--cyan); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0%{ opacity: 0; top: 6px;} 40%{ opacity: 1;} 80%{ opacity: 0; top: 18px;} }

/* ============================================================
   FLAGSHIP: scroll-driven wiring stage
   ============================================================ */
.wire-stage { position: relative; height: 420vh; }        /* tall = scroll room */
.wire-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }

.wire-svg { width: min(1200px, 96vw); height: auto; max-height: 88vh; position: relative; z-index: 1; }

/* crossfading copy blocks, stacked top-center */
.wire-copy { position: absolute; top: 8vh; left: 50%; transform: translateX(-50%) translateY(14px); width: min(640px, 90vw); text-align: center; z-index: 3; opacity: 0; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none; }
.wire-copy.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.wire-copy h2 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; margin-bottom: 12px; }
.wire-copy p { color: var(--muted); font-size: 1.08rem; max-width: 520px; margin: 0 auto; }

.wire-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-2); z-index: 3; transition: opacity 0.4s; }

/* wires */
.wire-track { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 2; }
.wire-draw  { fill: none; stroke: url(#wireGrad); stroke-width: 2.6; stroke-linecap: round; filter: url(#glow); }
.wire-flow  { fill: none; stroke: #bfefff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 26; opacity: 0; }
.wire.is-live .wire-flow { opacity: 0.9; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -27; } }

/* nodes */
.node { opacity: 0.35; transition: opacity 0.4s var(--ease); }
.node-halo { fill: rgba(124,92,255,0.0); transition: fill 0.4s; }
.node-bg { fill: #0e0e1c; stroke: rgba(255,255,255,0.12); stroke-width: 1.5; transition: stroke 0.4s; }
.node-emoji { font-size: 30px; text-anchor: middle; dominant-baseline: middle; }
.node-label { fill: var(--muted); font-family: "Space Grotesk"; font-size: 17px; font-weight: 600; text-anchor: middle; }
.node.is-live { opacity: 1; }
.node.is-live .node-bg { stroke: url(#wireGrad); stroke-width: 2.2; }
.node.is-live .node-halo { fill: rgba(124,92,255,0.14); animation: nodePulse 2.4s ease-in-out infinite; }
.node.is-live .node-label { fill: var(--text); }
@keyframes nodePulse { 0%,100%{ transform: scale(1); opacity: 0.9;} 50%{ transform: scale(1.12); opacity: 0.5;} }
.node-halo { transform-box: fill-box; transform-origin: center; }

/* hub */
.hub { transform-box: fill-box; }
.hub-core { fill: url(#hubGrad); stroke: rgba(167,139,250,0.6); stroke-width: 1.5; filter: url(#glow); }
.hub-glow { fill: rgba(124,92,255,0.18); }
.hub-ring { fill: none; stroke: rgba(124,92,255,0.25); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.hub-ring--2 { animation: spin 14s linear infinite; stroke-dasharray: 6 12; }
.hub-ring--3 { animation: spin 22s linear infinite reverse; stroke-dasharray: 2 16; stroke: rgba(34,211,238,0.3); }
@keyframes spin { to { transform: rotate(360deg); } }
.hub-text { fill: #fff; font-family: "Space Grotesk"; font-weight: 700; font-size: 34px; text-anchor: middle; }
.hub-sub { fill: rgba(255,255,255,0.7); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; text-anchor: middle; }
.wire-sticky.hub-max .hub-glow { animation: hubBreathe 2.2s ease-in-out infinite; }
@keyframes hubBreathe { 0%,100%{ opacity: 0.5; } 50%{ opacity: 1; } }

/* ============ Service cards ============ */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s; position: relative; overflow: hidden; transform-style: preserve-3d; }
.card::before { content:""; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: opacity 0.4s; }
.card:hover { transform: translateY(-6px); border-color: rgba(124,92,255,0.35); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card__icon { font-size: 2rem; width: 60px; height: 60px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 20px; }
.card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.card p { color: var(--muted); margin-bottom: 18px; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ticks li { padding-left: 26px; position: relative; font-size: 0.95rem; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

/* ============ Deep Sense chip (under section heads) ============ */
.ds-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 9px 18px; border-radius: 999px; font-size: 0.9rem; color: var(--muted);
  background: rgba(52,211,153,0.07); border: 1px solid rgba(52,211,153,0.3);
  transition: border-color 0.3s, transform 0.2s var(--ease), background 0.3s;
}
.ds-chip strong { color: var(--text); font-weight: 600; }
.ds-chip:hover { border-color: rgba(52,211,153,0.6); background: rgba(52,211,153,0.12); transform: translateY(-2px); }

/* ============ Deep Sense — safety foundation ============ */
.deepsense { position: relative; overflow: hidden; }
.deepsense__aura { position: absolute; top: 18%; left: 50%; transform: translateX(-50%); width: 900px; height: 620px; background: radial-gradient(circle, rgba(52,211,153,0.10), transparent 62%); pointer-events: none; will-change: transform; }
.deepsense .section__head .sub strong { color: var(--text); }
.guards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.guard { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 32px; overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.3s; }
.guard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--violet), #34d399); opacity: 0.65; }
.guard:hover { transform: translateY(-5px); border-color: rgba(52,211,153,0.32); }
.guard__icon { font-size: 1.7rem; width: 54px; height: 54px; display: grid; place-items: center; background: rgba(52,211,153,0.10); border: 1px solid rgba(52,211,153,0.28); border-radius: 13px; margin-bottom: 18px; }
.guard h3 { font-size: 1.2rem; margin-bottom: 10px; }
.guard p { color: var(--muted); font-size: 0.98rem; }
.deepsense__promise { text-align: center; margin-top: 46px; font-family: "Space Grotesk"; font-size: clamp(1.25rem, 2.6vw, 1.75rem); color: var(--text); }

/* ============ Stats band ============ */
.band { position: relative; padding: 110px 0; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band__bg { position: absolute; inset: -30% 0; background: radial-gradient(60% 60% at 30% 40%, rgba(124,92,255,0.18), transparent 70%), radial-gradient(50% 50% at 80% 60%, rgba(34,211,238,0.15), transparent 70%); will-change: transform; }
.band__inner { position: relative; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.stat { text-align: center; padding: 24px; }
.stat strong { font-family: "Space Grotesk"; font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .unit { font-family: "Space Grotesk"; font-size: 1.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat p { color: var(--muted); margin-top: 10px; font-size: 0.98rem; }

/* ============ Steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; position: relative; }
.step__num { font-family: "Space Grotesk"; font-size: 2.4rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 16px; }
.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ============ Pricing ============ */
.flagship {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: center;
  background: linear-gradient(140deg, rgba(124,92,255,0.14), rgba(34,211,238,0.07));
  border: 1px solid rgba(124,92,255,0.35); border-radius: 22px; padding: 34px 38px; margin-bottom: 26px;
  position: relative; overflow: hidden;
}
.flagship::before { content: ""; position: absolute; top: -60%; right: -20%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(124,92,255,0.25), transparent 70%); pointer-events: none; }
.flagship__tag { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); background: rgba(255,181,71,0.1); border: 1px solid rgba(255,181,71,0.35); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.flagship__info h3 { font-size: 1.7rem; margin-bottom: 8px; }
.flagship__info > p { color: var(--muted); margin-bottom: 16px; }
.flagship__price { display: flex; flex-direction: column; gap: 10px; align-items: stretch; text-align: center; position: relative; }
.fprice { background: rgba(0,0,0,0.28); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.fprice strong { display: block; font-family: "Space Grotesk"; font-size: 1.7rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fprice span { font-size: 0.76rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.05em; }
.fprice__note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-bottom: 2px; }

.apilot {
  margin-top: 26px; padding: 26px 30px; border-radius: 18px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, rgba(52,211,153,0.07), rgba(34,211,238,0.04));
  border: 1px solid rgba(52,211,153,0.28);
}
.apilot__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.apilot__note { font-size: 0.82rem; color: var(--muted-2); max-width: 520px; }
.fflow__label { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.fflow__steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fstep { background: rgba(0,0,0,0.28); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: 0.84rem; color: var(--muted); white-space: nowrap; }
.farrow { color: var(--violet); font-weight: 700; opacity: 0.7; }
.fflow__time { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 14px; font-family: "Space Grotesk"; font-weight: 700; font-size: 1rem; color: var(--green); background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.3); border-radius: 999px; padding: 8px 18px; }
.fflow__time em { font-style: normal; font-family: "Inter"; font-weight: 400; font-size: 0.74rem; color: var(--muted-2); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; position: relative; transition: transform 0.35s var(--ease), border-color 0.3s; }
.plan:hover { transform: translateY(-6px); border-color: rgba(124,92,255,0.35); }
.plan--pop { border-color: rgba(124,92,255,0.5); background: linear-gradient(170deg, rgba(124,92,255,0.10), var(--surface)); box-shadow: 0 20px 60px rgba(124,92,255,0.15); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; background: var(--grad); color: #fff; border-radius: 999px; padding: 5px 16px; box-shadow: 0 6px 20px rgba(124,92,255,0.45); white-space: nowrap; }
.plan h3 { font-size: 1.35rem; margin-bottom: 6px; }
.plan__emoji { font-size: 1.1rem; }
.plan__who { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; min-height: 42px; }
.plan__price { font-family: "Space Grotesk"; font-weight: 700; font-size: 2.1rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.plan__price span { font-size: 0.95rem; font-weight: 500; }
.plan__mo { color: var(--muted); font-size: 0.9rem; margin: 8px 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.plan .ticks { flex: 1; margin-bottom: 24px; }
.plan__cta { width: 100%; }

.pricing__fine { max-width: 760px; margin: 34px auto 0; text-align: center; color: var(--muted-2); font-size: 0.88rem; line-height: 1.7; }
.pricing__fine a { color: var(--cyan); }
.pricing__fine strong { color: var(--muted); }

/* ============ Quote ============ */
.quote-section { padding-top: 40px; }
.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote p { font-family: "Space Grotesk"; font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1.4; margin-bottom: 24px; }
.quote footer { color: var(--muted); font-size: 1rem; }
.quote footer strong { color: var(--text); }

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 22px; transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(124,92,255,0.35); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--muted); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 18px; }

/* ============ About / storefront ============ */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about__copy h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; margin-bottom: 18px; }
.about__copy p { color: var(--muted); font-size: 1.08rem; margin-bottom: 22px; }
.about__copy .ticks { margin-bottom: 26px; }
.about__photo {
  position: relative; margin: 0; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(124,92,255,0.08);
  background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(34,211,238,0.12));
  aspect-ratio: 16 / 9;
}
.about__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* subtle gradient wash so the photo blends into the dark theme */
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,6,12,0.55)); pointer-events: none; }
.about__photo figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-size: 0.9rem; font-weight: 600; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
/* placeholder shown only when the image is missing */
.about__ph { display: none; }
.about__photo.is-missing img { display: none; }
.about__photo.is-missing::after { display: none; }
.about__photo.is-missing .about__ph { display: grid; place-items: center; text-align: center; position: absolute; inset: 0; padding: 24px; color: var(--muted); font-size: 0.95rem; }
.about__photo.is-missing .about__ph code { color: var(--cyan); background: rgba(0,0,0,0.35); padding: 3px 8px; border-radius: 6px; margin-top: 6px; display: inline-block; }
.about__photo.is-missing figcaption { display: none; }

/* ============ CTA ============ */
.cta { position: relative; padding: 130px 0; overflow: hidden; text-align: center; }
.cta__glow { position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 50%, rgba(124,92,255,0.25), transparent 70%); will-change: transform; }
.cta__inner { position: relative; max-width: 720px; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; margin-bottom: 18px; }
.cta p { color: var(--muted); font-size: 1.15rem; margin-bottom: 34px; }
.cta__form { display: flex; gap: 12px; max-width: 620px; margin: 0 auto; flex-wrap: wrap; }
.cta__form input { flex: 1; min-width: 180px; padding: 15px 20px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-family: inherit; font-size: 1rem; }
.cta__form input::placeholder { color: var(--muted-2); }
.cta__form input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,92,255,0.2); }
.cta__form .btn { flex-shrink: 0; }
.cta__note { margin-top: 18px; font-size: 0.9rem; color: var(--muted-2); }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--border); padding: 64px 0 30px; background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer__brand p { color: var(--muted); margin-top: 10px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { font-size: 0.95rem; margin-bottom: 14px; }
.footer__cols a { display: block; color: var(--muted); font-size: 0.92rem; margin-bottom: 9px; transition: color 0.2s; }
.footer__cols a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 0.85rem; flex-wrap: wrap; gap: 10px; }

/* ============ Scroll reveal (cinematic: rise + scale + blur) ============ */
.reveal { opacity: 0; transform: translateY(40px) scale(0.97); filter: blur(6px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .nav__links { display: none; }
  .cards, .steps, .stats, .footer__inner, .about__grid, .guards, .plans, .flagship { grid-template-columns: 1fr; }
  .plan--pop { order: -1; }
  .about__photo { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 0; }
  .hero { padding: 150px 0 80px; }
  .wire-stage { height: 360vh; }
  .node-label { font-size: 20px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .float, .pulse, .scroll-cue span::after, .hub-ring--2, .hub-ring--3, .node.is-live .node-halo, .wire.is-live .wire-flow { animation: none; }
  html { scroll-behavior: auto; }
  /* collapse the tall pinned stage so content stays reachable without motion */
  .wire-stage { height: auto; }
  .wire-sticky { position: static; height: auto; padding: 80px 0; }
  .wire-copy { position: static; transform: none; opacity: 1; margin: 0 auto 20px; }
  .wire-copy[data-phase="a"], .wire-copy[data-phase="b"] { display: none; }
  .node, .wire-draw { opacity: 1 !important; }
}
