:root {
  --bg: #04060c;
  --bg-2: #070b16;
  --panel: rgba(10, 16, 30, 0.72);
  --line: rgba(0, 229, 255, 0.18);
  --accent: #00e5ff;
  --accent-dim: #0a9cc4;
  --accent-deep: #063b4f;
  --magenta: #ff2bd6;
  --green: #3ddc84;
  --danger: #ff5c39;
  --text: #d9eaff;
  --muted: #8ba3c7;
  --font-display: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #00131a; }

.container { width: min(1120px, 92%); margin-inline: auto; }

.scanlines {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, 0.12) 2px 4px);
  mix-blend-mode: multiply;
}

.grid-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; }

.grid-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 20%, transparent 75%);
}

.grid-floor {
  position: absolute; left: -25%; right: -25%; bottom: -10%; height: 55%;
  background:
    linear-gradient(rgba(0, 229, 255, 0.14) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.14) 1.5px, transparent 1.5px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: top center;
  mask-image: linear-gradient(to bottom, transparent, black 35%, black 80%, transparent);
  animation: floor-move 14s linear infinite;
  opacity: 0.5;
}

@keyframes floor-move { to { background-position: 0 56px, 56px 0; } }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0; transition: background 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  padding: 10px 0;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }

.brand-mark {
  font-family: var(--font-mono); font-size: 1rem; color: var(--accent);
  border: 1px solid var(--line); padding: 4px 8px; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  text-shadow: 0 0 8px var(--accent);
  animation: blink-mark 4s infinite;
}

@keyframes blink-mark { 0%, 88%, 100% { opacity: 1; } 90%, 94% { opacity: 0.2; } }

.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.12em; }
.brand-text i { color: var(--accent); font-style: normal; }

.auth-brand {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 2px 0 18px;
}

.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-links > a {
  color: var(--muted); text-decoration: none; font-weight: 600;
  text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.14em;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-links > a:hover { color: var(--accent); text-shadow: 0 0 12px var(--accent); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 2px; background: var(--accent); box-shadow: 0 0 8px var(--accent); transition: transform 0.3s, opacity 0.3s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { min-height: 100svh; display: flex; align-items: center; justify-content: center; position: relative; padding: 140px 0 80px; }

.hero-inner { text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.2em;
  color: var(--accent); border: 1px solid var(--line); padding: 8px 16px;
  background: rgba(0, 229, 255, 0.04);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse-dot 1.8s infinite; }

@keyframes pulse-dot { 50% { opacity: 0.3; transform: scale(0.7); } }

.glitch {
  position: relative;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.6rem, 8vw, 6rem); letter-spacing: 0.04em;
  line-height: 1.05; margin-top: 28px; user-select: none;
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.45), 0 0 90px rgba(0, 229, 255, 0.2);
}

.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; opacity: 0;
}

.glitch.glitching::before {
  opacity: 0.85; color: var(--magenta);
  animation: glitch-a 0.32s steps(2, end) infinite; z-index: -1;
}

.glitch.glitching::after {
  opacity: 0.85; color: var(--accent);
  animation: glitch-b 0.32s steps(2, end) infinite; z-index: -2;
}

@keyframes glitch-a {
  0% { transform: translate(-4px, 2px); clip-path: inset(10% 0 55% 0); }
  33% { transform: translate(3px, -2px); clip-path: inset(60% 0 8% 0); }
  66% { transform: translate(-2px, 1px); clip-path: inset(30% 0 40% 0); }
  100% { transform: translate(4px, -1px); clip-path: inset(80% 0 4% 0); }
}

@keyframes glitch-b {
  0% { transform: translate(4px, -2px); clip-path: inset(55% 0 15% 0); }
  33% { transform: translate(-3px, 2px); clip-path: inset(5% 0 70% 0); }
  66% { transform: translate(2px, -1px); clip-path: inset(40% 0 30% 0); }
  100% { transform: translate(-4px, 1px); clip-path: inset(15% 0 65% 0); }
}

.hero-tagline {
  margin-top: 22px; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem); letter-spacing: 0.08em; line-height: 1.4;
}

