:root {
  --bg: #050816;
  --bg-2: #0b1020;
  --card: rgba(255, 255, 255, 0.05);
  --card-strong: #0a0f1c;
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #b5bdd0;
  --muted-2: #8a93a7;
  --white-soft: rgba(255, 255, 255, 0.84);
  --emerald: #38d39f;
  --cyan: #4cd3ff;
  --blue: #5a8cff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --radius-sm: 20px;
  --container: 1200px;
  --topbar-offset: 90px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

section[id] {
  scroll-margin-top: calc(var(--topbar-offset) + 20px);
}

.site-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(56, 211, 159, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(76, 211, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #060915 0%, #04070f 100%);
  z-index: -2;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  color: #08101c;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5, 8, 22, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand span {
  color: var(--emerald);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  align-self: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(56, 211, 159, 0.25);
  background: rgba(56, 211, 159, 0.08);
  color: #d6fff0;
  border-radius: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
  background: rgba(56, 211, 159, 0.14);
  border-color: rgba(56, 211, 159, 0.35);
}

main {
  padding-top: var(--topbar-offset);
}

.hero {
  padding-top: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(56, 211, 159, 0.25);
  background: rgba(56, 211, 159, 0.08);
  color: #d4fff0;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  white-space: normal;
  max-width: 100%;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  max-width: 780px;
}

.hero-text {
  margin-top: 22px;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-actions.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.96rem;
  text-align: center;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn-primary {
  background: white;
  color: #08101c;
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.08);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: white;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.hero-card {
  border-radius: 34px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dashboard-card {
  border-radius: 26px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #0b1020 0%, #080d18 100%);
  padding: 22px;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.dashboard-label {
  margin: 0 0 6px 0;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.dashboard-top h2 {
  margin: 0;
  font-size: 1.35rem;
}

.status-pill {
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(56, 211, 159, 0.25);
  background: rgba(56, 211, 159, 0.1);
  color: #d5fff2;
  font-size: 0.8rem;
  white-space: nowrap;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-box,
.chart-card,
.info-card,
.case-card,
.pillar-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
}

.metric-box {
  border-radius: 22px;
  padding: 18px;
  background: #070c16;
}

.metric-box p {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.metric-box h3 {
  margin: 8px 0 0 0;
  font-size: 1.75rem;
  letter-spacing: -0.04em;
}

.chart-card {
  position: relative;
  margin-top: 14px;
  border-radius: 22px;
  padding: 18px;
  background: #070c16;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.bar-chart {
  height: 180px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.bar {
  flex: 1;
  border-radius: 20px 20px 8px 8px;
  min-height: 14px;
  height: var(--bar-height);
  background: linear-gradient(180deg, var(--cyan) 0%, var(--emerald) 100%);
  box-shadow: 0 10px 30px rgba(56, 211, 159, 0.18);
}

.js .bar {
  height: 0;
  transition: height 1s cubic-bezier(.2, .8, .2, 1);
}

.js .bar.animate {
  height: var(--bar-height);
}

.section-intro {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-tag {
  margin: 0 0 8px 0;
  color: #a8f1d4;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  font-weight: 700;
}

.section-tag.cyan {
  color: #9fe9ff;
}

.section-intro h2,
.split-grid h2,
.cta-box h2 {
  margin: 0 0 14px 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-intro p,
.split-grid p,
.cta-box p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.cards-grid {
  display: grid;
  gap: 22px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.pillar-card {
  border-radius: 28px;
  padding: 26px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.info-card h3,
.pillar-card h3 {
  margin: 0 0 12px 0;
  font-size: 1.25rem;
}

.info-card p,
.pillar-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.case-card {
  border-radius: 22px;
  padding: 22px;
  color: var(--white-soft);
  background: #060b15;
  line-height: 1.65;
}

.cta-box {
  padding: 52px 28px;
  border-radius: 36px;
  text-align: center;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at left, rgba(56, 211, 159, 0.14), transparent 28%),
    radial-gradient(circle at right, rgba(76, 211, 255, 0.14), transparent 30%),
    rgba(255, 255, 255, 0.04);
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.no-js .fade-up {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 760px;
  }

  .cases-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .topbar-inner {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 14px;
    padding: 16px 0 14px;
    min-height: unset;
  }

  .brand {
    justify-self: center;
    text-align: center;
  }

  .nav-cta {
    justify-self: center;
    width: min(100%, 420px);
    min-height: 52px;
    padding: 0 20px;
    border-radius: 20px;
  }

  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 0;
  }

  .section {
    padding: 84px 0;
  }

  .metrics-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-text,
  .section-intro p,
  .split-grid p,
  .cta-box p {
    font-size: 1rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .nav {
    gap: 14px 18px;
  }

  .nav a {
    font-size: 0.95rem;
  }

  .nav-cta {
    width: 100%;
    min-height: 50px;
    font-size: 0.95rem;
    padding: 0 18px;
  }

  .eyebrow {
    font-size: 0.7rem;
    line-height: 1.45;
    white-space: normal;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .dashboard-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .metric-box h3 {
    font-size: 1.45rem;
  }

  .cta-box {
    padding: 40px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-up,
  .fade-up.show,
  .bar,
  .btn,
  .nav-cta,
  .nav a {
    transition: none !important;
  }

  .fade-up,
  .fade-up.show {
    opacity: 1 !important;
    transform: none !important;
  }

  .js .bar,
  .js .bar.animate {
    height: var(--bar-height) !important;
  }

  .btn:hover,
  .btn:focus-visible,
  .nav-cta:hover,
  .nav-cta:focus-visible {
    transform: none !important;
  }
}