:root {
  --bg: #0c1216;
  --bg-2: #121a1f;
  --card: #171f25;
  --line: #2a353c;
  --text: #e8eef0;
  --muted: #8b9aa3;
  --teal: #3d9b8f;
  --ink: #061014;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
html[data-theme="light"] {
  --bg: #f3f5f6;
  --bg-2: #ffffff;
  --card: #ffffff;
  --line: #d4dce0;
  --text: #142026;
  --muted: #5b6b73;
  --ink: #06201c;
  --shadow: 0 14px 36px rgba(20, 32, 38, 0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--teal); text-decoration: none; }
button, input { font: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--line);
}
html:has(body.home) {
  overflow-x: hidden;
}
.home {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 90% 46% at 12% 8%, rgba(22, 48, 56, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse 70% 40% at 88% 72%, rgba(16, 36, 31, 0.42) 0%, transparent 55%),
    var(--bg);
}
.home .site-nav {
  background: color-mix(in srgb, var(--bg) 42%, transparent);
  border-bottom-color: transparent;
}
.home::before,
.home::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: min(2600px, 290vh);
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
}
.home::before {
  background:
    radial-gradient(ellipse 48% 22% at 18% 12%, rgba(61, 155, 143, 0.58) 0%, transparent 62%),
    radial-gradient(ellipse 42% 20% at 78% 40%, rgba(61, 155, 143, 0.4) 0%, transparent 62%),
    radial-gradient(ellipse 40% 18% at 24% 68%, rgba(45, 120, 108, 0.32) 0%, transparent 60%);
  background-size: 130% 130%;
  background-repeat: no-repeat;
  animation: heroGlowA 16s ease-in-out infinite alternate;
}
.home::after {
  background:
    radial-gradient(ellipse 40% 20% at 86% 22%, rgba(154, 214, 168, 0.26) 0%, transparent 62%),
    radial-gradient(ellipse 44% 22% at 18% 48%, rgba(154, 214, 168, 0.22) 0%, transparent 62%),
    radial-gradient(ellipse 38% 18% at 72% 74%, rgba(28, 86, 74, 0.36) 0%, transparent 60%);
  background-size: 130% 130%;
  background-repeat: no-repeat;
  animation: heroGlowB 20s ease-in-out infinite alternate;
}
html[data-theme="light"] .home::before {
  background:
    radial-gradient(ellipse 46% 22% at 18% 12%, rgba(61, 155, 143, 0.28) 0%, transparent 62%),
    radial-gradient(ellipse 40% 20% at 76% 40%, rgba(61, 155, 143, 0.16) 0%, transparent 62%),
    radial-gradient(ellipse 38% 18% at 24% 68%, rgba(45, 120, 108, 0.12) 0%, transparent 60%);
}
html[data-theme="light"] .home::after {
  background:
    radial-gradient(ellipse 40% 20% at 86% 22%, rgba(120, 180, 150, 0.14) 0%, transparent 62%),
    radial-gradient(ellipse 42% 20% at 18% 48%, rgba(61, 155, 143, 0.1) 0%, transparent 62%),
    radial-gradient(ellipse 36% 18% at 72% 74%, rgba(61, 155, 143, 0.1) 0%, transparent 60%);
}
html[data-theme="light"] .home {
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  .home::before,
  .home::after {
    animation: none;
    opacity: 0.85;
  }
}
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-brand { display: flex; align-items: center; }
.nav-brand strong { font-size: 15px; letter-spacing: 0.08em; color: var(--teal); }
.nav-links { display: flex; gap: 22px; margin-left: 18px; }
.nav-links a { color: var(--text); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--teal); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-end .btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease, filter 0.16s ease;
}
.nav-end .ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}
.nav-end .ghost:hover {
  background: transparent;
  border-color: color-mix(in srgb, var(--text) 35%, var(--line));
  color: var(--text);
  filter: none;
}
.nav-end .btn-teal {
  font-weight: 600;
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ink);
}
.nav-end .btn-teal:hover {
  filter: brightness(1.07);
  color: var(--ink);
}
.nav-login-mobile { display: none; }
.theme-switch {
  width: 46px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: #4a555c;
  padding: 2px;
  cursor: pointer;
}
html[data-theme="light"] .theme-switch { background: #c5ced3; }
.theme-knob {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  transition: transform 0.22s ease;
  transform: translateX(20px);
}
html[data-theme="light"] .theme-knob { transform: translateX(0); }
.theme-icon { width: 13px; height: 13px; display: none; fill: none; stroke: #111; stroke-width: 1.8; }
html[data-theme="dark"] .theme-icon-moon,
html:not([data-theme]) .theme-icon-moon { display: block; }
html[data-theme="light"] .theme-icon-sun { display: block; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.btn:hover { border-color: var(--teal); color: var(--teal); }
.btn-teal { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.btn-teal:hover { filter: brightness(1.06); color: var(--ink); }
.btn-lg { height: 46px; padding: 0 20px; }
.ghost { color: var(--text); }
.hero-actions { gap: 12px; }
.hero-actions .btn {
  height: 43px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
}
.hero-actions .btn-teal {
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(61, 155, 143, 0.18);
}
.hero-actions .btn-teal:hover {
  filter: brightness(1.06);
  color: var(--ink);
}
.hero-actions .btn:not(.btn-teal) {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  font-weight: 500;
}
.hero-actions .btn:not(.btn-teal):hover {
  border-color: color-mix(in srgb, var(--text) 35%, var(--line));
  color: var(--text);
  filter: none;
}
.nav-toggle { display: none; }
.hero {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding: 72px 0 40px;
  background: transparent;
}
@keyframes heroGlowA {
  0% {
    background-position: 28% 24%, 28% 24%, 28% 24%;
    opacity: 0.86;
  }
  100% {
    background-position: 42% 36%, 42% 36%, 42% 36%;
    opacity: 1;
  }
}
@keyframes heroGlowB {
  0% {
    background-position: 40% 32%, 40% 32%, 40% 32%;
    opacity: 0.82;
  }
  100% {
    background-position: 26% 22%, 26% 22%, 26% 22%;
    opacity: 1;
  }
}
html[data-theme="light"] .hero {
  background: transparent;
}
.home #features {
  position: relative;
  z-index: 1;
  background: transparent;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow { color: var(--teal); font-size: 12px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { margin: 10px 0 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.03em; }
h1 em { font-style: normal; color: var(--teal); }
.lead { margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.dash-mock {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px;
}
.mock-top { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 12px; }
.chip {
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.chip.ok { color: #9ee0b4; border-color: #3d7a4a; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mock-thumb { height: 92px; background: linear-gradient(135deg, #1c3332, #243038); position: relative; }
.mock-meta { display: flex; align-items: center; gap: 8px; padding: 8px 10px 0; }
.mock-card strong { font-size: 13px; }
.mock-card span { display: block; padding: 2px 10px 8px; color: var(--muted); font-size: 11px; }
.plat-mini {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
  display: block;
}
.plat-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
  display: block;
}
.mock-actions { display: flex; gap: 6px; padding: 0 10px 10px; }
.mock-actions em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.mock-actions em.go { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border: 1px solid #d45454;
  color: #ffb4b4;
}
.section { padding: 78px 0; }
.section.alt { background: var(--bg-2); }
.home .section,
.home .section.alt,
.home .final {
  background: transparent;
}
.home .site-foot {
  border-top-color: color-mix(in srgb, var(--line) 28%, transparent);
}
.section h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; }
.section .sub { margin: 12px 0 0; color: var(--muted); max-width: 560px; line-height: 1.5; }
.cards-4, .cards-3 { display: grid; gap: 14px; margin-top: 32px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.card h3 { margin: 12px 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 14px; }
.ico {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.step b { display: block; color: var(--teal); font-size: 12px; letter-spacing: 0.08em; }
.step h3 { margin: 10px 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.benefit {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}
.status-box { display: grid; gap: 10px; }
.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
}
.status strong { font-size: 14px; }
.status span { color: var(--muted); font-size: 13px; }
.status.live strong { color: #ffb4b4; }
.tiny { margin-top: 10px; color: var(--muted); font-size: 12px; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.lib-box h3 { margin: 0 0 8px; }
.lib-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.platforms { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.plat {
  min-width: 160px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.plat svg { width: 22px; height: 22px; }
.legal-note { margin-top: 14px; color: var(--muted); font-size: 12px; }
.price-toggles { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.home-pills {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.home-pills button {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}
.home-pills button:last-child { border-right: 0; }
.home-pills button.on { background: var(--teal); color: var(--ink); }
.price-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.price-card-paid { border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); }
.price-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 800;
}
.price-card-head em {
  font-style: normal;
  letter-spacing: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal) 20%, transparent);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
}
.price-card-sum {
  display: block;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1;
  margin: 8px 0 10px;
}
.price-card-sum span { font-size: 16px; font-weight: 600; color: var(--muted); }
.price-card-count { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; }
.price-card-note { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.price-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.price-stepper b { font-size: 14px; letter-spacing: 0.06em; }
.price-stepper button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.price-bar {
  height: 4px;
  margin: 14px 0 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.price-bar i {
  display: block;
  height: 100%;
  width: 8%;
  background: var(--teal);
}
.price-bar-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.price-btn-light {
  margin-top: auto;
  width: 100%;
  background: #fff;
  border-color: #fff;
  color: #111;
}
.price-btn-light:hover { filter: brightness(0.96); color: #111; border-color: #fff; }
html[data-theme="light"] .price-btn-light {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.price-scale-title { margin: 36px 0 14px; font-size: 18px; }
.price-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.price-scale article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 12px;
}
.price-scale span { display: block; color: var(--muted); font-size: 12px; }
.price-scale strong { display: block; margin: 8px 0 4px; font-size: 20px; }
.price-scale em { color: var(--muted); font-size: 11px; font-style: normal; }
.faq { display: grid; gap: 8px; margin-top: 28px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; color: var(--muted); line-height: 1.5; }
.final {
  text-align: center;
  padding: 84px 0;
  background: radial-gradient(ellipse at 50% 0%, #163038 0%, var(--bg) 58%);
}
.final h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); }
.final p { margin: 0 auto 24px; color: var(--muted); max-width: 520px; }
.site-foot { border-top: 1px solid var(--line); padding: 36px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 20px; }
.site-foot h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.site-foot a { display: block; color: var(--text); margin: 6px 0; font-size: 14px; }
.site-foot a:hover { color: var(--teal); }
.copy { margin-top: 22px; color: var(--muted); font-size: 13px; }
.page { padding: 48px 0 80px; }
.page h1 { font-size: 40px; }
.page p, .page li { color: var(--muted); line-height: 1.6; }
@media (max-width: 980px) {
  .hero-grid, .benefit, .split-2, .cards-4, .cards-3, .steps, .price-pair, .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .price-scale { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 16px;
  }
  .nav-links.open a { padding: 10px 0; }
  .nav-toggle { display: inline-flex; }
  .nav-login-mobile { display: block; }
  .nav-end .ghost { display: none; }
  .nav-end { gap: 8px; }
}
@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 28px)); }
  .hero, .section, .final { padding-top: 48px; padding-bottom: 48px; }
  .hero-grid, .benefit, .split-2, .cards-4, .cards-3, .steps, .price-pair, .foot-grid, .mock-grid {
    grid-template-columns: 1fr;
  }
  .price-scale { grid-template-columns: 1fr; }
  .nav-inner { gap: 8px; }
  .nav-brand strong { font-size: 12px; letter-spacing: 0.06em; }
  .nav-end .btn-teal { padding: 0 10px; font-size: 13px; }
  .btn { padding: 0 12px; }
  .hero-actions { display: grid; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
