:root {
  --bg-main: #090b0f;
  --bg-soft: #0f141d;
  --text-main: #f4f7fb;
  --text-soft: #a5afbf;
  --accent: #7db0ff;
  --line: rgba(255, 255, 255, 0.12);
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: radial-gradient(circle at 80% 25%, #141e2b 0%, var(--bg-main) 44%, #06070a 100%);
  color: var(--text-main);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.2rem 2.8vw;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.9) 0%, rgba(7, 9, 13, 0.15) 100%);
  backdrop-filter: blur(8px);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  display: block;
  width: clamp(100px, 10vw, 148px);
  height: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-text {
  font-size: clamp(0.75rem, 0.9vw, 0.92rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #e0e7f4;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 1.3rem;
}

.nav-links a {
  color: #d3dae7;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-standalone {
  position: relative;
  z-index: 10;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  padding-top: clamp(84px, 14vh, 150px);
}

.align-left {
  padding-left: 5vw;
  padding-right: 55vw;
}

.section-inner {
  max-width: 40vw;
}

.section-label {
  display: inline-block;
  color: #8f99aa;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-size: 0.73rem;
  margin-bottom: 1.2rem;
}

.hero-heading {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.98;
  font-size: clamp(2.5rem, 8.1vw, 7.4rem);
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero-heading span {
  display: inline-block;
  margin-right: 0.45rem;
}

.hero-tagline,
.section-body {
  margin-top: 1.6rem;
  color: #d7deea;
  font-size: clamp(1rem, 1.18vw, 1.2rem);
  line-height: 1.62;
}

.scroll-indicator {
  position: absolute;
  left: 5vw;
  bottom: 2.2rem;
  color: #93a0b4;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}

.scroll-indicator span {
  display: inline-block;
  margin-left: 0.35rem;
}

.canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 8;
  clip-path: circle(0% at 50% 50%);
  will-change: clip-path;
}

#canvas {
  width: 100%;
  height: 100%;
  display: block;
}

#dark-overlay {
  position: fixed;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  opacity: 0;
  background: rgba(3, 5, 9, 0.9);
}

.marquee-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 7vh;
  z-index: 18;
  opacity: 0;
  pointer-events: none;
}

.marquee-text {
  margin: 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 12vw, 11rem);
  color: rgba(235, 243, 255, 0.14);
  letter-spacing: 0.04em;
  line-height: 0.88;
}

#scroll-container {
  position: relative;
  height: 920vh;
  z-index: 20;
}

.scroll-section {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.scroll-section.is-active {
  opacity: 1;
  pointer-events: auto;
}

.section-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

.scroll-section .section-inner {
  max-width: 40vw;
  background: rgba(6, 10, 16, 0.84);
  border-left: 2px solid rgba(125, 176, 255, 0.5);
  padding: 1.1rem 1.25rem 1.3rem;
}

.hero-standalone .section-inner {
  background: transparent;
  border-left: 0;
  padding: 0;
}

.section-label,
.section-body,
.hero-tagline {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.section-stats {
  text-align: center;
  padding-inline: 6vw;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 4.8rem);
}

.stat {
  min-width: 180px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 1;
}

.stat-suffix {
  margin-left: 0.15rem;
  font-size: clamp(1.2rem, 2vw, 2rem);
  color: #b7c6dd;
}

.stat-label {
  display: block;
  margin-top: 0.55rem;
  color: #cad2e1;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
}

.section-cta .section-inner {
  padding: 2rem 0;
}

.cta-button {
  display: inline-block;
  margin-top: 1.8rem;
  text-decoration: none;
  font-weight: 700;
  color: #071018;
  background: linear-gradient(120deg, #7fb8ff, #e4f2ff);
  padding: 0.98rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

@media (max-width: 767px) {
  .align-left {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .section-inner {
    max-width: 100%;
    background: rgba(9, 12, 18, 0.72);
    padding: 1rem;
  }

  #scroll-container {
    height: 580vh;
  }

  .stats-grid {
    flex-direction: column;
    gap: 1.4rem;
  }

  .nav-links {
    display: none;
  }

  .brand-text {
    display: none;
  }
}
