/* ZapVox — landing page styles. Plain CSS, no build step.
   Logical properties (inline-start/end) throughout so ar/he flip automatically. */

:root {
  --bg: #050807;
  --bg-2: #08100c;
  --ink: #f2f7f3;
  --muted: rgba(226, 240, 231, 0.66);
  --faint: rgba(226, 240, 231, 0.42);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.035);
  --green: #30d158;
  --green-2: #7cf5a6;
  --blue: #4f8cff;
  --violet: #b07cff;
  --teal: #2dd4bf;
  --amber: #ffb14a;
  --radius: 28px;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto,
    "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji", sans-serif;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(48, 209, 88, 0.35); }

.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--green); color: #00140a; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { position: relative; padding-block: clamp(88px, 12vw, 160px); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.8; }
.h-display {
  font-size: clamp(44px, 7.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.h-section {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-top: 14px;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 40ch; margin-top: 20px; }
.h-display, .h-section, .step h3, .tile h3 { text-wrap: balance; }
.lead, .step p, .tile p { text-wrap: pretty; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; overflow-wrap: anywhere; }
:lang(ja) .h-display, :lang(ko) .h-display, :lang(zh-Hans) .h-display, :lang(zh-Hant) .h-display { font-size: clamp(36px, 6.4vw, 76px); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.grad {
  background: linear-gradient(100deg, var(--green) 0%, var(--green-2) 55%, #c8ffe0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-block-end: 0.08em;
}
.grad-shine {
  background: linear-gradient(100deg, var(--green) 0%, var(--green-2) 30%, #ffffff 45%, var(--green-2) 60%, var(--green) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s var(--ease) infinite;
}
@keyframes shine { 0%, 30% { background-position: 100% 0; } 70%, 100% { background-position: 0% 0; } }
:lang(ja) .h-display, :lang(zh-Hans) .h-display, :lang(zh-Hant) .h-display, :lang(ko) .h-display,
:lang(ja) .h-section, :lang(zh-Hans) .h-section, :lang(zh-Hant) .h-section, :lang(ko) .h-section { letter-spacing: -0.01em; line-height: 1.15; }
:lang(hi) .h-display, :lang(hi) .h-section, :lang(ar) .h-display, :lang(ar) .h-section, :lang(he) .h-display { letter-spacing: 0; line-height: 1.2; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding-inline: 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s, box-shadow 0.35s var(--ease), color 0.3s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary {
  background: var(--green); color: #00150a;
  box-shadow: 0 10px 30px -8px rgba(48, 209, 88, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 16px 44px -10px rgba(48, 209, 88, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35); background: #3fe068; }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }
.btn-sm { height: 40px; padding-inline: 18px; font-size: 14px; }
.badge-link { display: inline-block; transition: transform 0.35s var(--ease), filter 0.35s; }
.badge-link img { height: 52px; width: auto; }
.badge-link:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 24px rgba(48, 209, 88, 0.35)); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(5, 8, 7, 0.72); backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 14px rgba(79, 140, 255, 0.3); }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; font-size: 15px; color: var(--muted); }
.nav-links a { transition: color 0.25s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-actions { margin-inline-start: auto; } }
@media (max-width: 480px) { .nav-in { gap: 12px; } .nav-actions .btn-sm { width: 40px; padding: 0; } .nav-actions .btn-sm span { display: none; } }

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding-inline: 12px;
  border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.lang-btn:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px);
  display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 2px;
  padding: 8px; border-radius: 18px; background: rgba(14, 20, 17, 0.92);
  border: 1px solid var(--line-2); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98); transform-origin: top right; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.lang-menu a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--muted); }
.lang-menu a span { color: var(--faint); font-size: 12px; }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: rgba(255, 255, 255, 0.06); color: var(--ink); }
.lang-menu a[aria-current="true"] span { color: var(--green); }