.neon { color: var(--accent); text-shadow: 0 0 18px rgba(0, 229, 255, 0.8); }

.hero-desc { max-width: 560px; margin: 18px auto 0; color: var(--muted); font-size: 1.12rem; }

.hero-actions { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); text-decoration: none; cursor: pointer;
  letter-spacing: 0.08em; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--accent); color: #00131a; font-weight: bold;
  padding: 16px 30px; font-size: 1rem;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 42px rgba(0, 229, 255, 0.6); background: #6df2ff; }

.btn-big { padding: 18px 38px; font-size: 1.05rem; }

.btn-small { padding: 10px 20px; font-size: 0.8rem; }

.btn-ghost {
  border: 1px solid var(--accent-dim); color: var(--accent);
  padding: 16px 30px; font-size: 1rem; background: rgba(0, 229, 255, 0.03);
}

.btn-ghost:hover { background: rgba(0, 229, 255, 0.1); box-shadow: 0 0 24px rgba(0, 229, 255, 0.25) inset; transform: translateY(-2px); }

.hero-stats {
  margin-top: 48px; display: flex; justify-content: center; gap: clamp(24px, 6vw, 72px);
  list-style: none;
}

.hero-stats li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); text-shadow: 0 0 14px rgba(0, 229, 255, 0.5); }
.hero-stats span { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 44px; border: 2px solid var(--accent-dim);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 8px;
}

.scroll-hint span { width: 4px; height: 9px; background: var(--accent); border-radius: 2px; animation: hint 1.6s infinite; box-shadow: 0 0 8px var(--accent); }

@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.section { padding: 110px 0; position: relative; }

.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: 0.06em;
  color: var(--accent); text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.section-sub { color: var(--muted); margin-top: 8px; font-size: 1.15rem; }

.card {
  background: var(--panel); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  backdrop-filter: blur(6px);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.card:hover { border-color: rgba(0, 229, 255, 0.55); box-shadow: 0 0 34px rgba(0, 229, 255, 0.12); transform: translateY(-4px); }

.features-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }

.feature-card { padding: 34px 28px 30px; position: relative; }

.card-tag {
  position: absolute; top: 0; right: 0; font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.16em; color: #00131a;
  background: var(--accent); padding: 4px 14px 4px 18px;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
}

.tag-soon { background: var(--magenta); color: #1a0016; }

.feature-icon { width: 54px; height: 54px; color: var(--accent); filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.6)); margin-bottom: 20px; }
.feature-icon svg { width: 100%; height: 100%; }

.feature-card h3 { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.08em; line-height: 1.35; margin-bottom: 12px; }

.feature-card p { color: var(--muted); font-size: 1.02rem; }

.feature-demo { margin-top: 22px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.8rem; }

.chip { border: 1px solid var(--line); padding: 4px 10px; color: var(--muted); }

.chip.active { color: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px rgba(0, 229, 255, 0.3); }

.arrow { color: var(--accent-dim); }

.form-demo { flex-direction: column; align-items: stretch; gap: 8px; }

.form-line { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 7px 12px; background: rgba(0, 0, 0, 0.3); }

.form-label { color: var(--accent-dim); }

.form-value { color: var(--text); overflow: hidden; white-space: nowrap; display: inline-block; }

.typed { animation: typing 3.2s steps(8) infinite; width: 8ch; }

@keyframes typing { 0% { width: 0; } 45%, 85% { width: 8ch; } 100% { width: 0; } }

.caret { width: 8px; height: 1em; background: var(--accent); animation: caret-blink 0.8s steps(1) infinite; }

@keyframes caret-blink { 50% { opacity: 0; } }

.roadmap { list-style: none; margin-top: 22px; font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); display: grid; gap: 8px; }

.guard-wrap { display: flex; align-items: center; gap: 14px; margin-top: 22px; }

.guard-code {
  font-family: var(--font-mono); font-size: 1.8rem; letter-spacing: 0.32em;
  color: var(--accent); text-shadow: 0 0 16px rgba(0, 229, 255, 0.55);
  border: 1px solid var(--line); padding: 8px 12px 8px 18px;
  background: rgba(0, 0, 0, 0.3);
}

