@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #09090b;
  --bg-soft: #111114;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --text: #f5f7fa;
  --muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #4f8cff;
  --accent-soft: rgba(79, 140, 255, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 140, 255, 0.1), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.07), transparent 18%),
    linear-gradient(180deg, #0b0b0d 0%, #080809 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
  pointer-events: none;
  opacity: 0.35;
}

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

.page {
  position: relative;
  isolation: isolate;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-logo {
  width: 12.5rem;
  height: 12.5rem;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: left;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.hero {
  padding: 1.25rem 0 5rem;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 12, 0.82);
  box-shadow: var(--shadow);
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.18), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
  padding: 4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(79, 140, 255, 0.18);
  border-radius: 999px;
  background: var(--accent-soft);
  color: #d8e6ff;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1 {
  margin: 1.25rem 0 1rem;
  max-width: 13ch;
  font-size: clamp(2.15rem, 4.6vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.hero-copy {
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #11120f;
}

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

.hero-panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
}

.hero-panel-label {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-panel-value {
  margin: 0.75rem 0 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.hero-panel + .hero-panel {
  margin-top: 1rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.metric {
  padding: 1rem;
  border-radius: 20px;
  background: var(--panel);
}

.metric strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.section {
  padding: 1rem 0 5rem;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.05em;
}

.section-header p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

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

.card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  transition: transform 180ms ease, border-color 180ms ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(79, 140, 255, 0.3);
}

.card-index {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #d8e6ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.card h3 {
  margin: 1rem 0 0.7rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.cta {
  padding-bottom: 5rem;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(79, 140, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.cta-box h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  letter-spacing: -0.05em;
}

.cta-box p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 900ms ease forwards;
}

.delay-1 { animation-delay: 120ms; }
.delay-2 { animation-delay: 240ms; }
.delay-3 { animation-delay: 360ms; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .cards,
  .metrics,
  .cta-box,
  .section-header {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 2rem;
  }

  .section-header,
  .cta-box {
    display: grid;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-left: 0;
    padding-right: 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero {
    padding-top: 1rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8vw, 2.8rem);
    line-height: 1.06;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
