/* ============================================================
   CLOUDGRID ENERGY — Design System
   Light paper theme · accent green · Space Grotesk + Hanken Grotesk
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---- Tokens ---- */
:root {
  --forest-950: #0a1812;
  --forest-900: #0d1f17;
  --forest-850: #102419;
  --forest-800: #14281d;
  --forest-700: #1c3b2b;
  --forest-600: #27513b;

  --paper:     #f5f3ea;
  --paper-2:   #efece1;
  --surface:   #fafafa;
  --surface-2: #fafafa;

  --ink:   #13211a;
  --ink-2: #2c3b33;
  --muted: #5d6b62;
  --muted-2: #828d84;

  --accent:        #36c281;
  --accent-bright: #4ad998;
  --accent-deep:   #1e9a62;
  --accent-soft:   rgba(54, 194, 129, 0.12);

  --on-dark:       #eef1ea;
  --on-dark-muted: #9fb0a4;
  --on-dark-faint: rgba(238, 241, 234, 0.10);

  --line:        #e2ddcf;
  --line-strong: #cdc7b6;
  --line-dark:   rgba(238, 241, 234, 0.12);

  /* #fafafa theme — canvas/backdrop matches video background */
  --canvas-bg:   #fafafa;
  --glass:       rgba(250, 250, 250, 0.85);
  --glass-blur:  16px;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;

  --container: 1240px;
  --gutter: 40px;
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
/* Thin accent-green gradient bar at the very top */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-deep) 0%, var(--accent) 50%, var(--accent-bright) 100%);
  z-index: 9999;
  pointer-events: none;
}

body {
  font-family: var(--font-body);
  background: #fafafa;             /* matches video frame background */
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ============================================================
   LOADER — light theme
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.loader-logo img { height: 36px; width: auto; }
.loader-track {
  width: 200px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
#loader-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
#loader-percent {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.12em;
}

/* ============================================================
   SITE HEADER — light theme
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.site-header.scrolled {
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.logo img { height: 32px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s;
  position: relative;
  padding-block: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 1.5px; width: 0;
  background: var(--accent);
  transition: width 0.32s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.logo-group {
  display: flex;
  align-items: center;
}
.nav-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 12px;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: opacity 0.25s;
  flex-shrink: 0;
}
.nav-linkedin:hover { opacity: 0.75; }
.nav-linkedin svg { width: 16px; height: 16px; fill: currentColor; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  padding: 0.6em 1.15em;
  border-radius: 100px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.btn-nav:hover { background: var(--accent); border-color: var(--accent); color: #06281a; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 6px 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 76px 0 0;
  z-index: 199;
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  padding: 40px var(--gutter);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
body.menu-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--accent-deep); }
.mobile-nav .btn { margin-top: 28px; justify-content: center; }

/* ============================================================
   HERO — light paper background, dark text
   ============================================================ */
.hero-standalone {
  /* Normal-flow section — pushed below the 76px fixed navbar via margin-top */
  position: relative;
  margin-top: 76px;
  height: calc(100vh - 76px);
  min-height: 560px;
  background: #fafafa;
  display: flex;
  align-items: center;
  gap: 40px;
  z-index: 10;
  overflow: hidden;
}
/* Soft green corner glow */
.hero-standalone::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 65% at 90% 0%, rgba(54, 194, 129, 0.07), transparent 60%),
    radial-gradient(35% 45% at 0% 100%, rgba(54, 194, 129, 0.05), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  /* flex-grow ratio 11:9 ≈ 55%:45%, gap handled automatically */
  flex: 11 0 0;
  min-width: 0;
  padding-left: 48px;
}
.hero-image-wrap {
  flex: 9 0 0;
  min-width: 0;
  align-self: stretch;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-right: 20px;
  display: flex;
  align-items: stretch;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
}
@media (max-width: 900px) {
  .hero-standalone { gap: 0; }
  .hero-image-wrap { display: none; }
  .hero-inner {
    flex: none;
    width: 100%;
    padding-inline: var(--gutter);
    padding-bottom: clamp(60px, 8vh, 100px);
  }
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 28px;
  display: block;
}
.hero-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.45rem, 6.9vw, 6.9rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.hero-green { color: var(--accent); }
.hero-heading .word {
  display: inline-block;
  margin-right: 0.22em;
  transform: translateY(110%);
  opacity: 0;
}
.hero-tagline {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.5;
  margin-top: 28px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-scroll-hint {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
}
.hero-scroll-hint .arr-down {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  animation: bounce-down 1.8s var(--ease-out) infinite 1.5s;
}
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================================================
   CANVAS LAYERS
   ============================================================ */
.canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 1;
  /* Canvas starts hidden (JS phases it in after hero fades — change i).
   CSS opacity:0 prevents any flash-of-frame before JS initialises. */
  opacity: 0;
}
.canvas-wrap-v1 {
  position: absolute;
  inset: 0;
  z-index: 0;
}
canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#canvas2 {
  opacity: 0;
  transition: none; /* JS controls opacity */
}

