:root {
  --bg: #000;
  --card: #111;
  --line: #222;
  --text: #fff;
  --mute: #9a9a9a;
  --mint: #12d4b0;
  --cream: #f4e7a3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #020305;
  color: var(--text);
  font-family: Inter, "Segoe UI", sans-serif;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(18, 212, 176, 0.10), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(244, 231, 163, 0.05), transparent 45%),
    #020305;
}
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  mix-blend-mode: screen;
}
.a1 {
  width: 520px; height: 520px; left: -120px; top: 80px;
  background: #0f6f63;
  animation: drift 22s ease-in-out infinite;
}
.a2 {
  width: 640px; height: 420px; right: -160px; top: -40px;
  background: #12d4b0;
  animation: drift 28s ease-in-out infinite reverse;
}
.a3 {
  width: 480px; height: 480px; left: 35%; bottom: -180px;
  background: #1a3a5c;
  animation: drift 26s ease-in-out infinite 2s;
}
.dust {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 8% 18%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 22% 72%, rgba(18,212,176,.7), transparent),
    radial-gradient(1px 1px at 41% 28%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 63% 61%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 78% 16%, rgba(244,231,163,.45), transparent),
    radial-gradient(1px 1px at 91% 44%, rgba(18,212,176,.55), transparent),
    radial-gradient(1px 1px at 14% 88%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 52% 8%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 33% 48%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.5px 1.5px at 71% 82%, rgba(18,212,176,.5), transparent),
    radial-gradient(1px 1px at 86% 70%, rgba(244,231,163,.4), transparent);
  animation: twinkle 8s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.12); }
}
@keyframes twinkle {
  0%, 100% { opacity: .35; }
  50% { opacity: .8; }
}

