/* ============================================================
   FinApp — cinematic fintech landing
   Design tokens
   ============================================================ */
:root{
  --bg-0:#05070f;
  --bg-1:#070b18;
  --bg-2:#0b1124;
  --ink:#eaf0ff;
  --ink-dim:#9aa6c4;
  --ink-faint:#5b678a;

  --emerald:#34d399;
  --emerald-deep:#10b981;
  --blue:#38bdf8;
  --blue-deep:#3b82f6;
  --violet:#a78bfa;
  --violet-deep:#8b5cf6;

  --glass:rgba(255,255,255,0.045);
  --glass-strong:rgba(255,255,255,0.07);
  --stroke:rgba(255,255,255,0.09);
  --stroke-soft:rgba(255,255,255,0.06);

  --shadow-xl:0 40px 120px -30px rgba(0,0,0,0.85);
  --font-display:'Sora',system-ui,sans-serif;
  --font-body:'Manrope',system-ui,sans-serif;
  --font-fa:'Vazirmatn','Manrope',system-ui,sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0;}
html,body{height:100%;}
body{
  background:var(--bg-0);
  color:var(--ink);
  font-family:var(--font-body);
  overflow:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
}
#root{height:100vh;height:100dvh;width:100vw;overflow:hidden;}

/* ============================================================
   Stage
   ============================================================ */
.stage{
  position:fixed;
  inset:0;
  overflow:hidden;
  background:
    radial-gradient(1200px 800px at 18% 18%, rgba(56,189,248,0.10), transparent 60%),
    radial-gradient(1100px 760px at 82% 82%, rgba(139,92,246,0.12), transparent 62%),
    radial-gradient(900px 700px at 60% 8%, rgba(16,185,129,0.08), transparent 60%),
    linear-gradient(180deg,var(--bg-1),var(--bg-0) 70%);
}

/* ---- animated background layers ---- */
.bg-grid{
  position:absolute; inset:-10% -10% -10% -10%;
  background-image:
    linear-gradient(to right, rgba(120,160,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120,160,255,0.05) 1px, transparent 1px);
  background-size:66px 66px;
  transform:perspective(700px) rotateX(60deg) translateY(0);
  transform-origin:center 80%;
  mask-image:radial-gradient(120% 88% at 50% 28%, #000 22%, transparent 70%);
  -webkit-mask-image:radial-gradient(120% 88% at 50% 28%, #000 22%, transparent 70%);
  animation:gridPan 26s linear infinite;
  opacity:.34;
}
@keyframes gridPan{ from{background-position:0 0;} to{background-position:0 66px;} }

.orb{ position:absolute; border-radius:50%; filter:blur(72px); opacity:.34; mix-blend-mode:screen; will-change:transform; }
.orb.a{ width:46vw; height:46vw; left:-12vw; top:-10vw; background:radial-gradient(circle at 30% 30%, rgba(56,189,248,.62), transparent 66%); animation:drift1 32s ease-in-out infinite;}
.orb.b{ width:40vw; height:40vw; right:-10vw; bottom:-12vw; background:radial-gradient(circle at 60% 40%, rgba(139,92,246,.6), transparent 66%); animation:drift2 38s ease-in-out infinite;}
.orb.c{ width:30vw; height:30vw; right:18vw; top:-8vw; background:radial-gradient(circle at 50% 50%, rgba(16,185,129,.46), transparent 67%); animation:drift3 42s ease-in-out infinite;}
@keyframes drift1{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(8vw,6vh) scale(1.12);}}
@keyframes drift2{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(-7vw,-5vh) scale(1.1);}}
@keyframes drift3{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(-5vw,7vh) scale(1.18);}}

