/* 21Ai public pages: sci-fi theme (home, sign in). Loaded only on pages that
   extend _scifi.html; dashboard and admin keep style.css. Everything respects
   prefers-reduced-motion. */
.scifi {
  --bg: #050714;
  --surface: rgba(16, 20, 44, .62);
  --surface-2: rgba(30, 36, 72, .7);
  --text: #e8ebff;
  --muted: #8f97c2;
  --border: rgba(130, 150, 255, .18);
  --accent: #22d3ee;
  --accent-ink: #031018;
  --accent-soft: rgba(34, 211, 238, .12);
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --lime: #a3e635;
  --danger: #ff6b81;
  --danger-soft: rgba(255, 107, 129, .12);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, .12);
  --glow: 0 0 24px rgba(34, 211, 238, .35), 0 0 60px rgba(139, 92, 246, .25);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
.scifi main { position: relative; }
.scifi a { color: var(--cyan); }
.scifi .muted, .scifi .small.muted { color: var(--muted); }

/* ---------------------------------------------------------------- top bar */
.scifi .topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 20, .55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.scifi .nav a { color: var(--muted); }
.scifi .nav a:hover { color: var(--text); text-decoration: none; }
.scifi .nav .btn.primary {
  color: var(--accent-ink); background: linear-gradient(90deg, var(--cyan), var(--violet));
  border: 0; box-shadow: var(--glow);
}
.wordmark {
  display: inline-flex; align-items: center; gap: 0;
  font-weight: 800; font-size: 1.2rem; letter-spacing: .04em; color: var(--text) !important; text-decoration: none !important;
}
.wordmark b {
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.orb {
  width: 18px; height: 18px; border-radius: 50%; margin-right: 9px;
  background: radial-gradient(circle at 35% 35%, #fff, var(--cyan) 35%, var(--violet) 75%);
  box-shadow: 0 0 12px var(--cyan), 0 0 26px rgba(139, 92, 246, .7);
  animation: orb 3.2s ease-in-out infinite;
}
@keyframes orb { 50% { transform: scale(1.15); box-shadow: 0 0 18px var(--cyan), 0 0 40px rgba(236, 72, 153, .7); } }

/* ---------------------------------------------------------------- background */
.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.nebula { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.nebula i {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .32;
  animation: drift 26s ease-in-out infinite alternate;
}
.nebula i:nth-child(1) { background: var(--violet); top: -25vmax; left: -15vmax; }
.nebula i:nth-child(2) { background: #0ea5e9; bottom: -30vmax; right: -20vmax; animation-duration: 32s; }
.nebula i:nth-child(3) { background: var(--pink); top: 30%; left: 45%; width: 35vmax; height: 35vmax; opacity: .16; animation-duration: 21s; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.12); } }
.scifi main > *:not(.stars):not(.nebula), .scifi footer { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- hero */
.hero-x { position: relative; padding: 72px 0 120px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.hero-grid .hud { margin-top: 44px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font: 600 .78rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .07);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(163, 230, 53, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(163, 230, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0); } }
.hero-x h1 {
  margin: 20px 0 18px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 800;
}
.holo {
  background: linear-gradient(100deg, var(--cyan), var(--violet) 40%, var(--pink) 70%, var(--cyan));
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: holo 6s linear infinite;
  filter: drop-shadow(0 0 22px rgba(139, 92, 246, .45));
}
@keyframes holo { to { background-position: -250% 0; } }
.glitch { position: relative; display: inline-block; color: #fff; text-shadow: 0 0 18px rgba(34, 211, 238, .6); }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none;
}
.glitch::before { color: var(--cyan); animation: glitch 3.4s infinite steps(1); clip-path: inset(0 0 55% 0); }
.glitch::after { color: var(--pink); animation: glitch 3.4s infinite steps(1) reverse; clip-path: inset(55% 0 0 0); }
@keyframes glitch {
  0%, 86%, 100% { transform: none; opacity: 0; }
  87% { transform: translate(-3px, 1px); opacity: .9; }
  89% { transform: translate(3px, -2px); opacity: .9; }
  91% { transform: translate(-2px, 0); opacity: .8; }
  93% { transform: translate(2px, 2px); opacity: .9; }
}
.hero-x .lead { font-size: 1.14rem; line-height: 1.6; color: var(--muted); max-width: 560px; }
.key {
  display: inline-block; min-width: 1.9em; margin: 0 2px; padding: 2px 7px; border-radius: 7px; text-align: center;
  font: 600 .9rem/1.5 var(--mono); color: var(--text);
  background: linear-gradient(#1b2150, #10142e); border: 1px solid rgba(130, 150, 255, .35);
  box-shadow: 0 3px 0 #070a1d, 0 0 14px rgba(34, 211, 238, .25);
  animation: press 2.6s ease-in-out infinite;
}
.key + .key { animation-delay: .22s; }
@keyframes press { 0%, 70%, 100% { transform: none; } 75% { transform: translateY(2px); box-shadow: 0 1px 0 #070a1d, 0 0 22px rgba(34, 211, 238, .7); } }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fine { margin-top: 14px; font: .8rem var(--mono); color: var(--muted); letter-spacing: .02em; }

/* neon button: rotating gradient border */
.btn-neon {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 2px; border-radius: 12px; text-decoration: none !important; isolation: isolate; overflow: hidden;
  font-weight: 700; color: #fff !important;
}
.btn-neon::before {
  content: ""; position: absolute; inset: -150%; z-index: -2;
  background: conic-gradient(from 0deg, var(--cyan), var(--violet), var(--pink), var(--cyan));
  animation: spin 3.2s linear infinite;
}
.btn-neon span {
  display: block; padding: 12px 22px; border-radius: 10px;
  background: linear-gradient(135deg, #1fb8d6, #7c4ff0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: background .25s, transform .25s;
}
.btn-neon:hover span { background: linear-gradient(135deg, #22d3ee, #d9408f); }
.btn-neon:hover { box-shadow: var(--glow); }
.btn-neon:active span { transform: scale(.98); }
.btn-neon.block { display: flex; width: 100%; }
.btn-neon.block span { width: 100%; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-ghost {
  display: inline-flex; align-items: center; padding: 13px 22px; border-radius: 12px; font-weight: 600;
  color: var(--text) !important; text-decoration: none !important;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: rgba(34, 211, 238, .6); background: rgba(34, 211, 238, .08); }

/* ---------------------------------------------------------------- HUD console */
.hud { position: relative; perspective: 1200px; }
.hud-frame {
  position: relative; z-index: 1; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, rgba(20, 26, 60, .9), rgba(8, 10, 28, .92));
  border: 1px solid rgba(130, 150, 255, .28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .03);
  transform: rotateY(-8deg) rotateX(5deg); transform-style: preserve-3d; transition: transform .4s ease;
}
.hud:hover .hud-frame { transform: rotateY(-2deg) rotateX(1deg); }
.hud-frame::after { /* scan lines */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
.hud-glow {
  position: absolute; inset: 10% 5%; z-index: 0; border-radius: 30px; filter: blur(50px); opacity: .55;
  background: conic-gradient(from 180deg, var(--cyan), var(--violet), var(--pink), var(--cyan));
  animation: spin 9s linear infinite;
}
.hud-bar {
  display: flex; align-items: center; gap: 6px; padding: 11px 14px;
  border-bottom: 1px solid var(--border); font: .78rem var(--mono); color: var(--muted);
}
.hud-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.hud-bar i:nth-child(2) { background: #febc2e; }
.hud-bar i:nth-child(3) { background: #28c840; margin-right: 8px; }
.hud-tones { display: flex; gap: 4px; margin-left: 4px; }
.hud-tones b { padding: 2px 8px; border-radius: 999px; font: 600 .68rem system-ui, sans-serif; color: var(--muted); background: rgba(255, 255, 255, .06); transition: background .3s, color .3s, box-shadow .3s; }
.hud-tones b.on { color: var(--accent-ink); background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 12px rgba(34, 211, 238, .4); }
.hud-gear { margin-left: auto; color: var(--muted); font-size: .85rem; }
.hud-lang { padding: 2px 8px; border-radius: 7px; font: 600 .7rem system-ui, sans-serif; color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid var(--border); white-space: nowrap; }
.hud-foot { align-items: center; gap: 8px; }
.hud-foot .spacer { flex: 1; }
.hud-dot { width: 7px; height: 7px; border-radius: 50%; background: #28c840; box-shadow: 0 0 8px #28c840; }
.hud-ring { width: 20px; height: 20px; }
.hud-ring circle { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 2.2; }
.hud-ring .arc { stroke: var(--cyan); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.hud-ring text { font: 700 6px system-ui, sans-serif; fill: var(--muted); text-anchor: middle; }
.hud-btn { padding: 3px 9px; border-radius: 7px; font: 600 .7rem system-ui, sans-serif; color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--border); }
.hud-btn.go { color: var(--muted); transition: all .3s; }
.hud-btn.go.ready { color: var(--accent-ink); border-color: transparent; background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 14px rgba(34, 211, 238, .5); }
.hud-tone { margin-left: auto; font-style: normal; color: var(--cyan); border: 1px solid rgba(34, 211, 238, .4); padding: 1px 7px; border-radius: 6px; }
.hud-body { padding: 18px 18px 8px; }
.hud-label { font: 600 .7rem/18px var(--mono); height: 18px; overflow: hidden; white-space: nowrap; letter-spacing: .14em; color: var(--violet); margin-bottom: 6px; }
.hud-label .auto { font-style: normal; line-height: 14px; margin-left: 6px; padding: 1px 6px; border-radius: 5px; letter-spacing: .06em; color: var(--lime); border: 1px solid rgba(163, 230, 53, .35); }
.hud-line.out[dir="rtl"] { text-align: right; }
.hud-line { height: 4.65em; overflow: hidden; font-size: 1.02rem; line-height: 1.55; margin-bottom: 14px; }
.hud-line.in { color: #b6bde6; font-style: italic; }
.hud-line.out { color: #fff; font-weight: 600; text-shadow: 0 0 14px rgba(34, 211, 238, .25); }
.caret { display: inline-block; width: 8px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--cyan); animation: blink 1s steps(1) infinite; opacity: 0; }
.hud-line.typing .caret { opacity: 1; }
@keyframes blink { 50% { background: transparent; } }
.hud-scan { position: relative; height: 26px; margin: 2px 0 14px; border-radius: 6px; overflow: hidden; background: rgba(34, 211, 238, .05); border: 1px solid rgba(34, 211, 238, .14); }
.hud-scan span { position: absolute; top: 0; bottom: 0; width: 30%; left: -30%; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .55), transparent); }
.hud-scan em { position: absolute; inset: 0; display: flex; align-items: center; padding-left: 10px; font: .72rem var(--mono); color: var(--cyan); font-style: normal; opacity: 0; transition: opacity .2s; }
.hud-scan.on span { animation: scan 1s linear infinite; }
.hud-scan.on em { opacity: 1; }
@keyframes scan { to { left: 100%; } }
.hud-foot { display: flex; justify-content: space-between; padding: 10px 18px 14px; font: .72rem var(--mono); color: var(--muted); border-top: 1px solid var(--border); }

/* ---------------------------------------------------------------- grid floor */
.grid-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10px; height: 260px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 211, 238, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, .35) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(380px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
  animation: floor 2.4s linear infinite;
}
@keyframes floor { to { background-position: 0 60px, 0 0; } }
.hero-x .wrap { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- ticker */
.ticker {
  overflow: hidden; border-block: 1px solid var(--border); background: rgba(10, 12, 30, .6);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { padding: 18px 28px; font: 600 .95rem var(--mono); letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
.ticker span::before { content: "◆"; margin-right: 28px; color: var(--violet); font-size: .6rem; vertical-align: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- stats */
.stats-x { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 56px; }
.stat-x {
  padding: 20px; border-radius: 14px; border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(34, 211, 238, .06), rgba(139, 92, 246, .04));
}
.stat-x b {
  display: block; font: 800 2.1rem/1.1 var(--mono);
  background: linear-gradient(90deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-x span { color: var(--muted); font-size: .9rem; }

/* ---------------------------------------------------------------- sections */
.block-x { padding-top: 96px; }
.kicker { font: 600 .8rem var(--mono); color: var(--cyan); letter-spacing: .12em; margin: 0 0 8px; }
.block-x h2, .final-x h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.01em; margin: 0 0 12px; }
.block-x .sub { color: var(--muted); max-width: 720px; line-height: 1.6; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.feat {
  position: relative; padding: 24px; border-radius: 16px; isolation: isolate; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .3s ease, border-color .3s;
  transform: perspective(800px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0));
}
.feat::before { /* glowing border on hover */
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 16px; padding: 1px; opacity: 0;
  background: conic-gradient(from var(--a, 0deg), var(--cyan), var(--violet), var(--pink), var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .3s;
}
.feat::after { /* light that follows the mouse */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, .14), transparent 60%);
}
.feat:hover::before, .feat:hover::after { opacity: 1; }
.feat:hover { border-color: transparent; }
.feat-icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(34, 211, 238, .18), rgba(139, 92, 246, .22));
  border: 1px solid rgba(34, 211, 238, .3); box-shadow: 0 0 20px rgba(34, 211, 238, .18);
}
.feat-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { margin: 0 0 6px; font-size: 1.08rem; }
.feat p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }

/* steps with a beam of light */
.steps-x { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.beam {
  position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .4), rgba(139, 92, 246, .4), transparent);
  overflow: hidden;
}
.beam::after { content: ""; position: absolute; top: -2px; width: 120px; height: 6px; left: -120px; border-radius: 6px; background: linear-gradient(90deg, transparent, #fff, transparent); filter: blur(1px); animation: beam 3s ease-in-out infinite; }
@keyframes beam { to { left: 100%; } }
.step-x { position: relative; z-index: 1; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.step-x span {
  display: inline-grid; place-items: center; width: 26px; height: 26px; margin-bottom: 12px; border-radius: 8px;
  font: 700 .75rem var(--mono); color: var(--accent-ink); background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 16px rgba(34, 211, 238, .5);
}
.step-x h3 { margin: 0 0 6px; }
.step-x p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }

/* ---------------------------------------------------------------- pricing */
.seg-x { margin-top: 10px; background: rgba(255, 255, 255, .03); border-color: var(--border); }
.seg-x label { color: var(--muted); }
.seg-x label.on { background: linear-gradient(90deg, var(--cyan), var(--violet)); color: var(--accent-ink); }
.scifi .pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.scifi .pill.ok { background: rgba(163, 230, 53, .16); color: var(--lime); }
.group-x { margin: 34px 0 0; font: 600 .85rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.plans-x { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 16px; max-width: 760px; }
.plan-x {
  position: relative; padding: 26px; border-radius: 18px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .3s, box-shadow .3s;
}
.plan-x:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.plan-x.featured { border-color: transparent; box-shadow: var(--glow); }
.plan-x.featured::before {
  content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), var(--cyan), var(--violet), var(--pink), var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: border-turn 4s linear infinite;
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes border-turn { to { --a: 360deg; } }
.ribbon {
  position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 999px;
  font: 700 .64rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink);
  background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 16px rgba(34, 211, 238, .45);
}
.plan-x h3 { margin: 0 0 8px; font-size: 1.15rem; }
/* Monthly / Yearly: button gulo flex, tai style.css er niyom ta ekhane jor diye */
#pricing:not(.show-yearly) .price-yearly, #pricing.show-yearly .price-monthly { display: none !important; }
.plan-x .price { font: 800 2.2rem/1.1 var(--mono); }
.plan-x .price small { font: 500 .85rem system-ui, sans-serif; color: var(--muted); margin-left: 4px; }
.plan-x .per-month { font: 500 .8rem system-ui, sans-serif; color: var(--lime); margin-top: 4px; }
.plan-x .desc { color: var(--muted); font-size: .92rem; }
.plan-x ul { list-style: none; padding: 0; margin: 14px 0 20px; font-size: .92rem; }
.plan-x li { padding: 6px 0 6px 24px; position: relative; border-bottom: 1px dashed rgba(130, 150, 255, .12); }
.plan-x li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 10px; height: 6px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }

/* ---------------------------------------------------------------- reply showcase */
.reply-x { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.reply-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.reply-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; color: var(--muted);
  border: 1px solid transparent; transition: all .35s; }
.reply-steps li b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font: 700 .72rem var(--mono);
  color: var(--muted); background: rgba(255, 255, 255, .06); transition: all .35s; }
.reply-steps li.on { color: var(--text); border-color: rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .06); }
.reply-steps li.on b { color: var(--accent-ink); background: linear-gradient(135deg, var(--cyan), var(--violet)); box-shadow: 0 0 14px rgba(34, 211, 238, .5); }
.chat { position: relative; padding: 18px; border-radius: 18px; min-height: 420px;
  background: linear-gradient(160deg, rgba(20, 26, 60, .88), rgba(8, 10, 28, .92)); border: 1px solid rgba(130, 150, 255, .28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 50px rgba(139, 92, 246, .14); }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.chat-head b { display: block; font-size: .92rem; }
.chat-head small { color: var(--muted); font: .72rem var(--mono); }
.chat-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--pink), var(--violet)); }
.bubble { max-width: 88%; padding: 11px 14px; border-radius: 14px; line-height: 1.5; font-size: .95rem; }
.bubble.them { background: rgba(255, 255, 255, .07); border-top-left-radius: 4px; }
.bubble.me { margin: 12px 0 0 auto; color: #fff; border-top-right-radius: 4px;
  background: linear-gradient(135deg, rgba(34, 211, 238, .85), rgba(139, 92, 246, .9)); box-shadow: 0 0 22px rgba(34, 211, 238, .25); }
.sel { transition: background .4s, box-shadow .4s; border-radius: 4px; }
.meaning, .note { margin-top: 12px; padding: 10px 12px; border-radius: 12px; font-size: .9rem; }
.meaning { border: 1px dashed rgba(163, 230, 53, .4); background: rgba(163, 230, 53, .06); }
.meaning p { margin: 4px 0 0; line-height: 1.6; }
.note { width: fit-content; max-width: 88%; margin-left: auto; color: #c9cff5; font-style: italic; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); }
.m-label { font: 700 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lime); font-style: normal; }
.note .m-label { color: var(--cyan); margin-right: 6px; }
/* JS dhap gulo chalay: data-step 1..4 (JS chara shob dekhay) */
.chat .meaning, .chat .note, .chat .bubble.me { transition: opacity .45s, transform .45s; }
.chat[data-step="0"] .meaning, .chat[data-step="1"] .meaning,
.chat[data-step="0"] .note, .chat[data-step="1"] .note, .chat[data-step="2"] .note,
.chat[data-step="0"] .bubble.me, .chat[data-step="1"] .bubble.me, .chat[data-step="2"] .bubble.me, .chat[data-step="3"] .bubble.me { opacity: 0; transform: translateY(10px); }
.chat[data-step="1"] .sel, .chat[data-step="2"] .sel { background: rgba(34, 211, 238, .28); box-shadow: 0 0 0 2px rgba(34, 211, 238, .28); }

/* ---------------------------------------------------------------- scroll progress + hero spotlight */
.progress-x { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink)); box-shadow: 0 0 10px var(--cyan); pointer-events: none; }
.hero-x::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 30%), rgba(34, 211, 238, .10), transparent 60%); }
.hero-x.lit::before { opacity: 1; }
@media (max-width: 900px) { .reply-x { grid-template-columns: 1fr; gap: 28px; } .chat { min-height: 0; } }

/* ---------------------------------------------------------------- customer pages (dashboard, pay, team) */
.dash { padding-top: 34px; padding-bottom: 60px; }
.dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.dash-head h1 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.5rem); letter-spacing: -.02em; }
.dash-head .kicker { margin-bottom: 4px; }
.dash-head-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.dash-head-actions .btn-ghost { padding: 11px 18px; }
.dash-head-actions .btn-neon span { padding: 10px 18px; }
.scifi .card { padding: 22px; margin-top: 16px; }
.scifi .grid > .card { margin-top: 0; }
.scifi .grid.two { margin-top: 16px; }
.scifi .card h2 { margin: 0 0 10px; font-size: 1.12rem; letter-spacing: .01em; }
.scifi .card h2::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 3px 0; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.scifi .card h3 { margin-top: 0; }
.dash-plan h2::before, .dash-plans h2::before { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
/* usage meters: neon */
.scifi .meter { height: 8px; background: rgba(255, 255, 255, .08); overflow: visible; position: relative; }
.scifi .meter > span { background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 12px rgba(34, 211, 238, .55); min-width: 4px; }
.scifi .meter.warn > span { background: linear-gradient(90deg, #f59e0b, #fbbf24); box-shadow: 0 0 12px rgba(251, 191, 36, .55); }
.scifi .meter.bad > span { background: linear-gradient(90deg, #f43f5e, #fb7185); box-shadow: 0 0 12px rgba(244, 63, 94, .6); }
/* 14 din er chart */
.scifi .bars { height: 120px; gap: 5px; padding: 10px 6px 0; border-radius: 10px;
  background: repeating-linear-gradient(0deg, rgba(130, 150, 255, .07) 0 1px, transparent 1px 30px); }
.scifi .bars .bar { background: linear-gradient(180deg, var(--cyan), var(--violet)); opacity: .9; border-radius: 4px 4px 0 0;
  box-shadow: 0 0 10px rgba(34, 211, 238, .35); transition: opacity .2s, transform .2s; transform-origin: bottom; }
.scifi .bars .bar:hover { opacity: 1; transform: scaleY(1.04); }
.scifi .bars .bar.zero { background: rgba(255, 255, 255, .08); box-shadow: none; }
.js .scifi .bars .bar, .js.scifi .bars .bar { animation: grow .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes grow { from { transform: scaleY(0); } }
/* tables */
.scifi table { font-size: .9rem; }
.scifi th { font: 700 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.scifi th, .scifi td { border-bottom-color: rgba(130, 150, 255, .12); }
.scifi tr:hover td { background: rgba(34, 211, 238, .03); }
.scifi .pill { background: rgba(255, 255, 255, .07); color: var(--muted); }
.scifi .pill.ok { background: rgba(163, 230, 53, .14); color: var(--lime); }
.scifi .pill.warn { background: rgba(251, 191, 36, .14); color: var(--warn); }
.scifi .pill.bad { background: rgba(255, 107, 129, .14); color: var(--danger); }
.scifi .alert.warn { background: var(--warn-soft); border-color: rgba(251, 191, 36, .35); color: #ffe7a8; }
.scifi .btn.danger { color: var(--danger); border-color: rgba(255, 107, 129, .35); }
.scifi .btn:hover { border-color: rgba(34, 211, 238, .5); background: rgba(34, 211, 238, .08); }
.scifi .copy { color: #b6bde6; }
.scifi label { color: var(--muted); }
/* app download */
.dl-row { gap: 12px; }
.dl { flex: 1 1 180px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; text-decoration: none !important;
  color: var(--text) !important; border: 1px solid rgba(34, 211, 238, .3); background: linear-gradient(135deg, rgba(34, 211, 238, .08), rgba(139, 92, 246, .08));
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.dl:hover { transform: translateY(-2px); border-color: rgba(34, 211, 238, .7); box-shadow: 0 0 22px rgba(34, 211, 238, .25); }
.dl-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font-size: 1.2rem; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--cyan), var(--violet)); box-shadow: 0 0 14px rgba(34, 211, 238, .45); }
.dl b { display: block; }
.dl small { color: var(--muted); font-size: .78rem; }
.steps-mini { margin: 16px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.9; font-size: .92rem; }
.steps-mini strong { color: var(--text); }
.key-sm { display: inline-block; padding: 0 6px; margin: 0 1px; border-radius: 5px; font: 600 .78rem/1.6 var(--mono); color: var(--text);
  background: rgba(255, 255, 255, .07); border: 1px solid var(--border); }
@media (max-width: 600px) { .dash-head-actions { margin-left: 0; width: 100%; } .dash-head-actions > * { flex: 1; justify-content: center; } }

/* ---------------------------------------------------------------- pricing page */
.pricing-page { padding-top: 64px; }
.pricing-page h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.02em; margin: 0 0 14px; }
.group-note { font: 500 .78rem system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--muted); }
.scifi [hidden] { display: none !important; }
.tiers-x { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; align-items: start; }
.tiers-x .plan-x { display: flex; flex-direction: column; min-height: 100%; }
.tiers-x .plan-x ul { flex: 1; }
.who { display: flex; gap: 4px; padding: 3px; margin: 2px 0 14px; border-radius: 10px; border: 1px solid var(--border); background: rgba(5, 7, 20, .5); }
.who label { flex: 1; margin: 0; padding: 6px 8px; text-align: center; border-radius: 8px; cursor: pointer; font-size: .82rem; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.who label.on { color: var(--accent-ink); background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 14px rgba(34, 211, 238, .35); }
.who input { position: absolute; opacity: 0; pointer-events: none; }
.who label:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.seats { display: flex; align-items: center; gap: 8px; margin: 12px 0 8px; font-size: .9rem; color: var(--muted); }
.seats span { margin-right: auto; white-space: nowrap; }
.min-note { margin-left: 6px; font: 600 .66rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.seat-btn { width: 32px; height: 32px; border-radius: 9px; border: 1px solid rgba(34, 211, 238, .4); background: rgba(34, 211, 238, .08);
  color: var(--cyan); font: 700 1.1rem/1 var(--mono); cursor: pointer; transition: background .2s, box-shadow .2s; }
.seat-btn:hover { background: rgba(34, 211, 238, .18); box-shadow: 0 0 12px rgba(34, 211, 238, .35); }
.seat-n { width: 64px; height: 32px; text-align: center; border-radius: 9px; font: 700 1rem var(--mono); padding: 0; -moz-appearance: textfield; }
.seat-n::-webkit-inner-spin-button, .seat-n::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.per-seat { font: 500 .8rem system-ui, sans-serif; color: var(--muted); margin-top: 4px; }
.per-seat .seat-count { color: var(--cyan); font-weight: 600; }
.biz-total-m, .biz-total-y { display: inline-block; transition: transform .15s; }
.total { padding: 10px 12px; border-radius: 10px; background: rgba(163, 230, 53, .07); border: 1px solid rgba(163, 230, 53, .22); font-size: .88rem; color: var(--muted); }
.total b { font: 800 1.05rem var(--mono); color: var(--lime); margin: 0 4px; }
.block-ghost { display: flex; justify-content: center; width: 100%; }
@media (max-width: 900px) { .tiers-x { grid-template-columns: 1fr; max-width: 460px; } }
/* Lekhar page (About, Privacy, Terms, Download) */
.doc-x { max-width: 820px; padding-top: 48px; }
.doc-x h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 6px 0 10px; }
.doc-x h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.doc-x p, .doc-x li { color: var(--muted); line-height: 1.7; }
.doc-x b, .doc-x strong { color: var(--text); }
.doc-x ul, .doc-x ol { padding-left: 1.3em; margin: 0 0 12px; }
.doc-x li { margin: 6px 0; }
.doc-x .lead-doc { font-size: 1.12rem; color: var(--text); }
.doc-x .muted { color: var(--muted); font-size: .9rem; }
.doc-x kbd { font: 600 .82rem var(--mono); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--text); margin: 0 2px; }
/* Download page */
.doc-x.dl-page { max-width: 1080px; }
.dl-hero { text-align: center; max-width: 680px; margin: 0 auto; }
.dl-hero .lead-doc { color: var(--muted); }
.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 1100px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
.dl-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 30px 24px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .25s, transform .25s, box-shadow .25s; }
.dl-card:hover { border-color: rgba(34, 211, 238, .45); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(34, 211, 238, .12); }
.dl-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; margin-bottom: 16px; color: var(--text);
  background: linear-gradient(135deg, rgba(34, 211, 238, .18), rgba(139, 92, 246, .22)); border: 1px solid var(--border); }
.dl-ico svg { width: 32px; height: 32px; }
.doc-x .dl-card h2 { margin: 0; font-size: 1.4rem; }
.doc-x .dl-req { margin: 6px 0 20px; font-size: .9rem; min-height: 2.8em; }
.dl-card .btn-neon { margin-top: auto; }
.doc-x .dl-file { margin: 10px 0 0; font: 500 .74rem var(--mono); letter-spacing: .03em; color: var(--muted); }
.dl-steps { margin-top: 56px; }
.dl-steps .faq-list { max-width: none; }
.dl-steps .faq ol { margin: 0; padding: 0 18px 18px 38px; }
.dl-help { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.dl-help section { padding: 20px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.doc-x .dl-help h3 { margin: 0 0 6px; font-size: 1.05rem; }
.doc-x .dl-help p { margin: 0; }
@media (max-width: 900px) { .doc-x { max-width: none; } .dl-grid, .dl-help { grid-template-columns: 1fr; } .doc-x .dl-req { min-height: 0; } }

/* Apps that aren't published yet */
.is-off { opacity: .45; filter: grayscale(.7); cursor: not-allowed; pointer-events: none; user-select: none; }
.dl-card.is-soon:hover { transform: none; box-shadow: none; border-color: var(--border); }
.soon-tag { margin-left: 8px; padding: 2px 8px; border-radius: 999px; font: 600 .66rem var(--mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border); vertical-align: middle; }

/* Guide page */
.steps-more { text-align: center; margin: 26px 0 0; }
.doc-x.guide-page { max-width: 1120px; }
.guide-hero { text-align: center; max-width: 760px; margin: 0 auto; }
.guide-hero .lead-doc { color: var(--muted); }
.guide-keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.guide-keys span { display: inline-flex; align-items: center; gap: 4px; }
.g-bubble { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; margin-right: 4px; font-size: .8rem;
  color: #fff; background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.guide-toc { position: sticky; top: 64px; z-index: 5; display: flex; gap: 8px; overflow-x: auto; margin: 34px -4px 10px; padding: 10px 4px;
  scrollbar-width: none; background: linear-gradient(180deg, rgba(5, 7, 20, .92), rgba(5, 7, 20, .75)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.guide-toc::-webkit-scrollbar { display: none; }
.guide-toc a { flex: none; padding: 7px 14px; border-radius: 999px; font-size: .85rem; color: var(--muted) !important; text-decoration: none !important;
  border: 1px solid var(--border); background: var(--surface); transition: color .2s, border-color .2s; }
.guide-toc a:hover { color: var(--text) !important; border-color: rgba(34, 211, 238, .45); }
.g-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; padding: 46px 0;
  border-bottom: 1px solid var(--border); scroll-margin-top: 120px; }
.g-step:nth-of-type(even) .g-shot { order: -1; }
.g-step.g-wide, .g-wide { grid-template-columns: 1fr; scroll-margin-top: 120px; }
.g-num { display: inline-block; font: 700 .8rem var(--mono); letter-spacing: .1em; color: var(--cyan); padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .08); }
.doc-x .g-text h2 { font-size: 1.6rem; margin: 12px 0 12px; }
.doc-x .g-text h3 { font-size: 1.05rem; margin: 0 0 6px; }
.g-shot { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 40px rgba(139, 92, 246, .12); }
.g-shot img { display: block; width: 100%; height: auto; }
.doc-x .g-example { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: .95rem; }
.g-example span { display: inline-block; min-width: 76px; font: 600 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.g-cols, .g-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.g-cards { grid-template-columns: repeat(3, 1fr); }
.g-cols > div, .g-cards > div { padding: 20px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.doc-x .g-cards p { margin: 0; }
#help { padding-top: 46px; }
#help .faq-list { max-width: none; }
#help .faq p, #help .faq ul { margin: 0; padding: 0 18px 18px 18px; }
#help .faq ul { padding-left: 38px; }
.doc-x .g-more { margin-top: 22px; }
@media (max-width: 900px) {
  .g-step { grid-template-columns: 1fr; gap: 22px; padding: 34px 0; }
  .g-step:nth-of-type(even) .g-shot { order: 0; }
  .g-cols, .g-cards { grid-template-columns: 1fr; }
  .guide-toc { top: 56px; }
}
/* At a glance: choto fact list (AI search o eta pore) */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0 0; max-width: 980px; }
.facts div { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.facts dt { font: 600 .74rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.facts dd { margin: 0; color: var(--text); line-height: 1.5; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } }
.faq-list { display: grid; gap: 10px; margin-top: 24px; max-width: 820px; }
.faq { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .25s; }
.faq[open] { border-color: rgba(34, 211, 238, .45); box-shadow: 0 0 24px rgba(34, 211, 238, .12); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 600 1.2rem var(--mono); color: var(--cyan); transition: transform .25s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0; padding: 0 18px 18px; color: var(--muted); line-height: 1.6; }

/* ---------------------------------------------------------------- demo video */
.play-dot {
  width: 0; height: 0; margin-right: 10px; border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--cyan); filter: drop-shadow(0 0 6px var(--cyan));
}
.screen {
  position: relative; margin-top: 28px; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, .08), rgba(5, 7, 20, .95) 70%);
  border: 1px solid rgba(130, 150, 255, .28);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .02), 0 0 60px rgba(139, 92, 246, .18);
}
.screen::before { /* ghurte thaka alor border */
  content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 1.5px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--a, 0deg), var(--cyan), transparent 25%, var(--violet), transparent 60%, var(--pink), transparent 85%, var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: border-turn 6s linear infinite;
}
.screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; z-index: 1; }
.screen-scan { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); }
.screen:has(video) .screen-scan { display: none; }
.corner { position: absolute; z-index: 4; width: 26px; height: 26px; border: 2px solid var(--cyan); filter: drop-shadow(0 0 6px var(--cyan)); pointer-events: none; }
.corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.screen-soon { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; padding: 20px; }
.radar { position: absolute; left: 50%; top: 50%; width: 340px; height: 340px; transform: translate(-50%, -50%); }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(34, 211, 238, .22); animation: radar 3.6s ease-out infinite; }
.radar i:nth-child(2) { animation-delay: 1.2s; }
.radar i:nth-child(3) { animation-delay: 2.4s; }
.radar b { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(34, 211, 238, .28), transparent 25%); animation: spin 3s linear infinite; }
@keyframes radar { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.play-big {
  position: relative; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 14px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .25), rgba(34, 211, 238, .25) 40%, rgba(139, 92, 246, .35));
  border: 1px solid rgba(34, 211, 238, .55); box-shadow: 0 0 30px rgba(34, 211, 238, .45), inset 0 0 20px rgba(139, 92, 246, .35);
  animation: orb 3s ease-in-out infinite;
}
.play-big::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 24px;
  border-color: transparent transparent transparent #fff; filter: drop-shadow(0 0 8px var(--cyan)); }
