:root {
  --bg: #0b0a12;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f7ff;
  --muted: rgba(245, 247, 255, 0.72);
  --soft: rgba(245, 247, 255, 0.48);
  --primary: #442dd8;
  --primary-soft: rgba(68, 45, 216, 0.34);
  --success: #74f0b0;
  --warn: #f5c76a;
  --shadow: 0 32px 120px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", "Noto Sans SC", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(86, 78, 183, 0.2), transparent 34%),
    radial-gradient(circle at 20% 20%, rgba(66, 160, 255, 0.16), transparent 26%);
  pointer-events: none;
  z-index: 0;
}

.page-shell {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  overflow: clip;
  min-height: 100vh;
  padding: 40px 24px 96px;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.darkveil-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.96;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding-top: 72px;
}

.hero-copy {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--soft);
}

.hero-title {
  margin: 0;
  font-size: clamp(44px, 8vw, 64px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-title span {
  color: #b7b1ff;
}

.hero-description {
  max-width: 720px;
  margin: 28px auto 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 18px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #533cff 0%, var(--primary) 55%, #2f2bc8 100%);
  box-shadow:
    0 18px 48px rgba(68, 45, 216, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.primary-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 22px 56px rgba(68, 45, 216, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.04);
}

.cta-hint {
  font-size: 13px;
  color: var(--soft);
}

.logo-wall {
  margin-top: 72px;
}

.logo-wall-label {
  margin: 0 0 16px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
}

.logo-wall-mask {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: logo-marquee 24s linear infinite;
}

.logo-track span {
  min-width: 190px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 247, 255, 0.76);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.dashboard-stage {
  position: relative;
  margin-top: 80px;
  perspective: 1200px;
  perspective-origin: 50% 12%;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  min-height: 620px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(8, 8, 16, 0.82);
  box-shadow: var(--shadow);
  transform-origin: center top;
  transform:
    rotateX(var(--dashboard-tilt, 20deg))
    scale(var(--dashboard-scale, 0.9))
    translateY(var(--dashboard-shift, 0px));
  transition: transform 120ms linear;
  backdrop-filter: blur(20px);
}

.dashboard-sidebar,
.table-card,
.metric-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 24px;
}

.brand-pill {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(68, 45, 216, 0.22);
  color: #d8d2ff;
  font-size: 13px;
  font-weight: 700;
}

.sidebar-nav {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.nav-item {
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--muted);
  background: transparent;
  font-size: 15px;
}

.nav-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.sidebar-meter {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(68, 45, 216, 0.24), rgba(68, 45, 216, 0.1));
}

.sidebar-meter span {
  display: block;
  color: var(--soft);
  font-size: 13px;
}

.sidebar-meter strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.dashboard-main {
  display: grid;
  gap: 22px;
}

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

.metric-card {
  padding: 22px;
  border-radius: 24px;
}

.metric-card.accent {
  background: linear-gradient(180deg, rgba(68, 45, 216, 0.26), rgba(255, 255, 255, 0.05));
}

.metric-label {
  display: block;
  color: var(--soft);
  font-size: 13px;
}

.metric-card strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.05em;
}

.metric-card em {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.table-card {
  padding: 22px;
  border-radius: 24px;
}

.table-head,
.table-row {
  display: grid;
  grid-template-columns: 1.45fr 1.1fr 0.8fr 0.7fr;
  gap: 16px;
  align-items: center;
}

.table-head {
  margin-bottom: 18px;
  color: var(--soft);
  font-size: 13px;
}

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

.table-row {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 14px;
}

.table-row--head {
  background: transparent;
  padding: 0 0 8px;
  color: var(--soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status.done {
  background: rgba(116, 240, 176, 0.16);
  color: var(--success);
}

.status.live {
  background: rgba(108, 154, 255, 0.16);
  color: #9fbbff;
}

.status.queued {
  background: rgba(245, 199, 106, 0.14);
  color: var(--warn);
}

.feature-section {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 96px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.feature-card,
.highlight-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
}

.feature-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: #a79eff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.feature-card h3,
.highlight-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.feature-card p,
.highlight-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.feature-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.site-footer {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 56px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__brand {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.site-footer__copy {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 14px;
}

.site-footer__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition:
    transform 200ms ease,
    background 200ms ease,
    border-color 200ms ease;
}

.site-footer__links a:hover {
  transform: translateY(-1px);
  background: rgba(68, 45, 216, 0.14);
  border-color: rgba(68, 45, 216, 0.28);
}

.reveal-up,
.reveal-blur {
  opacity: 0;
  will-change: transform, opacity, filter;
}

.reveal-up {
  transform: translateY(28px);
}

.reveal-blur {
  transform: translateY(18px);
  filter: blur(14px);
}

body.is-ready .reveal-up,
body.is-ready .reveal-blur {
  animation-delay: var(--reveal-delay, 0ms);
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-ready .reveal-up {
  animation-name: reveal-up;
  animation-duration: 920ms;
}

body.is-ready .reveal-blur {
  animation-name: reveal-blur;
  animation-duration: 1180ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-blur {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@media (max-width: 1024px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    gap: 18px;
  }

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

  .feature-grid,
  .feature-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 24px 16px 72px;
  }

  .hero-inner {
    padding-top: 40px;
  }

  .hero-title {
    font-size: clamp(40px, 14vw, 64px);
  }

  .logo-track span {
    min-width: 150px;
    font-size: 14px;
  }

  .dashboard-shell {
    padding: 16px;
    border-radius: 24px;
  }

  .table-head,
  .table-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-row--head span:nth-child(n + 3),
  .table-row span:nth-child(n + 3) {
    justify-self: start;
  }

  .feature-section,
  .site-footer {
    width: min(100% - 32px, 1240px);
  }

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

  .site-footer__links {
    justify-content: flex-start;
  }
}