/* ---------- Ambient background ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 620px; height: 620px; background: radial-gradient(circle, rgba(48, 209, 88, 0.55), transparent 65%); top: -200px; inset-inline-end: -120px; }
.aurora i:nth-child(2) { width: 520px; height: 520px; background: radial-gradient(circle, rgba(79, 140, 255, 0.45), transparent 65%); top: 260px; inset-inline-start: -220px; animation-duration: 26s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 460px; height: 460px; background: radial-gradient(circle, rgba(176, 124, 255, 0.38), transparent 65%); top: 520px; inset-inline-end: 18%; animation-duration: 30s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(60px, 40px, 0) scale(1.12); }
  100% { transform: translate3d(-40px, 80px, 0) scale(0.94); }
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.gridlines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.45;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 140px; padding-bottom: 80px; min-height: 100svh; display: flex; align-items: center; overflow-x: clip; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font-size: 14px; color: var(--muted);
  max-width: 100%; flex-wrap: wrap; row-gap: 4px;
}
.pill b { padding: 3px 10px; border-radius: 999px; background: rgba(48, 209, 88, 0.16); color: var(--green); font-weight: 600; font-size: 12.5px; }
.hero h1 { margin-top: 26px; }
.hero h1 > span { display: block; }
.hero .lead { max-width: 34em; font-size: clamp(18px, 1.7vw, 21px); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.hero-stage { position: relative; display: flex; justify-content: center; }
@media (max-width: 960px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-ctas, .hero-note { justify-content: center; }
}

/* ---------- Live device (hero demo) ---------- */
/* ===== iPhone frame — one component for every device on the page =====
   .iphone / .device = titanium rim (gradient border) + black bezel (padding) + side buttons.
   .iphone-screen / .device-screen = the display (real iPhone corner ratio, 600x1305 screen crops). */