.guard-timer { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }

.vac-list { margin-top: 22px; display: grid; gap: 8px; font-family: var(--font-mono); font-size: 0.82rem; }

.vac-row { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); padding: 6px 12px; background: rgba(0, 0, 0, 0.3); }

.vac-row span { color: var(--muted); }
.vac-row b { font-weight: normal; letter-spacing: 0.1em; }

.vac-row.ok b { color: var(--green); text-shadow: 0 0 8px rgba(61, 220, 132, 0.5); }

.vac-row.warn { border-color: rgba(255, 92, 57, 0.4); }
.vac-row.warn b { color: var(--danger); text-shadow: 0 0 8px rgba(255, 92, 57, 0.5); }

.guard-live {
  margin: 40px auto 0; display: inline-flex; flex-direction: column; gap: 10px;
  border: 1px solid var(--line); background: rgba(5, 9, 18, 0.7);
  padding: 16px 22px; min-width: min(320px, 80vw);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.gl-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.22em; color: var(--muted); }

.gl-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }

.gl-code {
  font-family: var(--font-mono); font-size: 2rem; letter-spacing: 0.3em;
  color: var(--accent); text-shadow: 0 0 18px rgba(0, 229, 255, 0.6);
}

.gl-code.flick { animation: code-flick 0.3s steps(3) 1; }

@keyframes code-flick {
  0% { opacity: 1; transform: translateX(0); }
  33% { opacity: 0.2; transform: translateX(-3px); }
  66% { opacity: 0.7; transform: translateX(3px); }
  100% { opacity: 1; transform: none; }
}

.gl-timer { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.12em; }

.gl-bar { height: 4px; background: rgba(0, 229, 255, 0.12); overflow: hidden; }

.gl-bar i { display: block; height: 100%; width: 100%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.compare-wrap { margin-top: 56px; overflow-x: auto; border: 1px solid var(--line); }

.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-family: var(--font-mono); font-size: 0.86rem; }

.compare th, .compare td { padding: 13px 18px; border-bottom: 1px solid rgba(0, 229, 255, 0.09); text-align: center; white-space: nowrap; }

.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

.compare thead th { font-family: var(--font-display); letter-spacing: 0.18em; font-size: 0.85rem; color: var(--text); background: rgba(0, 229, 255, 0.05); padding: 16px 18px; }

.compare tbody th { text-align: left; color: var(--muted); font-weight: normal; letter-spacing: 0.06em; }

.compare td { color: var(--text); }

.compare .hl { background: rgba(0, 229, 255, 0.07); color: var(--accent); }

.compare td.yes { color: var(--green); text-shadow: 0 0 8px rgba(61, 220, 132, 0.45); }

.compare td.no { color: rgba(139, 163, 199, 0.35); }

.reviews-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }

.review-card { padding: 30px 26px; display: flex; flex-direction: column; gap: 16px; }

.stars { color: var(--accent); letter-spacing: 0.25em; text-shadow: 0 0 12px rgba(0, 229, 255, 0.55); font-size: 0; }
.stars::before { content: "★★★★★"; font-size: 0.95rem; }

.review-text { color: var(--text); font-size: 1.02rem; line-height: 1.65; flex-grow: 1; }

.review-card footer { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(0, 229, 255, 0.12); padding-top: 14px; }

.review-name { font-family: var(--font-mono); color: var(--accent); font-size: 0.88rem; letter-spacing: 0.08em; }

.review-meta { font-family: var(--font-mono); color: var(--muted); font-size: 0.72rem; letter-spacing: 0.1em; }

.container-narrow { max-width: 780px; }

.log-list { margin-top: 44px; display: grid; gap: 18px; }

.log-entry { padding: 24px 26px; }

.log-entry header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-family: var(--font-mono); }

.log-ver { font-size: 1.15rem; color: var(--accent); letter-spacing: 0.1em; text-shadow: 0 0 10px rgba(0, 229, 255, 0.45); }