.soon-title { position: relative; margin: 0; font: 700 1.2rem var(--mono); letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(90deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.soon-sub { position: relative; margin: 0; color: var(--muted); font-size: .92rem; }
.soon-sub::after { content: "▍"; margin-left: 2px; color: var(--cyan); animation: blink 1s steps(1) infinite; }
@media (max-width: 600px) { .radar { width: 220px; height: 220px; } .play-big { width: 64px; height: 64px; } .play-big::after { left: 25px; top: 18px; border-width: 14px 0 14px 20px; } }

/* ---------------------------------------------------------------- final CTA */
.final-x { position: relative; text-align: center; margin-top: 90px; padding: 160px 20px 130px; }
.final-x p { color: var(--muted); font-size: 1.1rem; margin: 0 0 28px; }
.core { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; }
.core i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(34, 211, 238, .25); animation: ring 6s linear infinite; }
.core i:nth-child(2) { inset: 40px; border-color: rgba(139, 92, 246, .35); border-style: dashed; animation-duration: 10s; animation-direction: reverse; }
.core i:nth-child(3) { inset: 120px; border: 0; background: radial-gradient(circle, rgba(139, 92, 246, .45), transparent 70%); filter: blur(10px); animation: orb 4s ease-in-out infinite; }
@keyframes ring { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- reveal on scroll (scifi.js adds .js) */
.js .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s ease; transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
/* Hero: scroll er opor nirbhor na kore load hotei ashe */
.js .hero-x .reveal { opacity: 1; transform: none; filter: none; transition: none; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero-x .reveal:nth-child(2) { animation-delay: .08s; }
.js .hero-x .reveal:nth-child(3) { animation-delay: .16s; }
.js .hero-x .reveal:nth-child(4) { animation-delay: .24s; }
.js .hero-x .reveal:nth-child(5) { animation-delay: .32s; }
.js .hero-x .hud.reveal { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } }

/* ---------------------------------------------------------------- sign in pages */
.scifi .wrap.narrow { padding-top: 70px; padding-bottom: 80px; }
.scifi .card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.scifi .wrap.narrow .card::before {
  content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), var(--cyan), transparent 30%, var(--violet), transparent 70%, var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: border-turn 6s linear infinite;
}
.scifi input, .scifi select, .scifi textarea {
  background: rgba(5, 7, 20, .6); color: var(--text); border: 1px solid var(--border);
}
.scifi input:focus, .scifi select:focus, .scifi textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .18); outline: none; }
.scifi .btn { background: rgba(255, 255, 255, .04); border-color: var(--border); color: var(--text); }
.scifi .btn.primary { background: linear-gradient(90deg, var(--cyan), var(--violet)); color: var(--accent-ink); border: 0; box-shadow: var(--glow); }
.scifi .alert { background: var(--accent-soft); border-color: rgba(34, 211, 238, .3); color: var(--text); }
.scifi .alert.error { background: var(--danger-soft); border-color: rgba(255, 107, 129, .35); color: #ffd1d8; }
/* ---------------------------------------------------------------- footer */
.foot-x { position: relative; z-index: 1; margin-top: 56px; padding: 0; color: var(--muted); overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 20, .9) 160px); }
.foot-x::before { /* upore chomkano line */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), var(--pink), transparent); opacity: .6; }
.foot-glow { position: absolute; left: 50%; top: -160px; width: 640px; height: 280px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .28), transparent); }
.foot-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 48px 0 44px; padding: 28px 30px; border-radius: 20px; border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(34, 211, 238, .08), rgba(139, 92, 246, .1) 55%, rgba(236, 72, 153, .07)); }
.foot-cta .kicker { margin: 0 0 8px; }
.foot-cta h3 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2; color: var(--text); letter-spacing: -.01em; }
.foot-cta-go { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.foot-grid { position: relative; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.foot-brand p { max-width: 330px; line-height: 1.6; margin: 14px 0 16px; font-size: .95rem; }
.foot-keys { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; font: .78rem var(--mono); }
.foot-keys span { display: inline-flex; align-items: center; gap: 4px; }
.foot-keys kbd { min-width: 24px; padding: 3px 6px; border-radius: 6px; border: 1px solid var(--border); border-bottom-width: 2px;
  background: rgba(255, 255, 255, .04); color: var(--text); font: 600 .74rem var(--mono); text-align: center; }
.foot-keys kbd + kbd { margin-right: 4px; }
/* 2 column: Mac ar Windows upore, Android Mac er niche */
.foot-apps { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px; }
.foot-apps > a, .foot-apps > span { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 11px; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .03); color: var(--text) !important; text-decoration: none !important;
  transition: border-color .2s, background .2s, box-shadow .2s; }
.foot-apps a:hover { border-color: rgba(34, 211, 238, .5); background: rgba(34, 211, 238, .06); box-shadow: 0 0 18px rgba(34, 211, 238, .15); }
.foot-apps svg { width: 20px; height: 20px; }
.foot-apps > * > span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 600; font-size: .92rem; }
.foot-apps small { font: 500 .66rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.foot-col { display: flex; flex-direction: column; gap: 11px; font-size: .93rem; }
.foot-col h4 { margin: 0 0 6px; font: 700 .74rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.foot-col a { color: var(--muted); text-decoration: none; width: fit-content; position: relative; transition: color .2s; }
.foot-col a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); transition: width .25s; }
.foot-col a:hover { color: var(--text); }
.foot-col a:hover::after { width: 100%; }
.foot-contact { color: var(--text); font-weight: 600; word-break: break-word; }
.foot-note { font-size: .8rem; line-height: 1.5; max-width: 220px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding-top: 18px; padding-bottom: 28px;
  border-top: 1px solid var(--border); font: .78rem var(--mono); }
