:root {
  --bg: #121212;
  --bg-soft: #1a1a1a;
  --card: #1f1f1f;
  --text: #e9eef2;
  --muted: #97a2ac;
  --line: #2a2a2a;
  --green: #00ff9f;
  --blue: #00bfff;
  --danger-bg: #102219;
  --danger-line: #00ff9f;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; }
a { color: inherit; }

.container { width: min(1120px, 92vw); margin-inline: auto; }
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.muted { color: var(--muted); }

.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(18, 18, 18, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.nav { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; align-items: center; }
.nav a { text-decoration: none; }
.nav a:hover { color: #fff; }
.download-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #eaf7ff !important;
  line-height: 1;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00bfff, #00ff9f);
  border: 1px solid rgba(110, 210, 255, 0.35);
  box-shadow: 0 0 8px rgba(0, 191, 255, 0.20);
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.download-cta:hover {
  color: #ffffff !important;
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 0 12px rgba(0, 255, 159, 0.26), 0 0 18px rgba(0, 191, 255, 0.20);
  filter: saturate(1.03);
}
.trial-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #2f5f4d;
  background: rgba(0, 255, 159, 0.10);
  color: #b7ffd9;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.lang-select {
  min-height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #2c3645;
  background: #182132;
  color: #e9eef2;
  font: inherit;
}
.lang-select:focus {
  outline: 1px solid rgba(0, 191, 255, 0.45);
  outline-offset: 1px;
}

.hero {
  padding: 84px 0 64px;
  background:
    radial-gradient(80% 55% at 10% -10%, rgba(0, 255, 159, .15), transparent 70%),
    radial-gradient(65% 45% at 92% 0%, rgba(0, 191, 255, .13), transparent 70%);
}
.hero-grid { display: grid; gap: 22px; }
.badge {
  display: inline-block;
  background: #18251f;
  border: 1px solid #2f5f4d;
  color: #b7ffd9;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
}
h1 { margin: 14px 0 10px; line-height: 1.08; font-size: clamp(31px, 6vw, 56px); }
.lead { color: var(--muted); max-width: 760px; font-size: clamp(16px, 2.2vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.mini-card h3 { margin: 0 0 6px; font-size: 15px; }
.mini-card p { margin: 0; color: var(--muted); font-size: 13px; }

h2 { margin: 0 0 18px; font-size: clamp(26px, 4.4vw, 36px); }
.feature-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.feature-grid .card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.feature-grid .card:hover { transform: translateY(-4px); border-color: #355c4e; box-shadow: 0 0 16px rgba(0, 255, 159, .12); }
.feature-grid span { font-size: 20px; }
.feature-grid h3 { margin: 8px 0 6px; }
.feature-grid p { margin: 0; color: var(--muted); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: #181818;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.pricing-grid { margin-top: 12px; display: grid; gap: 12px; grid-template-columns: 1fr; }
.pricing-subtitle {
  margin: -4px 0 16px;
  color: var(--muted);
  max-width: 740px;
}
.purchase-notice {
  display: none;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #3e546f;
  background: #152132;
  color: #dff0ff;
}
.purchase-notice a {
  color: #9fd5ff;
  font-weight: 700;
}
.plan {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, #161a22, #12161d);
  border: 1px solid #2c3645;
  border-radius: 16px;
  padding: 18px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.plan::after {
  content: "";
  position: absolute;
  inset: -80% -35% auto;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 255, 159, .2), transparent 64%);
  pointer-events: none;
}
.plan.pro::after { background: radial-gradient(circle, rgba(0, 191, 255, .2), transparent 64%); }
.plan-chip {
  display: inline-flex;
  width: max-content;
  margin: 0 0 8px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #34435a;
  background: #182132;
  color: #b8c6dc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.plan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #30d99b;
  background: rgba(0, 255, 159, .14);
  color: #b7ffd9;
  font-size: 12px;
  font-weight: 800;
}
.plan-note {
  margin: -4px 0 10px;
  color: #b7ffd9;
  font-size: 14px;
  font-weight: 600;
}
.plan.is-highlighted {
  transform: translateY(-6px) scale(1.015);
  border-color: #57d9a4;
  box-shadow:
    0 0 0 1px rgba(0, 255, 159, .45) inset,
    0 0 24px rgba(0, 255, 159, .55),
    0 0 54px rgba(0, 255, 159, .22);
}
.plan.pro.is-highlighted {
  border-color: #60c7f0;
  box-shadow:
    0 0 0 1px rgba(0, 191, 255, .48) inset,
    0 0 24px rgba(0, 191, 255, .58),
    0 0 54px rgba(0, 191, 255, .24);
}
.price { font-size: 30px; font-weight: 800; margin: 6px 0 12px; }
.price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan ul { margin: 0 0 14px 18px; color: var(--muted); line-height: 1.55; }
.plan .btn { margin-top: auto; }

.btn {
  display: inline-block;
  width: fit-content;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), #44ffc1);
  box-shadow: 0 0 16px rgba(0, 255, 159, .27);
}
.btn-secondary {
  color: #dff6ff;
  background: #16232c;
  border: 1px solid #33576a;
}
.btn-secondary:hover { box-shadow: 0 0 14px rgba(0, 191, 255, .24); }
.btn-pro {
  color: #e7f4ff;
  background: linear-gradient(135deg, #00bfff, #44d1ff);
  box-shadow: 0 0 16px rgba(0, 191, 255, .30);
}

.demo-grid { display: grid; grid-template-columns: 1fr; gap: 12px; justify-items: center; }
.video-shell {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #090909;
  width: min(920px, 100%);
}
.video-ratio { position: relative; width: 100%; padding-top: 56.25%; }
.video-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.disclaimer-box {
  background: var(--danger-bg);
  border: 1px solid var(--danger-line);
  border-radius: 14px;
  color: #d6ffe9;
  padding: 14px;
}

.legal-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.legal p { color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 24px 0 32px; }
.footer-inner { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.section-no-top {
  border-top: none;
  padding-top: 42px;
}

.page-narrow-820 {
  max-width: 820px;
}

.page-narrow-760 {
  max-width: 760px;
}

.title-xl {
  font-size: 2rem;
}

.title-legal {
  font-size: clamp(30px, 5vw, 44px);
  margin: 0 0 16px;
}

.mt-6 { margin-top: 6px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }

.full-width { width: 100%; }
.label-block { display: block; }

.actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-recovery-card {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.dashboard-license-result {
  margin-top: 14px;
}

.dashboard-license-label {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.no-margin { margin: 0; }

.sep-hr {
  border-color: #2a2a2a;
  margin: 14px 0;
}

.license-box {
  width: 100%;
  background: #101319;
  color: #d7fbe9;
  border: 1px solid #2f5f4d;
  border-radius: 10px;
  padding: 10px;
}

.license-box-130 { min-height: 130px; }
.license-box-120 { min-height: 120px; }

#authSection,
#signupView,
#dashboardSection {
  display: none;
}

@media (min-width: 760px) {
  .hero-grid { grid-template-columns: 1.3fr .95fr; align-items: end; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1050px) {
  .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