.nav, .hero, .plans-sec, .howto, .faq, .activate, .result, .why, .compare, .check, .support-sec, .legal-wrap, footer {
  position: relative;
  z-index: 1;
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}
.brand img { width: 34px; height: 34px; }
.nav nav { display: flex; gap: 22px; margin-left: 12px; }
.nav nav a { color: #cfcfcf; text-decoration: none; font-size: 14px; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 4px; }
.lang button {
  border: 0; background: transparent; color: #888; font-weight: 700; cursor: pointer;
}
.lang button.active { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 18px; border-radius: 999px;
  text-decoration: none; font-weight: 700; border: 0; cursor: pointer; font-size: 14px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--cream); color: #111; }
.btn-light:hover { box-shadow: 0 10px 28px rgba(244, 231, 163, .28); }
.btn-ghost { background: #171717; color: #fff; }
.btn-ghost:hover { background: #222; }
.btn.wide { width: 100%; height: 52px; margin-top: 16px; }
.nav nav a { transition: color .2s ease; }
.nav nav a:hover { color: #fff; }
.lang button { transition: color .2s ease; }

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 40px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
h1 { font-size: 64px; line-height: 1.05; letter-spacing: -.03em; margin: 0 0 18px; font-weight: 600; }
.lead { color: var(--mute); font-size: 18px; max-width: 520px; line-height: 1.5; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.orb {
  width: 220px; height: 220px; margin: 0 auto;
  background: transparent;
  display: grid; place-items: center;
  position: relative;
}
.orb img {
  width: 180px; height: 180px; border-radius: 36px;
  animation: floatLogo 5.5s ease-in-out infinite;
  box-shadow: 0 20px 50px rgba(18, 212, 176, .18);
}
.orb-ring {
  position: absolute;
  width: 210px; height: 210px;
  border-radius: 48px;
  border: 1px solid rgba(18, 212, 176, .22);
  animation: ringPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.plans-sec, .howto, .faq, .activate, .result, .why, .compare, .check {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 16px;
  min-height: 180px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: #2a2a2a;
  box-shadow: 0 16px 40px rgba(18, 212, 176, .08);
}
.why-card .ico { font-size: 22px; margin-bottom: 10px; }
.why-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.why-card p { margin: 0; color: var(--mute); font-size: 13px; line-height: 1.45; }
.cmp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cmp-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 22px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cmp-col:hover { transform: translateY(-4px); }
.cmp-col.pro {
  border-color: var(--cream);
  box-shadow: 0 0 0 1px rgba(244, 231, 163, .08);
}
.cmp-col h3 { margin: 0 0 14px; font-size: 22px; }
.cmp-col ul { margin: 0; padding-left: 18px; color: var(--mute); }
.cmp-col li { margin: 8px 0; }
.cmp-col.pro li { color: #e8e8e8; }
.status-card {
  text-align: left;
  background: #0d0d0d;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 0 0 16px;
  min-height: 72px;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.5;
}
.status-card .mono { color: var(--mint); font-family: Consolas, monospace; word-break: break-all; }
.status-card .ok { color: var(--mint); }
.status-card .bad { color: #fda4af; }
.status-card .live { color: #34d399; font-weight: 700; }
.check-box { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.check-box input {
  flex: 1;
  min-width: 220px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0d0d0d;
  color: var(--mint);
  padding: 0 16px;
  font-size: 16px;
}
.lead-ok { color: var(--mute); margin: 0 0 16px; }
.okbox { text-align: left; }
.ok-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #1c1c1c;
  color: var(--mute);
}
.ok-row:last-child { border-bottom: 0; }
.ok-row code, .ok-row b { color: #fff; }
.ok-row .live { color: #34d399; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
h2 { font-size: 36px; margin: 0 0 10px; font-weight: 600; }
.sub { color: var(--mute); margin: 0 0 28px; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 18px;
  min-height: 260px;
  cursor: pointer;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.plan:hover { transform: translateY(-6px); }
.plan.selected {
  border-color: var(--cream);
  box-shadow: 0 12px 36px rgba(244, 231, 163, .12);
}
.plan .tag { color: var(--mint); font-size: 12px; font-weight: 800; }
.plan .name { font-size: 22px; margin: 10px 0 8px; }
.plan .price { font-size: 32px; font-weight: 700; }
.plan .old { color: #666; text-decoration: line-through; font-size: 14px; margin-left: 6px; }
.plan .per { color: var(--mute); margin-top: 8px; font-size: 13px; }

.activate, .result { text-align: center; max-width: 640px; }
.activate img, .result img { width: 56px; height: 56px; margin-bottom: 12px; }
.lbl { display: block; text-align: left; color: var(--mute); font-size: 13px; margin-bottom: 8px; }
#hwidInput, .check-box input, #hwidInput:focus, .check-box input:focus {
  outline: none;
}
#hwidInput {
  width: 100%; height: 54px; border: 1px solid var(--line); border-radius: 16px;
  background: #0d0d0d; color: var(--mint); padding: 0 16px; font-size: 16px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
#hwidInput:focus, .check-box input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(18, 212, 176, .15);
}
.check-box input { transition: border-color .25s ease, box-shadow .25s ease; }
.note { min-height: 18px; font-size: 13px; color: var(--mute); text-align: left; }
.note.bad { color: #fda4af; }
.note.ok { color: var(--mint); }
.fine { color: #666; font-size: 13px; }
.pay-box { margin-top: 22px; text-align: left; }
.pay-wait { color: var(--cream); font-weight: 700; margin: 0 0 12px; }
.pay-box code { cursor: pointer; }
.okbox { background: var(--card); border-radius: 16px; padding: 14px; color: var(--mint); margin: 16px 0; }

.howto { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: center; }
.howto ol { color: var(--mute); padding-left: 18px; }
.howto li { margin: 10px 0; }
.menu { background: #f5f5f5; color: #111; border-radius: 24px; padding: 18px; }
.menu-top { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 12px; }
.menu-top img { width: 28px; height: 28px; }
.menu-line { padding: 12px 0; border-bottom: 1px solid #e6e6e6; font-weight: 700; }
.menu-id { margin-top: 14px; }
.menu-id small { color: #777; }
.menu-id div { margin-top: 8px; background: #ececec; border-radius: 12px; padding: 12px; color: #0f9d82; font-weight: 800; }

.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-size: 18px; }
.faq p { color: var(--mute); }

footer {
  max-width: 1180px; margin: 0 auto; padding: 28px 24px 48px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px; color: #777; border-top: 1px solid #161616;
}
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
footer a { color: #aaa; text-decoration: none; margin-left: 16px; }
.codeword {
  width: 100%; text-align: center; margin-top: 8px;
  color: #555; font-size: 12px; letter-spacing: .22em;
}
.support-sec { max-width: 1180px; margin: 0 auto; padding: 28px 24px 12px; }
.support-sec h2 { margin-bottom: 8px; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.support-card {
  display: block; background: var(--card); border-radius: 16px; padding: 18px;
  color: #fff; text-decoration: none; border: 1px solid var(--line);
}
.support-card small { display: block; color: var(--mute); margin-bottom: 8px; }
.support-card b { color: var(--mint); font-size: 16px; word-break: break-all; }
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 12px 24px 80px; }
.legal-wrap h1 { font-size: 32px; margin: 8px 0 10px; }
.legal-wrap h2 { font-size: 20px; margin: 28px 0 10px; }
.legal-wrap p, .legal-wrap li { color: var(--mute); line-height: 1.65; }
.legal-wrap ul { padding-left: 18px; }
.legal-prices { background: var(--card); border-radius: 16px; padding: 16px 18px; margin: 16px 0; }
.legal-prices div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: #ddd; }
.legal-lang { margin-left: auto; }
.hidden { display: none !important; }
.why h2, .compare h2 { margin-bottom: 28px; }
.menu { animation: floatLogo 7s ease-in-out infinite; }
.faq details { transition: background .2s ease; }
.faq details[open] { background: rgba(255,255,255,.02); }
.status-card { transition: border-color .25s ease, box-shadow .25s ease; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .4s; }

.result.pop:not(.hidden) { animation: popIn .7s ease; }
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes ringPulse {
  0%, 100% { opacity: .25; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.06); }
}
@keyframes popIn {
  0% { opacity: 0; transform: translateY(20px) scale(.97); }
  100% { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .btn, .why-card, .plan, .cmp-col, .orb img, .orb-ring, .menu, .result.pop {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  h1 { font-size: 38px; }
  .hero, .howto, .plan-grid, .cmp-grid, .why-grid, .support-grid { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .orb { width: 160px; height: 160px; }
  .orb img { width: 140px; height: 140px; border-radius: 28px; }
  .orb-ring { width: 168px; height: 168px; border-radius: 36px; }
  footer { flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
  footer a { margin-left: 0; margin-right: 16px; }
}
