:root {
  color-scheme: dark;
  --color-midnight-canvas: #05060f;
  --color-steel-plate: #2f343e;
  --color-fog-veil: #9da7ba;
  --color-moon-mist: #c7d3ea;
  --color-frost-glow: #d1e4fa;
  --color-ice-highlight: #d8ecf8;
  --gradient-ice-highlight: linear-gradient(0deg, #d8ecf8 0%, #98c0ef 100%);
  --color-pure-white: #ffffff;
  --color-void-violet: #663af3;
  --color-blueprint-blue: #b6d9fc;
  --color-glass-edge: #bad7f71f;
  --color-luminous-fill: #c7d3ea1f;
  --surface-frosted-glass: rgba(186, 214, 247, 0.03);
  --surface-deep-glass: rgba(5, 6, 15, 0.97);
  --shadow-card:
    inset 0 1px 1px rgba(199, 211, 234, 0.12),
    inset 0 24px 48px rgba(199, 211, 234, 0.05),
    0 24px 32px rgba(6, 6, 14, 0.7);
  --shadow-modal:
    inset 0 1px 1px rgba(216, 236, 248, 0.2),
    inset 0 24px 48px rgba(168, 216, 245, 0.06),
    0 16px 32px rgba(0, 0, 0, 0.3);
  --page-max-width: 1200px;
  --radius-card: 16px;
  --radius-input: 6px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--color-frost-glow);
  background:
    radial-gradient(circle at 50% -10%, rgba(124, 145, 182, 0.36), transparent 32rem),
    conic-gradient(
      at 50% -5%,
      transparent 45%,
      rgba(124, 145, 182, 0.3) 49%,
      rgba(124, 145, 182, 0.5) 50%,
      rgba(124, 145, 182, 0.3) 51%,
      transparent 55%
    ),
    linear-gradient(rgba(186, 215, 247, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 215, 247, 0.06) 1px, transparent 1px),
    var(--color-midnight-canvas);
  background-size: auto, auto, 84px 84px, 84px 84px, auto;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: -0.01em;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 18%, rgba(102, 58, 243, 0.18), transparent 26rem),
    radial-gradient(circle at 82% 22%, rgba(182, 217, 252, 0.12), transparent 24rem),
    linear-gradient(180deg, transparent, rgba(5, 6, 15, 0.82) 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.topbar,
main {
  width: min(var(--page-max-width), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(5, 6, 15, 0.88), rgba(5, 6, 15, 0.58));
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.contact-actions,
.card-actions,
.trust-strip {
  display: flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 188px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(186, 207, 247, 0.22));
}

.nav {
  justify-content: center;
  gap: 8px;
  color: var(--color-moon-mist);
  font-size: 14px;
  font-weight: 500;
}

.nav a,
.topbar-action,
.button {
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.12);
}

.nav a {
  padding: 8px 12px;
}

.nav a:hover,
.topbar-action:hover,
.button-secondary:hover,
.button-ghost:hover {
  background: rgba(186, 214, 247, 0.08);
}

.topbar-action,
.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.topbar-action,
.button-secondary,
.button-ghost {
  color: var(--color-frost-glow);
  background: rgba(186, 214, 247, 0.06);
}

.button-primary {
  color: var(--color-pure-white);
  background: var(--color-void-violet);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.24),
    0 0 24px rgba(102, 58, 243, 0.28);
}

.button-primary:hover {
  background: #7250f4;
}

.hero {
  position: relative;
  display: grid;
  gap: 32px;
  min-height: 780px;
  align-items: center;
  padding: 78px 0 34px;
  text-align: center;
}

.hero::after {
  position: absolute;
  inset: 8% 12% auto;
  height: 420px;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(186, 207, 247, 0.18), transparent 66%);
  filter: blur(16px);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  justify-items: center;
}