.iphone, .device {
  --w: 300px;
  --rim: calc(var(--w) * 0.012);
  --bezel: calc(var(--w) * 0.032);
  --screen-r: calc(var(--w) * 0.128);
  position: relative; width: var(--w); flex: none;
  padding: var(--bezel);
  border: var(--rim) solid transparent;
  border-radius: calc(var(--screen-r) + var(--bezel) + var(--rim));
  background:
    linear-gradient(#020202, #020202) padding-box,
    linear-gradient(155deg, #eef0f3 0%, #8d939b 9%, #41454b 24%, #2a2d31 46%, #3d4147 68%, #9aa0a8 88%, #f2f3f5 100%) border-box;
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.9),
    0 2px 0 0 rgba(255, 255, 255, 0.05),
    0 60px 90px -36px rgba(0, 0, 0, 0.95),
    0 30px 140px -50px var(--phone-glow, rgba(48, 209, 88, 0.45));
}
/* side buttons: volume up/down (left), side button (right) — physical, never mirrored */
.iphone::before, .device::before, .iphone::after, .device::after {
  content: ""; position: absolute; width: calc(var(--rim) * 1.15); border-radius: 2px;
  background: linear-gradient(90deg, #2b2e33, #8f959d 55%, #3b3f45);
}
.iphone::before, .device::before {
  left: calc(var(--rim) * -2.05); top: 25%; height: 7.5%;
  box-shadow: 0 calc(var(--w) * 0.2) 0 0 #5b6067;
  border-radius: 2px 0 0 2px;
}
.iphone::after, .device::after {
  right: calc(var(--rim) * -2.05); top: 30%; height: 12%;
  border-radius: 0 2px 2px 0;
}
.iphone-screen, .device-screen {
  position: relative; width: 100%; aspect-ratio: 600 / 1305; overflow: hidden;
  border-radius: var(--screen-r); background: #000; isolation: isolate;
  transform: translateZ(0); /* keeps the rounded clip crisp in Safari while children animate */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.035);
}
.iphone-screen > img, .iphone-screen > video { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
/* glass glare across the display */
.iphone-screen::after, .device-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 30; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.025) 26%, transparent 38%);
}
.island {
  position: absolute; top: 3.2%; left: 50%; translate: -50% 0; width: 31%; aspect-ratio: 3.3 / 1;
  border-radius: 999px; background: #000; z-index: 20;
}
.island::after { /* front camera lens */
  content: ""; position: absolute; right: 12%; top: 50%; translate: 0 -50%; height: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3c4a6b 0 12%, #10131c 38%, #050507 70%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.device { --w: 310px; }
.device-screen { background: #0b0d0c; } /* lifted black so the dynamic island reads, like iOS dark UI */
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 0; height: 44px; font-size: 13px; font-weight: 600; direction: ltr; }
.statusbar i { display: inline-flex; gap: 4px; align-items: center; }
.statusbar i svg { width: 16px; height: 12px; }

.chat-top { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.chat-top svg { width: 18px; height: 18px; color: var(--blue); }
[dir="rtl"] .chat-top svg { transform: scaleX(-1); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #04140b; background: linear-gradient(135deg, #ffd27a, #ff8a65); }
.chat-name { font-size: 14px; font-weight: 600; }
.chat-sub { font-size: 11px; color: var(--faint); }
.chat-body { padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 80%; padding: 8px 12px; border-radius: 18px; font-size: 13px; line-height: 1.35; background: #1f2622; border-end-start-radius: 6px; }
.bubble.me { align-self: flex-end; background: #0f5132; border-end-start-radius: 18px; border-end-end-radius: 6px; }
.voice {
  display: flex; align-items: center; gap: 10px; width: 86%; padding: 10px 12px; border-radius: 20px; border-end-start-radius: 6px;
  background: #1f2622; transition: transform 0.4s var(--spring), box-shadow 0.4s;
  direction: ltr;
}
.voice .play { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #00150a; flex: none; }
.voice .play svg { width: 13px; height: 13px; margin-inline-start: 2px; }
.wave { flex: 1; display: flex; align-items: center; gap: 2.5px; height: 26px; }
.wave span { flex: 1; border-radius: 2px; background: rgba(255, 255, 255, 0.55); height: calc(var(--h) * 1%); transform-origin: center; animation: bar 1.2s ease-in-out infinite; animation-delay: calc(var(--i) * -0.09s); }
@keyframes bar { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
.voice .dur { font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.device.pressing .voice { transform: scale(0.94); box-shadow: 0 0 0 2px rgba(48, 209, 88, 0.55); }

.sheet {
  position: absolute; inset-inline: 6px; bottom: 6px; top: 34%;
  border-radius: 30px; background: #151a17; border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 10px 14px 14px; display: flex; flex-direction: column;
  transform: translateY(105%); transition: transform 0.7s var(--ease);
  z-index: 10; box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6);
}
.device.sheet-up .sheet { transform: none; }
.device-screen::before {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45);
  opacity: 0; transition: opacity 0.6s; pointer-events: none; z-index: 5;
}
.device.sheet-up .device-screen::before { opacity: 1; }
.grabber { width: 36px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.2); margin: 0 auto 10px; }
.sheet-head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.sheet-head img { width: 24px; height: 24px; border-radius: 6px; }
.sheet-head .x { margin-inline-start: auto; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; font-size: 13px; color: var(--faint); }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); font-size: 11.5px; font-weight: 600; }
.seg span { position: relative; z-index: 1; text-align: center; padding: 6px 2px; color: var(--faint); transition: color 0.3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg span.on { color: var(--ink); }
.seg-ind {
  position: absolute; top: 3px; bottom: 3px; inset-inline-start: 3px; width: calc((100% - 6px) / 3);
  border-radius: 9px; background: var(--seg-c, #2b332e); transition: translate 0.5s var(--spring), background 0.4s;
  translate: calc(var(--i, 0) * 100%) 0;
}
[dir="rtl"] .seg-ind { translate: calc(var(--i, 0) * -100%) 0; }
.panes { position: relative; flex: 1; margin-top: 12px; }
.pane { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); font-size: 13.5px; line-height: 1.5; }
.pane.on { opacity: 1; transform: none; }
.typed .w { opacity: 0; transition: opacity 0.25s; }
.typed .w.v { opacity: 1; }
.caret { display: inline-block; width: 2px; height: 1em; vertical-align: -2px; background: var(--green); margin-inline-start: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sum-list li { display: flex; gap: 8px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); opacity: 0; transform: translateX(-8px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
[dir="rtl"] .sum-list li { transform: translateX(8px); }
.pane.on .sum-list li { opacity: 1; transform: none; }
.pane.on .sum-list li:nth-child(2) { transition-delay: 0.12s; }
.pane.on .sum-list li:nth-child(3) { transition-delay: 0.24s; }
.sum-list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.pane-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; margin-bottom: 8px; }
.pane-label svg { width: 12px; height: 12px; }
.pl-violet { background: rgba(176, 124, 255, 0.14); color: var(--violet); }
.pl-teal { background: rgba(45, 212, 191, 0.14); color: var(--teal); }
.sheet-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.sheet-btns > span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); font-size: 12.5px; font-weight: 600; color: var(--green); }
.sheet-btns svg { width: 14px; height: 14px; }

.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 16px; font-size: 13.5px; font-weight: 600;
  background: rgba(16, 22, 19, 0.75); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  animation: bob 6s ease-in-out infinite;
  white-space: nowrap;
}
.float-chip .ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; }
.float-chip .ic svg { width: 16px; height: 16px; }
.fc-1 { top: 16%; inset-inline-start: -4%; }
.fc-2 { top: 50%; inset-inline-end: -8%; animation-delay: -2s; }
.fc-3 { bottom: 10%; inset-inline-start: -2%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1100px) { .fc-1 { inset-inline-start: -10%; } .fc-2 { inset-inline-end: -12%; } }
@media (max-width: 560px) { .float-chip { display: none; } .device { --w: 280px; } }
.ic-blue { background: rgba(79, 140, 255, 0.16); color: var(--blue); }
.ic-violet { background: rgba(176, 124, 255, 0.16); color: var(--violet); }
.ic-teal { background: rgba(45, 212, 191, 0.16); color: var(--teal); }
.ic-green { background: rgba(48, 209, 88, 0.16); color: var(--green); }
.ic-amber { background: rgba(255, 177, 74, 0.16); color: var(--amber); }

.stage-glow { position: absolute; inset: 10% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(48, 209, 88, 0.28), transparent); filter: blur(30px); z-index: 0; }
.stage-ring { position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; translate: -50% -50%; border-radius: 50%; border: 1px solid var(--line); z-index: 0; }
.stage-ring.r2 { width: 760px; height: 760px; opacity: 0.6; }