.log-tag { font-size: 0.62rem; letter-spacing: 0.18em; background: var(--green); color: #04160b; padding: 3px 10px; clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%); }

.log-entry time { margin-left: auto; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.1em; }

.log-entry ul { list-style: none; display: grid; gap: 7px; color: var(--muted); font-size: 0.95rem; }

.log-entry li::before { content: "> "; color: var(--accent-dim); }

.faq-item { padding: 0; margin-bottom: 16px; }

.faq-item summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 26px; font-family: var(--font-display); font-weight: 500;
  font-size: 1rem; letter-spacing: 0.06em; transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--accent); }

.faq-icon { font-family: var(--font-mono); color: var(--accent); font-size: 1.3rem; transition: transform 0.25s; }

.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-item p { padding: 0 26px 22px; color: var(--muted); line-height: 1.7; }

.tg-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px;
  color: var(--accent); text-decoration: none; font-family: var(--font-mono);
  font-size: 0.88rem; letter-spacing: 0.08em; border: 1px solid var(--line);
  padding: 11px 20px; transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.tg-link svg { width: 18px; height: 18px; filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.6)); }

.tg-link:hover { border-color: var(--accent); background: rgba(0, 229, 255, 0.08); box-shadow: 0 0 22px rgba(0, 229, 255, 0.2); }

.chat { padding: 0; overflow: hidden; display: flex; flex-direction: column; }

.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 0.85rem;
  letter-spacing: 0.18em; color: var(--accent);
  background: rgba(0, 229, 255, 0.04);
}

.chat-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
  animation: pulse-dot 1.8s infinite;
}

.chat-status { margin-left: auto; font-family: var(--font-mono); font-weight: normal; font-size: 0.68rem; letter-spacing: 0.14em; color: var(--muted); }

.chat-log {
  height: 360px; overflow-y: auto; padding: 20px;
  display: grid; gap: 12px; align-content: start; scroll-behavior: smooth;
}

.chat-log::-webkit-scrollbar { width: 8px; }
.chat-log::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.3); }
.chat-log::-webkit-scrollbar-thumb { background: rgba(0, 229, 255, 0.3); }

.msg {
  max-width: 85%; padding: 12px 16px; line-height: 1.55;
  font-size: 0.98rem; white-space: pre-wrap; word-break: break-word;
}

.msg.bot {
  justify-self: start; color: var(--text);
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-left: 3px solid var(--accent);
}

.msg.user {
  justify-self: end; color: var(--text);
  background: rgba(123, 97, 255, 0.08);
  border: 1px solid rgba(123, 97, 255, 0.3);
  border-right: 3px solid #7b61ff;
}

.msg.typing { display: flex; gap: 6px; padding: 16px; }

.msg.typing i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); animation: typing-dot 1s infinite;
}

.msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.msg.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-dot { 40% { transform: translateY(-5px); opacity: 0.4; } }

.chat-form {
  display: flex; gap: 12px; padding: 16px 20px;
  border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.25);
}

.chat-form input {
  flex: 1; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line);
  color: var(--text); font-family: var(--font-mono); font-size: 0.95rem;
  padding: 12px 16px; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-form input:focus { border-color: var(--accent); box-shadow: 0 0 14px rgba(0, 229, 255, 0.2); }

.chat-form input::placeholder { color: rgba(139, 163, 199, 0.5); }

.chat-form .btn[disabled] { opacity: 0.5; pointer-events: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(2, 4, 9, 0.94);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}

.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox figure {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  transform: scale(0.94); transition: transform 0.25s ease;
  max-width: 90vw;
}

.lightbox.open figure { transform: scale(1); }

.lightbox img {
  max-width: 88vw; max-height: 80vh; object-fit: contain;
  border: 1px solid rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.2);
}

.lightbox figcaption {
  font-family: var(--font-mono); font-size: 0.85rem;
  letter-spacing: 0.12em; color: var(--muted);
}

.lb-close, .lb-nav {
  position: fixed; z-index: 101; background: rgba(5, 9, 18, 0.8);
  border: 1px solid var(--line); color: var(--accent);
  font-size: 1.4rem; cursor: pointer; padding: 10px 16px;
  font-family: var(--font-mono); transition: background 0.2s, box-shadow 0.2s;
}

