/* CareerVani — landing styles.
   Design goals: real 3D depth (perspective + preserve-3d), zero external
   assets or fonts, and no layout shift. Everything degrades to a clean flat
   page when JS is off or prefers-reduced-motion is set. */

:root {
  --primary: #3d5afe;
  --primary-dark: #2a3eb1;
  --accent: #a78bfa;
  --pink: #f472b6;
  --text: #12141c;
  --muted: #5c6270;
  --bg: #ffffff;
  --surface: #f6f7fb;
  --surface-2: #eef1f9;
  --border: #e3e6ee;
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(18, 20, 28, 0.06);
  --shadow-md: 0 10px 30px rgba(18, 20, 28, 0.10);
  --shadow-lg: 0 26px 60px rgba(30, 27, 75, 0.18);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

/* ----------------------------- Nav ----------------------------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(227, 230, 238, 0.9);
  box-shadow: 0 8px 28px rgba(30, 27, 75, 0.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand-mark-wrap { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(167, 139, 250, 0.32); border-radius: 13px; background: linear-gradient(145deg, #f0ecff, #fff 68%); box-shadow: 0 7px 18px rgba(61, 90, 254, 0.14); }
.brand-mark { width: 30px; height: 30px; }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.brand-name { white-space: nowrap; font-size: 1.2rem; font-weight: 850; line-height: 1.05; }
.brand-tagline { color: #66627b; font-size: .68rem; font-weight: 550; line-height: 1.1; letter-spacing: .01em; white-space: nowrap; }
.nav nav { display: flex; align-items: center; gap: 4px; }
.nav nav a { padding: 9px 11px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 650; transition: color .15s ease, background .15s ease; }
.nav nav a:hover { color: var(--text); background: var(--surface); }
.nav nav a.btn { margin-left: 8px; padding: 12px 21px; color: #fff; }
.nav nav a.btn:hover { color: #fff; background: linear-gradient(135deg, var(--primary), #6d5cf6); }

/* --------------------------- Buttons --------------------------- */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #6d5cf6);
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 22px rgba(61, 90, 254, 0.28);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(61, 90, 254, 0.38); }
.btn-ghost { background: transparent; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

/* ---------------------------- Hero ----------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 72px 0 88px; }
.hero::before {
  content: ""; position: absolute; inset: -25%; z-index: -2;
  background:
    radial-gradient(38% 38% at 16% 20%, rgba(61, 90, 254, 0.26), transparent 70%),
    radial-gradient(42% 42% at 84% 10%, rgba(244, 114, 182, 0.20), transparent 70%),
    radial-gradient(46% 46% at 72% 80%, rgba(0, 214, 180, 0.16), transparent 70%),
    radial-gradient(40% 40% at 10% 84%, rgba(255, 183, 3, 0.14), transparent 70%);
  filter: blur(46px);
  animation: mesh-drift 20s ease-in-out infinite alternate;
}
@keyframes mesh-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(2%, -1%, 0) scale(1); }
}

/* Perspective "floor" grid receding into the distance — pure CSS 3D. */
.hero-grid-floor {
  position: absolute; left: -20%; right: -20%; bottom: -10%; height: 46%;
  z-index: -1;
  background-image:
    linear-gradient(rgba(61, 90, 254, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 90, 254, 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(520px) rotateX(64deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, #000 5%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 5%, transparent 85%);
}

.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary);
  background: rgba(61, 90, 254, 0.09); border: 1px solid rgba(61, 90, 254, 0.18);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem); line-height: 1.1;
  letter-spacing: -0.025em; margin-bottom: 18px;
}
.hero .sub { color: var(--muted); font-size: 1.1rem; max-width: 54ch; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; color: var(--muted); font-size: 0.88rem; }
.trust-row li { position: relative; padding-left: 18px; }
.trust-row li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px;
  border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* ------------------------- Hero 3D scene ------------------------ */
.hero-scene { perspective: 1400px; perspective-origin: 55% 45%; }
.scene-stage {
  position: relative; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 12deg)) rotateY(var(--ry, -18deg));
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  aspect-ratio: 4 / 5; max-width: 430px; margin-inline: auto;
  animation: float-y 7s ease-in-out infinite alternate;
}
@keyframes float-y {
  from { translate: 0 -8px; }
  to   { translate: 0 8px; }
}

.doc {
  position: absolute; inset: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  transform-style: preserve-3d;
}
.doc-front {
  padding: 22px; box-shadow: var(--shadow-lg);
  transform: translateZ(60px);
  overflow: hidden;
}
.doc-back { box-shadow: var(--shadow-md); }
.doc-2 { transform: translateZ(20px) translate(18px, 16px) rotate(2deg); opacity: 0.85; }
.doc-3 { transform: translateZ(-20px) translate(36px, 32px) rotate(4deg); opacity: 0.6; }