/* ---------- Works-with strip ---------- */
.works { position: relative; z-index: 1; padding-block: 28px 0; }
.works-in { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; color: var(--faint); font-size: 14px; }
.works-in .chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); color: var(--muted); font-weight: 500; }

/* ---------- Story (sticky) ---------- */
.story-head { max-width: 760px; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 40px; }
.steps { position: relative; padding-inline-start: 36px; }
.rail { position: absolute; inset-inline-start: 6px; top: 12vh; bottom: 12vh; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail-fill { position: absolute; inset-inline: 0; top: 0; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); background: linear-gradient(var(--blue), var(--violet), var(--teal), var(--green)); }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.6s var(--ease); }
.step.active { opacity: 1; }
.step-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c); }
.step-tag .num { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); font-size: 12px; letter-spacing: 0; }
.step h3 { margin-top: 18px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
.step p { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 30em; }
.step-media { display: none; }
.sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.shot-stack { position: relative; width: fit-content; }
.shot-phone { --w: 320px; }
.shot-stack .shot { opacity: 0; transform: scale(1.04); transition: opacity 0.7s var(--ease), transform 1.1s var(--ease); }
.shot-stack .shot.on { opacity: 1; transform: none; }
.shot-glow { position: absolute; inset: -18% -40%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow, var(--blue)) 40%, transparent), transparent); filter: blur(40px); transition: background 0.8s; z-index: -1; }
.tr-card {
  position: absolute; z-index: 4; inset-inline: -12%; top: 48%;
  padding: 16px 18px; border-radius: 22px;
  background: rgba(13, 24, 22, 0.82); border: 1px solid rgba(45, 212, 191, 0.35);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85), 0 0 60px -10px rgba(45, 212, 191, 0.35);
  opacity: 0; transform: translateY(24px) scale(0.95); transition: opacity 0.6s var(--ease), transform 0.7s var(--spring);
  font-size: 15px; line-height: 1.45;
}
.tr-card.on { opacity: 1; transform: none; }
.tr-card .pane-label { margin-bottom: 10px; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .sticky { display: none; }
  .steps { padding-inline-start: 0; }
  .rail { display: none; }
  .step { min-height: 0; opacity: 1; padding-block: 48px; }
  .step-media { display: block; --w: min(280px, 72vw); margin: 36px auto 0; }
}

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.tile {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line); min-height: 340px; display: flex; flex-direction: column;
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.07), transparent 45%);
}
.tile:hover { border-color: var(--line-2); }
.tile:hover::before { opacity: 1; }
.tile.span2 { grid-column: span 2; }
.tile h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; font-weight: 650; }
.tile p { margin-top: 8px; color: var(--muted); font-size: 15.5px; max-width: 34em; }
.tile .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.tile .ic svg { width: 20px; height: 20px; }
.tile-art { position: relative; flex: 1; margin-top: 24px; min-height: 150px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .tile.span2 { grid-column: auto; } }