.lb-close:hover, .lb-nav:hover { background: rgba(0, 229, 255, 0.12); box-shadow: 0 0 18px rgba(0, 229, 255, 0.25); }

.lb-close { top: 20px; right: 24px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(2, 4, 9, 0.85);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}

.modal-backdrop.open { opacity: 1; pointer-events: auto; }

.modal {
  width: min(460px, 94vw); max-height: 92vh; overflow-y: auto;
  padding: 34px 30px 28px; position: relative;
  background: rgba(7, 11, 22, 0.97);
  transform: translateY(24px); transition: transform 0.3s ease;
}

.modal-backdrop.open .modal { transform: none; }

.modal-close {
  position: absolute; top: 12px; right: 14px; background: none;
  border: 0; color: var(--muted); font-size: 1.7rem; cursor: pointer;
  line-height: 1; transition: color 0.2s, text-shadow 0.2s;
}

.modal-close:hover { color: var(--accent); text-shadow: 0 0 12px var(--accent); }

.modal-badge {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.22em;
  color: var(--green); margin-bottom: 14px;
}

.modal h3 {
  font-family: var(--font-display); font-size: 1.5rem;
  letter-spacing: 0.08em; margin-bottom: 22px;
}

.modal h3 span { color: var(--accent); text-shadow: 0 0 14px rgba(0, 229, 255, 0.5); }

.order-summary { margin-bottom: 24px; }

.order-row {
  display: flex; justify-content: space-between; padding: 11px 4px;
  border-bottom: 1px dashed rgba(0, 229, 255, 0.15);
  font-family: var(--font-mono); font-size: 0.9rem;
}

.order-row span { color: var(--muted); }
.order-row b { color: var(--text); font-weight: normal; }
.order-row.total b { color: var(--accent); text-shadow: 0 0 10px rgba(0, 229, 255, 0.4); }

.order-label {
  display: block; font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.2em; color: var(--muted); margin-bottom: 8px;
}

#orderEmail {
  width: 100%; background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line); color: var(--text);
  font-family: var(--font-mono); font-size: 0.95rem;
  padding: 13px 16px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#orderEmail:focus { border-color: var(--accent); box-shadow: 0 0 14px rgba(0, 229, 255, 0.2); }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.order-error {
  font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--danger); margin-top: 12px;
}

#orderSubmit { width: 100%; justify-content: center; margin-top: 20px; }

.order-secure {
  margin-top: 18px; font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.06em; color: var(--muted); line-height: 1.6;
}

.order-alt { margin-top: 12px; font-size: 0.92rem; color: var(--muted); text-align: center; }

.order-alt a { color: var(--accent); text-decoration: none; }
.order-alt a:hover { text-shadow: 0 0 10px var(--accent); }

.done-check {
  width: 84px; height: 84px; margin: 8px auto 22px;
  border: 2px solid var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); box-shadow: 0 0 30px rgba(61, 220, 132, 0.35);
  animation: done-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 1;
}

.done-check svg { width: 44px; height: 44px; }