.bg-canvas{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.bg-vignette{ position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(120% 100% at 50% 38%, transparent 48%, rgba(2,4,10,.82) 100%);}
.bg-noise{ position:absolute; inset:0; pointer-events:none; opacity:.028; 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='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");}

/* ============================================================
   Top bar
   ============================================================ */
.topbar{
  position:fixed; top:0; left:0; right:0; z-index:40;
  display:flex; align-items:center; justify-content:space-between;
  padding:26px clamp(24px,5vw,72px);
  pointer-events:none;
}
.brand{ display:flex; align-items:center; gap:12px; pointer-events:auto; }
.brand-mark{
  width:36px; height:36px; border-radius:50%; position:relative; overflow:hidden;
  display:grid; place-items:center;
  background:radial-gradient(circle at 34% 28%, #2950b8, #0a1734 72%);
  border:1px solid rgba(120,170,255,.4);
  box-shadow:0 8px 24px -8px rgba(40,90,210,.85), inset 0 1px 0 rgba(255,255,255,.18);
}
.brand-mark .f, .flogo .f{
  font-family:var(--font-display); font-weight:800; line-height:1; font-size:19px; z-index:2;
  background:linear-gradient(180deg,#ffe27a,#f5b81a);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 0 6px rgba(245,184,26,.6));
  animation:fBreathe 2.6s ease-in-out infinite;
}
@keyframes fBreathe{ 0%,100%{ transform:scale(1); filter:drop-shadow(0 0 4px rgba(245,184,26,.45)); }
  50%{ transform:scale(1.18); filter:drop-shadow(0 0 10px rgba(255,210,74,.85)); } }
.brand-mark::after{ content:""; position:absolute; inset:0; border-radius:50%; z-index:1;
  background:radial-gradient(circle at 50% 120%, rgba(245,184,26,.25), transparent 60%); }
.brand-name{ font-family:var(--font-display); font-weight:700; letter-spacing:.2px; font-size:19px; }
.brand-name span{ color:var(--emerald); }

.top-actions{ display:flex; align-items:center; gap:10px; pointer-events:auto; }
.social-links{ display:flex; align-items:center; gap:6px; }
.social-ico{ display:grid; place-items:center; width:34px; height:34px; border-radius:50%;
  color:var(--ink-dim); cursor:pointer; text-decoration:none;
  background:var(--glass); border:1px solid var(--stroke); backdrop-filter:blur(8px);
  transition:transform .3s cubic-bezier(.16,.84,.3,1), color .3s, border-color .3s, background .3s, box-shadow .3s; }
.social-ico:hover{ color:#fff; transform:translateY(-2px);
  border-color:rgba(120,180,255,.42); background:rgba(255,255,255,.09);
  box-shadow:0 12px 26px -14px rgba(56,189,248,.8); }
.social-ico:active{ transform:translateY(0) scale(.94); }
.top-divider{ width:1px; height:20px; background:var(--stroke); margin:0 2px; }
.top-actions.fa .pill-link{ font-family:var(--font-fa); letter-spacing:0; }
.pill-link{
  font-size:13.5px; font-weight:600; color:var(--ink-dim);
  padding:9px 16px; border-radius:999px; border:1px solid transparent;
  transition:.25s; cursor:pointer; letter-spacing:.2px;
}
.pill-link:hover{ color:var(--ink); border-color:var(--stroke); background:var(--glass); }
.pill-link.primary{
  color:var(--bg-0); font-weight:700;
  background:linear-gradient(135deg,var(--emerald),#7ef0c2);
  box-shadow:0 12px 30px -12px rgba(52,211,153,.8);
}
.pill-link.primary:hover{ filter:brightness(1.06); transform:translateY(-1px); box-shadow:0 16px 34px -12px rgba(52,211,153,.9); }
.pill-link.primary:active{ transform:translateY(0) scale(.97); transition-duration:.1s; }

/* ============================================================
   Scene layout
   ============================================================ */
.scene-layer{
  position:absolute; inset:0; z-index:20;
  --gap:clamp(48px,6vw,116px);
  --pad:clamp(56px,8vw,184px);
  --orbit-dur:1.6s;
  --orbit-ease:cubic-bezier(.62,.01,.30,1);
  padding:0 var(--pad);
  perspective:1300px;
  perspective-origin:50% 46%;
}
/* outer wrapper tips & zooms the whole pair like a turning globe */
.orbit-tip{
  position:absolute; top:0; bottom:0; left:var(--pad); right:var(--pad);
  transform-style:preserve-3d;
  transform-origin:50% 50%;
  will-change:transform;
}
/* the shared 3D loop: rotating this swaps the columns through a curved orbit */
.orbit{
  position:absolute; inset:0;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:var(--gap);
  transform-style:preserve-3d;
  transform-origin:50% 50%;
  transition:transform var(--orbit-dur) var(--orbit-ease);
  will-change:transform;
}
@keyframes globeTip{
  0%{ transform:rotateX(0deg) rotateZ(0deg) scale(1); }
  46%{ transform:rotateX(9deg) rotateZ(-1.6deg) scale(.85); }
  100%{ transform:rotateX(0deg) rotateZ(0deg) scale(1); }
}

/* ---- phone stage ---- */
.phone-stage{
  grid-column:1;
  display:flex; align-items:center; justify-content:flex-end;
  perspective:1600px;
  height:100%;
  position:relative;
  z-index:5;
  transform-style:preserve-3d;
  transition:transform var(--orbit-dur) var(--orbit-ease);
  will-change:transform;
}
.phone-glow{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:440px; height:440px; border-radius:50%;
  background:radial-gradient(circle, rgba(56,189,248,.35), rgba(139,92,246,.18) 45%, transparent 70%);
  filter:blur(20px); z-index:0;
  animation:halo 6s ease-in-out infinite;
  transition:opacity .6s ease, transform .6s ease;
}
@keyframes halo{0%,100%{transform:translate(-50%,-50%) scale(1);opacity:.8;}50%{transform:translate(-50%,-50%) scale(1.08);opacity:1;}}
/* glow flares while the globe spins */
.phone-stage.spin .phone-glow{ animation:none; opacity:1; transform:translate(-50%,-50%) scale(1.4); filter:blur(30px);
  background:radial-gradient(circle, rgba(56,189,248,.62), rgba(139,92,246,.36) 45%, transparent 72%); }

.phone-float{ position:relative; z-index:2; transform-style:preserve-3d; animation:phoneFloat 7s ease-in-out infinite; }@keyframes phoneFloat{0%,100%{transform:translateY(0);}50%{transform:translateY(-16px);}}

.phone{
  position:relative;
  width:300px; height:620px;
  border-radius:46px;
  background:
    linear-gradient(155deg,#2a3043,#10131f 55%,#070912);
  padding:11px;
  box-shadow:
    var(--shadow-xl),
    inset 0 0 0 1.5px rgba(255,255,255,.10),
    inset 0 2px 1px rgba(255,255,255,.22),
    0 0 0 9px rgba(255,255,255,.015);
  transform-style:preserve-3d;
  backface-visibility:hidden; -webkit-backface-visibility:hidden;
  transition:transform .85s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}
.phone[data-phase="out"]{ transition-duration:.7s; transition-timing-function:cubic-bezier(.45,.02,.32,1); }
.phone[data-phase="in"]{ transition-duration:1.05s; transition-timing-function:cubic-bezier(.18,.86,.28,1); }
.phone::before{ /* side button */
  content:""; position:absolute; right:-3px; top:150px; width:3px; height:64px; border-radius:3px;
  background:linear-gradient(180deg,#39405a,#1a1f2e);
}
.phone::after{ /* volume */
  content:""; position:absolute; left:-3px; top:130px; width:3px; height:42px; border-radius:3px;
  background:linear-gradient(180deg,#39405a,#1a1f2e);
  box-shadow:0 60px 0 -2px #2a3147, 0 110px 0 -2px #2a3147;
}
.phone-screen{
  position:absolute; inset:11px; width:auto; height:auto;
  border-radius:36px; overflow:hidden;
  background:linear-gradient(180deg,#0a1020,#070b16);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);
  backface-visibility:hidden; -webkit-backface-visibility:hidden;
  transform:translateZ(1px);
}
/* realistic phone back — shown while the device barrel-rotates past edge-on */
.phone-back{
  position:absolute; inset:0; border-radius:46px; z-index:1;
  transform:rotateY(180deg) translateZ(1px);
  backface-visibility:hidden; -webkit-backface-visibility:hidden;
  background:linear-gradient(150deg,#252b3c,#13161f 52%,#0a0c14);
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.08), inset 0 2px 1px rgba(255,255,255,.12);
  overflow:hidden;
}
.phone-back .cam{ position:absolute; top:22px; left:22px; width:60px; height:60px; border-radius:18px;
  background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.07);
  display:grid; grid-template-columns:1fr 1fr; gap:7px; padding:9px; }
.phone-back .cam i{ width:19px; height:19px; border-radius:50%;
  background:radial-gradient(circle at 34% 32%,#39435c,#090c14 70%);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.05), 0 0 6px rgba(120,180,255,.25); }
.phone-back .flash{ position:absolute; top:30px; left:92px; width:9px; height:9px; border-radius:50%;
  background:#ffe7a0; opacity:.45; box-shadow:0 0 8px #ffe7a0; }
.phone-back .logo{ position:absolute; inset:0; display:grid; place-items:center; }
.phone-back .logo .m{ width:56px; height:56px; border-radius:17px; position:relative;
  background:conic-gradient(from 200deg,var(--emerald),var(--blue) 40%,var(--violet) 75%,var(--emerald));
  opacity:.92; box-shadow:0 14px 36px -10px rgba(56,189,248,.6); }
.phone-back .logo .m::after{ content:""; position:absolute; inset:19px; border-radius:6px; background:#0c0f17; }
.phone-back .logo b{ position:absolute; top:62%; font-family:var(--font-display); font-weight:700;
  color:rgba(255,255,255,.42); letter-spacing:.14em; font-size:12px; text-transform:uppercase; }
.phone-island{
  position:absolute; top:13px; left:50%; transform:translateX(-50%);
  width:96px; height:27px; border-radius:16px; background:#04060c; z-index:30;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);
  display:flex; align-items:center; justify-content:flex-end; gap:7px; padding-right:9px;
}
.phone-island i{ width:8px; height:8px; border-radius:50%; background:#10141f; box-shadow:inset 0 0 0 1px rgba(120,180,255,.25);}
.phone-reflection{
  position:absolute; inset:0; z-index:25; pointer-events:none; border-radius:36px;
  background:linear-gradient(125deg, rgba(255,255,255,.14), transparent 22%, transparent 78%, rgba(255,255,255,.05));
  mix-blend-mode:screen;
}

/* screen stack (smooth depth cross-fade — phone stays facing forward) */
.screen-wrap{ position:absolute; inset:0; }
.screen{
  position:absolute; inset:0;
  opacity:0; transform:translateY(22px) scale(.972); filter:blur(3px);
  transition:opacity 1.05s ease, transform 1.15s cubic-bezier(.16,.84,.3,1), filter 1.05s ease;
  pointer-events:none; will-change:transform, opacity;
}
.screen.active{ opacity:1; transform:none; filter:none; pointer-events:auto; }
.screen.prev{ opacity:0; transform:translateY(-18px) scale(.972); filter:blur(3px); }

/* ============================================================
   Copy column
   ============================================================ */
.scene-copy{ position:relative; }
.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:12.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--ink-dim); padding:8px 14px; border-radius:999px;
  background:var(--glass); border:1px solid var(--stroke);
  backdrop-filter:blur(8px);
}
.eyebrow .dot{ width:7px; height:7px; border-radius:50%; background:var(--emerald); box-shadow:0 0 12px var(--emerald);}
.headline{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(34px,4.6vw,62px); line-height:1.02; letter-spacing:-.02em;
  margin:22px 0 18px; text-wrap:balance;
  background:linear-gradient(180deg,#ffffff,#bcc8ec);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 6px 30px rgba(120,160,255,.18));
}
.headline em{ font-style:normal;
  background:linear-gradient(120deg,var(--emerald),var(--blue) 55%,var(--violet));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ---- Persian-first (RTL) copy ---- */
.scene-copy.fa{ font-family:var(--font-fa); text-align:right; }
.scene-copy.fa .eyebrow{ text-transform:none; letter-spacing:0; font-weight:600; font-size:13.5px;
  font-family:var(--font-fa); padding:8px 16px; }
.scene-copy.fa .headline{
  font-family:var(--font-fa); font-weight:800; letter-spacing:0;
  line-height:1.42; font-size:clamp(28px,3.7vw,48px); margin:22px 0 22px;
}
.scene-copy.fa .headline .hl-line{ display:inline-block; white-space:nowrap; }
.scene-copy.fa .bullets{ gap:15px; margin:8px 0 34px; }
.scene-copy.fa .bullets li{ font-family:var(--font-fa); font-weight:500; font-size:clamp(14.5px,1.1vw,16.5px);
  line-height:1.75; color:#c2cce6; }
.scene-copy.fa .bullets .tick{ margin-top:4px; }
.scene-copy.fa .cta-row{ justify-content:flex-start; }

.btn-start{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-fa); font-weight:700; font-size:16.5px;
  color:#06120d; padding:14px 28px; border-radius:15px; text-decoration:none;
  background:linear-gradient(135deg,var(--emerald),#7ef0c2);
  box-shadow:0 16px 38px -12px rgba(52,211,153,.85);
  transition:transform .35s cubic-bezier(.16,.84,.3,1), box-shadow .35s, filter .35s;
}
.btn-start svg{ width:18px; height:18px; transition:transform .35s cubic-bezier(.16,.84,.3,1); }
.btn-start:hover{ transform:translateY(-3px); filter:brightness(1.05); box-shadow:0 24px 50px -12px rgba(52,211,153,.95); }
.btn-start:hover svg{ transform:translateX(-4px); }
.btn-start:active{ transform:translateY(-1px) scale(.98); transition-duration:.12s; }
.bullets{ list-style:none; display:flex; flex-direction:column; gap:14px; margin:6px 0 32px; }
.bullets li{
  display:flex; align-items:flex-start; gap:13px;
  font-size:clamp(15px,1.15vw,17px); color:#b6c1de; line-height:1.5; font-weight:500;
  text-wrap:pretty;
}
.bullets .tick{
  flex:none; margin-top:2px; width:21px; height:21px; border-radius:7px;
  display:grid; place-items:center;
  background:linear-gradient(135deg, rgba(52,211,153,.22), rgba(56,189,248,.18));
  border:1px solid rgba(120,220,180,.3);
  color:var(--emerald);
}
.bullets .tick svg{ width:12px; height:12px; }

.cta-row{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.store-btn{
  position:relative; overflow:hidden;
  display:flex; align-items:center; gap:12px;
  padding:13px 20px 13px 16px; border-radius:16px; cursor:pointer;
  text-decoration:none; color:var(--ink);
  background:var(--glass-strong); border:1px solid var(--stroke);
  backdrop-filter:blur(10px);
  transition:transform .4s cubic-bezier(.16,.84,.3,1), border-color .35s, background .35s, box-shadow .4s;
}
.store-btn::after{ /* sheen sweep on hover */
  content:""; position:absolute; top:0; left:-60%; width:45%; height:100%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.16), transparent);
  transform:skewX(-18deg); transition:left .6s cubic-bezier(.16,.84,.3,1); pointer-events:none;
}
.store-btn:hover{ transform:translateY(-3px); border-color:rgba(120,180,255,.42);
  background:rgba(255,255,255,.1); box-shadow:0 20px 44px -22px rgba(56,189,248,.8); }
.store-btn:hover::after{ left:120%; }
.store-btn:active{ transform:translateY(-1px) scale(.985); transition-duration:.12s; }
.store-btn .ico{ width:26px; height:26px; flex:none; color:var(--ink); transition:transform .4s cubic-bezier(.16,.84,.3,1); }
.store-btn:hover .ico{ transform:scale(1.1); }
.store-btn .label{ display:flex; flex-direction:column; line-height:1.1; }
.store-btn .label small{ font-size:10.5px; color:var(--ink-dim); letter-spacing:.04em; font-weight:600; }
.store-btn .label b{ font-size:16px; font-weight:700; font-family:var(--font-display); letter-spacing:.2px; }
.store-btn.solid{ background:linear-gradient(135deg,rgba(56,189,248,.22),rgba(139,92,246,.22));
  border-color:rgba(120,180,255,.32); }
.store-btn.solid:hover{ box-shadow:0 20px 46px -20px rgba(99,140,255,.85); }

/* copy column glides across to the opposite side, passing BEHIND the phone */
.copy-col{ grid-column:2; width:100%; max-width:none; perspective:1600px; perspective-origin:50% 50%; position:relative; z-index:2;
  transition:transform var(--orbit-dur) var(--orbit-ease); will-change:transform; }
.scene-copy{
  max-width:480px;
  will-change:transform,opacity,filter;
}
.scene-copy.orbit-out{
  position:absolute; inset:0;
  animation:orbitOut 1.45s cubic-bezier(.5,.04,.62,.4) forwards;
}
.scene-copy.orbit-in{
  animation:orbitIn 1.6s cubic-bezier(.16,.84,.3,1) forwards;
}
/* old text recedes into depth as the orbit carries it around (light blur for perf) */
@keyframes orbitOut{
  from{ transform:none; opacity:1; filter:none; }
  to{ transform:translateZ(-200px) scale(.78); opacity:0; filter:blur(4px); }
}
/* new text rises out of depth as it arrives on the far side */
@keyframes orbitIn{
  0%{ transform:translateZ(-200px) scale(.78); opacity:0; filter:blur(4px); }
  55%{ opacity:1; filter:blur(0); }
  100%{ transform:none; opacity:1; filter:none; }
}
/* gentle internal stagger as the content settles */
.scene-copy.orbit-in [data-anim]{ animation:itemRise .8s both; animation-delay:calc(var(--i,0) * 60ms + 420ms); }
@keyframes itemRise{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }
/* lightweight mobile-only copy transitions (no blur/translateZ) */
@keyframes mFadeOut{ from{ opacity:1; transform:translateY(0); } to{ opacity:0; transform:translateY(-7px); } }
@keyframes mFadeIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:translateY(0); } }
/* pure-opacity mobile fade — no vertical motion, so a scene change reads as a soft cross-fade, not a jolt */
@keyframes mFadeInMobile{ from{ opacity:0; } to{ opacity:1; } }

/* ============================================================
   Section deck — hero parks up & away, WHY rotates up from below
   ============================================================ */
.deck{
  position:absolute; inset:0; z-index:20;
  perspective:1500px; perspective-origin:50% 50%;
  transform-style:preserve-3d;
}
.scene-layer{
  transition:transform 1.3s cubic-bezier(.5,.02,.22,1), opacity .95s ease;
  transform-origin:50% 50%;
  backface-visibility:hidden; -webkit-backface-visibility:hidden;
}
.scene-layer.parked{
  transform:rotateY(-88deg) translateZ(-460px) scale(.7);
  opacity:0; pointer-events:none;
}

/* ============================================================
   Stacked sections — rotational (barrel) transition
   each panel spins out on the vertical axis; next spins in
   ============================================================ */
.stack-layer{
  position:absolute; inset:0; z-index:21;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:clamp(80px,10vh,140px) clamp(28px,6vw,110px) clamp(56px,8vh,100px);
  transform-origin:50% 50%;
  transform:rotateY(88deg) translateZ(-460px) scale(.7);
  opacity:0; pointer-events:none;
  transition:transform 1.3s cubic-bezier(.5,.02,.22,1), opacity .95s ease;
  will-change:transform,opacity;
  backface-visibility:hidden; -webkit-backface-visibility:hidden;
}
.stack-layer.active{ transform:none; opacity:1; pointer-events:auto; z-index:25; }
.stack-layer.parked{ transform:rotateY(-88deg) translateZ(-460px) scale(.7); opacity:0; pointer-events:none; }
/* premium overshoot settle on the incoming panel */
.why-layer.active, .sec-layer.active, .stack-layer.active{
  transition:transform 1.35s cubic-bezier(.2,.84,.3,1.04), opacity .9s ease;
}

.why-layer{
  position:absolute; inset:0; z-index:21;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:clamp(86px,11vh,150px) clamp(28px,6vw,110px) clamp(58px,8vh,104px);
  transform-origin:50% 50%;
  transform:rotateY(88deg) translateZ(-460px) scale(.7);
  opacity:0; pointer-events:none;
  transition:transform 1.3s cubic-bezier(.5,.02,.22,1), opacity .95s ease;
  will-change:transform,opacity;
  backface-visibility:hidden; -webkit-backface-visibility:hidden;
}
.why-layer.active{ transform:none; opacity:1; pointer-events:auto; z-index:25; }
/* WHY spins away to the left when SECURITY rotates in */
.why-layer.parked{ transform:rotateY(-88deg) translateZ(-460px) scale(.7); opacity:0; pointer-events:none; }

.why-inner{ width:100%; max-width:1200px; display:flex; flex-direction:column; align-items:center; gap:clamp(28px,4vh,52px); }
.why-head{ text-align:center; max-width:720px; display:flex; flex-direction:column; align-items:center; gap:16px; }
.why-title{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(34px,5vw,64px); line-height:1.02; letter-spacing:-.02em; text-wrap:balance;
  background:linear-gradient(180deg,#ffffff,#bcc8ec); -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 6px 30px rgba(120,160,255,.18));
}
.why-title em{ font-style:normal;
  background:linear-gradient(120deg,var(--emerald),var(--blue) 55%,var(--violet));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.why-sub{ font-size:clamp(15px,1.3vw,18px); line-height:1.55; color:#b6c1de; font-weight:500; max-width:600px; text-wrap:pretty; }

.why-grid{ width:100%; display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(14px,1.5vw,22px); }
.why-card{
  position:relative; overflow:hidden;
  background:linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border:1px solid var(--stroke); border-radius:20px;
  padding:clamp(18px,1.6vw,24px); text-align:left;
  backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 18px 44px -28px rgba(0,0,0,.8);
  transition:transform .45s cubic-bezier(.16,.84,.3,1), border-color .45s, box-shadow .45s, background .45s;
}
.why-card::before{ content:""; position:absolute; inset:0; border-radius:20px; opacity:0; transition:opacity .45s;
  background:radial-gradient(120% 90% at 50% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); }
.why-card:hover{ transform:translateY(-6px); border-color:color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 26px 56px -26px color-mix(in srgb, var(--accent) 60%, transparent); }
.why-card:hover::before{ opacity:1; }
.wc-ic{ width:46px; height:46px; border-radius:14px; display:grid; place-items:center; color:var(--accent);
  background:color-mix(in srgb, var(--accent) 14%, transparent);
  border:1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  box-shadow:0 0 22px -6px color-mix(in srgb, var(--accent) 70%, transparent);
  margin-bottom:16px; }
.why-card h3{ font-family:var(--font-display); font-weight:700; font-size:clamp(16px,1.25vw,19px); color:#fff; letter-spacing:-.01em; margin-bottom:8px; }
.why-card p{ font-size:clamp(13px,1vw,14.5px); line-height:1.5; color:var(--ink-dim); font-weight:500; text-wrap:pretty; }

/* ---- Persian-first (RTL) for WHY section ---- */
.why-layer.fa{ font-family:var(--font-fa); }
.why-layer.fa .eyebrow{ text-transform:none; letter-spacing:0; font-weight:600; font-family:var(--font-fa); font-size:13.5px; }
.why-layer.fa .why-title{ font-family:var(--font-fa); font-weight:800; letter-spacing:0; line-height:1.42; }
.why-layer.fa .why-sub{ font-family:var(--font-fa); line-height:1.95; max-width:660px; }
.why-layer.fa .why-card{ text-align:right; }
.why-layer.fa .why-card h3{ font-family:var(--font-fa); letter-spacing:0; line-height:1.5; }
.why-layer.fa .why-card p{ font-family:var(--font-fa); line-height:1.9; font-size:clamp(13px,1vw,14px); }
.why-layer.fa .why-up{ font-family:var(--font-fa); text-transform:none; letter-spacing:0; font-size:13px; }

.why-stats{ display:flex; flex-wrap:wrap; justify-content:center; gap:clamp(28px,5vw,72px); }
.wstat{ display:flex; flex-direction:column; align-items:center; gap:3px; }
.wstat b{ font-family:var(--font-display); font-weight:700; font-size:clamp(24px,2.6vw,34px); letter-spacing:-.02em;
  background:linear-gradient(120deg,#eaf0ff,#9fb2e6); -webkit-background-clip:text; background-clip:text; color:transparent; }
.wstat span{ font-size:12px; color:var(--ink-faint); font-weight:600; letter-spacing:.02em; }

.why-up{ position:absolute; bottom:clamp(20px,3.4vh,34px); left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:7px;
  color:var(--ink-faint); font-size:11.5px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; }
.why-up-ico{ width:22px; height:34px; border-radius:12px; border:1.5px solid rgba(255,255,255,.25); position:relative; }
.why-up-ico::after{ content:""; position:absolute; left:50%; bottom:7px; width:3px; height:7px; border-radius:3px;
  background:var(--ink-dim); transform:translateX(-50%); animation:wheelUp 1.6s ease-in-out infinite; }
@keyframes wheelUp{0%{opacity:0;transform:translate(-50%,0);}30%{opacity:1;}100%{opacity:0;transform:translate(-50%,-9px);}}

/* gentle continuous life on WHY cards while active */
.why-layer.active .wc-ic{ animation:floatIc 5s ease-in-out infinite; }
.why-layer.active .why-card:nth-child(2) .wc-ic{ animation-delay:.6s; }
.why-layer.active .why-card:nth-child(3) .wc-ic{ animation-delay:1.2s; }
.why-layer.active .why-card:nth-child(4) .wc-ic{ animation-delay:1.8s; }
@keyframes floatIc{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-6px);} }

/* staggered reveal of WHY content when section becomes active */
.why-reveal{ opacity:0; transform:translateY(28px); }
.why-layer.active .why-reveal{ animation:whyRise .85s cubic-bezier(.16,.84,.3,1) both;
  animation-delay:calc(var(--i,0) * 80ms + 450ms); }
@keyframes whyRise{ from{ opacity:0; transform:translateY(28px); } to{ opacity:1; transform:none; } }

/* ============================================================
   SECURITY & TRUST section
   ============================================================ */
.sec-layer{
  position:absolute; inset:0; z-index:22;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:clamp(80px,10vh,140px) clamp(28px,6vw,110px) clamp(56px,8vh,100px);
  transform-origin:50% 50%;
  transform:rotateY(88deg) translateZ(-460px) scale(.7);
  opacity:0; pointer-events:none;
  transition:transform 1.3s cubic-bezier(.5,.02,.22,1), opacity .95s ease;
  will-change:transform,opacity;
  backface-visibility:hidden; -webkit-backface-visibility:hidden;
}
.sec-layer.active{ transform:none; opacity:1; pointer-events:auto; z-index:25; }
.sec-layer.parked{ transform:rotateY(-88deg) translateZ(-460px) scale(.7); opacity:0; pointer-events:none; }

.sec-inner{
  width:100%; max-width:1180px;
  display:grid; grid-template-columns:1.05fr .95fr; align-items:center;
  gap:clamp(32px,5vw,84px);
}
.sec-left{ display:flex; flex-direction:column; gap:18px; }
.sec-title{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(32px,4.4vw,58px); line-height:1.03; letter-spacing:-.02em; text-wrap:balance;
  background:linear-gradient(180deg,#ffffff,#bcc8ec); -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 6px 30px rgba(120,160,255,.18));
}
.sec-title em{ font-style:normal;
  background:linear-gradient(120deg,var(--emerald),var(--blue) 55%,var(--violet));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.sec-sub{ font-size:clamp(14.5px,1.25vw,17px); line-height:1.55; color:#b6c1de; font-weight:500; max-width:540px; text-wrap:pretty; }

.sec-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(12px,1.3vw,18px); margin-top:6px; }
.sec-card{
  position:relative; overflow:hidden; display:flex; gap:13px; align-items:flex-start;
  background:linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border:1px solid var(--stroke); border-radius:17px;
  padding:15px 16px; backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 16px 40px -28px rgba(0,0,0,.8);
  transition:transform .45s cubic-bezier(.16,.84,.3,1), border-color .45s, box-shadow .45s;
}
.sec-card:hover{ transform:translateY(-5px); border-color:color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 24px 50px -26px color-mix(in srgb, var(--accent) 60%, transparent); }
.sc-ic{ flex:none; width:40px; height:40px; border-radius:12px; display:grid; place-items:center; color:var(--accent);
  background:color-mix(in srgb, var(--accent) 14%, transparent);
  border:1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  box-shadow:0 0 20px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.sec-card h3{ font-family:var(--font-display); font-weight:700; font-size:14.5px; color:#fff; letter-spacing:-.01em; margin-bottom:5px; }
.sec-card p{ font-size:12.5px; line-height:1.45; color:var(--ink-dim); font-weight:500; text-wrap:pretty; }

.sec-badges{ display:flex; flex-wrap:wrap; gap:9px; margin-top:8px; }
.sbadge{ display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:700; letter-spacing:.01em;
  color:#bfe9d4; padding:6px 12px; border-radius:999px;
  background:rgba(52,211,153,.1); border:1px solid rgba(52,211,153,.24); }
.sbadge svg{ color:var(--emerald); }

/* shield core */
.sec-right{ display:flex; flex-direction:column; align-items:center; gap:22px; }
.sec-core{ position:relative; width:min(340px,72%); aspect-ratio:1; display:grid; place-items:center; }
.sec-ring{ position:absolute; border-radius:50%; border:1px solid rgba(120,180,255,.16); inset:0; }
.sec-ring.r1{ inset:6%; border-color:rgba(56,189,248,.28); animation:secSpin 18s linear infinite; border-style:dashed; }
.sec-ring.r2{ inset:20%; border-color:rgba(139,92,246,.26); animation:secSpin 26s linear infinite reverse; }
.sec-ring.r3{ inset:-6%; border-color:rgba(52,211,153,.18); }
.sec-orb{ position:absolute; width:10px; height:10px; border-radius:50%; }
.sec-orb.o1{ top:3%; left:49%; background:var(--blue); box-shadow:0 0 16px var(--blue); }
.sec-orb.o2{ bottom:14%; left:9%; background:var(--violet); box-shadow:0 0 16px var(--violet); }
.sec-orb.o3{ top:22%; right:5%; background:var(--emerald); box-shadow:0 0 16px var(--emerald); }
@keyframes secSpin{ from{ transform:rotate(0); } to{ transform:rotate(360deg); } }
.sec-shield{
  position:relative; width:58%; aspect-ratio:1; border-radius:50%; display:grid; place-items:center;
  color:#dff6ff;
  background:radial-gradient(circle at 50% 35%, rgba(56,189,248,.4), rgba(139,92,246,.22) 55%, rgba(8,12,24,.6) 100%);
  border:1px solid rgba(150,200,255,.35);
  box-shadow:0 0 60px -10px rgba(56,189,248,.7), inset 0 0 40px -12px rgba(120,200,255,.6);
  animation:shieldPulse 4.5s ease-in-out infinite;
}
@keyframes shieldPulse{ 0%,100%{ box-shadow:0 0 60px -10px rgba(56,189,248,.6), inset 0 0 40px -12px rgba(120,200,255,.5);} 50%{ box-shadow:0 0 90px -6px rgba(56,189,248,.95), inset 0 0 52px -10px rgba(120,200,255,.8);} }
.sec-shield svg{ filter:drop-shadow(0 4px 14px rgba(56,189,248,.6)); }

.sec-encrypt{ display:inline-flex; align-items:center; gap:9px; font-size:12px; font-weight:600; color:var(--ink-dim);
  padding:8px 15px; border-radius:999px; background:var(--glass); border:1px solid var(--stroke); backdrop-filter:blur(8px); }
.dotpulse{ width:8px; height:8px; border-radius:50%; background:var(--emerald); box-shadow:0 0 10px var(--emerald); animation:dotPulse 1.8s ease-in-out infinite; }
@keyframes dotPulse{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.4; transform:scale(.7);} }

/* staggered reveal */
.sec-reveal{ opacity:0; transform:translateY(28px); }
.sec-layer.active .sec-reveal{ animation:whyRise .85s cubic-bezier(.16,.84,.3,1) both;
  animation-delay:calc(var(--i,0) * 75ms + 450ms); }

/* shared reveal for new stacked sections */
.stk-reveal{ opacity:0; transform:translateY(28px); }
.stack-layer.active .stk-reveal{ animation:whyRise .85s cubic-bezier(.16,.84,.3,1) both;
  animation-delay:calc(var(--i,0) * 70ms + 420ms); }
/* keep looping life on the brand mark even though it also reveals
   (higher specificity than the generic reveal rule so both animations run) */
.stack-layer.active .cta-mark.stk-reveal{
  animation:whyRise .85s cubic-bezier(.16,.84,.3,1) .42s both,
            markFloat 5s ease-in-out 1.5s infinite; }
.stk-head{ text-align:center; max-width:760px; margin:0 auto; display:flex; flex-direction:column; align-items:center; gap:15px; }
.stk-title{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(32px,4.6vw,60px); line-height:1.02; letter-spacing:-.02em; text-wrap:balance;
  background:linear-gradient(180deg,#ffffff,#bcc8ec); -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 6px 30px rgba(120,160,255,.18));
}
.stk-title em{ font-style:normal;
  background:linear-gradient(120deg,var(--emerald),var(--blue) 55%,var(--violet));
  background-size:200% auto; -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:hueShift 6s linear infinite;
}
@keyframes hueShift{ to{ background-position:200% center; } }
.stk-sub{ font-size:clamp(14.5px,1.25vw,17px); line-height:1.55; color:#b6c1de; font-weight:500; max-width:600px; text-wrap:pretty; }

/* ---- Persian-first (RTL) for stacked sections (How / Pricing / CTA) ---- */
.stack-layer.fa{ font-family:var(--font-fa); }
.stack-layer.fa .eyebrow{ text-transform:none; letter-spacing:0; font-weight:600; font-family:var(--font-fa); font-size:13.5px; }
.stack-layer.fa .stk-title{ font-family:var(--font-fa); font-weight:800; letter-spacing:0; line-height:1.45; }
.stack-layer.fa .stk-sub{ font-family:var(--font-fa); line-height:1.95; max-width:680px; }
.stack-layer.fa .how-step h3{ font-family:var(--font-fa); letter-spacing:0; line-height:1.55; }
.stack-layer.fa .how-step p{ font-family:var(--font-fa); line-height:1.9; max-width:300px; }
.stack-layer.fa .how-card span{ font-family:var(--font-fa); }
.stack-layer.fa .why-up{ font-family:var(--font-fa); text-transform:none; letter-spacing:0; font-size:13px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-inner{ width:100%; max-width:1120px; display:flex; flex-direction:column; gap:clamp(32px,5vh,60px); }
.how-steps{ position:relative; display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(18px,2.4vw,40px); }
.how-beam{ position:absolute; top:34px; left:8%; right:8%; height:2px; border-radius:2px; overflow:hidden;
  background:linear-gradient(90deg, rgba(52,211,153,.25), rgba(56,189,248,.25), rgba(167,139,250,.25)); }
.how-beam::after{ content:""; position:absolute; top:0; right:-40%; width:40%; height:100%;
  background:linear-gradient(90deg, transparent, #7ee0ff, transparent); animation:beamRun 2.6s linear infinite; }
@keyframes beamRun{ from{ right:-40%; } to{ right:120%; } }
.how-step{ position:relative; display:flex; flex-direction:column; align-items:center; text-align:center; gap:14px; }
.how-badge{ position:relative; width:68px; height:68px; border-radius:50%; display:grid; place-items:center;
  font-family:var(--font-display); font-weight:800; font-size:20px; color:#fff;
  background:radial-gradient(circle at 50% 35%, color-mix(in srgb,var(--accent) 55%, #0a0e1a), #0a0e1a 78%);
  border:1px solid color-mix(in srgb,var(--accent) 50%, transparent);
  box-shadow:0 0 30px -6px color-mix(in srgb,var(--accent) 75%, transparent); z-index:2; }
.how-badge::before{ content:""; position:absolute; inset:-6px; border-radius:50%;
  border:1px solid color-mix(in srgb,var(--accent) 40%, transparent); animation:pulseRing 2.8s ease-out infinite; }
@keyframes pulseRing{ 0%{ transform:scale(1); opacity:.8; } 100%{ transform:scale(1.5); opacity:0; } }
.how-step h3{ font-family:var(--font-display); font-weight:700; font-size:clamp(17px,1.5vw,21px); color:#fff; letter-spacing:-.01em; }
.how-step p{ font-size:clamp(13px,1.05vw,15px); line-height:1.5; color:var(--ink-dim); font-weight:500; max-width:280px; text-wrap:pretty; }
.how-ic{ width:26px; height:26px; color:var(--accent); margin-top:2px; }
.how-card{ width:100%; margin-top:4px; padding:14px; border-radius:16px;
  background:linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--stroke); backdrop-filter:blur(10px); display:flex; align-items:center; gap:10px; justify-content:center;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05); }

/* ============================================================
   PRICING
   ============================================================ */
.price-inner{ width:100%; max-width:1260px; display:flex; flex-direction:column; gap:clamp(16px,2.4vh,30px); }
.price-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,1.8vw,26px); align-items:stretch; }
.price-grid.four{ grid-template-columns:repeat(4,1fr); gap:clamp(12px,1.1vw,18px); }
.plan{ position:relative; display:flex; flex-direction:column; gap:12px;
  background:linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.022));
  border:1px solid var(--stroke); border-radius:22px; padding:clamp(18px,1.4vw,24px);
  backdrop-filter:blur(12px); box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 18px 44px -28px rgba(0,0,0,.8);
  transition:transform .45s cubic-bezier(.16,.84,.3,1), border-color .45s, box-shadow .45s; }
.plan:hover{ transform:translateY(-6px); border-color:rgba(120,180,255,.4); }
/* recommended card — static premium highlight (no rotation/animation) */
.plan.popular{
  border:1px solid rgba(130,225,190,.55);
  background:linear-gradient(165deg, rgba(52,211,153,.16), rgba(56,189,248,.09) 52%, rgba(255,255,255,.025));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 0 0 1px rgba(130,225,190,.16),
    0 30px 70px -26px rgba(52,211,153,.55),
    0 0 60px -10px rgba(56,189,248,.42);
}
.plan.popular:hover{ transform:translateY(-6px); border-color:rgba(140,235,200,.8);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16), 0 0 0 1px rgba(140,235,200,.24),
    0 38px 80px -26px rgba(52,211,153,.65), 0 0 72px -8px rgba(56,189,248,.5); }
.plan-tag{ position:absolute; top:-11px; left:50%; transform:translateX(-50%);
  font-size:11px; font-weight:800; letter-spacing:0; color:#06120d;
  padding:5px 15px; border-radius:999px; background:linear-gradient(135deg,var(--emerald),#7ef0c2);
  box-shadow:0 8px 22px -8px rgba(52,211,153,.9); white-space:nowrap; }
.plan-name{ font-family:var(--font-display); font-weight:700; font-size:16px; color:#cfe0ff; letter-spacing:.01em; }
.plan-desc{ font-size:12px; color:var(--ink-dim); font-weight:500; line-height:1.55; min-height:34px; }
.plan-orig{ display:flex; align-items:center; gap:9px; flex-wrap:wrap; min-height:22px; font-family:var(--font-fa); }
.plan-orig.empty{ visibility:hidden; }
.plan-orig s{ font-size:13px; color:var(--ink-faint); font-weight:600; text-decoration-color:rgba(255,140,140,.7); text-decoration-thickness:1.5px; }
.plan-off{ font-size:11px; font-weight:800; color:#ff9b9b; padding:3px 9px; border-radius:999px;
  background:rgba(255,110,110,.13); border:1px solid rgba(255,120,120,.3); font-family:var(--font-fa); white-space:nowrap; }
.plan.popular .plan-off{ color:#7ef0c2; background:rgba(52,211,153,.16); border-color:rgba(120,225,180,.4); }
.plan-price{ display:flex; align-items:flex-end; gap:6px; flex-wrap:wrap; }
.plan-price b{ font-family:var(--font-display); font-weight:800; font-size:clamp(22px,1.7vw,27px); color:#fff; letter-spacing:0; line-height:1.1; }
.plan-price .cur{ font-size:13px; color:var(--ink-dim); font-weight:600; margin-bottom:3px; }
.plan-period{ font-size:12px; color:var(--ink-faint); font-weight:600; margin-top:-4px; }
.plan-period.empty{ visibility:hidden; }
.plan-trial{ display:inline-flex; align-self:flex-start; align-items:center; gap:6px; font-size:11.5px; font-weight:700; color:#5ff0b6;
  padding:5px 11px; border-radius:999px; background:rgba(52,211,153,.12); border:1px solid rgba(52,211,153,.26); }
.plan-trial.off{ visibility:hidden; }
.plan-feat{ list-style:none; display:flex; flex-direction:column; gap:9px; margin:2px 0; flex:1; }
.plan-feat li{ display:flex; align-items:flex-start; gap:9px; font-size:12.5px; color:var(--ink-dim); font-weight:500; line-height:1.5; }
.plan-feat li.off{ color:var(--ink-faint); }
.plan-feat .tk{ flex:none; margin-top:1px; width:18px; height:18px; border-radius:6px; display:grid; place-items:center;
  color:var(--emerald); background:rgba(52,211,153,.15); border:1px solid rgba(52,211,153,.3); }
.plan-feat .tk.xk{ color:#ff9b9b; background:rgba(255,120,120,.12); border-color:rgba(255,120,120,.26); }
.plan-feat .tk svg{ width:11px; height:11px; }
.plan-btn{ text-align:center; padding:12px; border-radius:13px; font-weight:700; font-family:var(--font-display); font-size:14px;
  cursor:pointer; transition:.3s; border:1px solid var(--stroke); color:var(--ink); background:var(--glass-strong); }
.plan-btn:hover{ transform:translateY(-2px); border-color:rgba(120,180,255,.45); background:rgba(255,255,255,.1); }
.plan-btn.solid{ color:#06120d; border-color:transparent; background:linear-gradient(135deg,var(--emerald),#7ef0c2);
  box-shadow:0 14px 30px -12px rgba(52,211,153,.8); }
.plan-btn.solid:hover{ filter:brightness(1.06); box-shadow:0 18px 38px -12px rgba(52,211,153,.95); }

/* ---- Persian-first pricing ---- */
.stack-layer.fa .plan-name{ font-family:var(--font-fa); letter-spacing:0; font-size:15.5px; }
.stack-layer.fa .plan-desc{ font-family:var(--font-fa); line-height:1.7; }
.stack-layer.fa .plan-price b{ font-family:var(--font-fa); letter-spacing:0; }
.stack-layer.fa .plan-price .cur{ font-family:var(--font-fa); }
.stack-layer.fa .plan-period{ font-family:var(--font-fa); }
.stack-layer.fa .plan-trial{ font-family:var(--font-fa); }
.stack-layer.fa .plan-feat li{ font-family:var(--font-fa); line-height:1.7; }
.stack-layer.fa .plan-btn{ font-family:var(--font-fa); letter-spacing:0; }
.stack-layer.fa .plan-tag{ font-family:var(--font-fa); }

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */
.cta-layer{ justify-content:space-between; }
.cta-core{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:22px; width:100%; }
.cta-glow{ position:absolute; top:34%; left:50%; width:620px; height:620px; transform:translate(-50%,-50%); border-radius:50%; pointer-events:none;
  background:radial-gradient(circle, rgba(56,189,248,.22), rgba(139,92,246,.12) 45%, transparent 68%);
  filter:blur(20px); animation:ctaHalo 6s ease-in-out infinite; }
@keyframes ctaHalo{ 0%,100%{ transform:translate(-50%,-50%) scale(1); opacity:.85; } 50%{ transform:translate(-50%,-50%) scale(1.12); opacity:1; } }
.cta-mark{ width:64px; height:64px; position:relative; cursor:pointer;
  display:grid; place-items:center; animation:markFloat 5s ease-in-out infinite; }
@keyframes markFloat{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }
.flogo.lg{ width:64px; height:64px; box-shadow:0 16px 40px -10px rgba(40,90,210,.8), inset 0 1px 0 rgba(255,255,255,.18); }
.flogo.lg .f{ font-size:32px; }
.cta-title{ font-family:var(--font-display); font-weight:700; font-size:clamp(36px,5.4vw,72px); line-height:1.0; letter-spacing:-.025em; text-wrap:balance;
  background:linear-gradient(180deg,#ffffff,#bcc8ec); -webkit-background-clip:text; background-clip:text; color:transparent; max-width:14ch;
  filter:drop-shadow(0 6px 30px rgba(120,160,255,.2)); }
.cta-title em{ font-style:normal; background:linear-gradient(120deg,var(--emerald),var(--blue) 55%,var(--violet));
  background-size:200% auto; -webkit-background-clip:text; background-clip:text; color:transparent; animation:hueShift 5s linear infinite; }
.cta-sub{ font-size:clamp(15px,1.3vw,18px); color:#b6c1de; font-weight:500; max-width:520px; line-height:1.55; }
.cta-rating{ display:flex; align-items:center; gap:10px; font-size:13px; color:var(--ink-dim); font-weight:600; }
.cta-rating .stars{ color:#fbbf72; letter-spacing:2px; }

/* CTA action buttons (primary + secondary) */
.cta-actions{ display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; }
.btn-ghost{ display:inline-flex; align-items:center; gap:8px; font-family:var(--font-fa); font-weight:700; font-size:16px;
  color:var(--ink); padding:14px 26px; border-radius:15px; text-decoration:none; cursor:pointer;
  background:var(--glass-strong); border:1px solid var(--stroke); backdrop-filter:blur(10px);
  transition:transform .35s cubic-bezier(.16,.84,.3,1), border-color .35s, background .35s; }
.btn-ghost:hover{ transform:translateY(-3px); border-color:rgba(120,180,255,.45); background:rgba(255,255,255,.1); }
.btn-ghost:active{ transform:translateY(-1px) scale(.98); transition-duration:.12s; }

/* Persian download buttons */
.cta-row.dl{ display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; }
.cta-row.dl .store-btn{ padding:13px 22px; }
.cta-row.dl .dl-txt{ font-family:var(--font-fa); font-weight:700; font-size:15px; color:var(--ink); }

/* Persian CTA section */
.cta-layer.fa .eyebrow{ font-family:var(--font-fa); text-transform:none; letter-spacing:0; font-weight:600; }
.cta-layer.fa .cta-title{ font-family:var(--font-fa); font-weight:800; letter-spacing:0; line-height:1.4; max-width:18ch; }
.cta-layer.fa .cta-sub{ font-family:var(--font-fa); line-height:1.95; max-width:600px; }
.cta-foot.fa, .cta-layer.fa .cta-foot{ font-family:var(--font-fa); }
.cta-layer.fa .cta-foot a{ font-family:var(--font-fa); }
.cta-layer.fa .cta-foot .cpy{ font-family:var(--font-fa); }

/* ============================================================
   CONTACT US (page 10)
   ============================================================ */
.contact-inner{ width:100%; max-width:1040px; display:flex; flex-direction:column; gap:clamp(26px,4vh,48px); }
.contact-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(14px,1.6vw,22px); align-items:stretch; }
.contact-grid.two{ grid-template-columns:repeat(2,1fr); max-width:760px; margin:0 auto; gap:clamp(16px,2vw,26px); }
a.cc-value{ text-decoration:none; transition:color .25s; }
a.cc-value:hover{ color:var(--emerald); }
.contact-card{
  position:relative; overflow:hidden; display:flex; gap:14px; align-items:flex-start; text-align:right;
  background:linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border:1px solid var(--stroke); border-radius:20px; padding:clamp(18px,1.6vw,24px);
  backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 18px 44px -28px rgba(0,0,0,.8);
  transition:transform .45s cubic-bezier(.16,.84,.3,1), border-color .45s, box-shadow .45s; }
.contact-card:hover{ transform:translateY(-6px); border-color:color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 26px 56px -26px color-mix(in srgb, var(--accent) 60%, transparent); }
.cc-ic{ flex:none; width:46px; height:46px; border-radius:14px; display:grid; place-items:center; color:var(--accent);
  background:color-mix(in srgb, var(--accent) 14%, transparent);
  border:1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  box-shadow:0 0 22px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.cc-body{ display:flex; flex-direction:column; gap:7px; min-width:0; }
.cc-label{ font-family:var(--font-fa); font-size:12px; color:var(--ink-dim); font-weight:600; }
.cc-value{ font-family:var(--font-fa); font-size:14.5px; color:#eaf0ff; font-weight:700; line-height:1.7; word-break:break-word; }
.cc-value[dir="ltr"]{ font-family:var(--font-body); letter-spacing:.01em; }
.cc-list{ list-style:none; display:flex; flex-direction:column; gap:8px; margin-top:2px; }
.cc-list li{ position:relative; padding-right:16px; font-family:var(--font-fa); font-size:13px; color:var(--ink-dim); font-weight:500; line-height:1.6; }
.cc-list li::before{ content:""; position:absolute; right:0; top:8px; width:6px; height:6px; border-radius:50%;
  background:var(--accent); box-shadow:0 0 8px var(--accent); }
.contact-card.topics{ grid-column:auto; }
.contact-cta{ display:flex; justify-content:center; }

/* Persian heads for contact reuse stack-layer.fa rules already defined */
.cta-foot{ width:100%; max-width:1180px; margin:0 auto; padding-top:22px; border-top:1px solid var(--stroke-soft);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; text-align:center; }
.cta-foot .fbrand{ display:flex; direction:ltr; align-items:center; gap:9px; font-family:var(--font-display); font-weight:700; font-size:16px; color:#dbe3f7; }
.cta-foot .fbrand .fname{ font-family:var(--font-display); font-weight:700; letter-spacing:.2px; }
.flogo{ width:26px; height:26px; border-radius:50%; position:relative; overflow:hidden; display:grid; place-items:center; flex:none;
  background:radial-gradient(circle at 34% 28%, #2950b8, #0a1734 72%);
  border:1px solid rgba(120,170,255,.4); box-shadow:0 6px 16px -6px rgba(40,90,210,.8), inset 0 1px 0 rgba(255,255,255,.16); }
.flogo .f{ font-size:14px; }
.cta-foot nav{ display:flex; gap:22px; flex-wrap:wrap; justify-content:center; }
.cta-foot a{ font-size:13px; color:var(--ink-dim); font-weight:500; text-decoration:none; transition:color .25s; cursor:pointer; }
.cta-foot a:hover{ color:var(--ink); }
.cta-foot .cpy{ font-size:12px; color:var(--ink-faint); font-weight:500; }
.cpy-link{ font-family:var(--font-display); font-weight:700; color:var(--emerald); background:none; border:none; cursor:pointer;
  padding:0; font-size:12.5px; letter-spacing:.2px; transition:color .25s, filter .25s; }
.cpy-link:hover{ filter:brightness(1.15); text-decoration:underline; }

/* ============================================================
   Side step navigation
   ============================================================ */
.stepnav{
  position:fixed; right:clamp(10px,1.4vw,22px); top:50%; transform:translateY(-50%);
  z-index:45; display:flex; flex-direction:column; gap:4px; align-items:flex-end;
}
.step{
  display:flex; align-items:center; gap:12px; cursor:pointer;
  padding:7px 4px; background:none; border:none; color:var(--ink-faint);
  font-family:var(--font-body); font-weight:600; font-size:13px; letter-spacing:.02em;
  transition:.3s;
}
.step .num{ font-variant-numeric:tabular-nums; font-family:var(--font-fa); font-size:11px; opacity:.6; width:20px; text-align:right; }
.step .label{ opacity:0; transform:translateX(8px); transition:.35s; white-space:nowrap; }
.step .bar{ width:30px; height:3px; border-radius:3px; background:rgba(255,255,255,.16); transition:.45s cubic-bezier(.16,.84,.3,1); }
.step:hover{ color:var(--ink-dim); }
.step:hover .label{ opacity:1; transform:none; }
.step.active{ color:var(--ink); }
.step.active .num{ opacity:1; }
.step.active .bar{ width:52px; height:3px; background:linear-gradient(90deg,var(--emerald),var(--blue)); box-shadow:0 0 16px rgba(56,189,248,.7); }

/* legal modal (privacy / terms) */
.legal-overlay{ position:fixed; inset:0; z-index:120; display:grid; place-items:center; padding:24px;
  background:rgba(4,6,12,.72); backdrop-filter:blur(8px); animation:legalFade .3s ease; }
@keyframes legalFade{ from{ opacity:0; } to{ opacity:1; } }
.legal-modal{ position:relative; width:min(560px,100%); max-height:80vh; display:flex; flex-direction:column; overflow:hidden;
  background:linear-gradient(165deg, rgba(22,28,46,.96), rgba(10,14,26,.97));
  border:1px solid var(--stroke); border-radius:22px; padding:0;
  box-shadow:0 40px 100px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08);
  animation:legalRise .4s cubic-bezier(.16,.84,.3,1); font-family:var(--font-fa); }
.legal-modal.terms{ width:min(720px,100%); max-height:86vh; }
@keyframes legalRise{ from{ opacity:0; transform:translateY(22px) scale(.97); } to{ opacity:1; transform:none; } }
.legal-bar{ flex:none; display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:20px 26px; border-bottom:1px solid var(--stroke-soft);
  background:linear-gradient(180deg, rgba(18,24,40,.9), rgba(14,19,32,.6));
  backdrop-filter:blur(8px); position:relative; z-index:2; }
.legal-bar::after{ content:""; position:absolute; left:26px; right:26px; bottom:-1px; height:1px;
  background:linear-gradient(90deg, transparent, rgba(56,189,248,.5), rgba(167,139,250,.4), transparent); }
.legal-modal h3{ font-family:var(--font-fa); font-weight:800; font-size:21px; color:#fff; margin:0; letter-spacing:0; }
.legal-body{ display:flex; flex-direction:column; gap:13px; overflow-y:auto; padding:24px 26px 26px;
  scrollbar-width:thin; scrollbar-color:rgba(120,180,255,.4) transparent; }
.legal-body::-webkit-scrollbar{ width:8px; }
.legal-body::-webkit-scrollbar-thumb{ background:rgba(120,180,255,.3); border-radius:8px; border:2px solid transparent; background-clip:padding-box; }
.legal-body::-webkit-scrollbar-thumb:hover{ background:rgba(120,180,255,.5); background-clip:padding-box; }
.legal-body p{ font-family:var(--font-fa); font-size:14.5px; line-height:2.05; color:var(--ink-dim); font-weight:500; }
.legal-intro{ color:#cdd7ee !important; font-size:15px !important;
  background:rgba(56,189,248,.07); border:1px solid rgba(120,180,255,.16); border-radius:14px; padding:15px 17px; }
.legal-sec{ display:flex; flex-direction:column; gap:9px; padding-top:6px; }
.legal-sec h4{ font-family:var(--font-fa); font-weight:800; font-size:16px; color:#eaf0ff; margin:0;
  padding-inline-start:13px; position:relative; line-height:1.7; }
.legal-sec h4::before{ content:""; position:absolute; inset-inline-start:0; top:.4em; width:4px; height:1.1em; border-radius:3px;
  background:linear-gradient(180deg,var(--emerald),var(--blue)); box-shadow:0 0 10px rgba(56,189,248,.5); }
.legal-ul{ list-style:none; display:flex; flex-direction:column; gap:8px; margin:2px 0; padding:0; }
.legal-ul li{ position:relative; padding-inline-start:18px; font-family:var(--font-fa); font-size:14px; line-height:1.9; color:var(--ink-dim); font-weight:500; }
.legal-ul li::before{ content:""; position:absolute; inset-inline-start:4px; top:.72em; width:6px; height:6px; border-radius:50%;
  background:var(--emerald); box-shadow:0 0 8px var(--emerald); }
.legal-foot-btn{ display:flex; justify-content:center; padding-top:10px; margin-top:4px; border-top:1px solid var(--stroke-soft); }
.legal-foot-btn .btn-ghost{ margin-top:14px; }
.legal-close{ flex:none; width:36px; height:36px; border-radius:11px; cursor:pointer;
  background:var(--glass-strong); border:1px solid var(--stroke); color:var(--ink-dim);
  display:grid; place-items:center; transition:.25s; }
.legal-close:hover{ color:#fff; border-color:rgba(120,180,255,.4); background:rgba(255,255,255,.1); transform:rotate(90deg); }

/* scroll hint */
.scroll-hint{
  position:fixed; left:50%; bottom:26px; transform:translateX(-50%);
  z-index:45; display:flex; flex-direction:column; align-items:center; gap:8px;
  color:var(--ink-faint); font-size:11.5px; font-weight:600; letter-spacing:.18em; text-transform:uppercase;
  transition:opacity .6s; pointer-events:none;
}
.scroll-hint .mouse{ width:22px; height:34px; border-radius:12px; border:1.5px solid rgba(255,255,255,.25); position:relative; }
.scroll-hint.fa{ font-family:var(--font-fa); text-transform:none; letter-spacing:0; font-size:13px; font-weight:600; }
.scroll-hint .mouse::after{ content:""; position:absolute; left:50%; top:7px; width:3px; height:7px; border-radius:3px;
  background:var(--ink-dim); transform:translateX(-50%); animation:wheel 1.6s ease-in-out infinite;}
@keyframes wheel{0%{opacity:0;transform:translate(-50%,0);}30%{opacity:1;}100%{opacity:0;transform:translate(-50%,9px);}}

/* progress line (top) */
.progress-top{ position:fixed; top:0; left:0; height:2px; z-index:50;
  background:linear-gradient(90deg,var(--emerald),var(--blue),var(--violet)); box-shadow:0 0 14px rgba(56,189,248,.6);
  transition:width .9s cubic-bezier(.16,.84,.3,1); }

/* loader */
.boot{ position:fixed; inset:0; z-index:100; background:var(--bg-0); display:grid; place-items:center;
  transition:opacity .8s ease; }
.boot.hide{ opacity:0; pointer-events:none; }
.boot .ring{ width:54px; height:54px; border-radius:50%; border:3px solid rgba(255,255,255,.1);
  border-top-color:var(--emerald); animation:spin .9s linear infinite; }
@keyframes spin{to{transform:rotate(360deg);}}

/* ============================================================
   Generic phone-UI atoms
   ============================================================ */
.s-pad{ position:absolute; inset:0; padding:46px 18px 18px; display:flex; flex-direction:column; gap:13px; overflow:hidden; font-family:var(--font-fa); }
.s-status{ position:absolute; top:14px; left:20px; right:20px; display:flex; justify-content:space-between;
  font-size:11px; font-weight:700; color:#cdd6f0; z-index:5; font-family:var(--font-fa); }
.s-status .r{ display:flex; gap:5px; align-items:center; }
.s-head{ display:flex; align-items:center; justify-content:space-between; }
.s-greet{ font-size:11px; color:var(--ink-dim); font-weight:600; }
.s-title{ font-family:var(--font-fa); font-weight:800; font-size:17px; color:#fff; letter-spacing:0; }
.s-ava{ width:30px; height:30px; border-radius:50%; background:linear-gradient(135deg,var(--violet),var(--blue)); box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.25);}

.card{ background:linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.03)); border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:13px; backdrop-filter:blur(6px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 6px 18px -12px rgba(0,0,0,.6);}
.card.glow{ background:linear-gradient(140deg, rgba(56,189,248,.18), rgba(139,92,246,.15)); border-color:rgba(120,180,255,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 10px 28px -14px rgba(56,130,246,.5);}
.lbl{ font-size:10px; color:var(--ink-dim); font-weight:600; letter-spacing:0; }
.big{ font-family:var(--font-fa); font-weight:800; color:#fff; letter-spacing:0; }
.chip{ display:inline-flex; align-items:center; gap:4px; font-size:10px; font-weight:700; padding:3px 7px; border-radius:999px; font-family:var(--font-fa); }
.chip.up{ color:#5ff0b6; background:rgba(52,211,153,.14);}
.chip.down{ color:#ff9b9b; background:rgba(255,120,120,.14);}
.row2{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.tabbar{ position:absolute; left:14px; right:14px; bottom:13px; height:56px; border-radius:19px;
  background:rgba(10,15,28,.82); border:1px solid rgba(255,255,255,.08); backdrop-filter:blur(14px);
  display:flex; align-items:center; justify-content:space-around; z-index:6;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07), 0 10px 26px -10px rgba(0,0,0,.7);}
.tabbar i{ position:relative; display:flex; flex-direction:column; align-items:center; gap:3px; width:44px; padding:5px 0; border-radius:12px; color:var(--ink-faint);
  transition:color .35s ease, background .35s ease;}
.tabbar i b{ font-family:var(--font-fa); font-size:8.5px; font-weight:700; line-height:1; }
.tabbar i.on{ color:var(--emerald); background:rgba(52,211,153,.13);
  box-shadow:inset 0 0 0 1px rgba(52,211,153,.22), 0 0 14px -2px rgba(52,211,153,.5);}
.tabbar i.on::after{ content:""; position:absolute; bottom:-6px; left:50%; transform:translateX(-50%);
  width:4px; height:4px; border-radius:50%; background:var(--emerald); box-shadow:0 0 8px var(--emerald);}
.tabbar i svg{ width:18px; height:18px; }

/* mini list rows */
.lrow{ display:flex; align-items:center; gap:10px; }
.lrow .ic{ width:32px; height:32px; border-radius:10px; flex:none; display:grid; place-items:center; color:#fff;}
.lrow .nm{ font-size:12px; font-weight:700; color:#eaf0ff; font-family:var(--font-fa);}
.lrow .sb{ font-size:10px; color:var(--ink-dim); font-weight:500; font-family:var(--font-fa);}
.lrow .amt{ margin-inline-start:auto; font-size:12px; font-weight:700; font-family:var(--font-fa);}

/* progress bar (animated sheen sweep) */
.pbar{ height:7px; border-radius:7px; background:rgba(255,255,255,.08); overflow:hidden; }
.pbar > span{ position:relative; display:block; height:100%; border-radius:7px; overflow:hidden; background:linear-gradient(90deg,var(--emerald),var(--blue)); }
.pbar.anim > span::after{ content:""; position:absolute; inset:0; border-radius:7px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform:translateX(-100%); animation:barSweep 2.6s ease-in-out infinite; }
@keyframes barSweep{ 0%{ transform:translateX(-100%);} 60%,100%{ transform:translateX(100%);} }

/* donut subtle rotating accent ring + alloc shimmer */
.donut-ring{ transform-box:fill-box; transform-origin:center; animation:donutSpin 14s linear infinite; }
@keyframes donutSpin{ to{ transform:rotate(360deg);} }
/* donut segments: subtle fill/empty breathing loop (staggered per segment) */
.donut-seg{ transform-box:fill-box; transform-origin:center; animation:donutSeg 4.2s ease-in-out infinite; }
@keyframes donutSeg{ 0%,100%{ opacity:.62; stroke-width:10; } 50%{ opacity:1; stroke-width:12; } }
/* portfolio value area: soft alive pulse */
.value-pulse{ position:relative; }
.value-pulse::after{ content:""; position:absolute; inset:0; border-radius:16px; pointer-events:none;
  box-shadow:0 0 0 0 rgba(56,189,248,.0); animation:valGlow 3.2s ease-in-out infinite; }
@keyframes valGlow{ 0%,100%{ box-shadow:inset 0 0 22px -14px rgba(56,189,248,.2); }
  50%{ box-shadow:inset 0 0 30px -8px rgba(56,189,248,.55); } }
.value-num{ animation:valBreath 3.2s ease-in-out infinite; transform-origin:right center; }
@keyframes valBreath{ 0%,100%{ filter:drop-shadow(0 0 0 rgba(120,200,255,0)); transform:scale(1); }
  50%{ filter:drop-shadow(0 0 8px rgba(120,200,255,.5)); transform:scale(1.025); } }
/* flowing wave motion-graphic behind the portfolio value */
.value-wave{ position:absolute; inset:0; pointer-events:none; opacity:.9;
  background:
    radial-gradient(120px 60px at 20% 120%, rgba(56,189,248,.30), transparent 70%),
    radial-gradient(120px 60px at 70% 130%, rgba(52,211,153,.22), transparent 70%);
  -webkit-mask:repeating-linear-gradient(90deg,#000 0 2px,transparent 2px 6px);
  mask:repeating-linear-gradient(90deg,#000 0 2px,transparent 2px 6px);
  background-size:200% 100%; animation:valWave 4.5s linear infinite; }
@keyframes valWave{ from{ background-position:0% 0; } to{ background-position:200% 0; } }
/* live blinking dot on the chip */
.chip.up.live{ position:relative; padding-inline-start:14px; }
.chip.up.live::before{ content:""; position:absolute; inset-inline-start:6px; top:50%; transform:translateY(-50%);
  width:5px; height:5px; border-radius:50%; background:#5ff0b6; box-shadow:0 0 8px #5ff0b6;
  animation:liveBlink 1.4s ease-in-out infinite; }
@keyframes liveBlink{ 0%,100%{ opacity:.35; transform:translateY(-50%) scale(.8); } 50%{ opacity:1; transform:translateY(-50%) scale(1.25); } }
.alloc-seg{ position:relative; overflow:hidden; }
.alloc-bar{ position:relative; }
.alloc-bar::after{ content:""; position:absolute; inset:0; border-radius:6px; pointer-events:none;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transform:translateX(-100%); animation:barSweep 3.4s ease-in-out infinite; }

/* charts render fully visible (reveal handled by the screen cross-fade) */
.draw{ }
.rise{ }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:900px){
  .scene-layer{ perspective:none; padding:0; }
  /* full-bleed the orbit wrapper on mobile (desktop insets it by --pad) */
  .orbit-tip{ left:0 !important; right:0 !important; transform:none !important; animation:none !important; }
  /* MOBILE scene model: normal vertical flow — Headline → Bullets → Phone → (scroll) next scene.
     No pinned phone, no overlay, no blur. Just a natural scrollable column. */
  .orbit{ position:absolute; inset:0; display:flex; flex-direction:column;
    align-items:stretch; height:100%;
    overflow-y:auto; overflow-x:hidden; -webkit-overflow-scrolling:touch; touch-action:pan-y;
    padding:0; transform:none !important; scrollbar-width:none; -ms-overflow-style:none; }
  /* hide the scrollbar track (the stray vertical line on the right edge) */
  .orbit::-webkit-scrollbar{ width:0; height:0; display:none; }
  /* TEXT FIRST */
  .copy-col{ order:1; position:relative; z-index:2; flex:none; max-width:none;
    text-align:center; transform:none !important; padding:0; }
  .scene-copy{ width:100%; max-width:480px; margin:0 auto; padding:104px 24px 10px; border-radius:0;
    background:none; -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:none; }
  /* the outgoing copy leaves without adding to the column height */
  .scene-copy.orbit-out{ position:absolute; top:0; left:0; right:0; }
  /* PHONE BELOW THE TEXT — static, locked, sized to its scaled box */
  .phone-stage{ --pscale:.72; order:2; position:static; flex:none;
    height:calc(620px * var(--pscale)); margin:6px auto 84px;
    display:flex; align-items:center; justify-content:center;
    z-index:1; transform:none !important; pointer-events:none; }
  /* phone keeps its native 300×620 design size, scaled as a whole device,
     locked (transform:none + pointer-events:none) so touch can never drag it. */
  .phone{ width:300px !important; height:620px !important; transform:none !important; }
  .phone-float{ animation:none !important; transform:scale(var(--pscale)); transform-origin:center center; margin:0; }
  .eyebrow{ margin:0 auto; }
  .bullets{ max-width:420px; margin-inline:auto; margin-top:16px; }
  .bullets li{ text-align:right; }
  .cta-row{ justify-content:center; }
  /* compact page/scene indicator on the right (kept on mobile, tidied up) */
  .stepnav{ display:flex !important; right:6px; gap:7px; z-index:46; }
  .step{ padding:3px 2px; }
  .step .num, .step .label{ display:none; }
  .step .bar{ width:14px; height:2px; }
  .step.active .bar{ width:24px; height:2px; }
  .scroll-hint{ display:none; }
  .headline{ font-size:clamp(28px,7vw,40px); }
  .scene-copy.fa .headline .hl-line{ white-space:normal; }

  /* natural, soft scene transitions on mobile — pure opacity, no translate/snap.
     the outgoing copy is hidden so nothing "jumps" when the scroll resets to the new headline. */
  .screen{ filter:none !important; transform:none !important; transition:opacity .6s ease !important; }
  .screen.prev{ filter:none !important; transform:none !important; }
  .scene-copy.orbit-out{ display:none !important; }
  .scene-copy.orbit-in{ animation:mFadeInMobile .6s ease forwards !important; }

  /* stacked sections (Why / Security / How / Pricing / CTA / Contact):
     allow native vertical scroll, simplify the 3D park to avoid h-overflow */
  .deck{ perspective:none; }
  .stack-layer, .why-layer, .sec-layer{
    justify-content:flex-start; overflow-y:auto; overflow-x:hidden;
    padding:90px 20px 96px; -webkit-overflow-scrolling:touch; touch-action:pan-y;
    backface-visibility:visible !important; -webkit-backface-visibility:visible !important; }
  /* opacity-only park on mobile — no 3D transform (kills the half-render glitch on scenes 6/7 + reduces lag) */
  .stack-layer.parked, .why-layer.parked, .sec-layer.parked{
    transform:none !important; }
  .why-layer.active, .sec-layer.active, .stack-layer.active{
    transition:opacity .5s ease !important; }
  .why-inner, .sec-inner, .how-inner, .price-inner, .contact-inner, .cta-core{
    margin-block:auto; }

  .why-grid{ grid-template-columns:1fr; }
  .why-inner{ gap:26px; }
  .why-up{ display:none; }
  .sec-grid{ grid-template-columns:1fr; }
  .how-steps{ grid-template-columns:1fr; gap:18px; }
  .how-beam{ display:none; }
  .price-grid, .price-grid.four{ grid-template-columns:1fr; gap:14px; max-width:420px; margin-inline:auto; }
  .contact-grid, .contact-grid.two{ grid-template-columns:1fr; max-width:440px; }

  .stk-title, .cta-title{ font-size:clamp(27px,6.4vw,40px); }
  .stack-layer.fa .stk-title{ line-height:1.4; }
  .cta-actions{ flex-wrap:wrap; justify-content:center; }
  .cta-row.dl{ flex-direction:column; align-items:stretch; width:100%; max-width:330px; margin-inline:auto; }
  .cta-row.dl .store-btn{ justify-content:center; }
  .cta-foot nav{ gap:14px 18px; }
}
@media (max-width:560px){
  .topbar{ padding:18px 18px; }
  .topbar .pill-link.ghost{ display:none; }
  .social-ico{ width:32px; height:32px; }
  .brand-name{ font-size:17px; }
  .why-grid{ grid-template-columns:1fr; }
  .plan{ padding:18px 16px; }
  .legal-modal, .legal-modal.terms{ width:100%; max-height:84vh; }
  .legal-bar{ padding:16px 18px; }
  .legal-body{ padding:18px 18px 22px; }
  .stepnav{ right:5px; }
  .step .num{ font-size:10px; width:16px; }
}
/* phone scale per device width — keeps inner content proportional & readable */
@media (max-width:430px){
  .phone-stage{ --pscale:.74; }
}
@media (max-width:360px){
  .phone-stage{ --pscale:.64; }
}
@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.001ms !important; transition-duration:.18s !important; }
}

/* shorter viewports — shrink the phone so it never clips (no transform, keeps orbit intact) */
@media (min-width:901px) and (max-height:820px){
  .phone{ width:272px; height:562px; }
}
@media (min-width:901px) and (max-height:720px){
  .phone{ width:242px; height:500px; }
}
@media (min-width:901px) and (max-height:620px){
  .phone{ width:212px; height:438px; }
}

/* ============================================================
   MOBILE — natural vertical landing (no deck / no forced scene jump)
   ============================================================ */
@media (max-width:900px){
  html, body{ height:auto; overflow:visible; }
  #root{ height:auto; min-height:100dvh; overflow:visible; }
  .stage{ position:fixed; }                 /* keep animated bg as a fixed backdrop */
  .stepnav, .scroll-hint, .progress-top{ display:none !important; }

  .m-flow{ position:relative; z-index:20; display:block; overflow-x:clip; }
  .m-flow .cta-glow{ display:none; }
  /* sticky/fixed mobile header with solid premium backdrop so content never shows through */
  .topbar{ padding:14px 18px; background:rgba(5,7,15,.82); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(255,255,255,.06); }
  .topbar .pill-link.ghost{ display:none; }
  .m-scene:first-child{ padding-top:96px; }

  /* each hero scene = a clean stacked card: headline → bullets → phone → buttons */
  .m-scene{ display:block; padding:104px 20px 36px; }
  .m-scene + .m-scene{ padding-top:30px; }
  .m-scene .scene-copy.m-copy{ position:static; max-width:520px; margin:0 auto;
    transform:none !important; opacity:1 !important; filter:none !important; animation:none !important;
    text-align:center; backdrop-filter:none; -webkit-backdrop-filter:none; background:none; box-shadow:none; }
  .m-scene .scene-copy [data-anim]{ opacity:1 !important; transform:none !important; animation:none !important; }
  .m-scene .eyebrow{ margin:0 auto; }
  .m-scene .bullets{ max-width:430px; margin:16px auto 0; }
  .m-scene .bullets li{ text-align:right; }

  /* phone sits ABOVE the download buttons */
  .m-phone{ display:flex; justify-content:center; margin:30px 0 4px; }
  .m-phone .phone{ position:relative; width:300px; height:620px;
    transform:scale(.74) !important; transform-origin:top center;
    margin-bottom:calc(620px * -0.26); pointer-events:none; }
  .m-scene .cta-row.dl{ justify-content:center; flex-wrap:wrap; margin-top:6px; }

  /* lower sections flow naturally, stacked, full content visible */
  .m-flow .why-layer, .m-flow .stack-layer, .m-flow .sec-layer,
  .m-flow .contact-layer, .m-flow .cta-layer{
    position:relative !important; inset:auto !important; left:auto !important; right:auto !important;
    height:auto !important; min-height:auto !important; max-height:none !important;
    transform:none !important; opacity:1 !important; filter:none !important;
    overflow:visible !important; display:flex !important;
    padding:78px 20px !important; }
}
@media (max-width:430px){
  .m-phone .phone{ transform:scale(.66) !important; margin-bottom:calc(620px * -0.34); }
}
@media (max-width:360px){
  .m-phone .phone{ transform:scale(.58) !important; margin-bottom:calc(620px * -0.42); }
  .m-scene{ padding-left:14px; padding-right:14px; }
}