/* Collections fan */
.folders { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; perspective: 900px; }
.folder {
  position: absolute; bottom: 0; width: 200px; height: 140px; border-radius: 6px 18px 18px 18px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 95%, white 5%), color-mix(in srgb, var(--c) 65%, black 35%));
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  display: flex; align-items: flex-end; padding: 16px; font-weight: 650; font-size: 15px; color: #fff;
  transform: translateX(0) rotate(0); transition: transform 0.9s var(--spring);
}
.folder::before { content: ""; position: absolute; top: -14px; inset-inline-start: 0; width: 76px; height: 20px; border-radius: 8px 10px 0 0; background: color-mix(in srgb, var(--c) 92%, white 8%); }
.folder svg { position: absolute; top: 18px; inset-inline-start: 16px; width: 22px; height: 22px; opacity: 0.9; }
.folder:nth-child(1) { --c: #2f6fe4; z-index: 1; }
.folder:nth-child(2) { --c: #24a148; z-index: 2; }
.folder:nth-child(3) { --c: #c9772a; z-index: 3; }
.folder:nth-child(4) { --c: #8b3fd1; z-index: 4; }
.folder:nth-child(1) { --x: -210px; --r: -10deg; --y: 10px; }
.folder:nth-child(2) { --x: -70px; --r: -3deg; }
.folder:nth-child(3) { --x: 70px; --r: 3deg; }
.folder:nth-child(4) { --x: 210px; --r: 10deg; --y: 10px; }
.in .folder { transform: translateX(calc(var(--x) * var(--d, 1))) rotate(calc(var(--r) * var(--d, 1))) translateY(var(--y, 0px)); }
[dir="rtl"] .folders { --d: -1; }
.tile:hover .folders .folder:nth-child(2), .tile:hover .folders .folder:nth-child(3) { --y: -14px; }
@media (max-width: 560px) {
  .folder { width: 150px; height: 110px; font-size: 13px; }
  .folder:nth-child(1) { --x: -100px; }
  .folder:nth-child(2) { --x: -34px; }
  .folder:nth-child(3) { --x: 34px; }
  .folder:nth-child(4) { --x: 100px; }
}

/* Auto summary/translation processing */
.auto-card { position: absolute; inset-inline: 0; bottom: 0; padding: 16px; border-radius: 18px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); }
.auto-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--muted); }
.auto-row + .auto-row { border-top: 1px solid var(--line); }
.auto-row .ic { width: 28px; height: 28px; margin: 0; border-radius: 9px; }
.auto-row .ic svg { width: 15px; height: 15px; }
.auto-row .st { margin-inline-start: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); border-top-color: var(--c); animation: spin 0.9s linear infinite; }
.in .auto-row .st { animation: spin 0.9s linear 3, done 0.01s 2.7s forwards; }
.in .auto-row:nth-child(2) .st { animation: spin 0.9s linear 4, done 0.01s 3.6s forwards; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes done { to { border-color: var(--c); background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001a0b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; transform: none; } }

/* Search */
.search-ui { position: absolute; inset-inline: 0; bottom: 0; }
.search-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding-inline: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); font-size: 15px; }
.search-bar svg { width: 16px; height: 16px; color: var(--faint); flex: none; }
.search-bar .q { white-space: nowrap; overflow: hidden; border-inline-end: 2px solid var(--green); max-width: 0; animation: none; }
.in .search-bar .q { animation: type 1.4s steps(12) 0.4s forwards, caretb 1s steps(1) infinite; }
@keyframes type { to { max-width: 12ch; } }
@keyframes caretb { 50% { border-color: transparent; } }
.result { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease) 1.8s, transform 0.6s var(--ease) 1.8s; }
.result + .result { transition-delay: 2s; }
.in .result { opacity: 1; transform: none; }
.result mark { background: rgba(48, 209, 88, 0.25); color: var(--ink); border-radius: 4px; padding: 0 2px; }
.result .star { color: #ffd60a; flex: none; }
.result .star svg { width: 15px; height: 15px; }

/* Export + backup */
.export-art { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.files { display: flex; flex-direction: column; gap: 10px; align-self: center; }
.file {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600; opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.7s var(--spring);
}
.file small { display: block; font-weight: 500; color: var(--faint); font-size: 12.5px; }
.file .ext { width: 42px; height: 50px; border-radius: 8px 14px 8px 8px; display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: 0.02em; flex: none; }
.in .file { opacity: 1; transform: none; }
.in .file:nth-child(2) { transition-delay: 0.15s; }
.in .file:nth-child(3) { transition-delay: 0.3s; }
.ext-txt { background: rgba(79, 140, 255, 0.18); color: var(--blue); }
.ext-m4a { background: rgba(255, 177, 74, 0.18); color: var(--amber); }
.ext-zv { background: rgba(48, 209, 88, 0.18); color: var(--green); }
.export-shot { --w: 210px; --phone-glow: rgba(79, 140, 255, 0.35); margin-bottom: -60px; margin-inline-end: 4px; transform: translateY(40px); opacity: 0; transition: transform 1s var(--ease) 0.2s, opacity 0.8s 0.2s; }
.in .export-shot { transform: none; opacity: 1; }
@media (max-width: 560px) { .export-art { grid-template-columns: 1fr; } .export-shot { margin-inline: auto; } }

/* Bionic */
.bionic { font-size: 19px; line-height: 1.55; color: var(--muted); }
.bionic b { font-weight: 400; color: var(--muted); transition: font-weight 0.4s, color 0.4s; }
.bionic.on b { font-weight: 750; color: var(--ink); }
.toggle { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 13.5px; color: var(--faint); }
.toggle i { width: 40px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); position: relative; transition: background 0.3s; }
.toggle i::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: translate 0.35s var(--spring); }
.bionic.on + .toggle i { background: var(--green); }
.bionic.on + .toggle i::after { translate: 16px 0; }
[dir="rtl"] .bionic.on + .toggle i::after { translate: -16px 0; }

