:root {
  color-scheme: dark;
  --bg: #080a10;
  --bg-soft: #10131d;
  --surface: rgba(18, 22, 34, .88);
  --surface-strong: #151a28;
  --ink: #f7f9ff;
  --muted: #aeb7c8;
  --soft: #d9e0ef;
  --line: rgba(255, 255, 255, .12);
  --accent: #2f7df6;
  --accent-2: #6f4cff;
  --green: #32d083;
  --gold: #ffd166;
  --danger: #ff766f;
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% -10%, rgba(47, 125, 246, .24), transparent 34%),
    radial-gradient(circle at 86% 8%, rgba(50, 208, 131, .13), transparent 28%),
    linear-gradient(180deg, #090b12 0%, #0e111a 48%, #080a10 100%);
  color: var(--ink);
  font: 15px/1.48 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(93, 93, 247, .36);
}

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

.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.lang {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, .08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: 34px;
  align-items: center;
  min-height: auto;
  padding: 30px 0 36px;
}

.hero.compact {
  min-height: auto;
  padding: 32px 0 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
.hero-title {
  margin: 0;
  max-width: 820px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1;
  letter-spacing: 0;
}

.compact h1 {
  max-width: 940px;
  font-size: clamp(30px, 3vw, 44px);
}

.lead {
  max-width: 710px;
  margin: 16px 0 0;
  color: var(--soft);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.48;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .08);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 14px 34px rgba(47, 125, 246, .28);
}

.btn.ghost { background: transparent; }
.btn:disabled { cursor: not-allowed; opacity: .6; }

.section {
  padding: 32px 0;
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 780px;
  margin-bottom: 22px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-title,
h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.plan-card,
.mock-window,
.step-card,
.privacy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035));
  box-shadow: var(--shadow);
}

.card,
.step-card,
.privacy-card {
  padding: 18px;
}

.card h3,
.step-card h3,
.privacy-card h2,
.privacy-card h3 {
  margin: 0 0 8px;
}

.card p,
.step-card p,
.privacy-card p,
.privacy-card li,
.muted {
  color: var(--muted);
}

.card p,
.step-card p,
.privacy-card p {
  margin-bottom: 0;
}

.feature-icon,
.step-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #06100b;
  background: var(--green);
  font-weight: 950;
}

.mock-window {
  position: relative;
  overflow: hidden;
  padding: 14px;
  background: #0b0d14;
}

.browser-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 0 14px;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dots span:nth-child(1) { background: #ff5f57; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #28c840; }

.address {
  min-width: 0;
  padding: 9px 14px;
  border-radius: 8px;
  color: #7f8798;
  background: #181b2a;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-stage {
  display: grid;
  grid-template-columns: 1fr minmax(240px, .55fr);
  gap: 22px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015));
}

.youtube-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 10, 16, .82), rgba(20, 25, 39, .9)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.02), rgba(255,255,255,.02) 10px, transparent 10px, transparent 20px);
}

.play {
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 29px solid #fff;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,.35));
}

.creator-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: #121522;
}

.panel-head {
  padding: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.panel-head strong { display: block; font-size: 18px; }
.panel-head span { color: rgba(255, 255, 255, .84); }

.panel-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.status-dot {
  color: var(--green);
  font-weight: 800;
}

.lang-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.chip {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--soft);
  background: rgba(255, 255, 255, .06);
  font-weight: 800;
}

.chip.active {
  border-color: var(--accent);
  color: #fff;
  background: rgba(47, 125, 246, .18);
}

.file-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.file-pill {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: var(--green);
  text-align: center;
  font-weight: 900;
  background: rgba(50, 208, 131, .08);
}

.stat-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(50, 208, 131, .24);
  border-radius: 8px;
  background: rgba(50, 208, 131, .08);
}

.stat-number {
  font-size: clamp(34px, 5vw, 56px);
  line-height: .9;
  font-weight: 950;
  color: var(--green);
}

.usage-band {
  padding: 22px;
  border: 1px solid rgba(50, 208, 131, .22);
  border-radius: 8px;
  background: rgba(50, 208, 131, .075);
}

.usage-band h2 {
  font-size: clamp(22px, 2.1vw, 30px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.plan-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.plan-card.featured {
  border-color: rgba(50, 208, 131, .56);
  background: linear-gradient(180deg, rgba(50, 208, 131, .12), rgba(255, 255, 255, .04));
}

.badge {
  display: inline-flex;
  justify-self: start;
  min-height: 28px;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: #06100b;
  background: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.plan-name {
  margin: 0;
  font-size: 22px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 950;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.features {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.features li {
  color: var(--soft);
}

.features li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green);
  font-weight: 950;
}

.notice {
  padding: 12px 14px;
  border: 1px solid rgba(255, 209, 102, .36);
  border-radius: 8px;
  background: rgba(255, 209, 102, .1);
  color: #ffe4a1;
  font-weight: 800;
}

.section-head.center .actions {
  justify-content: center;
}

.btn.disabled,
.btn[aria-disabled="true"] {
  cursor: default;
  opacity: .7;
  pointer-events: none;
}

.plan-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.language-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.language-cloud span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--soft);
  background: rgba(255, 255, 255, .055);
  font-weight: 800;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer a {
  color: var(--soft);
  font-weight: 800;
  text-decoration: none;
}

.privacy-card {
  max-width: 900px;
  margin: 0 auto 14px;
}

.privacy-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

@media (max-width: 980px) {
  .hero,
  .demo-stage,
  .stat-band,
  .compare {
    grid-template-columns: 1fr;
  }

  .grid,
  .grid.four,
  .steps,
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1160px); }

  .nav {
    position: relative;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-link { display: none; }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  h1,
  .hero-title {
    font-size: 34px;
  }

  .grid,
  .grid.four,
  .steps,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .demo-stage {
    padding: 16px;
  }

  .lang-chips,
  .file-row {
    grid-template-columns: 1fr;
  }
}