.eyebrow {
  display: flex;
  width: min(620px, 100%);
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 18px;
  color: var(--color-moon-mist);
  font-family:
    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  width: min(120px, 18vw);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(186, 215, 247, 0.18), transparent);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(58px, 12vw, 156px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

h1 span,
h2 {
  color: transparent;
  background: var(--gradient-ice-highlight);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-kicker {
  margin: 16px 0 16px;
  color: var(--color-frost-glow);
  font-size: clamp(22px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.12;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 10px;
  color: var(--color-frost-glow);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.18;
}

.hero-copy > p:not(.eyebrow, .hero-kicker) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--color-moon-mist);
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.trust-strip {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.trust-strip span,
.product-topline strong,
.service-card span {
  border-radius: 6px;
  padding: 6px 9px;
  color: var(--color-frost-glow);
  background: rgba(199, 211, 234, 0.12);
  box-shadow: inset 0 1px 1px rgba(216, 236, 248, 0.16);
  font-size: 12px;
  font-weight: 500;
}

.hero-visual {
  display: grid;
  grid-template-columns: minmax(180px, 0.62fr) minmax(320px, 1fr) minmax(180px, 0.62fr);
  gap: 18px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.terminal-card,
.glass-orbit,
.hero-badge,
.summary-band,
.product-card,
.feature-card,
.contacts,
.toolbar,
.catalog-state,
.use-cases,
.faq details,
.service-card,
.use-case-list article {
  border: 0;
  border-radius: var(--radius-card);
  background: var(--surface-frosted-glass);
  box-shadow: var(--shadow-card);
}

.terminal-card {
  overflow: hidden;
  text-align: left;
  background: var(--surface-deep-glass);
  box-shadow: var(--shadow-modal);
}

.terminal-top {
  display: flex;
  gap: 7px;
  padding: 13px 16px;
  box-shadow: inset 0 -1px 0 rgba(186, 215, 247, 0.1);
}

.terminal-top span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(216, 236, 248, 0.42);
}

.terminal-card pre {
  margin: 0;
  padding: 24px;
  white-space: pre-wrap;
  color: var(--color-frost-glow);
  font-family:
    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.7;
}

.glass-orbit {
  display: grid;
  gap: 8px;
  min-height: 150px;
  align-content: center;
  padding: 20px;
  text-align: left;
}

.glass-orbit-left {
  transform: rotate(-4deg);
}

.glass-orbit-right {
  transform: rotate(4deg);
}

.glass-orbit span,
.hero-badge span {
  color: var(--color-fog-veil);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.glass-orbit strong,
.hero-badge strong {
  color: var(--color-ice-highlight);
  font-size: 20px;
  font-weight: 600;
}

.glass-orbit small {
  color: var(--color-moon-mist);
  line-height: 1.5;
}

.hero-badge {
  display: grid;
  grid-column: 2;
  justify-self: center;
  min-width: 240px;
  margin-top: -4px;
  padding: 16px 18px;
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin: 18px 0 120px;
}

.summary-band article {
  min-height: 116px;
  padding: 24px;
  box-shadow: inset -1px 0 0 rgba(186, 215, 247, 0.08);
}

.summary-band article:last-child {
  box-shadow: none;
}

.summary-band strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-ice-highlight);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.summary-band span,
.section-heading > p,
.feature-card p,
.use-case-list p,
.contacts p,
.faq p,
.service-card p,
.setup-note,
.bullet-list,
.catalog-state {
  color: var(--color-moon-mist);
}

.catalog,
.services,
.platform,
.use-cases,
.faq,
.seo-products {
  margin-top: 120px;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading > p {
  max-width: 660px;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
}

label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--color-fog-veil);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: var(--radius-input);
  padding: 0 12px;
  color: var(--color-pure-white);
  background: rgba(199, 211, 234, 0.06);
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.12);
  outline: none;
}

input::placeholder {
  color: rgba(199, 211, 234, 0.62);
}

input:focus,
select:focus {
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.28), 0 0 0 3px rgba(102, 58, 243, 0.18);
}

select option {
  color: #101820;
}

.catalog-state {
  display: grid;
  gap: 6px;
  min-height: 140px;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.catalog-state strong {
  color: #f0b3a4;
}

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

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

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

.service-card {
  min-height: 220px;
  padding: 24px;
}

.product-card {
  display: flex;
  min-width: 0;
  min-height: 560px;
  flex-direction: column;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover,
.service-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 1px rgba(216, 236, 248, 0.18),
    inset 0 24px 48px rgba(199, 211, 234, 0.08),
    0 26px 42px rgba(6, 6, 14, 0.78);
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--color-fog-veil);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.price {
  margin-bottom: 18px;
  color: var(--color-pure-white);
  font-size: 27px;
  font-weight: 600;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 18px;
}

.spec-grid div {
  min-height: 96px;
  border-radius: 12px;
  padding: 12px;
  background: rgba(199, 211, 234, 0.055);
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.1);
}

dt {
  margin-bottom: 7px;
  color: var(--color-fog-veil);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--color-frost-glow);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.bullet-list {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.45;
}

.setup-note {
  margin: -4px 0 16px;
  font-size: 13px;
  font-weight: 500;
}

.delivery-chip {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  margin: -6px 0 16px;
  padding: 0 11px;
  color: var(--color-ice-highlight);
  background: rgba(120, 223, 178, 0.1);
  box-shadow: inset 0 0 0 1px rgba(120, 223, 178, 0.18);
  font-size: 12px;
  font-weight: 600;
}

.card-actions {
  gap: 10px;
  margin-top: auto;
}

.card-actions .button {
  flex: 1;
  min-width: 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.92fr 0.92fr;
  gap: 16px;
}

.feature-card {
  min-height: 238px;
  padding: 24px;
}

.feature-card span {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 9999px;
  color: var(--color-ice-highlight);
  background: rgba(186, 214, 247, 0.06);
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.12);
  font-weight: 600;
}

.accent-card {
  background:
    linear-gradient(135deg, rgba(102, 58, 243, 0.14), transparent 48%),
    var(--surface-frosted-glass);
}

.use-cases {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 28px;
}

.use-case-list {
  display: grid;
  gap: 12px;
}

.use-case-list article {
  padding: 18px;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  color: var(--color-frost-glow);
  font-weight: 600;
}

