:root {
  --bg: #07080c;
  --panel: #10141c;
  --text: #f5f7f8;
  --muted: #8e99a6;
  --soft: #c9d2da;
  --line: rgba(245, 247, 248, 0.1);
  --mint: #b6ffd8;
  --mint-ink: #062117;
  --gold: #e4d2a8;
  --font: Manrope, "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(880px 420px at 88% -8%, rgba(182, 255, 216, 0.09), transparent 58%),
    radial-gradient(640px 360px at -12% 18%, rgba(182, 255, 216, 0.04), transparent 52%),
    var(--bg);
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(182, 255, 216, 0.28); }

.bar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 12, 0.78);
  border-bottom: 1px solid var(--line);
}
.bar-inner, .page {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}
.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}
.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.mark img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(182, 255, 216, 0.35);
}
.mark strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.22em;
  font-weight: 650;
}
.mark em {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.bar-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ghost {
  border: 0;
  background: transparent;
  color: var(--soft);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}
.ghost:hover { color: var(--mint); }
.lang {
  display: flex;
  gap: 2px;
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.lang a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 7px;
}
.lang a.on { color: var(--mint); }

.page { padding: 8px 0 72px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: end;
  padding: 58px 0 6px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 14em;
  font-size: clamp(46px, 5.5vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 500;
}
.lede {
  margin: 18px 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.facts li {
  color: var(--soft);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #0c1016;
  aspect-ratio: 16 / 10;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.frame img[data-ok] { opacity: 1; }
.frame figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.frame:has(img[data-ok]) figcaption { display: none; }

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 64px;
}
.plan {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 26px 26px 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}
.plan.featured {
  border-color: rgba(182, 255, 216, 0.42);
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(182, 255, 216, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(182, 255, 216, 0.05), rgba(255, 255, 255, 0.02));
}
.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.idx {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
}
.plan h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.badge {
  color: var(--mint-ink);
  background: var(--mint);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.price {
  margin: 22px 0 0;
  font-size: 68px;
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 500;
}
.term { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.note { margin: 8px 0 0; color: var(--gold); font-size: 13px; }
.buy {
  width: 100%;
  height: 48px;
  margin-top: auto;
  border-radius: 999px;
  border: 1px solid rgba(245, 247, 248, 0.16);
  background: transparent;
  font-weight: 650;
}
.plan.featured .buy {
  border: 0;
  background: var(--mint);
  color: var(--mint-ink);
}
.buy:hover { filter: brightness(1.06); }

.band { margin-top: 72px; }
.sec-head { margin-bottom: 14px; }
.sec-head h2 {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.shots .frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  box-shadow: none;
  border-radius: 16px;
}
.catalog { margin-top: 72px; }
.groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.group {
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.group h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.group p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.group p:last-child { margin-bottom: 0; }
.spec-en { display: none; }
body.is-en .spec-tr { display: none; }
body.is-en .spec-en { display: block; }
body.is-en .groups.spec-en { display: grid; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.steps b {
  display: block;
  margin-bottom: 8px;
  color: var(--mint);
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.steps span { font-size: 15px; }

.help {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.help h2 {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.help .lede { max-width: 52ch; font-size: 15px; }
.dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 16px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(245, 247, 248, 0.16);
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.dl:hover { border-color: var(--mint); color: var(--mint); }
.driver-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.driver-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 148px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.driver-item strong { font-size: 14px; font-weight: 650; }
.driver-item span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.driver-item > a, .vendor-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: auto;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}
.driver-item > a:hover, .vendor-links a:hover { border-color: var(--mint); color: var(--mint); }
.vendor-links { display: flex; gap: 6px; flex-wrap: wrap; }
.tip {
  margin: 16px 0 0;
  max-width: 68ch;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.5;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.foot strong { color: var(--soft); font-weight: 650; }

dialog {
  width: min(440px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
dialog::backdrop { background: rgba(4, 6, 10, 0.72); }
.sheet { padding: 22px 22px 18px; }
.sheet-top, .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sheet h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.icon-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  padding: 2px 4px;
}
.login-lead { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { color: var(--muted); font-size: 12px; letter-spacing: 0.04em; }
.field input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  padding: 0 14px;
}
.field input:focus, .buy:focus-visible, .ghost:focus-visible, .dl:focus-visible, .icon-btn:focus-visible, .copy:focus-visible, .lang a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}
input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: 0 0 0 1000px var(--bg) inset;
}
.rows { margin-top: 18px; display: grid; gap: 10px; }
.row {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.row span { color: var(--muted); }
.pay-amount {
  margin: 14px 0 0;
  font-size: 40px;
  letter-spacing: -0.05em;
  font-weight: 500;
}
.exact { margin: 8px 0 0; color: var(--gold); font-size: 13px; line-height: 1.45; }
.wallet, .key {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--mono);
  line-height: 1.45;
  word-break: break-all;
}
.wallet { font-size: 13px; }
.key { font-size: 16px; letter-spacing: 0.04em; text-align: center; }
.status, #key-box p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.copy {
  width: 100%;
  height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: 700;
}

@media (max-width: 860px) {
  .bar-inner, .page { width: min(1120px, calc(100% - 28px)); }
  .bar-inner { min-height: 0; flex-wrap: wrap; padding: 12px 0; }
  .bar-actions { width: 100%; justify-content: flex-start; }
  .lang { margin-left: auto; }
  .hero, .plans, .shots, .steps, .driver-grid, .groups { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; gap: 22px; align-items: start; }
  h1 { font-size: 42px; max-width: none; }
  .price { font-size: 56px; }
  .plan { min-height: 0; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .shots .frame { flex: 0 0 82%; scroll-snap-align: start; aspect-ratio: 16 / 10; }
  .field input { font-size: 16px; }
}
@media (max-width: 560px) {
  .bar-actions { gap: 0; }
  .ghost { padding: 8px; }
  .lang { margin-left: 4px; padding-left: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