@keyframes done-pop {
  0% { transform: scale(0.3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

#orderStepDone { text-align: center; }

.order-done-msg { color: var(--muted); margin: 14px 0 26px; line-height: 1.6; }
.order-done-msg b { color: var(--accent); }

.done-actions { display: flex; flex-direction: column; gap: 12px; }
.done-actions .btn { justify-content: center; width: 100%; }

.nav-auth {
  color: var(--muted); text-decoration: none; font-weight: 600;
  text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.14em;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-auth:hover { color: var(--accent); text-shadow: 0 0 12px var(--accent); }

.nav-auth.logged-in {
  color: var(--green); border: 1px solid rgba(61, 220, 132, 0.35);
  padding: 6px 14px; font-family: var(--font-mono); text-transform: none;
  font-size: 0.8rem; letter-spacing: 0.06em;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.nav-auth.logged-in:hover { text-shadow: 0 0 12px var(--green); }

.auth-tabs {
  display: flex; gap: 8px; margin-bottom: 26px;
  border: 1px solid var(--line); padding: 5px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.auth-tab {
  flex: 1; background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.14em;
  color: var(--muted); padding: 11px 0; transition: color 0.2s, background 0.2s;
}

.auth-tab.active { background: rgba(0, 229, 255, 0.12); color: var(--accent); text-shadow: 0 0 10px rgba(0, 229, 255, 0.5); }

#authEmail, #authPass {
  width: 100%; background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line); color: var(--text);
  font-family: var(--font-mono); font-size: 0.95rem;
  padding: 13px 16px; outline: none; margin-bottom: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#authEmail:focus, #authPass:focus { border-color: var(--accent); box-shadow: 0 0 14px rgba(0, 229, 255, 0.2); }

#authForm .order-label { margin-top: 4px; }

#authSubmit { width: 100%; justify-content: center; margin-top: 8px; }

.auth-note { margin-top: 18px; font-size: 0.92rem; color: var(--muted); text-align: center; line-height: 1.5; }
.auth-note b { color: var(--accent); }

.auth-code-info {
  text-align: center; color: var(--muted); line-height: 1.7;
  margin-bottom: 20px; font-size: 0.98rem;
}

.auth-code-info b { color: var(--accent); word-break: break-all; }

#authCode {
  width: 100%; text-align: center; letter-spacing: 0.55em;
  background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line);
  color: var(--accent); font-family: var(--font-mono); font-size: 1.9rem;
  padding: 14px 0 14px 0.55em; outline: none; margin-bottom: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#authCode:focus { border-color: var(--accent); box-shadow: 0 0 18px rgba(0, 229, 255, 0.25); }

#codeSubmit, #codeResend { width: 100%; justify-content: center; margin-top: 10px; }

.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 80px);
  z-index: 110; background: rgba(7, 11, 22, 0.97);
  border: 1px solid rgba(61, 220, 132, 0.5);
  color: var(--text); font-family: var(--font-mono); font-size: 0.88rem;
  padding: 14px 24px; max-width: 90vw; text-align: center;
  box-shadow: 0 0 30px rgba(61, 220, 132, 0.2);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  opacity: 0; transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

.toast.show { transform: translate(-50%, 0); opacity: 1; }

.shots { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }

.shot-frame {
  border: 1px dashed rgba(0, 229, 255, 0.35); background: rgba(5, 9, 18, 0.8);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  transition: border-color 0.25s, box-shadow 0.25s;
}

.shot:hover .shot-frame { border-color: var(--accent); box-shadow: 0 0 30px rgba(0, 229, 255, 0.15); }

.shot-bar {
  display: flex; align-items: center; gap: 6px; padding: 9px 12px;
  border-bottom: 1px solid var(--line); font-family: var(--font-mono);
  font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em;
}

.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.shot-bar i:first-child { background: var(--magenta); opacity: 0.7; }
.shot-bar i:nth-child(2) { background: var(--accent-dim); opacity: 0.7; }
.shot-bar i:nth-child(3) { background: var(--accent); opacity: 0.7; }
.shot-bar span { margin-left: auto; }

.shot-placeholder { aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; }

.shot-brackets { font-family: var(--font-mono); color: var(--accent); font-size: 1.6rem; letter-spacing: 0.3em; text-shadow: 0 0 14px rgba(0, 229, 255, 0.6); }

.shot-placeholder p { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.18em; color: var(--muted); }

.shot-placeholder code { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent-dim); }

.shot-frame img {
  display: none; width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
}

.shot-frame.has-img img { display: block; }

.shot-frame.has-img .shot-placeholder { display: none; }
.shot-frame.has-img { border-style: solid; border-color: rgba(0, 229, 255, 0.55); }

figcaption { margin-top: 12px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em; text-align: center; }

.logo-frame {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 10; border-style: solid;
  border-color: rgba(0, 229, 255, 0.35);
  background:
    radial-gradient(ellipse at 50% 60%, rgba(0, 229, 255, 0.1), transparent 65%),
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 30px 30px, 30px 30px;
}

.sa-logo { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.sa-mark {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.2rem, 7vw, 5rem); letter-spacing: 0.06em; line-height: 1;
  background: linear-gradient(135deg, #8df6ff 10%, #00c8ff 45%, #0077ff 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(0, 229, 255, 0.45));
}

.sa-smile {
  font-family: var(--font-mono); color: var(--accent); font-size: 1.1rem;
  letter-spacing: 0.4em; text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}

.sa-name {
  font-family: var(--font-mono); color: var(--muted); font-size: 0.72rem;
  letter-spacing: 0.3em; margin-top: 4px;
}

.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; list-style: none; counter-reset: step; }

.step { padding: 34px 28px; position: relative; }

.step-num {
  font-family: var(--font-display); font-weight: 900; font-size: 2.6rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
  text-shadow: none; opacity: 0.85;
}

.step h3 { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.08em; margin: 16px 0 10px; }

.step p { color: var(--muted); }

.payment-paused {
  margin-top: 34px; padding: 24px 26px; text-align: center;
  border: 1px solid rgba(255, 43, 214, 0.42);
  background: rgba(255, 43, 214, 0.055);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.payment-paused-tag {
  display: block; color: var(--magenta); font-family: var(--font-mono);
  font-size: 0.78rem; letter-spacing: 0.13em; text-shadow: 0 0 12px rgba(255, 43, 214, 0.4);
}

.payment-paused p { margin: 9px 0 17px; color: var(--muted); }
.payment-paused .btn { justify-content: center; }

.pricing-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; align-items: stretch; }

.price-card { padding: 38px 30px 34px; text-align: center; display: flex; flex-direction: column; position: relative; }

.pricing-grid-disabled .price-card {
  filter: grayscale(1); opacity: 0.52; cursor: not-allowed;
  border-color: rgba(139, 163, 199, 0.18); box-shadow: none;
}

.pricing-grid-disabled .price-card:hover {
  transform: none; border-color: rgba(139, 163, 199, 0.24); box-shadow: none;
}

.btn-disabled {
  justify-content: center; width: 100%; padding: 16px 20px;
  color: rgba(217, 234, 255, 0.52); border: 1px solid rgba(139, 163, 199, 0.25);
  background: rgba(139, 163, 199, 0.055); cursor: not-allowed; pointer-events: none;
}

.price-featured { border-color: rgba(0, 229, 255, 0.6); box-shadow: 0 0 40px rgba(0, 229, 255, 0.14); padding-top: 58px; }

.badge-pop {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em;
  background: var(--magenta); color: #1a0016; padding: 5px 16px;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
  box-shadow: 0 0 18px rgba(255, 43, 214, 0.45); white-space: nowrap;
}

.tier-name { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.3em; color: var(--muted); font-size: 0.9rem; }

.price-featured .tier-name { color: var(--accent); text-shadow: 0 0 12px rgba(0, 229, 255, 0.6); }

.price { margin: 18px 0 6px; font-family: var(--font-display); font-weight: 900; font-size: 3.4rem; color: var(--text); line-height: 1; }

.price sup { font-size: 1.4rem; color: var(--accent); vertical-align: super; margin-right: 2px; }

.price span { display: block; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; color: var(--muted); margin-top: 8px; text-transform: uppercase; }

.tier-list { list-style: none; margin: 26px 0 30px; display: grid; gap: 11px; font-family: var(--font-mono); font-size: 0.86rem; text-align: left; padding-left: 8px; flex-grow: 1; }

.tier-list li::before { content: "> "; color: var(--accent-dim); }

.tier-list li.ok { color: var(--text); }
.tier-list li.ok::before { content: "[+] "; color: var(--accent); text-shadow: 0 0 8px rgba(0, 229, 255, 0.5); }

.tier-list li.off { color: rgba(139, 163, 199, 0.45); }
.tier-list li.off::before { content: "[-] "; }

.price-card .btn { justify-content: center; width: 100%; }

.pricing-note { margin-top: 34px; text-align: center; font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.1em; color: var(--accent-dim); }
.pricing-note a { color: var(--accent); text-decoration: none; }
.pricing-note a:hover { text-decoration: underline; text-shadow: 0 0 10px var(--accent); }

.cta-section { padding-bottom: 130px; }

.cta { padding: clamp(40px, 7vw, 80px) clamp(24px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; }

.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 120%, rgba(0, 229, 255, 0.14), transparent 60%);
}

.cta h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.7rem, 5vw, 3rem); letter-spacing: 0.05em; }