/* Light overlay — subtle paper wash for stats legibility */
#dark-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  background: rgba(250, 250, 250, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: none;
}

/* ============================================================
   SCROLL CONTAINER + SECTIONS
   ============================================================ */
#scroll-container {
  position: relative;
}

.scroll-section {
  position: absolute;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 50;
  padding-block: 0;
  pointer-events: none;
}
.scroll-section .section-inner {
  pointer-events: auto;
}

/* Side-aligned text zones */
.align-left {
  padding-left: var(--gutter);
  padding-right: 52vw;
}
.align-left .section-inner { max-width: 40vw; }

.align-right {
  padding-right: var(--gutter);
  padding-left: 52vw;
}
.align-right .section-inner { max-width: 40vw; }

.align-center { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.align-center .section-inner { max-width: 700px; margin-inline: auto; text-align: center; }

/* Glass backdrop on text blocks — integrates text with light canvas */
.align-left .section-inner,
.align-right .section-inner {
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 16px;
  padding: 36px 40px;
  border: 1px solid rgba(226, 221, 207, 0.6);
}

/* Section typography — dark on light */
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: block;
  margin-bottom: 18px;
}
.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 14ch;
}
.section-body {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.6;
  margin-top: 18px;
}
.section-note {
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-top: 14px;
  font-style: italic;
}

/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 0.95em 1.6em;
  border-radius: 100px;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.cta-button.primary { background: var(--accent); color: #06281a; }
.cta-button.primary:hover { background: var(--accent-bright); transform: translateY(-2px); }
.cta-button.ghost {
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
}
.cta-button.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.arr { transition: transform 0.35s var(--ease); display: inline-block; }
.cta-button:hover .arr { transform: translateX(4px); }

/* ============================================================
   STATS SECTION
   ============================================================ */
.section-stats { padding: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}
/* Stats glass panel */
.stat {
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(226, 221, 207, 0.6);
  border-radius: 20px;
  padding: 40px 24px;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 6vw, 5.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: inline-block;
}
.stat-prefix {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  color: var(--accent-deep);
  letter-spacing: -0.03em;
  vertical-align: super;
  margin-right: 2px;
}
.stat-suffix {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  color: var(--accent-deep);
  letter-spacing: -0.03em;
  vertical-align: super;
}
.stat-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}

/* ============================================================
   LOGO TRANSITION (ii) — full-viewport frosted backdrop + centered logo
   ============================================================ */
#logo-transition {
  position: fixed;
  inset: 0;                          /* covers the entire viewport */
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;

  /* Full-page frosted backing */
  background: rgba(250, 250, 250, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  /* Center the logo inside */
  display: flex;
  align-items: center;
  justify-content: center;
}
#logo-transition img {
  display: block;
  width: min(600px, 72vw);
  max-width: 100%;
  transform: scale(0.88);            /* JS animates this on img, not the container */
  will-change: transform, filter;
}