.faq p {
  margin: 12px 0 0;
  line-height: 1.58;
}

.contacts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 120px 0 60px;
  padding: 32px;
}

.contacts h2 {
  max-width: 680px;
}

.contacts p {
  max-width: 680px;
  line-height: 1.58;
}

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

.checkout-dialog {
  width: min(100% - 28px, 920px);
  max-height: min(86vh, 760px);
  border: 0;
  border-radius: 18px;
  padding: 0;
  color: var(--color-frost-glow);
  background: transparent;
}

.checkout-dialog::backdrop {
  background: rgba(5, 6, 15, 0.78);
  backdrop-filter: blur(10px);
}

.checkout-modal {
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 22% 0%, rgba(102, 58, 243, 0.24), transparent 26rem),
    var(--surface-deep-glass);
  box-shadow: var(--shadow-modal);
}

.checkout-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 26px 18px;
  box-shadow: inset 0 -1px 0 rgba(186, 215, 247, 0.1);
}

.checkout-header .eyebrow {
  justify-content: flex-start;
  margin: 0 0 10px;
}

.checkout-header .eyebrow::before,
.checkout-header .eyebrow::after {
  display: none;
}

.checkout-header h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.icon-button {
  display: inline-grid;
  width: 42px;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--color-ice-highlight);
  background: rgba(199, 211, 234, 0.08);
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.14);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 16px;
  padding: 20px 26px 26px;
}

.checkout-main,
.checkout-summary,
.checkout-server {
  border-radius: var(--radius-card);
  background: var(--surface-frosted-glass);
  box-shadow: var(--shadow-card);
}

.checkout-main,
.checkout-summary {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 18px;
}

.checkout-server {
  padding: 18px;
}

.checkout-server span {
  color: var(--color-fog-veil);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.checkout-server h3 {
  margin: 10px 0 8px;
  font-size: 25px;
}

.checkout-server p {
  margin: 0;
  color: var(--color-moon-mist);
  line-height: 1.5;
}

.promocode-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.checkout-message {
  min-height: 46px;
  border-radius: 12px;
  margin: 0;
  padding: 12px 14px;
  color: var(--color-moon-mist);
  background: rgba(199, 211, 234, 0.06);
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.1);
  font-size: 14px;
  line-height: 1.45;
}

.checkout-message[data-tone="success"] {
  color: #c7f6df;
  background: rgba(120, 223, 178, 0.1);
  box-shadow: inset 0 0 0 1px rgba(120, 223, 178, 0.18);
}

.checkout-message[data-tone="warning"] {
  color: #ffe0a4;
  background: rgba(246, 195, 106, 0.1);
  box-shadow: inset 0 0 0 1px rgba(246, 195, 106, 0.18);
}

.checkout-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.checkout-summary dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 12px;
  padding: 12px;
  background: rgba(199, 211, 234, 0.055);
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.1);
}

.checkout-summary dt {
  margin: 0;
}

.checkout-summary dd {
  color: var(--color-pure-white);
  font-size: 18px;
  text-align: right;
}

.checkout-summary dl div:last-child {
  background: rgba(102, 58, 243, 0.18);
}

.checkout-summary dl div:last-child dd {
  font-size: 24px;
  font-weight: 700;
}

.delivery-status {
  margin: 0;
  border-radius: 12px;
  padding: 12px;
  color: #c7f6df;
  background: rgba(120, 223, 178, 0.1);
  box-shadow: inset 0 0 0 1px rgba(120, 223, 178, 0.18);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1060px) {
  .hero-visual,
  .product-grid,
  .platform-grid,
  .service-grid,
  .seo-grid,
  .use-cases {
    grid-template-columns: 1fr 1fr;
  }

  .glass-orbit-right,
  .hero-badge {
    grid-column: auto;
  }

  .toolbar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  .topbar {
    position: static;
    grid-template-columns: 1fr;
  }

  .brand img {
    width: 170px;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .topbar-action {
    justify-self: start;
  }

  .hero {
    min-height: 0;
    padding-top: 52px;
  }

  .hero-visual,
  .summary-band,
  .product-grid,
  .platform-grid,
  .service-grid,
  .seo-grid,
  .use-cases,
  .toolbar,
  .checkout-layout,
  .promocode-row {
    grid-template-columns: 1fr;
  }

  .glass-orbit {
    transform: none;
  }

  .summary-band article {
    box-shadow: inset 0 -1px 0 rgba(186, 215, 247, 0.08);
  }

  .product-card {
    min-height: 0;
  }

  .contacts {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .topbar,
  main {
    width: min(100% - 20px, var(--page-max-width));
  }

  h1 {
    font-size: clamp(56px, 19vw, 86px);
  }

  .hero-copy > p:not(.eyebrow, .hero-kicker) {
    font-size: 16px;
  }

  .hero-actions,
  .card-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .topbar-action {
    width: 100%;
  }

  .checkout-header {
    padding: 20px 18px 16px;
  }

  .checkout-layout {
    padding: 18px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }
}