.foot-bottom .spacer { flex: 1; }
.foot-pay { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); }
.foot-pay i { width: 8px; height: 8px; border-radius: 50%; }
.foot-pay i.bk { background: #e2136e; box-shadow: 0 0 8px rgba(226, 19, 110, .6); }
.foot-pay i.ng { background: #f6921e; box-shadow: 0 0 8px rgba(246, 146, 30, .6); margin-left: 6px; }
.foot-top { color: var(--muted) !important; text-decoration: none !important; }
.foot-top:hover { color: var(--cyan) !important; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .foot-cta { padding: 22px 20px; margin-top: 36px; }
  .foot-cta-go, .foot-cta-go a { width: 100%; }
  .foot-cta-go .btn-neon span { width: 100%; text-align: center; }
  .foot-cta-go .btn-ghost { justify-content: center; text-align: center; }
  .foot-bottom { gap: 10px; }
  .foot-bottom .spacer { display: none; }
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hud-frame { transform: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-x { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .scifi .topbar .wrap { flex-wrap: nowrap; height: 56px; padding-top: 0; padding-bottom: 0; }
  .scifi .nav { gap: 10px; flex-wrap: nowrap; white-space: nowrap; margin-left: auto; width: auto; justify-content: flex-end; }
  .scifi .nav a { font-size: .86rem; }
  .scifi .nav .btn.sm { padding: 5px 9px; }
  .scifi .wordmark { font-size: 1.05rem; }
  .scifi .orb { width: 15px; height: 15px; margin-right: 7px; }
  .scifi .nav a[href="/#demo"] { display: none; }
  .hero-x { padding: 44px 0 90px; }
  .feat-grid, .steps-x { grid-template-columns: 1fr; }
  .beam { display: none; }
  .stat-x b { font-size: 1.6rem; }
  .cta > * { flex: 1 1 100%; justify-content: center; }
  .cta > .btn-neon span { width: 100%; text-align: center; }
  .core { width: 300px; height: 300px; }
  .final-x { overflow-x: clip; }
  .final-x { margin-top: 50px; padding: 120px 16px 100px; }
}

/* ---------------------------------------------------------------- less motion */
@media (prefers-reduced-motion: reduce) {
  .scifi *, .scifi *::before, .scifi *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .stars { display: none; }
}
.feat:hover::before { animation: border-turn 3s linear infinite; }

/* ---------------------------------------------------------------- sign in (login, code, naam, app, invite) */
.auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 440px); gap: 64px; align-items: center;
  min-height: calc(100vh - 140px); padding-top: 48px; padding-bottom: 64px; }
.auth-pitch h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.12; margin: 10px 0 26px; letter-spacing: -.02em; }
.auth-demo { position: relative; max-width: 470px; padding: 18px; border-radius: 18px; border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(34, 211, 238, .06), rgba(139, 92, 246, .06)); }
.auth-demo-row { padding: 12px 14px; border-radius: 12px; background: rgba(5, 7, 20, .55); border: 1px solid var(--border); }
.auth-demo-row p { margin: 6px 0 0; font: .95rem/1.5 var(--mono); color: var(--muted); }
.auth-demo-row.out { border-color: rgba(34, 211, 238, .35); box-shadow: 0 0 24px rgba(34, 211, 238, .12) inset; }
.auth-demo-row.out p { color: var(--text); font-family: inherit; font-size: 1rem; }
.auth-tag { font: 600 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.auth-demo-row.out .auth-tag { color: var(--cyan); }
.auth-demo-arrow { display: flex; justify-content: center; height: 26px; }
.auth-demo-arrow span { width: 2px; height: 100%; background: linear-gradient(var(--violet), var(--cyan)); position: relative; }
.auth-demo-arrow span::after { content: ""; position: absolute; bottom: -2px; left: -4px; border: 5px solid transparent; border-top-color: var(--cyan); }
.auth-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: .95rem; }
.auth-points b { display: inline-block; min-width: 46px; font: 700 .9rem var(--mono); color: var(--text); }

