:root {
  --bg: #0b1020;
  --bg2: #0a122a;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --accent: #6ee7ff;
  --accent2: #a78bfa;
  --ok: #22c55e;
  --warn: #f59e0b;
  --surface: rgba(255, 255, 255, 0.05);
  --surface2: rgba(255, 255, 255, 0.08);
  --surface3: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.14);
  --section-alt: rgba(255, 255, 255, 0.02);
  --topbar: rgba(10, 16, 32, 0.62);
  --topbar-panel: rgba(10, 16, 32, 0.92);
  --ring: rgba(255, 255, 255, 0.04);
  --input-bg: rgba(0, 0, 0, 0.18);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text-soft: rgba(255, 255, 255, 0.7);
  --radius: 16px;
  --radius2: 22px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

:root[data-theme="light"] {
  --bg: #f7f8fc;
  --bg2: #eef2ff;
  --card: rgba(15, 23, 42, 0.06);
  --card2: rgba(15, 23, 42, 0.08);
  --text: rgba(15, 23, 42, 0.92);
  --muted: rgba(15, 23, 42, 0.72);
  --faint: rgba(15, 23, 42, 0.58);
  --line: rgba(15, 23, 42, 0.12);
  --shadow: 0 18px 50px rgba(2, 6, 23, 0.14);
  --surface: rgba(15, 23, 42, 0.05);
  --surface2: rgba(15, 23, 42, 0.08);
  --surface3: rgba(15, 23, 42, 0.03);
  --border: rgba(15, 23, 42, 0.12);
  --border-strong: rgba(15, 23, 42, 0.14);
  --section-alt: rgba(15, 23, 42, 0.03);
  --topbar: rgba(247, 248, 252, 0.72);
  --topbar-panel: rgba(247, 248, 252, 0.92);
  --ring: rgba(15, 23, 42, 0.06);
  --input-bg: rgba(255, 255, 255, 0.82);
  --line-soft: rgba(15, 23, 42, 0.1);
  --text-soft: rgba(15, 23, 42, 0.7);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(110, 231, 255, 0.18), transparent 55%),
    radial-gradient(900px 480px at 90% 0%, rgba(167, 139, 250, 0.18), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  background: #fff;
  color: #111;
  border-radius: 10px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
  z-index: 100;
}
.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: var(--topbar);
  border-bottom: 1px solid var(--line);
}
.topbar[data-elevate="1"] {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(110, 231, 255, 0.22), rgba(167, 139, 250, 0.18));
  border: 1px solid var(--border-strong);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
.brand__mark svg {
  width: 20px;
  height: 20px;
}
.brand__text {
  font-size: 16px;
}
.brand--small .brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 11px;
}
.brand--small .brand__text {
  font-size: 15px;
}

.nav {
  display: flex;
  align-items: center;
}
.nav__toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.nav__burger {
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
}
.nav__burger::before,
.nav__burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.nav__burger::before {
  top: -6px;
}
.nav__burger::after {
  top: 6px;
}

.nav__panel {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__link {
  padding: 10px 10px;
  border-radius: 12px;
  color: var(--muted);
}
.nav__link:hover {
  text-decoration: none;
  background: var(--surface2);
  color: var(--text);
}
.nav__theme {
  margin-left: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 650;
  cursor: pointer;
  user-select: none;
  text-decoration: none !important;
  transition:
    transform 0.06s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: linear-gradient(135deg, rgba(110, 231, 255, 0.95), rgba(167, 139, 250, 0.92));
  color: #061023;
}
.btn--primary:hover {
  filter: brightness(1.03);
}
.btn--secondary {
  background: var(--surface2);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--secondary:hover {
  background: color-mix(in srgb, var(--surface2) 60%, var(--text) 6%);
}
.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--muted);
}
.btn--ghost:hover {
  color: var(--text);
  background: var(--surface2);
}

