:root {
  --bg: #06101f;
  --bg-soft: #0b1730;
  --text: #eef6ff;
  --muted: #98aac6;
  --line: rgba(151, 190, 255, 0.18);
  --blue: #168bff;
  --blue-deep: #0a3e95;
  --cyan: #4ed8ff;
  --card: rgba(255, 255, 255, 0.07);
  --card-strong: rgba(255, 255, 255, 0.11);
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(22, 139, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 80% 0%, rgba(78, 216, 255, 0.14), transparent 30rem),
    linear-gradient(180deg, #081325 0%, #050a14 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 72%);
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(38px);
  opacity: .4;
}

.page-glow-one {
  top: 18%;
  left: -12rem;
  background: var(--blue);
}

.page-glow-two {
  right: -10rem;
  bottom: 8%;
  background: var(--cyan);
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 10, 20, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0,0,0,.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.05rem;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
}

nav {
  display: flex;
  gap: 6px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}

nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,.08);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 48px;
  align-items: center;
}

.hero {
  min-height: 720px;
  padding: 82px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 8vw, 6.6rem);
  line-height: .9;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: .95;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 16px 45px rgba(22,139,255,.25);
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
}

.hero-card {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(78,216,255,.35), transparent 35%, rgba(22,139,255,.25));
  pointer-events: none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
  border-radius: 34px;
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 12px 12px 0;
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
}

.chart-card {
  min-height: 450px;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 42px;
}

.chart-card img {
  width: min(280px, 80%);
  margin: 0 auto;
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}

.metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.metric-row strong {
  color: var(--cyan);
  font-size: 1.6rem;
}

.bars {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 92px;
}

.bars i {
  flex: 1;
  min-width: 24px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--cyan), var(--blue-deep));
  box-shadow: 0 12px 36px rgba(22,139,255,.25);
}

.panel,
.contact-panel,
.split-section,
.cards {
  margin-bottom: 28px;
}

.panel,
.contact-panel,
.split-section {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255,255,255,.065);
  box-shadow: var(--shadow);
}

.intro-panel {
  padding: clamp(28px, 6vw, 70px);
}

.intro-panel p:not(.eyebrow),
.split-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  transition: transform .2s ease, background .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--card-strong);
}

.card-number {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--cyan);
  font-weight: 900;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 48px;
  padding: clamp(28px, 6vw, 64px);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 6vw, 58px);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 38px 0 48px;
  color: var(--muted);
  font-size: .92rem;
}

@media (max-width: 880px) {
  .section-grid,
  .split-section,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .contact-panel,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  nav {
    width: 100%;
    justify-content: space-between;
  }

  nav a {
    padding-inline: 10px;
  }

  .chart-card {
    padding: 24px;
    min-height: 360px;
  }
}