/* Audio player */
.player { position: absolute; inset-inline: 0; bottom: 0; padding: 18px; border-radius: 18px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); direction: ltr; }
.player-row { display: flex; align-items: center; gap: 14px; }
.player .play { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--green); color: var(--green); flex: none; }
.player .play svg { width: 15px; height: 15px; margin-inline-start: 3px; }
.big-wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 44px; }
.big-wave span { flex: 1; border-radius: 3px; height: calc(var(--h) * 1%); background: rgba(255, 255, 255, 0.18); }
.big-wave span.p { background: var(--green); }
.player-meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }

/* ---------- Privacy ---------- */
.privacy-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.p-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.p-card { padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); }
.p-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; }
.p-card .ic svg { width: 19px; height: 19px; }
.p-card h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.p-card p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.vault { position: relative; display: grid; place-items: center; min-height: 600px; }
.vault-phone { z-index: 2; --w: min(290px, 74vw); }
.ring { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; border: 1px solid rgba(48, 209, 88, 0.25); }
.ring.a { width: 380px; height: 380px; animation: pulse 4s ease-out infinite; }
.ring.b { width: 380px; height: 380px; animation: pulse 4s ease-out infinite 1.33s; }
.ring.c { width: 380px; height: 380px; animation: pulse 4s ease-out infinite 2.66s; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0; } 25% { opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.vault .halo { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(48, 209, 88, 0.22), transparent); filter: blur(20px); }
.lock-badge {
  position: absolute; z-index: 3; top: 12%; inset-inline-end: 4%; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 18px; background: rgba(12, 20, 15, 0.85); border: 1px solid rgba(48, 209, 88, 0.3);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-weight: 600; font-size: 14px;
  animation: bob 6s ease-in-out infinite;
}
.lock-badge .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.lock-badge .ic svg { width: 17px; height: 17px; }
.lock-badge.b2 { top: auto; bottom: 14%; inset-inline-end: auto; inset-inline-start: 2%; animation-delay: -3s; border-color: var(--line-2); }
@media (max-width: 960px) { .privacy-grid { grid-template-columns: 1fr; } .vault { min-height: 520px; } }
@media (max-width: 560px) { .p-cards { grid-template-columns: 1fr; } .lock-badge { display: none; } }