/* ============================================================
   CONTAINER BREAKDOWN SECTION (v1) — light background
   ============================================================ */
/* --bg-end is updated live by JS to match the last frame of video.mp4.3.v2.
   Default = sampled from frames/v3/frame_0121.webp: R=216 G=219 B=222 */
:root { --bg-end: #d8dbde; }

.container-section {
  position: relative;
  z-index: 10;
  background: #fafafa;
  /* overflow: hidden removed — required so position:sticky works on .v1-canvas-wrap */
  padding: 0;
}

/* CTA section */
.cta-section {
  position: relative;
  z-index: 10;
  background: #fafafa;
  padding-block: clamp(80px, 11vw, 140px);
  text-align: center;
  border-top: 1px solid rgba(19,33,26,0.08);
}

/* V1 canvas — full-bleed, pinned by GSAP (not CSS sticky) */
.v1-canvas-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
}
#canvas-v1 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Component labels removed */

/* ============================================================
   ARTICLE INLINE SECTIONS — long-form editorial blocks
   ============================================================ */
.article-inline {
  position: relative;
  z-index: 10;
  background: #fafafa;
  padding-block: clamp(40px, 5vw, 70px);
  border-top: 1px solid rgba(19, 33, 26, 0.08);
}
.article-inner {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.article-inline .section-label {
  margin-top: 0;
  margin-bottom: 20px;
}
.article-inline img {
  margin-bottom: 0;
}
.article-inline h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.8vw, 4.3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 28px;
}
.article-inline h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.1vw, 1.65rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 44px;
  margin-bottom: 12px;
}
.article-inline p {
  font-size: clamp(1.06rem, 1.35vw, 1.13rem);
  color: var(--muted);
  line-height: 1.65;
}
.article-lead {
  font-size: clamp(1.25rem, 1.55vw, 1.4rem);
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 40px;
}

/* ============================================================
   CONTAINER SPECS — two-column model comparison table
   ============================================================ */
.container-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}
.spec-model {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.spec-model h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent-deep);
  margin-bottom: 8px;
}
.spec-subtitle {
  font-size: 0.88rem;
  font-style: italic;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.4;
}
.spec-model ul {
  list-style: none;
  padding: 0;
}
.spec-model li {
  padding: 9px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.97rem;
  color: var(--ink);
  line-height: 1.5;
}
.spec-model li:last-child {
  border-bottom: none;
}

@media (max-width: 640px) {
  .container-specs { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   CONTACT EMAIL LINK
   ============================================================ */
.contact-email {
  display: block;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
  margin-top: 32px;
  transition: opacity 0.25s;
}
.contact-email:hover { opacity: 0.75; }

/* ============================================================
   FOOTER — keep dark for contrast anchor
   ============================================================ */
.site-footer {
  background: var(--forest-900);
  color: var(--on-dark);
  padding-block: 84px 36px;
  position: relative;
  z-index: 60;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 48px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.footer-brand .logo { font-size: 1.4rem; margin-bottom: 18px; color: var(--on-dark); }
.footer-brand p { color: var(--on-dark-muted); max-width: 30ch; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col a, .footer-col p {
  display: block;
  color: var(--on-dark);
  opacity: 0.78;
  font-size: 0.94rem;
  padding: 5px 0;
  transition: opacity 0.25s, color 0.25s;
}
.footer-col a:hover { opacity: 1; color: var(--accent-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
  font-size: 0.84rem;
  flex-wrap: wrap;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  color: var(--on-dark-muted);
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #06281a; }
.socials svg { width: 16px; height: 16px; fill: currentColor; }

/* ============================================================
   UTILITY
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  /* Remove glass backdrop on mobile — just use text */
  .align-left, .align-right {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .align-left .section-inner, .align-right .section-inner {
    max-width: 100%;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .section-heading { font-size: clamp(2rem, 6vw, 3rem); }
  .stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-heading { font-size: clamp(3rem, 10vw, 5rem); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn-group { flex-direction: column; }
  .nav-right .btn-nav span { display: none; }
}
