:root {
  --bg: #000;
  --card: rgba(18, 10, 24, .55);
  --card-solid: #0b0610;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f7f2ff;
  --muted: #a99fbb;
  --red: #ff2d55;
  --orange: #ff7a45;
  --violet: #8b5cf6;
  --magenta: #d946ef;
  --sunset: linear-gradient(120deg, #ff7a45 0%, #ff2d55 38%, #d946ef 70%, #8b5cf6 100%);
  --glow-red: 0 0 24px rgba(255, 45, 85, .55), 0 0 64px rgba(255, 45, 85, .25);
  --glow-violet: 0 0 24px rgba(139, 92, 246, .55), 0 0 64px rgba(139, 92, 246, .25);
  --radius: 22px;
  --pad: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Unbounded", var(--font);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding-bottom: var(--safe-bottom);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: rgba(255, 45, 85, .45); }

/* ---------------------------------------------------------------- scene */
.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
#starfield { position: absolute; inset: 0; width: 100%; height: 100%; }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; mix-blend-mode: screen; will-change: transform; }
.a1 { width: 55vmax; height: 55vmax; left: -15vmax; top: -20vmax; background: radial-gradient(circle, rgba(255, 45, 85, .55), transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
.a2 { width: 50vmax; height: 50vmax; right: -18vmax; top: 10vh; background: radial-gradient(circle, rgba(139, 92, 246, .55), transparent 65%); animation: drift2 26s ease-in-out infinite alternate; }
.a3 { width: 40vmax; height: 40vmax; left: 30vw; bottom: -20vmax; background: radial-gradient(circle, rgba(255, 122, 69, .35), transparent 65%); animation: drift1 30s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(8vw, 6vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-10vw, 8vh, 0) scale(1.1); } }

.horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 46vh; perspective: 420px; }
.sun {
  position: absolute; left: 50%; bottom: 34%; width: min(52vmin, 460px); aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: linear-gradient(180deg, #ffb36b 0%, #ff5a5f 35%, #ff2d55 55%, #b5179e 78%, #7c3aed 100%);
  box-shadow: 0 0 120px rgba(255, 45, 85, .45), 0 0 240px rgba(139, 92, 246, .3);
  --stripes: linear-gradient(to bottom, #000 0 46%, transparent 46% 49%, #000 49% 57%, transparent 57% 61%, #000 61% 68%, transparent 68% 73%, #000 73% 79%, transparent 79% 85%, #000 85% 89%, transparent 89%);
  -webkit-mask-image: var(--stripes);
  mask-image: var(--stripes);
  opacity: .32; animation: sunPulse 8s ease-in-out infinite;
}
@keyframes sunPulse { 50% { opacity: .42; transform: translateX(-50%) scale(1.03); } }
.floor { position: absolute; left: -50%; right: -50%; bottom: 0; height: 100%; transform: rotateX(72deg); transform-origin: bottom; }
.floor-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 45, 85, .55) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(139, 92, 246, .5) 1.5px, transparent 1.5px);
  background-size: 64px 64px;
  -webkit-mask: linear-gradient(to top, #000 10%, transparent 85%);
  mask: linear-gradient(to top, #000 10%, transparent 85%);
  animation: gridMove 3.2s linear infinite;
  opacity: .45;
}
@keyframes gridMove { to { background-position: 0 64px, 0 0; } }
.noise { position: absolute; inset: 0; opacity: .05; background-image: radial-gradient(rgba(255,255,255,.6) 1px, transparent 1px); background-size: 3px 3px; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 16px;
  padding: calc(12px + var(--safe-top)) var(--pad) 12px; max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto;
  transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(0, 0, 0, .6); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.logo b { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 2px; }
.logo-mark { width: 30px; height: 30px; border-radius: 10px; background: var(--sunset); box-shadow: var(--glow-red); position: relative; animation: spinHue 10s linear infinite; }
.logo-mark::after { content: ""; position: absolute; inset: 7px; border-radius: 5px; background: #000; clip-path: polygon(50% 0, 100% 20%, 100% 55%, 50% 100%, 0 55%, 0 20%); }
@keyframes spinHue { 50% { filter: hue-rotate(-25deg) brightness(1.15); } }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav .btn { margin-left: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: var(--glow-red); }
.dot.on { background: #22c55e; box-shadow: 0 0 12px #22c55e; }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s, opacity .2s;
  -webkit-tap-highlight-color: transparent; isolation: isolate;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 12px; }
.btn-lg { padding: 17px 28px; font-size: 16px; border-radius: 16px; }
.btn-primary { background: var(--sunset); background-size: 200% 100%; color: #fff; box-shadow: 0 10px 30px -8px rgba(255, 45, 85, .7), inset 0 1px 0 rgba(255, 255, 255, .25); animation: shift 6s ease infinite; }
.btn-primary:hover { box-shadow: 0 14px 44px -6px rgba(255, 45, 85, .85), 0 0 0 1px rgba(255, 255, 255, .15) inset; transform: translateY(-2px); }
@keyframes shift { 50% { background-position: 100% 0; } }
.btn-ghost { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); transform: translateY(-2px); }
.btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- layout */
.view { max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(64px, 10vw, 120px) 0 0; scroll-margin-top: 80px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 5vw, 56px); }
.section-head p { color: var(--muted); margin-top: 14px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; line-height: 1.05; }
h1 { font-size: clamp(42px, 8.2vw, 104px); font-weight: 900; }
h2 { font-size: clamp(30px, 5vw, 58px); font-weight: 700; }
h3 { font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; letter-spacing: -.01em; }
.grad-text { background: var(--sunset); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shift 7s ease infinite; filter: drop-shadow(0 0 28px rgba(255, 45, 85, .35)); }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; min-height: calc(100vh - 80px); padding: clamp(24px, 6vw, 60px) 0; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); font-size: 13px; font-weight: 700; color: #ffd6de; margin-bottom: 22px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 540px; margin: 22px 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(16px, 3vw, 40px); margin-top: 44px; justify-content: start; }
.stats b { display: block; font-family: var(--display); font-size: clamp(20px, 2.4vw, 28px); }
.stats span { color: var(--muted); font-size: 13px; }

.hero-visual { display: grid; place-items: center; }
.orb-stage { position: relative; width: min(100%, 520px); aspect-ratio: 1; transform-style: preserve-3d; perspective: 900px; transition: transform .2s ease-out; }
#globe { position: absolute; inset: 6%; width: 88%; height: 88%; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent; transform-style: preserve-3d; }
.orbit::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 1.5px; background: var(--sunset); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; }
.orbit i { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 16px #ff2d55, 0 0 32px #8b5cf6; }
.o1 { animation: orbit1 14s linear infinite; }
.o2 { inset: 8%; animation: orbit2 18s linear infinite; }
.o3 { inset: -6%; animation: orbit3 24s linear infinite; opacity: .6; }
@keyframes orbit1 { from { transform: rotateX(72deg) rotateZ(0); } to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes orbit2 { from { transform: rotateY(68deg) rotateZ(0); } to { transform: rotateY(68deg) rotateZ(-360deg); } }
@keyframes orbit3 { from { transform: rotateX(60deg) rotateY(30deg) rotateZ(0); } to { transform: rotateX(60deg) rotateY(30deg) rotateZ(360deg); } }
.shield { position: absolute; left: 50%; top: 50%; width: 22%; transform: translate(-50%, -50%) translateZ(60px); filter: drop-shadow(0 0 30px rgba(255, 45, 85, .7)) drop-shadow(0 0 60px rgba(139, 92, 246, .5)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-50%, -58%) translateZ(60px); } }
.float-card { position: absolute; padding: 10px 14px; border-radius: 14px; background: rgba(10, 5, 15, .7); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9); }
.fc1 { left: -2%; top: 18%; animation: float2 7s ease-in-out infinite; }
.fc2 { right: -2%; bottom: 16%; animation: float2 8s ease-in-out infinite reverse; }
@keyframes float2 { 50% { transform: translateY(-14px); } }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; }
.fc-dot.ok { background: #22c55e; box-shadow: 0 0 10px #22c55e; }

/* ---------------------------------------------------------------- cards */
.card, .feature, .plan, .step, .faq details {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.tilt { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s; will-change: transform; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1200px; }
.plan { padding: 28px 22px 22px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.plan::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(255,255,255,.18), transparent 40%, transparent 60%, rgba(139,92,246,.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan:hover { border-color: rgba(255, 45, 85, .35); box-shadow: 0 30px 60px -30px rgba(255, 45, 85, .55); }
.plan.hot { background: linear-gradient(180deg, rgba(255, 45, 85, .14), rgba(139, 92, 246, .1)), var(--card); border-color: rgba(255, 45, 85, .45); box-shadow: 0 0 0 1px rgba(255, 45, 85, .2), 0 30px 80px -30px rgba(255, 45, 85, .7); }
.plan.best { border-color: rgba(139, 92, 246, .5); box-shadow: 0 0 0 1px rgba(139, 92, 246, .2), 0 30px 80px -30px rgba(139, 92, 246, .7); }
.plan .p-badge { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--sunset); color: #fff; box-shadow: var(--glow-red); letter-spacing: .02em; }
.plan.best .p-badge { background: linear-gradient(120deg, #d946ef, #8b5cf6); box-shadow: var(--glow-violet); }
.plan .p-title { color: var(--muted); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.plan .p-price { font-family: var(--display); font-size: clamp(34px, 3.4vw, 46px); font-weight: 900; letter-spacing: -.04em; margin-top: 6px; }
.plan .p-price small { font-size: .45em; color: var(--muted); font-weight: 700; margin-left: 4px; }
.plan .p-month { color: var(--muted); font-size: 14px; }
.plan .p-save { display: inline-block; align-self: flex-start; margin-top: 8px; font-size: 12px; font-weight: 800; color: #ffd0d9; background: rgba(255, 45, 85, .14); border: 1px solid rgba(255, 45, 85, .3); padding: 4px 10px; border-radius: 999px; }
.plan .p-save.none { visibility: hidden; }
.plan ul { list-style: none; margin: 16px 0 20px; display: grid; gap: 8px; font-size: 14px; color: #d9d0e8; }
.plan li::before { content: "✓"; color: var(--red); font-weight: 900; margin-right: 8px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan .p-stars { text-align: center; color: var(--muted); font-size: 12px; margin-top: 10px; }

.plans-mini { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.plans-mini .plan { padding: 16px; gap: 2px; cursor: pointer; }
.plans-mini .plan .p-price { font-size: 26px; }
.plans-mini .plan .p-badge { top: 10px; right: 10px; font-size: 10px; padding: 3px 8px; }
.plans-mini .plan ul, .plans-mini .plan .p-stars, .plans-mini .plan .btn { display: none; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1200px; }
.feature { padding: 28px; }
.feature p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.feature:hover { border-color: rgba(139, 92, 246, .4); box-shadow: 0 30px 60px -30px rgba(139, 92, 246, .6); }
.f-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; background: linear-gradient(140deg, rgba(255, 45, 85, .25), rgba(139, 92, 246, .25)); border: 1px solid var(--line-2); box-shadow: inset 0 0 20px rgba(255, 45, 85, .2); transform: translateZ(30px); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 28px; overflow: hidden; }
.step p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.step-n { font-family: var(--display); font-size: 56px; font-weight: 900; line-height: 1; display: block; margin-bottom: 14px; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 0 22px; transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(255, 45, 85, .35); background: rgba(30, 10, 25, .6); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--red); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 64px 0 40px; margin-top: 80px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer a:hover { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.2); }
.footer p a { color: #ff8aa3; }

/* ---------------------------------------------------------------- cabinet (compact, app-like) */
.cab-view { padding: 0 14px calc(28px + var(--safe-bottom)); }
.cab { width: 100%; max-width: 520px; margin: 0 auto; padding-top: 10px; font-size: 14px; }
.cab-top { display: flex; align-items: center; gap: 12px; padding: 6px 2px 14px; }
.avatar { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 17px; background: var(--sunset); box-shadow: 0 6px 20px -6px rgba(255, 45, 85, .7); }
.cab-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.cab-who b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cab-who span { color: var(--muted); font-size: 12px; }
.pill { flex: none; font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--muted); }
.pill.on { color: #bbf7d0; background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .35); }

.tabs { position: sticky; top: calc(8px + var(--safe-top)); z-index: 20; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; margin-bottom: 14px; border-radius: 14px; background: rgba(16, 9, 22, .92); border: 1px solid var(--line); }
.tab { position: relative; z-index: 1; padding: 9px 6px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--muted); transition: color .25s; -webkit-tap-highlight-color: transparent; }
.tab.active { color: #fff; }
.tab-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 10px; background: linear-gradient(120deg, rgba(255, 45, 85, .9), rgba(139, 92, 246, .9)); box-shadow: 0 4px 16px -4px rgba(255, 45, 85, .6); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }

.pane { display: none; gap: 10px; }
.pane.active { display: grid; animation: paneIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } }

.c-card { padding: 14px; border-radius: 16px; background: rgba(16, 9, 22, .82); border: 1px solid var(--line); }
.c-card h4 { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.c-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.c-head h4 { margin: 0; }
.c-card.status { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, rgba(255, 45, 85, .12), rgba(139, 92, 246, .1)), rgba(16, 9, 22, .85); border-color: rgba(255, 45, 85, .22); }
.ring { position: relative; width: 64px; flex: none; }
.ring svg { width: 100%; display: block; transform: rotate(-90deg); overflow: visible; }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 11; }
.ring-fg { fill: none; stroke: url(#rg); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.ring-label b { font-family: var(--display); font-size: 18px; }
.ring-label span { color: var(--muted); font-size: 10px; margin-top: 2px; }
.status-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.status-txt b { font-size: 15px; }
.status-txt span { color: var(--muted); font-size: 12px; }
.btn-block { width: 100%; }
.link-btn { font-size: 13px; font-weight: 700; color: #ff8aa3; padding: 4px 2px; }
.link-btn:disabled { color: var(--muted); opacity: .6; }
.key-box { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; line-height: 1.45; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .55); border: 1px dashed rgba(255, 45, 85, .35); word-break: break-all; color: #ffd6de; max-height: 96px; overflow: auto; }
.key-box.pending { color: var(--muted); font-family: var(--font); border-style: solid; border-color: var(--line); }
.c-card .key-box + .btn { margin-top: 10px; }
.mini-steps { padding-left: 18px; display: grid; gap: 4px; color: #d9d0e8; font-size: 13px; }
.mini-steps li::marker { color: var(--red); font-weight: 800; }
.small { font-size: 12px; margin-bottom: 8px; }
.fine { color: var(--muted); font-size: 12px; text-align: center; padding: 2px 8px; }
.fine a { color: #ff8aa3; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.plan-list { display: grid; gap: 8px; }
.plan-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 14px; text-align: left; background: rgba(16, 9, 22, .82); border: 1px solid var(--line); transition: border-color .2s, background .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.plan-row:active { transform: scale(.985); }
.plan-row .radio { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); transition: border-color .2s, box-shadow .2s; }
.plan-row .pr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.plan-row .pr-main b { font-size: 14px; }
.plan-row .pr-main small { color: var(--muted); font-size: 12px; }
.plan-row .pr-tag { font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 999px; color: #ffd0d9; background: rgba(255, 45, 85, .16); border: 1px solid rgba(255, 45, 85, .3); white-space: nowrap; }
.plan-row .pr-price { font-family: var(--display); font-weight: 700; font-size: 15px; white-space: nowrap; }
.plan-row.sel { border-color: rgba(255, 45, 85, .6); background: linear-gradient(135deg, rgba(255, 45, 85, .14), rgba(139, 92, 246, .1)), rgba(16, 9, 22, .9); }
.plan-row.sel .radio { border-color: var(--red); box-shadow: inset 0 0 0 4px #000, inset 0 0 0 10px var(--red); }
.pay-bar { position: sticky; bottom: calc(10px + var(--safe-bottom)); display: grid; gap: 8px; padding: 10px; border-radius: 16px; background: rgba(10, 5, 14, .94); border: 1px solid var(--line); box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .9); }
.pay-bar .btn { width: 100%; justify-content: space-between; padding: 12px 16px; font-size: 14px; }
.pay-bar .btn b { font-family: var(--display); }

.hist { list-style: none; display: grid; gap: 6px; max-height: 240px; overflow: auto; }
.hist li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 13px; line-height: 1.35; }
.hist li b { font-weight: 800; }
.hist .ok { color: #86efac; font-size: 12px; }

body.in-cab .nav-links { display: none; }
body.in-cab .nav { padding-top: calc(8px + var(--safe-top)); padding-bottom: 8px; }
body.in-cab .horizon, body.in-cab .aurora { opacity: .25; }
body.tg.in-cab .nav { display: none; }
@media (min-width: 861px) {
  .cab { padding-top: 24px; font-size: 15px; }
  .c-card { padding: 16px 18px; }
}

/* ---------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn .25s ease; }
.modal-card { position: relative; width: min(100%, 440px); padding: 28px; border-radius: 26px; background: linear-gradient(180deg, rgba(30, 10, 28, .95), rgba(10, 4, 16, .97)); border: 1px solid rgba(255, 45, 85, .3); box-shadow: 0 40px 100px -20px rgba(255, 45, 85, .45), 0 0 0 1px rgba(139, 92, 246, .15); animation: popIn .4s cubic-bezier(.2, .9, .3, 1.2); max-height: 90vh; overflow: auto; }
.modal-x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 12px; font-size: 24px; color: var(--muted); }
.modal-x:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.modal-card h3 { font-size: 22px; margin-bottom: 6px; padding-right: 30px; }
.modal-card p { color: var(--muted); font-size: 14px; }
.pay-opts { display: grid; gap: 12px; margin-top: 20px; }
.pay-opt { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); text-align: left; transition: border-color .2s, background .2s, transform .2s; }
.pay-opt:hover { border-color: rgba(255, 45, 85, .5); background: rgba(255, 45, 85, .08); transform: translateY(-2px); }
.pay-opt .po-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(140deg, rgba(255, 45, 85, .3), rgba(139, 92, 246, .3)); flex: none; }
.pay-opt b { display: block; }
.pay-opt span { color: var(--muted); font-size: 13px; }
.pay-opt .po-price { margin-left: auto; font-family: var(--display); font-weight: 700; white-space: nowrap; }
.wait { text-align: center; padding: 10px 0; }
.wait .loader { width: 64px; height: 64px; margin: 10px auto 18px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, #ff2d55, #8b5cf6, transparent); -webkit-mask: radial-gradient(circle, transparent 55%, #000 56%); mask: radial-gradient(circle, transparent 55%, #000 56%); animation: spin 1s linear infinite; }
.success-mark { width: 80px; height: 80px; margin: 6px auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; background: var(--sunset); box-shadow: var(--glow-red); animation: popIn .5s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.94); } }

.toast { position: fixed; left: 50%; bottom: calc(24px + var(--safe-bottom)); z-index: 200; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 14px; background: rgba(20, 8, 24, .95); border: 1px solid rgba(255, 45, 85, .35); box-shadow: 0 20px 50px -10px rgba(255, 45, 85, .4); font-weight: 700; font-size: 14px; transition: all .35s cubic-bezier(.2, .9, .3, 1.2); max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { grid-template-columns: 1fr; text-align: center; min-height: auto; padding-top: 8px; }
  .hero-visual { order: -1; }
  .orb-stage { width: min(78vw, 380px); }
  .lead { margin-left: auto; margin-right: auto; }
  .cta, .stats { justify-content: center; }
  .chip { margin-bottom: 16px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, auto); gap: 18px 36px; }
  .cta .btn { width: 100%; }
  .float-card { font-size: 11px; padding: 8px 10px; }
  .logo-text { font-size: 15px; }
  .sun { opacity: .22; }
}
body.tg .nav-links { display: none; }
body.tg .nav .btn { margin-left: auto; }

/* lighter rendering on phones: no heavy blur layers */
@media (max-width: 860px) {
  .card, .feature, .plan, .step, .faq details { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 8, 20, .88); }
  .aurora { filter: blur(50px); opacity: .4; }
  .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(0, 0, 0, .9); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