.doc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--primary); margin-bottom: 14px; }
.doc-avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.doc-headlines { flex: 1; display: grid; gap: 7px; }
.bar { display: block; height: 7px; border-radius: 4px; background: var(--surface-2); }
.bar-name { height: 12px; width: 62%; background: linear-gradient(90deg, var(--text), #444a5e); }
.bar-role { width: 44%; background: var(--primary); opacity: 0.55; }
.bar-h { height: 8px; width: 34%; background: var(--primary); opacity: 0.75; margin-top: 12px; }
.doc-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.doc-col { display: grid; gap: 7px; align-content: start; }
.doc-col-side { border-left: 1px solid var(--border); padding-left: 14px; }
.w40 { width: 40%; } .w60 { width: 60%; } .w70 { width: 70%; }
.w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; }
.chip { display: inline-block; height: 14px; width: 74%; border-radius: 7px; background: rgba(61, 90, 254, 0.14); }

/* Scan-line sweep echoing the app's PDF reveal animation. */
.doc-scan {
  position: absolute; left: 0; right: 0; height: 42%; top: -42%;
  background: linear-gradient(180deg, transparent, rgba(61, 90, 254, 0.14), transparent);
  animation: scan 4.5s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(340%); }
}

.orbit {
  position: absolute; white-space: nowrap;
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 15px; font-size: 0.8rem; font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: float-y 5s ease-in-out infinite alternate;
}
.orbit-1 { top: 8%; left: -14%; transform: translateZ(110px); color: var(--primary); animation-delay: -1s; }
.orbit-2 { bottom: 22%; right: -12%; transform: translateZ(130px); color: #0f9d8f; animation-delay: -2.5s; }
.orbit-3 { bottom: 4%; left: -6%; transform: translateZ(95px); color: var(--pink); animation-delay: -3.5s; }

/* --------------------------- Sections -------------------------- */
.section { padding: 78px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 1.03rem; }
.note { color: var(--muted); font-size: 0.9rem; text-align: center; max-width: 760px; margin: 36px auto 0; }

/* ---------------------------- Cards ---------------------------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 20px; }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.12rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card-icon { display: block; font-size: 1.6rem; margin-bottom: 12px; }

/* 3D hover lift — the card tilts toward the pointer via app.js vars. */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease;
  will-change: transform;
}
.card-3d:hover {
  transform: perspective(900px) rotateX(4deg) rotateY(-4deg) translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Scroll reveal (IntersectionObserver in app.js). */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* ------------------------ Template fan ------------------------- */
.template-fan {
  list-style: none; display: flex; justify-content: center; align-items: flex-end;
  gap: 14px; flex-wrap: wrap;
  perspective: 1200px;
}
.tpl {
  display: grid; justify-items: center; gap: 10px;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.tpl-page {
  display: block; width: 116px; aspect-ratio: 3 / 4; padding: 11px;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 6px;
}
.tpl-page i { display: block; height: 6px; border-radius: 3px; background: var(--surface-2); }
.tpl-page i:first-child { height: 13px; width: 68%; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.tpl-modern i:first-child { width: 100%; border-radius: 3px 3px 0 0; height: 22px; }
.tpl-minimal i:first-child { background: var(--text); width: 50%; }
.tpl-compact i { height: 5px; }
.tpl-creative i:first-child { height: 30px; border-radius: 50%; width: 30px; }
.tpl-two i:nth-child(2) { width: 45%; }
.tpl-two i:nth-child(3) { width: 45%; margin-left: auto; }
.tpl-name { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.tpl-1 { transform: rotateY(16deg) translateZ(-30px); }
.tpl-2 { transform: rotateY(10deg) translateZ(-10px); }
.tpl-3 { transform: rotateY(4deg); }
.tpl-4 { transform: rotateY(-4deg); }
.tpl-5 { transform: rotateY(-10deg) translateZ(-10px); }
.tpl-6 { transform: rotateY(-16deg) translateZ(-30px); }
.tpl:hover { transform: rotateY(0deg) translateY(-10px) translateZ(40px); }

/* ------------------------- Android app ------------------------- */
.app-section { overflow: hidden; background: linear-gradient(135deg, #f7f5ff 0%, #fff 52%, #effbfa 100%); border-block: 1px solid var(--border); }
.app-promo { display: grid; grid-template-columns: 1fr 0.8fr; gap: 58px; align-items: center; }
.app-promo-copy { max-width: 560px; }
.app-promo-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 14px; }
.app-promo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 26px 0 20px; }
.play-store-badge { display: inline-flex; align-items: center; gap: 10px; min-width: 178px; padding: 9px 16px 10px 12px; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; background: #111; box-shadow: 0 10px 24px rgba(17,17,17,.2); transition: transform .2s ease, box-shadow .2s ease; }
.play-store-badge:hover { color: #fff; transform: translateY(-3px) rotate(-1deg); box-shadow: 0 15px 30px rgba(17,17,17,.28); }
.play-store-badge small { display: block; font-size: .56rem; line-height: 1.1; letter-spacing: .08em; opacity: .75; }
.play-store-badge strong { display: block; font-size: 1.15rem; line-height: 1.1; letter-spacing: -.03em; }
.play-icon { color: #7dd3fc; font-size: 1.8rem; line-height: 1; text-shadow: 5px 0 #c4b5fd; }
.app-status { color: var(--muted); font-size: .88rem; font-weight: 650; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #0fba9f; box-shadow: 0 0 0 5px rgba(15,186,159,.12); }
.app-benefits { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; list-style: none; color: var(--muted); font-size: .88rem; }
.app-benefits li::before { content: "✓"; margin-right: 6px; color: #0f9d8f; font-weight: 800; }
.phone-scene { position: relative; min-height: 430px; perspective: 1000px; display: grid; place-items: center; }
.phone-shadow { position: absolute; bottom: 0; width: 240px; height: 32px; border-radius: 50%; background: rgba(30,27,75,.22); filter: blur(18px); transform: rotate(-8deg); }
.phone { position: relative; z-index: 1; width: 232px; height: 440px; padding: 9px; border: 1px solid rgba(255,255,255,.6); border-radius: 36px; background: linear-gradient(145deg, #3d3b70, #11152a 55%, #554477); box-shadow: 24px 28px 44px rgba(30,27,75,.24), inset 2px 2px 4px rgba(255,255,255,.34); transform: rotateY(-13deg) rotateX(5deg) rotateZ(3deg); animation: phone-float 6s ease-in-out infinite alternate; }
@keyframes phone-float { from { transform: rotateY(-13deg) rotateX(5deg) rotateZ(3deg) translateY(7px); } to { transform: rotateY(-13deg) rotateX(5deg) rotateZ(3deg) translateY(-8px); } }
.phone-notch { position: absolute; z-index: 2; top: 14px; left: 50%; width: 82px; height: 19px; border-radius: 0 0 14px 14px; background: #15172a; transform: translateX(-50%); }
.phone-screen { position: relative; height: 100%; overflow: hidden; padding: 34px 15px 12px; border-radius: 28px; background: linear-gradient(160deg, #f6f4ff 0%, #fff 60%, #eafaf7 100%); color: #17172d; }
.phone-topline { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 800; color: #4d4c80; }
.phone-avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; color: #fff; font-size: .56rem; background: linear-gradient(135deg, var(--primary), var(--pink)); }
.phone-greeting { margin: 27px 0 9px; font-size: 1.28rem; font-weight: 800; line-height: 1.06; letter-spacing: -.04em; }
.phone-greeting span { display: block; color: var(--primary); }
.phone-progress { height: 5px; margin-bottom: 24px; border-radius: 5px; background: #e4e3f2; }
.phone-progress span { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--pink)); }
.phone-label { margin-bottom: 8px; color: #8886a2; font-size: .5rem; font-weight: 800; letter-spacing: .11em; }
.phone-card { display: flex; flex-direction: column; min-height: 77px; padding: 11px; border: 1px solid rgba(139,137,190,.15); border-radius: 13px; background: rgba(255,255,255,.75); box-shadow: 0 7px 15px rgba(69,63,132,.08); }
.phone-card-main { min-height: 126px; margin-bottom: 9px; background: linear-gradient(135deg, #fff, #f0eeff); }
.phone-card-icon { display: block; margin-bottom: 4px; color: var(--primary); font-size: 1.1rem; }
.phone-card-icon.pink { color: #e759a2; }.phone-card-icon.teal { color: #10a994; }
.phone-card strong { font-size: .68rem; line-height: 1.2; }.phone-card small { margin-top: 3px; color: #85839b; font-size: .52rem; line-height: 1.2; }
.phone-card-main b { margin-top: auto; color: var(--primary); font-size: .58rem; }.phone-card-main b span { float: right; font-size: .8rem; }
.phone-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone-nav { position: absolute; right: 15px; bottom: 12px; left: 15px; display: flex; justify-content: space-around; padding-top: 9px; border-top: 1px solid #e9e7f2; color: #aaa7bd; font-size: .8rem; text-align: center; }
.phone-nav span { display: grid; gap: 2px; }.phone-nav small { font-size: .43rem; }.phone-nav .active { color: var(--primary); }

/* --------------------------- Roadmap --------------------------- */
.roadmap-section { background: linear-gradient(180deg, var(--bg), var(--surface)); }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.roadmap-card {
  position: relative; min-height: 210px; padding: 28px 26px 24px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.roadmap-card::after {
  content: ""; position: absolute; right: -30px; bottom: -42px; width: 130px; height: 130px;
  border-radius: 50%; background: radial-gradient(circle, rgba(61, 90, 254, 0.16), transparent 68%);
}
.roadmap-live { border-color: rgba(61, 90, 254, 0.42); box-shadow: 0 12px 30px rgba(61, 90, 254, 0.12); }
.roadmap-status {
  display: inline-block; margin-bottom: 13px; padding: 4px 10px; border-radius: 999px;
  color: var(--primary); background: rgba(61, 90, 254, 0.09);
  font-size: 0.72rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.07em;
}
.roadmap-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.roadmap-card p { position: relative; z-index: 1; color: var(--muted); font-size: 0.94rem; }

/* ---------------------------- Steps ---------------------------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.step-no {
  display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px;
  border-radius: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--primary), #6d5cf6);
  box-shadow: 0 8px 18px rgba(61, 90, 254, 0.3);
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* --------------------------- Pricing --------------------------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: start; }
.plan {
  position: relative; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.plan-highlight {
  border: 2px solid var(--primary);
  box-shadow: 0 18px 44px rgba(61, 90, 254, 0.18);
  transform: translateY(-6px);
}
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #6d5cf6); color: #fff;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 1.05rem; margin-bottom: 10px; }
.price { font-size: 2.15rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.price span { font-size: 0.85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-note { color: var(--muted); font-size: 0.82rem; margin-bottom: 18px; }
.plan ul { list-style: none; text-align: left; margin-bottom: 22px; color: var(--muted); font-size: 0.9rem; }
.plan li { padding: 5px 0 5px 22px; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 0.82em;
  width: 10px; height: 5px; border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary); transform: rotate(-45deg);
}
.plan .btn { width: 100%; }

/* ----------------------------- FAQ ----------------------------- */
.faq { max-width: 760px; }
.faq details {
  border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 10px; background: var(--bg);
  transition: box-shadow 0.2s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 650; cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: -2px;
  font-size: 1.3rem; font-weight: 400; color: var(--primary); line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }

/* --------------------------- Final CTA ------------------------- */
.cta-final {
  position: relative; text-align: center; padding: 88px 0 96px;
  background: linear-gradient(135deg, #1a1f4b, #2a2360 55%, #3d2a63);
  color: #fff; overflow: hidden;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background:
    radial-gradient(40% 60% at 20% 20%, rgba(61, 90, 254, 0.55), transparent 70%),
    radial-gradient(40% 60% at 80% 70%, rgba(244, 114, 182, 0.4), transparent 70%);
}
.cta-final > * { position: relative; }
.cta-final h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-final .sub { color: rgba(255, 255, 255, 0.76); margin-bottom: 28px; }

/* -------------------------- Legal pages ------------------------ */
.legal { max-width: 780px; padding-block: 52px 72px; }
.legal h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 6px; }
.legal h2 { font-size: 1.15rem; margin: 34px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #3a3f4d; font-size: 0.97rem; }
.legal ul { margin: 10px 0 0 22px; }
.legal li { padding: 3px 0; }
.legal a { color: var(--primary); }

/* ---------------------------- Footer --------------------------- */
.footer { border-top: 1px solid var(--border); padding: 44px 0 32px; background: var(--surface); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-start; }
.footer-brand strong { font-size: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); text-decoration: underline; }
.tiny { color: var(--muted); font-size: 0.85rem; }
.copyright { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }

/* -------------------------- Responsive ------------------------- */
@media (max-width: 900px) {
  .roadmap-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; }
  .hero .sub { margin-inline: auto; }
  .cta-row, .trust-row { justify-content: center; }
  .scene-stage { max-width: 340px; }
  .app-promo { grid-template-columns: 1fr; gap: 28px; }
  .app-promo-copy { max-width: 680px; margin-inline: auto; text-align: center; }
  .app-promo-actions, .app-benefits { justify-content: center; }
}

@media (max-width: 720px) {
  .brand-tagline { display: none; }
  .nav nav { gap: 14px; }
  .nav nav a:not(.btn) { display: none; }
  .section { padding: 58px 0; }
  .plan-highlight { transform: none; }
  .tpl { transform: none !important; }
  .orbit-1 { left: -4%; }
  .orbit-3 { left: 0; }
}

/* Honour reduced-motion: kill every animation and 3D transform. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before, .scene-stage, .doc-scan, .orbit, .phone { animation: none; }
  .scene-stage, .phone { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-3d, .tpl, .btn { transition: none; }
  .card-3d:hover, .tpl:hover { transform: none; }
}