.hero {
  position: relative;
  padding: 56px 0 24px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface2);
  color: var(--muted);
  margin: 0 0 14px;
}
.hero__title {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.5px;
}
.accent {
  background: linear-gradient(135deg, rgba(110, 231, 255, 1), rgba(167, 139, 250, 1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 60ch;
}
.hero__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.metric {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 16px;
  padding: 12px 12px;
}
.metric dt {
  font-weight: 760;
  font-size: 18px;
  margin: 0 0 2px;
}
.metric dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero__card {
  position: relative;
}
.glass {
  border-radius: var(--radius2);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  padding: 16px;
}
.glass__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.glass__label {
  color: var(--muted);
  font-size: 13px;
}
.glass__value {
  color: var(--text);
  font-size: 14px;
}

.status {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.status__item {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  box-shadow: 0 0 0 4px var(--ring);
}
.dot--ok {
  background: var(--ok);
}
.dot--warn {
  background: var(--warn);
}

.mini {
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: grid;
  gap: 8px;
}
.mini__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(
    90deg,
    rgba(110, 231, 255, 0.18) 0,
    rgba(167, 139, 250, 0.16) var(--w),
    var(--section-alt) var(--w)
  );
  color: var(--muted);
  font-size: 13px;
}
.glass__note {
  margin: 12px 0 0;
  color: var(--faint);
  font-size: 12.5px;
}

.hero__bg {
  position: absolute;
  inset: -1px 0 auto 0;
  height: 420px;
  pointer-events: none;
  background:
    radial-gradient(800px 360px at 25% 30%, rgba(110, 231, 255, 0.16), transparent 60%),
    radial-gradient(820px 360px at 75% 20%, rgba(167, 139, 250, 0.16), transparent 60%);
  filter: blur(18px);
  opacity: 0.85;
}

.section {
  padding: 64px 0;
}
.section--alt {
  background: var(--section-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.section__head h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.3px;
}
.section__head p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.grid {
  display: grid;
  gap: 14px;
}
.cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 16px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}
.card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.card h3 {
  margin: 6px 0 8px;
  font-size: 16px;
}
.card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li {
  margin: 6px 0;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.step {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 16px;
}
.step__num {
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-soft);
}
.step h3 {
  margin: 8px 0 6px;
}
.step p {
  margin: 0;
  color: var(--muted);
}

.banner {
  margin-top: 18px;
  border-radius: var(--radius2);
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(110, 231, 255, 0.12), rgba(167, 139, 250, 0.1));
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.banner__content h3 {
  margin: 0 0 4px;
}
.banner__content p {
  margin: 0;
  color: var(--muted);
}

.pricing {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.price {
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.price--featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-color: rgba(110, 231, 255, 0.32);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}
.price__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(110, 231, 255, 0.18);
  border: 1px solid rgba(110, 231, 255, 0.26);
  color: var(--text);
  font-size: 12.5px;
}
.price h3 {
  margin: 0 0 4px;
}
.price__tag {
  margin: 0 0 12px;
  color: var(--muted);
}
.price__value {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 820;
  letter-spacing: -0.6px;
}
.muted {
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 10px;
}
.faq__item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 12px 14px;
}
.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}
.faq__content {
  margin-top: 8px;
  color: var(--muted);
}
.faq__content p {
  margin: 0;
}

.contact {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}
.form {
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px;
}
.field {
  margin-bottom: 12px;
}
label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 650;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--input-bg);
  color: var(--text);
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(110, 231, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(110, 231, 255, 0.12);
}
.field__hint {
  min-height: 18px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}
.field__hint[data-kind="error"] {
  color: rgba(255, 140, 140, 0.95);
}
.form__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.panel {
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: var(--surface3);
  padding: 18px;
}
.panel h3 {
  margin: 0 0 10px;
}
.panel__line {
  height: 1px;
  background: var(--line-soft);
  margin: 14px 0;
}

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 26px 0 38px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.8fr;
  gap: 16px;
  align-items: start;
}
.footer__links {
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.footer__links a:hover {
  color: var(--text);
}
.footer__meta {
  display: grid;
  gap: 6px;
  justify-items: start;
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .section__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav__panel {
    position: absolute;
    top: 62px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid var(--border-strong);
    background: var(--topbar-panel);
    backdrop-filter: blur(14px);
    transform-origin: top;
    transform: scaleY(0.96);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }
  .nav__panel[data-open="1"] {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }
  .nav__link {
    padding: 12px 12px;
  }
  .hero {
    padding-top: 46px;
  }
  .hero__metrics {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
