* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #071018;
  --bg-secondary: #0d1722;
  --panel: rgba(18, 28, 40, 0.76);
  --panel-strong: rgba(21, 35, 50, 0.92);
  --border: rgba(96, 184, 255, 0.18);
  --text: #dce8f4;
  --muted: #8ea3b8;
  --accent: #57c2ff;
  --accent-strong: #8ddcff;
  --accent-soft: rgba(87, 194, 255, 0.14);
  --glow: rgba(87, 194, 255, 0.35);
  --max-width: 1280px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at top, #12253a 0%, #071018 55%);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(14px);
  background: rgba(7, 16, 24, 0.86);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  max-width: var(--max-width);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: white;
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 1.35rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  transition: 0.25s ease;
}

nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem;
}

.hero-grid {
  max-width: var(--max-width);
  margin: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 1.04;
  margin-bottom: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.hero p,
.section-intro,
footer p {
  color: var(--muted);
  font-size: 1.1rem;
}

.hero .lead {
  color: #c9d9e7;
}

.hero p {
  max-width: 770px;
  margin-bottom: 1.35rem;
}

.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: white;
  transition: 0.3s ease;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #1b9fff, #66d0ff);
  color: #041018;
  border: none;
  box-shadow: 0 0 30px var(--glow);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(87,194,255,0.4);
}

.flow-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 70px rgba(0,0,0,0.35);
}

.flow-ring {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  top: -120px;
  right: -140px;
  background:
    radial-gradient(circle, rgba(87,194,255,0.16), transparent 60%),
    conic-gradient(from 0deg, transparent, rgba(87,194,255,0.18), transparent);
  animation: rotate 11s infinite linear;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.flow-step {
  position: relative;
  z-index: 1;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  transition: 0.3s ease;
}

.flow-step.active,
.flow-step:hover {
  background: rgba(87,194,255,0.11);
  border-color: rgba(87,194,255,0.28);
}

.flow-step strong {
  display: block;
  margin-bottom: 0.25rem;
  color: white;
}

.flow-step span {
  color: var(--muted);
  font-size: 0.95rem;
}

section {
  padding: 7rem 2rem;
}

.container {
  max-width: var(--max-width);
  margin: auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-intro {
  max-width: 930px;
  margin-bottom: 3rem;
}

.card-grid,
.lens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card,
.lens-card,
.evidence-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  transition: 0.35s ease;
}

.card:hover,
.lens-card:hover,
.evidence-card:hover {
  transform: translateY(-6px);
  border-color: rgba(87,194,255,0.38);
  box-shadow: 0 0 40px rgba(87,194,255,0.12);
}

.card h3,
.lens-card h3,
.evidence-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  color: white;
}

.card p,
.lens-card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.framework-visual {
  padding: 7rem 2rem;
  background: linear-gradient(180deg, rgba(18, 28, 40, 0.4) 0%, transparent 100%);
}

.framework-figure {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 80px rgba(87, 194, 255, 0.08), 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: 0.4s ease;
}

.framework-figure:hover {
  border-color: rgba(87, 194, 255, 0.35);
  box-shadow: 0 0 100px rgba(87, 194, 255, 0.14), 0 24px 70px rgba(0, 0, 0, 0.45);
}

.framework-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.highlight {
  margin-top: 3rem;
  padding: 3rem;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(87,194,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  text-align: center;
}

.highlight h2 {
  font-size: clamp(1.7rem, 3.5vw, 3.4rem);
  line-height: 1.16;
  max-width: 1050px;
  margin: auto;
  letter-spacing: -0.04em;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.evidence-card span {
  display: inline-flex;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.evidence-card h3 {
  margin-bottom: 0;
}

.alignment-box {
  background: linear-gradient(135deg, rgba(87,194,255,0.1), rgba(255,255,255,0.035));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  margin-bottom: 2rem;
  max-width: 1000px;
}

.alignment-box p {
  color: #c7d6e4;
  font-size: 1.08rem;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.capability-list span {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.035);
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  color: #cfe4f5;
}


footer {
  padding: 6rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  background: rgba(0,0,0,0.18);
}

footer .section-title {
  margin-bottom: 1rem;
}

footer p {
  max-width: 760px;
  margin: auto;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(7,16,24,0.96);
  }

  nav.open {
    display: grid;
    gap: 0.9rem;
  }

  .menu-toggle {
    display: block;
  }

  h1 {
    font-size: 3.15rem;
  }

  .section-title {
    font-size: 2.45rem;
  }

  .hero {
    padding-top: 4.5rem;
  }
}

@media (max-width: 540px) {
  .nav,
  .hero,
  section,
  .framework-visual,
  footer {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  h1 {
    font-size: 2.65rem;
  }

  .highlight {
    padding: 2rem;
  }
}