.auth-card { position: relative; padding: 34px 32px 28px; border-radius: 22px; border: 1px solid transparent;
  background: linear-gradient(rgba(9, 11, 28, .86), rgba(9, 11, 28, .86)) padding-box,
              linear-gradient(140deg, rgba(34, 211, 238, .65), rgba(139, 92, 246, .45) 45%, rgba(236, 72, 153, .4)) border-box;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 70px rgba(139, 92, 246, .16); }
.auth-orb { position: absolute; top: -15px; left: 32px; width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--cyan) 35%, var(--violet) 75%);
  box-shadow: 0 0 16px var(--cyan), 0 0 36px rgba(139, 92, 246, .7); animation: orb 4s ease-in-out infinite; }
.auth-card h1 { font-size: 1.55rem; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.01em; }
.auth-sub { margin: 0 0 20px; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.auth-sub strong { color: var(--text); }
.auth-card label { display: block; margin: 0 0 8px; font: 600 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.auth-card input[type=email], .auth-card input[type=text] { width: 100%; height: 50px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(5, 7, 20, .7); color: var(--text); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.auth-card input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .18), 0 0 24px rgba(34, 211, 238, .15); }
.auth-card input::placeholder { color: rgba(143, 151, 194, .55); }
.auth-field { position: relative; }
.auth-field svg { position: absolute; left: 15px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.auth-field input { padding-left: 44px !important; }
.auth-field:focus-within svg { color: var(--cyan); }
.auth-card .auth-code { height: 64px; text-align: center; font: 700 1.9rem/1 var(--mono); letter-spacing: .5em; padding-left: .5em; }
.auth-go { margin-top: 18px; }
.auth-go span { padding: 14px 18px; font-size: 1rem; }
.auth-card .alert { margin: 0 0 16px; }
.auth-fine { margin: 18px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.auth-links { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 0; font-size: .88rem; color: var(--muted); }
.auth-link { background: none; border: 0; padding: 0; color: var(--cyan); font: inherit; cursor: pointer; }
.auth-link:hover { text-decoration: underline; }
.auth-steps { list-style: none; display: flex; gap: 6px; margin: 0 0 22px; padding: 0; }
.auth-steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 2px solid var(--border);
  font: 600 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.auth-steps i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal;
  font-size: .68rem; border: 1px solid var(--border); }
.auth-steps li.on { color: var(--text); border-top-color: var(--cyan); }
.auth-steps li.on i { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 10px rgba(34, 211, 238, .4); }
.auth-steps li.done { color: var(--text); border-top-color: var(--violet); }
.auth-steps li.done i { background: var(--violet); border-color: var(--violet); color: #fff; }
.auth-badge { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 16px; border-radius: 16px;
  color: var(--cyan); border: 1px solid rgba(34, 211, 238, .4); background: rgba(34, 211, 238, .08); font-size: 1.5rem; font-weight: 700; }
.auth-badge svg { width: 26px; height: 26px; }
.auth-badge.ok { color: var(--lime); border-color: rgba(163, 230, 53, .45); background: rgba(163, 230, 53, .1); box-shadow: 0 0 24px rgba(163, 230, 53, .2); }
@media (max-width: 900px) {
  .auth { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 32px; gap: 0; }
  .auth-pitch { display: none; }
  .auth-card { max-width: 460px; width: 100%; margin: 0 auto; padding: 30px 22px 24px; }
}
.auth-tag em { font-style: normal; color: var(--text); opacity: .85; }
.auth-demo-row { min-height: 84px; }
.auth-demo-row.out { transition: opacity .35s, transform .35s; }
.auth-demo-row.out.hide { opacity: 0; transform: translateY(6px); }
.auth-demo-row p.typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px;
  vertical-align: -2px; background: var(--violet); animation: auth-blink .8s steps(1) infinite; }
@keyframes auth-blink { 50% { opacity: 0; } }
.auth-demo-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.auth-demo-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--border); transition: background .3s, width .3s; }
.auth-demo-dots i.on { width: 18px; border-radius: 3px; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
@media (max-width: 420px) { .foot-apps { grid-template-columns: 1fr; } }
