:root {
  --bg: #061428;
  --bg-2: #081b36;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #eef6ff;
  --muted: #b8c9dd;
  --muted-2: #8fa8c2;
  --line: rgba(255,255,255,0.14);
  --gold: #ffd460;
  --gold-2: #ffb936;
  --blue: #4fb4ff;
  --danger: #ff7d7d;
  --ok: #83e6aa;
  --shadow: 0 22px 70px rgba(0, 0, 0, .35);
  --radius: 24px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(36, 130, 210, .35), transparent 32rem),
    radial-gradient(circle at 85% 22%, rgba(255, 212, 96, .12), transparent 23rem),
    linear-gradient(180deg, #031022 0%, var(--bg) 46%, #030a15 100%);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image:
    radial-gradient(circle at 20% 20%, white 0 1px, transparent 1px),
    radial-gradient(circle at 80% 45%, white 0 1px, transparent 1px),
    radial-gradient(circle at 40% 75%, white 0 1px, transparent 1px);
  background-size: 180px 180px, 250px 250px, 310px 310px;
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; }
strong { color: var(--text); }
.container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }

.notice {
  border: 1px solid rgba(255, 212, 96, .34);
  background: rgba(255, 212, 96, .09);
  color: #ffe7a5;
  border-radius: 18px;
  padding: 14px 16px;
  line-height: 1.55;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(3, 12, 25, .72);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .04em; }
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 12px; }
.brand small { display: block; color: var(--muted-2); font-weight: 600; letter-spacing: 0; margin-top: 2px; }
.navlinks { display: flex; align-items: center; gap: 18px; color: var(--muted); font-weight: 650; }
.navlinks a:hover { color: var(--text); }
.menu-btn { display: none; background: transparent; border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 10px 12px; }

.mobile-buy-row { display: none; }
.mobile-buy { width: 100%; min-height: 44px; padding: 11px 16px; }

.lang-switch {
  position: absolute;
  right: 24px;
  top: 19px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  padding: 5px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.lang-switch a,
.lang-switch span {
  min-width: 34px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  color: var(--muted);
}
.lang-switch a:hover { color: var(--text); background: rgba(255,255,255,.07); }
.lang-switch .active {
  color: #111827;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
}
@media (max-width: 860px) {
  .lang-switch { right: 74px; top: 19px; }
  .brand span { max-width: 150px; }
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #111827; box-shadow: 0 15px 35px rgba(255, 185, 54, .22); }
.btn-secondary { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.06); }
.btn-small { min-height: 40px; padding: 10px 14px; font-size: 14px; }

.hero { padding: 76px 0 44px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 52px;
}
.kicker { color: var(--gold); font-weight: 850; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
h1 { font-size: clamp(42px, 6vw, 76px); line-height: .98; margin: 18px 0 20px; letter-spacing: -.055em; }
.lead { font-size: clamp(18px, 2vw, 22px); color: #d7e7f8; max-width: 680px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-note { margin-top: 18px; color: var(--muted-2); font-size: 14px; }
.hero-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
  border-radius: 34px;
  padding: 26px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  background: rgba(79, 180, 255, .18);
  filter: blur(60px);
  right: -90px;
  top: -60px;
}
.hero-logo { display: block; width: 100%; max-width: 390px; margin: 0 auto; position: relative; z-index: 1; border-radius: 26px; }
.status-card { position: relative; z-index: 1; margin-top: 18px; border: 1px solid var(--line); background: rgba(3, 10, 21, .45); border-radius: 22px; padding: 18px; }
.status-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--muted); }
.status-row:last-child { border-bottom: 0; }
.status-row span:last-child { color: var(--text); font-weight: 800; }
.dot { width: 10px; height: 10px; background: var(--ok); border-radius: 50%; display: inline-block; margin-right: 8px; box-shadow: 0 0 16px rgba(131, 230, 170, .8); }

section { padding: 58px 0; }
.section-head { max-width: 760px; margin-bottom: 28px; }
h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 14px; letter-spacing: -.035em; }
h3 { margin: 0 0 12px; font-size: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 48px rgba(0,0,0,.18);
}
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 18px;
  background: rgba(255, 212, 96, .13);
  border: 1px solid rgba(255, 212, 96, .25);
  color: var(--gold);
  font-weight: 900;
}

