:root {
  --bg: #05070c;
  --bg-soft: #0a101b;
  --panel: rgba(12, 18, 30, 0.88);
  --panel-solid: #0c121e;
  --text: #f6f8fb;
  --muted: #a9b5c7;
  --line: rgba(167, 186, 214, 0.2);
  --blue: #2b7cff;
  --blue-strong: #68a7ff;
  --cyan: #58d7ff;
  --silver: #d7e2ef;
  --success: #67e0ac;
  --warning: #f2bb63;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 10%, rgba(43, 124, 255, 0.24), transparent 28rem),
    radial-gradient(circle at 8% 42%, rgba(88, 215, 255, 0.12), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(5, 7, 12, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--silver);
  font-weight: 800;
}

.brand-logo {
  width: 78px;
  height: 54px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 22px rgba(104, 167, 255, 0.35);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-weight: 650;
}

.nav a:hover {
  color: var(--cyan);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  min-height: calc(100vh - 83px);
  padding: clamp(40px, 7vw, 86px) clamp(18px, 4vw, 64px) 44px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(100deg, rgba(5, 7, 12, 0.98), rgba(5, 7, 12, 0.74) 46%, rgba(43, 124, 255, 0.12));
}

.hero-content {
  max-width: 680px;
}

.hero-logo {
  width: clamp(220px, 34vw, 420px);
  height: auto;
  margin-bottom: 22px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow:
    0 0 0 1px rgba(215, 226, 239, 0.32),
    0 0 44px rgba(43, 124, 255, 0.5);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 36px rgba(104, 167, 255, 0.22);
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 4.15rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--silver);
  font-size: 1.22rem;
}

.hero-copy {
  max-width: 58ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.actions,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--silver);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button.primary,
button.primary {
  border-color: rgba(104, 167, 255, 0.8);
  background: linear-gradient(135deg, var(--blue), #0f5ed7);
  color: #fff;
  box-shadow: 0 0 30px rgba(43, 124, 255, 0.35);
}

.button.secondary,
button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--silver);
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  border-color: var(--blue-strong);
}

.hero-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(215, 226, 239, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(150deg, rgba(88, 215, 255, 0.12), transparent 48%),
    linear-gradient(320deg, rgba(43, 124, 255, 0.24), transparent 56%),
    #0c121e;
  box-shadow: var(--shadow), 0 0 55px rgba(43, 124, 255, 0.26);
  aspect-ratio: 16 / 10;
  padding: clamp(18px, 4vw, 34px);
}

.hero-console::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(215, 226, 239, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 226, 239, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent);
  pointer-events: none;
}

.console-top {
  display: flex;
  gap: 8px;
  margin-bottom: clamp(28px, 6vw, 64px);
}

.console-top span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(88, 215, 255, 0.7);
}

.console-top span:nth-child(2) {
  background: var(--blue-strong);
}

.console-top span:nth-child(3) {
  background: #8f7cff;
}

.console-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.console-card {
  min-height: 132px;
  display: grid;
  align-content: end;
  gap: 8px;
  border: 1px solid rgba(215, 226, 239, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(5, 7, 12, 0.58);
  box-shadow: inset 0 0 38px rgba(43, 124, 255, 0.1);
}

.console-card.large {
  grid-row: span 2;
  min-height: 278px;
}

.console-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 750;
}

.console-card strong {
  color: var(--silver);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 4vw, 64px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.stats div {
  display: grid;
  gap: 6px;
  min-height: 128px;
  align-content: center;
  padding: 24px;
  background: rgba(8, 13, 22, 0.96);
}

.stats strong {
  color: var(--silver);
  font-size: 1.4rem;
}

.stats span,
.account-card p,
.product p {
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.product {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(43, 124, 255, 0.1), transparent 44%),
    var(--panel);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
}

.products-section {
  background:
    linear-gradient(180deg, rgba(43, 124, 255, 0.08), transparent),
    #060a12;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.product {
  min-height: 260px;
  padding: 24px;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  align-content: center;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(104, 167, 255, 0.34);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(43, 124, 255, 0.1);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 850;
}

.pill.success {
  border-color: rgba(103, 224, 172, 0.45);
  background: rgba(103, 224, 172, 0.12);
  color: var(--success);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #05070c;
}

.back-main {
  color: var(--cyan);
  font-weight: 850;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  max-width: min(420px, calc(100vw - 40px));
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(12, 18, 30, 0.96);
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .hero {
    min-height: auto;
  }

  .hero-console {
    order: -1;
    aspect-ratio: 16 / 9;
  }

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

  .console-card.large {
    grid-row: auto;
    min-height: 150px;
  }

  .stats,
}

@media (max-width: 520px) {
  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions,
  .actions,
  .button,
  button {
    width: 100%;
  }
}