.cursor-blink { color: var(--accent); animation: caret-blink 0.9s steps(1) infinite; }

.cta p { color: var(--muted); margin-top: 14px; font-size: 1.15rem; }

.cta .btn-download { margin-top: 34px; }

.cta-meta { margin-top: 20px; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; color: var(--muted); }

.footer { border-top: 1px solid var(--line); padding: 44px 0 52px; background: rgba(4, 6, 12, 0.9); }

.footer-inner { text-align: center; display: grid; gap: 8px; }

.footer p { color: var(--muted); font-size: 0.95rem; }

.copy { font-family: var(--font-mono); font-size: 0.75rem !important; letter-spacing: 0.1em; margin-top: 8px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }

.reveal.visible { opacity: 1; transform: none; }

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

@media (max-width: 780px) {
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100svh; width: min(300px, 78vw);
    flex-direction: column; justify-content: center; gap: 34px;
    background: rgba(4, 6, 12, 0.96); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform 0.35s ease;
  }
  .nav-open .nav-links { transform: none; }
  .burger { display: flex; z-index: 61; position: relative; }
  .section { padding: 80px 0; }
  .hero-stats { gap: 28px; }
}

/* ── EULA / legal ─────────────────────────────────────────────────────── */
.tos-row {
  display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 6px;
  font-size: 0.85rem; color: var(--muted); line-height: 1.45; cursor: pointer; text-align: left;
}
.tos-row input, .acc-tos input { margin-top: 3px; accent-color: var(--accent); cursor: pointer; flex: 0 0 auto; }
.tos-row a, .auth-legal a, .cta-legal a, .acc-tos a { color: var(--accent); text-decoration: none; }
.tos-row a:hover, .auth-legal a:hover, .cta-legal a:hover, .acc-tos a:hover { text-decoration: underline; }
.auth-legal { margin-top: 12px; font-size: 0.74rem; color: var(--muted); opacity: 0.85; text-align: center; line-height: 1.5; }
.cta-legal { margin: 16px auto 0; font-size: 0.8rem; color: var(--muted); line-height: 1.5; max-width: 620px; }
.acc-tos {
  display: flex; gap: 8px; align-items: flex-start; font-size: 0.8rem;
  color: var(--muted); line-height: 1.4; cursor: pointer;
}