/* ---------- Languages marquee ---------- */
.marquee { position: relative; margin-top: 56px; display: grid; gap: 14px; direction: ltr; 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); }
.track { display: flex; gap: 14px; width: max-content; animation: marq 50s linear infinite; }
.track.rev { animation-direction: reverse; animation-duration: 58s; }
.marquee:hover .track { animation-play-state: paused; }
.track span { padding: 16px 26px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.track span:nth-child(3n) { color: var(--green); border-color: rgba(48, 209, 88, 0.25); }
.track span:nth-child(5n) { color: var(--teal); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Duo ---------- */
.duo-frame { position: relative; width: min(880px, 100%); margin: 56px auto 0; }
/* iPhone Duo, unfolded: same titanium/bezel language as .iphone; the device rises out of the
   section and fades at the bottom (the source screen runs off the mockup's bottom edge). */
.duo-device {
  --rim: 10px; --bezel: 13px; --r: 58px;
  position: relative; padding: var(--bezel) var(--bezel) 0;
  border: var(--rim) solid transparent; border-bottom: 0;
  border-radius: var(--r) var(--r) 0 0;
  background:
    linear-gradient(#020202, #020202) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 3%) border-box,
    linear-gradient(90deg, #d9dde2 0%, #6f757d 4%, #464a51 16%, #7d838b 49.6%, #b9bec5 50%, #7d838b 50.4%, #464a51 84%, #6f757d 96%, #d9dde2 100%) border-box;
  -webkit-mask-image: linear-gradient(#000 58%, transparent 97%);
  mask-image: linear-gradient(#000 58%, transparent 97%);
  clip-path: inset(0 50% 0 50% round var(--r) var(--r) 0 0); opacity: 0.4;
  transition: clip-path 1.6s var(--ease), opacity 1.2s;
}
.duo-frame.in .duo-device { clip-path: inset(0 0 0 0 round var(--r) var(--r) 0 0); opacity: 1; }
.duo-screen { position: relative; overflow: hidden; border-radius: calc(var(--r) - var(--bezel) - var(--rim)) calc(var(--r) - var(--bezel) - var(--rim)) 0 0; background: #000; }
.duo-screen img { width: 100%; height: auto; }
.duo-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 24%, transparent 36%);
}
@media (max-width: 640px) { .duo-device { --rim: 5px; --bezel: 7px; --r: 30px; } }
.duo-frame::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 30%; width: 2px; translate: -50% 0; background: linear-gradient(rgba(255, 255, 255, 0.5), transparent); z-index: 2; opacity: 1; transition: opacity 1s 1s; }
.duo-frame.in::before { opacity: 0; }
.duo-glow { position: absolute; inset: 10% 10% 30%; background: radial-gradient(closest-side, rgba(48, 209, 88, 0.25), transparent); filter: blur(40px); z-index: -1; }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: 1fr auto; gap: 72px; align-items: center; }
.how-steps { display: grid; gap: 14px; margin-top: 40px; counter-reset: s; }
.how-step { display: flex; gap: 18px; padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); transition: border-color 0.4s, background 0.4s; }
.how-step:hover { border-color: rgba(48, 209, 88, 0.3); background: rgba(48, 209, 88, 0.04); }
.how-step .n { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #00150a; background: linear-gradient(140deg, var(--green-2), var(--green)); box-shadow: 0 8px 24px -8px rgba(48, 209, 88, 0.7); }
.how-step h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
.how-step p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }
.video-device { --w: 290px; }
.video-device video { background: #000; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } .video-device { margin-inline: auto; --w: 260px; } }

/* ---------- Pricing ---------- */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 56px auto 0; align-items: stretch; }
.plan { position: relative; padding: 36px; border-radius: 30px; border: 1px solid var(--line); background: var(--glass); display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; font-weight: 650; }
.plan .price { margin-top: 14px; font-size: 40px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.1; }
.plan .price-note { margin-top: 6px; color: var(--faint); font-size: 14.5px; }
.plan ul { margin-top: 28px; display: grid; gap: 14px; flex: 1; }
.plan li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 16px; }
.plan li svg { width: 20px; height: 20px; flex: none; color: var(--green); margin-top: 2px; }
.plan .btn { margin-top: 32px; width: 100%; }
.plan.pro { border-color: transparent; background: linear-gradient(180deg, rgba(48, 209, 88, 0.09), rgba(48, 209, 88, 0.02)), #07100b; }
.plan.pro::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), rgba(48, 209, 88, 0.15), var(--green), var(--green-2), rgba(79, 140, 255, 0.6), rgba(48, 209, 88, 0.15) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rot 6s linear infinite;
}
.plan.pro::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 40px 100px -40px rgba(48, 209, 88, 0.5); pointer-events: none; }
@keyframes rot { to { --ang: 360deg; } }
.plan .tag { position: absolute; top: 28px; inset-inline-end: 28px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #00150a; background: linear-gradient(120deg, var(--green-2), var(--green)); }
.plans-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--faint); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 48px auto 0; display: grid; gap: 12px; }
.faq details { border-radius: 20px; border: 1px solid var(--line); background: var(--glass); overflow: hidden; transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: var(--line-2); background: rgba(255, 255, 255, 0.05); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); transition: transform 0.4s var(--ease), background 0.3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--ink); translate: -50% -50%; }
.faq summary .pm::after { rotate: 90deg; transition: rotate 0.4s var(--ease); }
.faq details[open] .pm { background: rgba(48, 209, 88, 0.2); }
.faq details[open] .pm::after { rotate: 0deg; }
.faq .ans { overflow: hidden; padding: 0 24px 22px; color: var(--muted); font-size: 16px; max-width: 62ch; }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; text-align: center; padding-block: clamp(120px, 16vw, 200px); isolation: isolate; }
.final-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 40%; opacity: 0.28; filter: saturate(1.1) blur(2px); transform: scale(1.06); }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 50% 60%, rgba(48, 209, 88, 0.22), transparent 70%), linear-gradient(var(--bg) 0%, rgba(5, 8, 7, 0.55) 35%, rgba(5, 8, 7, 0.55) 65%, var(--bg) 100%); }
.final .h-display { font-size: clamp(40px, 6.4vw, 76px); }
.final .lead { margin-inline: auto; }
.final .hero-ctas { justify-content: center; }
.final-icon { width: 96px; height: 96px; margin: 0 auto 32px; border-radius: 24px; box-shadow: 0 20px 60px -10px rgba(79, 140, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1); animation: bob 6s ease-in-out infinite; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 48px; font-size: 14px; color: var(--faint); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer .brand { color: var(--ink); font-size: 17px; }
.footer .brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer p { margin-top: 8px; max-width: 40ch; }
.footer nav { display: flex; gap: 22px; }
.footer nav a:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="scale"] { transform: scale(0.94) translateY(20px); }
.js .hero [data-reveal] { transition-duration: 1.2s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .aurora i, .float-chip, .lock-badge, .final-icon { animation: none !important; }
  .track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .track span[aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .search-bar .q { max-width: none; border: 0; }
  .wave span { transform: none; }
}

/* Decorative rings/glows must never widen the layout viewport (mobile, RTL). clip ≠ scroll container, so sticky still works. */
main, .footer { overflow-x: clip; }