.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 18px;
}
.step::before {
  content: counter(step);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #111827;
  font-weight: 900;
  border-radius: 14px;
}
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { margin: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; background: rgba(255,255,255,.045); }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.1); vertical-align: top; }
th { color: var(--text); background: rgba(255,255,255,.06); }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }

.faq { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.055); padding: 16px 18px; }
summary { cursor: pointer; font-weight: 850; color: var(--text); }
details p, details ul { color: var(--muted); line-height: 1.65; }
li { margin-bottom: 8px; color: var(--muted); }

.cta {
  border: 1px solid rgba(255, 212, 96, .28);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 212, 96, .16), transparent 24rem),
    linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
  border-radius: 34px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
}
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; }

.footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--muted-2); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

.page-hero { padding: 62px 0 24px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 62px); }
.content-page { max-width: 900px; }
.content-page h2 { font-size: 30px; margin-top: 36px; }
.content-page h3 { margin-top: 24px; }
.content-page code { background: rgba(255,255,255,.1); border: 1px solid var(--line); padding: 2px 7px; border-radius: 8px; color: #fff; }

@media (max-width: 860px) {
  .hero-grid, .grid-3, .grid-2, .cta { grid-template-columns: 1fr; }
  .mobile-buy-row {
    display: flex;
    padding-bottom: 12px;
  }
  .navlinks .nav-buy { display: none; }
  .nav { height: 72px; }
  .topbar-buy .navlinks { top: 132px; }

  .navlinks {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 80px;
    background: rgba(3, 12, 25, .96);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .navlinks.open { display: flex; }
  .menu-btn { display: inline-flex; }
  .hero { padding-top: 48px; }
  .cta { padding: 24px; }
}

/* Legal pages: compact, neutral and easy to scan */
.legal-doc {
  max-width: 920px;
  font-size: 14px;
  line-height: 1.65;
  color: #c9d5e2;
  background: rgba(255,255,255,.055);
  padding: 28px;
}
.legal-doc p,
.legal-doc li {
  font-size: 14px;
  line-height: 1.65;
  color: #c9d5e2;
}
.legal-doc h2 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.015em;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #f1f6fc;
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 {
  font-size: 16px;
  margin-top: 22px;
  color: #eef6ff;
}
.legal-doc ul {
  padding-left: 20px;
  margin-top: 8px;
  margin-bottom: 18px;
}
.legal-doc a {
  color: #dcecff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted-2);
}
.legal-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.legal-index a {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.legal-index a:hover { color: var(--text); }


.download-card {
  border: 1px solid rgba(255, 212, 96, .28);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 212, 96, .14), transparent 24rem),
    linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
  border-radius: 34px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  box-shadow: 0 18px 54px rgba(0,0,0,.22);
}
.download-card h2 { margin-bottom: 10px; }
.download-card p { margin-top: 0; }
.download-meta { font-size: 14px; color: var(--muted-2); margin-bottom: 0; }
.download-actions { display: flex; flex-direction: column; gap: 12px; min-width: 230px; }
@media (max-width: 860px) {
  .download-card { grid-template-columns: 1fr; padding: 24px; }
  .download-actions { min-width: 0; align-items: flex-start; }
}


.license-mini {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.55;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 280px;
  max-width: 360px;
}
.cta-paypal {
  scroll-margin-top: 110px;
  width: 100%;
}
.paypal-message {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.paypal-message:empty { display: none; }
.paypal-message.success {
  border-color: rgba(87, 232, 149, .35);
  background: rgba(87, 232, 149, .11);
  color: #eafff1;
}
.paypal-message.error {
  border-color: rgba(255, 92, 92, .36);
  background: rgba(255, 92, 92, .10);
  color: #ffecec;
}
.paypal-message.info {
  border-color: rgba(255, 212, 96, .30);
  background: rgba(255, 212, 96, .10);
  color: #fff6dc;
}
.license-result {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  flex-wrap: wrap;
}
.license-result code {
  display: inline-block;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(0,0,0,.24);
  border: 1px solid var(--line);
  color: #fff;
  font-weight: 850;
  letter-spacing: .02em;
}
.copy-license {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.10);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 800;
  cursor: pointer;
}
@media (max-width: 860px) {
  .cta-actions { min-width: 0; max-width: none; width: 100%; }
}