/* ── license.html ─────────────────────────────────────────────────────── */
.legal-main { position: relative; z-index: 2; padding: 130px 0 70px; }
.legal-box { max-width: 900px; margin: 0 auto; padding: 42px 46px; }
.legal-back { font-family: var(--font-mono); color: var(--accent); text-decoration: none; font-size: 0.9rem; }
.legal-back:hover { text-decoration: underline; }
.legal-title {
  font-family: var(--font-display); font-size: clamp(1.3rem, 3.2vw, 1.9rem);
  color: var(--accent); margin: 18px 0 6px; letter-spacing: 0.06em; line-height: 1.3;
}
.legal-updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); margin-bottom: 26px; }
.legal-lead { font-size: 1rem; line-height: 1.65; margin-bottom: 22px; }
.legal-box h2 {
  font-family: var(--font-display); font-size: 1rem; color: var(--text);
  margin: 30px 0 10px; letter-spacing: 0.05em;
}
.legal-box p { font-size: 0.98rem; line-height: 1.65; color: var(--text); }
.legal-box b { color: var(--accent); }
.legal-list { margin: 10px 0 10px 22px; font-size: 0.98rem; line-height: 1.7; }
.legal-list li { margin-bottom: 6px; }
.legal-list li::marker { color: var(--accent); }
.legal-accept {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent);
}
.footer .copy a { color: var(--accent); text-decoration: none; }
.footer .copy a:hover { text-decoration: underline; }

.auth-or {
  display: flex; align-items: center; gap: 12px; margin: 18px 0 12px;
  color: var(--muted); font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.google-wrap { display: flex; justify-content: center; margin-bottom: 6px; }
@media (max-width: 640px) {
  .legal-main { padding: 100px 0 50px; }
  .legal-box { padding: 28px 20px; }
}
