:root {
  color-scheme: dark;
  --ink: #f5fbff;
  --muted: #a6b6c5;
  --line: rgba(210, 235, 255, 0.18);
  --panel: rgba(8, 18, 26, 0.78);
  --panel-strong: rgba(11, 25, 35, 0.94);
  --teal: #48e0c2;
  --green: #99e36a;
  --gold: #f0c75e;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #061016;
}

body {
  min-width: 0;
  margin: 0;
  background: #061016;
  color: var(--ink);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

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

.landing-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

#particle-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #061016;
  z-index: -3;
}

.signal-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
}

.topbar {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-emblem {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(72, 224, 194, 0.55);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #04100d;
  background: var(--teal);
  font-weight: 900;
  box-shadow: 0 0 34px rgba(72, 224, 194, 0.28);
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup strong {
  font-size: 18px;
}

.brand-lockup small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topnav a,
.primary-action,
.secondary-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid var(--line);
  padding: 0 15px;
  color: var(--muted);
  background: rgba(4, 12, 18, 0.42);
  backdrop-filter: blur(12px);
}

.topnav a:hover,
.secondary-action:hover {
  color: var(--ink);
  border-color: rgba(72, 224, 194, 0.55);
}

.topnav .nav-login {
  color: var(--ink);
  border-color: rgba(72, 224, 194, 0.45);
}

.hero {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 72px 0 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 52px;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.hero-title {
  margin: 0;
  font-size: 86px;
  line-height: 0.96;
  font-weight: 900;
}

.hero-lede {
  max-width: 680px;
  margin: 28px 0 0;
  color: #d8e5ef;
  font-size: 20px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.hero-lede span {
  display: inline;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action {
  min-width: 142px;
  color: #04100d;
  border-color: rgba(72, 224, 194, 0.85);
  background: var(--teal);
  font-weight: 800;
  box-shadow: 0 18px 46px rgba(72, 224, 194, 0.22);
}

.primary-action:hover {
  background: #66efd5;
}

.secondary-action {
  min-width: 128px;
}

.signal-panel {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.panel-topline {
  min-height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-strong);
}

.panel-topline span,
.metric-grid small {
  color: var(--muted);
  font-size: 12px;
}

.panel-topline strong {
  color: var(--green);
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.flow-line {
  padding: 28px 18px;
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
}

.flow-line span {
  min-width: 0;
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210, 235, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.flow-line i {
  height: 1px;
  background: var(--teal);
  box-shadow: 0 0 18px rgba(72, 224, 194, 0.7);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.metric-grid div {
  min-height: 86px;
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 8px;
  border-right: 1px solid var(--line);
}

.metric-grid div:last-child {
  border-right: 0;
}

.metric-grid strong {
  font-size: 13px;
}

.operating-band {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: -92px auto 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-tile {
  min-height: 176px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(8, 18, 26, 0.68);
  backdrop-filter: blur(14px);
}

.feature-tile span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.feature-tile h2 {
  margin: 14px 0 10px;
  font-size: 19px;
}

.feature-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.reveal {
  visibility: visible;
}

@media (max-width: 980px) {
  .topbar {
    min-height: 70px;
  }

  .topnav a:not(.nav-login) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 64px 0 138px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-title {
    font-size: 58px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .signal-panel {
    max-width: 520px;
  }

  .operating-band {
    margin-top: -96px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar,
  .hero,
  .operating-band {
    width: min(1180px, calc(100% - 28px));
  }

  .brand-lockup small {
    display: none;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-lede span {
    display: block;
  }

  .panel-topline {
    min-height: 72px;
    padding: 0 16px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
  }

  .panel-topline strong {
    font-size: 11px;
  }

  .hero-actions a {
    width: 100%;
  }

  .flow-line {
    grid-template-columns: 1fr;
  }

  .flow-line i {
    width: 1px;
    height: 18px;
    justify-self: center;
  }

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

  .metric-grid div {
    min-height: 68px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-grid div:last-child {
    border-bottom: 0;
  }
}
