/* =============================================================
   NUR ENERGETICS — Solar Desert Hub
   Handcrafted CSS. No frameworks.
   ----------------------------------------------------------------
   01  Design tokens
   02  Reset & base
   03  Utilities (container, glass, gradient text)
   04  Global overlays (noise, cursor, scroll bar, loader)
   05  Buttons
   06  Navigation
   07  Hero
   08  Energy crisis
   09  Desert advantages / map
   10  Why NUR / feature cards
   11  ROI calculator
   12  Mobile app / phone
   13  Investor / world map
   14  Roadmap
   15  Final CTA
   16  Footer
   17  Scroll-reveal animations
   18  Responsive
============================================================= */

/* ============================ 01 · TOKENS =================== */
:root {
  /* Palette */
  --bg:          #050505;
  --bg-soft:     #0a0a0c;
  --deep-blue:   #0F172A;
  --gold:        #D4AF37;
  --orange:      #FFB800;
  --white:       #FFFFFF;
  --muted:       #9aa0ab;
  --muted-dim:   #5f6470;
  --line:        rgba(255, 255, 255, 0.08);

  /* Gradients */
  --grad-solar:  linear-gradient(120deg, #FFB800 0%, #D4AF37 60%, #FF8A00 100%);
  --grad-text:   linear-gradient(120deg, #FFD56b 0%, #FFB800 45%, #D4AF37 100%);
  --grad-dark:   linear-gradient(180deg, #0a0a0c 0%, #050505 100%);

  /* Glass */
  --glass-bg:    rgba(255, 255, 255, 0.045);
  --glass-brd:   rgba(255, 255, 255, 0.10);
  --glass-blur:  18px;

  /* Typography */
  --f-display:   'Space Grotesk', 'Poppins', sans-serif;
  --f-head:      'Poppins', 'Space Grotesk', sans-serif;
  --f-body:      'Inter', sans-serif;

  /* Motion */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --maxw:        1240px;
  --gutter:      clamp(20px, 5vw, 64px);
  --radius:      20px;
}

/* ============================ 02 · RESET ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px; /* anchor links clear the fixed nav */
}

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: auto;
}

/* Hide native cursor only on precise pointers (custom cursor active) */
@media (hover: hover) and (pointer: fine) {
  body, a, button { cursor: none; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; }
ul { list-style: none; }
input { font: inherit; }

::selection { background: var(--orange); color: #000; }

/* Visible keyboard-focus ring for accessibility */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold), var(--orange));
  border-radius: 10px;
}

/* ============================ 03 · UTILITIES ================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
}

/* thin gradient separator between sections */
.section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(90%, var(--maxw));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.45), transparent);
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Section headers */
.section__head {
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 84px);
  text-align: center;
}
.section__kicker {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 16px;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 100px;
  margin-bottom: 24px;
}
.section__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.section__title--left { text-align: left; }
.section__lead {
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}
.section__lead--left { margin-inline: 0; }

/* ====================== 04 · GLOBAL OVERLAYS ================ */
/* Subtle noise texture */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Custom cursor */
.cursor-glow, .cursor-dot, .cursor-ring { pointer-events: none; position: fixed; z-index: 9500; }
.cursor-glow {
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,184,0,0.10) 0%, transparent 62%);
  transform: translate(-50%, -50%);
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--orange);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(212,175,55,0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  background: rgba(255,184,0,0.12);
  border-color: var(--orange);
}
@media (hover: none), (pointer: coarse) {
  .cursor-glow, .cursor-dot, .cursor-ring { display: none; }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 9600;
  background: var(--grad-solar);
  box-shadow: 0 0 14px rgba(255,184,0,0.7);
}

/* Loading screen */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader__logo { width: 96px; }
.sun-mark__core { transform-origin: 60px 60px; animation: pulseCore 2s ease-in-out infinite; }
.sun-mark__rays { transform-origin: 60px 60px; animation: spin 9s linear infinite; }
@keyframes pulseCore { 0%,100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes spin { to { transform: rotate(360deg); } }

.loader__brand {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.18em;
}
.loader__brand span { color: var(--gold); margin-left: 2px; }
.loader__bar {
  width: 220px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.loader__bar span {
  display: block; height: 100%; width: 0%;
  background: var(--grad-solar);
  box-shadow: 0 0 12px var(--orange);
}
.loader__pct {
  font-family: var(--f-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ============================ 05 · BUTTONS ================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 30px;
  border-radius: 100px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
}
.btn span { position: relative; z-index: 2; }
.btn--lg { padding: 20px 42px; font-size: 1.05rem; }

.btn--primary {
  color: #1a1200;
  background: var(--grad-solar);
  box-shadow: 0 10px 34px -10px rgba(255,184,0,0.6);
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, #fff 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px -12px rgba(255,184,0,0.8);
}
.btn--primary:hover::before { opacity: 0.25; }

.btn--ghost {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 14px 40px -16px rgba(212,175,55,0.7);
}

.btn--text {
  color: var(--muted);
  padding: 16px 14px;
}
.btn--text svg { transition: transform 0.35s var(--ease); }
.btn--text:hover { color: var(--orange); }
.btn--text:hover svg { transform: translateX(6px); }

/* ============================ 06 · NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 8000;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5,5,5,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  transition: padding 0.4s var(--ease);
}
.nav.is-scrolled .nav__row { padding-block: 13px; }

.nav__brand { display: flex; align-items: center; gap: 11px; }
.sun-mark--sm { width: 34px; }
.sun-mark--spin g { transform-origin: 60px 60px; animation: spin 14s linear infinite; }
.nav__brand-text {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
}
.nav__brand-text strong { color: var(--gold); font-weight: 700; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 100px;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--grad-solar);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--white); }

.nav__cta {
  margin-left: 8px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 24px;
  border-radius: 100px;
  color: #1a1200;
  background: var(--grad-solar);
  box-shadow: 0 8px 26px -10px rgba(255,184,0,0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -10px rgba(255,184,0,0.8); }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.nav__burger span {
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ 07 · HERO ==================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  overflow: hidden;
}

/* Layered cinematic sky */
.hero__sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 78%, rgba(255,138,0,0.32) 0%, transparent 55%),
    radial-gradient(90% 60% at 50% 92%, rgba(255,184,0,0.4) 0%, transparent 60%),
    linear-gradient(180deg, #05060c 0%, #1a0f1e 42%, #3a1d12 72%, #160a0a 100%);
}
.hero__sun {
  position: absolute;
  left: 50%; bottom: 8%;
  width: clamp(280px, 42vw, 560px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff7e0 0%, #FFB800 32%, #FF7A00 60%, transparent 72%);
  filter: blur(6px);
  animation: sunRise 3.4s var(--ease) both, sunBreathe 7s ease-in-out 3.4s infinite;
}
@keyframes sunRise {
  from { transform: translateX(-50%) translateY(120px) scale(0.7); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
}
@keyframes sunBreathe {
  0%,100% { filter: blur(6px) brightness(1); }
  50%     { filter: blur(10px) brightness(1.18); }
}
.hero__haze {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(255,138,0,0.16) 55%, rgba(5,5,5,0.9));
  pointer-events: none;
}
.hero__particles { position: absolute; inset: 0; z-index: 2; }

/* Desert dunes (layered parallax) */
.hero__dunes { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.dune {
  position: absolute;
  left: -10%; right: -10%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.dune--1 { bottom: -38%; height: 60%; background: linear-gradient(180deg, #2a160c, #160a06); }
.dune--2 { bottom: -46%; height: 56%; background: linear-gradient(180deg, #3a1d0e, #1d0d06); opacity: 0.92; }
.dune--3 { bottom: -54%; height: 54%; background: linear-gradient(180deg, #1a0d07, #0a0503); }

/* Stylised solar panel rows on the dunes */
.hero__panels {
  position: absolute;
  left: 50%; bottom: 4%;
  transform: translateX(-50%) perspective(700px) rotateX(62deg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 4;
  opacity: 0.5;
  pointer-events: none;
}
.panel-row { display: flex; gap: 10px; }
.panel-row span {
  width: clamp(28px, 5vw, 56px);
  height: clamp(20px, 3.4vw, 38px);
  background: linear-gradient(150deg, #0a2f4d, #061a2e);
  border: 1px solid rgba(255,184,0,0.35);
  border-radius: 3px;
  box-shadow: inset 0 0 12px rgba(0,140,255,0.25);
}

.hero__grid {
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}

.hero__content {
  position: relative;
  z-index: 6;
  text-align: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  margin-bottom: 30px;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 13vw, 11rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word {
  display: inline-block;
  transform: translateY(110%);
  background: linear-gradient(180deg, #ffffff 35%, #b8bcc6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title .word--accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 38px rgba(255,184,0,0.4));
}
.is-ready .hero__title .word {
  animation: wordUp 1s var(--ease) forwards;
}
.is-ready .hero__title .line:nth-child(2) .word { animation-delay: 0.12s; }
.is-ready .hero__title .line:nth-child(3) .word { animation-delay: 0.24s; }
@keyframes wordUp { to { transform: translateY(0); } }

.hero__subtitle {
  margin-top: 26px;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  color: var(--white);
}
.hero__desc {
  margin: 16px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.5vw, 1.1rem);
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Floating stat cards */
.hero__stats {
  position: relative;
  z-index: 6;
  margin: clamp(56px, 8vw, 110px) auto 0;
  max-width: var(--maxw);
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-card {
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: left;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.stat-card[data-float="1"] { animation: floaty 6s ease-in-out infinite; }
.stat-card[data-float="2"] { animation: floaty 6s ease-in-out 0.8s infinite; }
.stat-card[data-float="3"] { animation: floaty 6s ease-in-out 1.6s infinite; }
.stat-card[data-float="4"] { animation: floaty 6s ease-in-out 2.4s infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.stat-card:hover {
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 24px 60px -24px rgba(212,175,55,0.5);
}
.stat-card__value {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-card__label {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll-line {
  width: 1px; height: 54px;
  background: linear-gradient(var(--orange), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -40%; left: 0;
  width: 100%; height: 40%;
  background: var(--white);
  animation: scrollDot 2s var(--ease) infinite;
}
@keyframes scrollDot { to { top: 100%; } }
.hero__scroll-text {
  font-family: var(--f-display);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================ 08 · CRISIS ================== */
.crisis__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.crisis-card {
  position: relative;
  border-radius: var(--radius);
  padding: 34px 30px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
}
.crisis-card__glow {
  position: absolute;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,184,0,0.22), transparent 65%);
  top: var(--my, 50%); left: var(--mx, 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.crisis-card:hover { transform: translateY(-8px); border-color: rgba(255,184,0,0.4); }
.crisis-card:hover .crisis-card__glow { opacity: 1; }

.crisis-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: var(--orange);
  background: rgba(255,184,0,0.1);
  border: 1px solid rgba(255,184,0,0.25);
  margin-bottom: 22px;
}
.crisis-card__icon svg { width: 28px; height: 28px; }
.crisis-card__title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.crisis-card__text { color: var(--muted); font-size: 0.95rem; }

/* Bar chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
  margin: 26px 0 18px;
}
.bar {
  flex: 1;
  position: relative;
  height: 0;
  background: linear-gradient(180deg, var(--gold), rgba(212,175,55,0.15));
  border-radius: 6px 6px 0 0;
  transition: height 1.1s var(--ease);
}
.bar--peak { background: linear-gradient(180deg, var(--orange), rgba(255,184,0,0.2)); box-shadow: 0 0 22px rgba(255,184,0,0.5); }
.bar span {
  position: absolute;
  bottom: -22px; left: 0; right: 0;
  text-align: center;
  font-size: 0.66rem;
  color: var(--muted-dim);
}
.in-view .bar { height: var(--val); }

/* Line chart */
.line-chart { height: 110px; margin: 26px 0 14px; }
.line-chart svg { width: 100%; height: 100%; }
.line-chart__stroke {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}
.line-chart__area { opacity: 0; transition: opacity 1s var(--ease) 0.5s; }
.in-view .line-chart__stroke { animation: drawLine 1.6s var(--ease) 0.2s forwards; }
.in-view .line-chart__area { opacity: 1; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* Ring chart */
.ring-chart {
  position: relative;
  width: 150px; height: 150px;
  margin: 22px auto 14px;
}
.ring-chart svg { transform: rotate(-90deg); }
.ring-chart__track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 11; }
.ring-chart__value {
  fill: none;
  stroke: url(#loaderGrad);
  stroke: var(--orange);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-dasharray: 302;
  stroke-dashoffset: 302;
  transition: stroke-dashoffset 1.6s var(--ease);
  filter: drop-shadow(0 0 6px rgba(255,184,0,0.6));
}
.ring-chart__label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.ring-chart__label strong {
  font-family: var(--f-display);
  font-size: 1.7rem;
  color: var(--white);
}
.ring-chart__label span { font-size: 0.66rem; color: var(--muted); }

.crisis-card__metric {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}
.crisis-card__metric strong {
  font-family: var(--f-display);
  color: var(--orange);
  font-size: 1.05rem;
}

/* ===================== 09 · ADVANTAGES / MAP =============== */
.advantages { overflow: hidden; }
.advantages__gridbg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  animation: gridDrift 22s linear infinite;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 80%);
}
@keyframes gridDrift { to { background-position: 52px 52px; } }

.map-wrap {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 40px;
  align-items: center;
}
.map {
  position: relative;
  border-radius: var(--radius);
  padding: 20px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(15,23,42,0.6), transparent 70%);
  border: 1px solid var(--line);
}
.map__svg { width: 100%; height: auto; }
.map__land {
  fill: url(#landGrad);
  stroke: rgba(212,175,55,0.55);
  stroke-width: 1.4;
}
.map__lines path {
  stroke-dasharray: 6 8;
  opacity: 0.55;
  animation: dash 3s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -28; } }

.map-node { cursor: none; }
.map-node__core {
  fill: var(--orange);
  filter: drop-shadow(0 0 8px var(--orange));
}
.map-node__pulse {
  fill: rgba(255,184,0,0.35);
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 2.6s ease-out infinite;
}
.map-node:nth-child(2) .map-node__pulse { animation-delay: 0.6s; }
.map-node:nth-child(3) .map-node__pulse { animation-delay: 1.2s; }
.map-node:nth-child(4) .map-node__pulse { animation-delay: 1.8s; }
@keyframes nodePulse {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(3.4); opacity: 0; }
}
.map-node:hover .map-node__core { fill: #fff; }

.map__tooltip {
  position: absolute;
  z-index: 5;
  min-width: 200px;
  max-width: 240px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(10,10,12,0.92);
  border: 1px solid rgba(212,175,55,0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px -20px rgba(0,0,0,0.8);
  opacity: 0;
  transform: translate(-50%, -116%) scale(0.9);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}
.map__tooltip.is-visible { opacity: 1; transform: translate(-50%, -126%) scale(1); }
.map__tooltip strong {
  font-family: var(--f-head);
  color: var(--orange);
  font-size: 1rem;
}
.map__tooltip p { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

.map-legend { display: flex; flex-direction: column; gap: 18px; }
.map-legend li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  color: var(--muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.map-legend .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
  flex-shrink: 0;
}

.advantages__facts {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.fact {
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.fact:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.4); }
.fact__value {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fact p { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }

/* ===================== 10 · WHY / FEATURES ================= */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  position: relative;
  border-radius: var(--radius);
  padding: 32px 26px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.feature__border {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,184,0,0.6), transparent 40%, transparent 60%, rgba(212,175,55,0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px -30px rgba(255,184,0,0.4);
}
.feature:hover .feature__border { opacity: 1; }
.feature:hover .feature__icon {
  background: var(--grad-solar);
  color: #1a1200;
  transform: rotate(-8deg) scale(1.08);
}
.feature__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 16px;
  color: var(--orange);
  background: rgba(255,184,0,0.1);
  border: 1px solid rgba(255,184,0,0.22);
  margin-bottom: 22px;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), color 0.45s var(--ease);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.feature p { color: var(--muted); font-size: 0.9rem; }

/* ===================== 11 · CALCULATOR ===================== */
.calc {
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
}
.calc__panel { padding: clamp(28px, 4vw, 48px); }
.calc__panel-label,
.calc__chart-label {
  display: block;
  font-family: var(--f-display);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.calc__sizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}
.calc-size {
  padding: 18px 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.3rem;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.calc-size small { display: block; font-family: var(--f-body); font-size: 0.7rem; color: var(--muted); font-weight: 400; }
.calc-size:hover { transform: translateY(-3px); border-color: rgba(255,184,0,0.4); }
.calc-size.is-active {
  background: var(--grad-solar);
  color: #1a1200;
  border-color: transparent;
  box-shadow: 0 14px 36px -14px rgba(255,184,0,0.7);
}
.calc-size.is-active small { color: rgba(26,18,0,0.7); }

.calc__slider-block { margin-bottom: 24px; }
.calc__slider-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.calc__slider-val { color: var(--orange); font-family: var(--f-display); font-weight: 600; }
.calc__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  outline: none;
}
.calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-solar);
  box-shadow: 0 0 16px rgba(255,184,0,0.8);
  cursor: none;
  border: 3px solid #0a0a0c;
}
.calc__slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 16px rgba(255,184,0,0.8);
  border: 3px solid #0a0a0c;
}

.calc__chart { margin-top: 30px; }
.calc__chart svg { width: 100%; height: 160px; }
.calc__chart-zero { stroke: rgba(255,255,255,0.12); stroke-width: 1; stroke-dasharray: 3 5; }
.calc__chart-line {
  filter: drop-shadow(0 4px 12px rgba(255,184,0,0.5));
  transition: d 0.6s var(--ease);
}
.calc__chart-area { transition: d 0.6s var(--ease); }
.calc__chart-dot {
  fill: #fff;
  stroke: var(--orange);
  stroke-width: 3;
  filter: drop-shadow(0 0 8px var(--orange));
  transition: cx 0.6s var(--ease), cy 0.6s var(--ease);
}

.calc__results {
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,184,0,0.1), transparent 60%),
    rgba(15,23,42,0.5);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.calc-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.calc-result__label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.calc-result__value {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.calc-result--hl .calc-result__value { color: var(--orange); }
.calc-result--profit { border-bottom: none; }
.calc-result--profit .calc-result__value {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}
.calc-result__bar {
  margin-top: 10px;
  height: 6px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.calc-result__bar span {
  display: block; height: 100%; width: 0%;
  background: var(--grad-solar);
  box-shadow: 0 0 14px rgba(255,184,0,0.7);
  transition: width 0.9s var(--ease);
}
.calc__cta { margin-top: 8px; justify-content: center; }
.calc__note {
  margin-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted-dim);
}

/* ===================== 12 · APP / PHONE ==================== */
.app__layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.app__features {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.app__features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--white);
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.app__features li:hover { transform: translateX(8px); border-color: rgba(255,184,0,0.4); }
.app__feat-ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,184,0,0.1);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.app__stores { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.store-btn:hover { transform: translateY(-3px); border-color: var(--gold); }

/* Phone mockup */
.app__phone-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.app__phone-glow {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,184,0,0.3), transparent 65%);
  filter: blur(30px);
  animation: floaty 7s ease-in-out infinite;
}
.phone {
  position: relative;
  width: clamp(260px, 30vw, 320px);
  aspect-ratio: 320 / 660;
  border-radius: 46px;
  padding: 14px;
  background: linear-gradient(160deg, #20242e, #0a0b0f);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.9), inset 0 0 0 2px rgba(0,0,0,0.6);
  animation: floaty 7s ease-in-out infinite;
}
.phone__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 38%; height: 24px;
  background: #0a0b0f;
  border-radius: 0 0 16px 16px;
  z-index: 4;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #14233b, #07090f);
}

.app-screen {
  position: absolute;
  inset: 0;
  padding: 44px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateX(40px) scale(0.96);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.app-screen.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.app-screen__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.92rem;
}
.app-screen__live {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--orange);
}
.app-screen__hero {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.app-screen__big {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2.2rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.app-screen__unit { font-size: 0.74rem; color: var(--muted); }

.app-screen__spark { height: 70px; }
.app-screen__spark svg { width: 100%; height: 100%; }
#phoneSpark { filter: drop-shadow(0 3px 8px rgba(255,184,0,0.6)); }

.app-screen__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
}
.app-screen__bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--orange), rgba(255,184,0,0.15));
  border-radius: 4px 4px 0 0;
}
.app-screen__pills { display: flex; gap: 10px; margin-top: auto; }
.pill {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.pill b { font-family: var(--f-display); font-size: 1rem; color: var(--white); }
.pill span { font-size: 0.62rem; color: var(--muted); }

.app-screen__cams {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cam {
  aspect-ratio: 16/11;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d1a2c, #060a12);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cam::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,184,0,0.18), transparent);
  animation: camScan 3.4s linear infinite;
}
.cam:nth-child(2)::after { animation-delay: 0.8s; }
.cam:nth-child(3)::after { animation-delay: 1.6s; }
.cam:nth-child(4)::after { animation-delay: 2.4s; }
@keyframes camScan { to { left: 120%; } }
.cam span {
  position: absolute;
  bottom: 6px; left: 7px;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.app-screen__notice {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,184,0,0.08);
  border: 1px solid rgba(255,184,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.app-screen__notice b { font-size: 0.8rem; }
.app-screen__notice span { font-size: 0.66rem; color: var(--muted); }
.app-screen__chat { margin-top: auto; }
.chat-bubble {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  font-size: 0.74rem;
}

.phone__nav {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.phone__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}
.phone__dot.is-active {
  width: 22px;
  border-radius: 6px;
  background: var(--grad-solar);
}

/* ===================== 13 · INVESTOR / WORLD =============== */
.investor { overflow: hidden; }
.investor__bg {
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 60% 40%, rgba(15,23,42,0.7), transparent 70%);
}
.world {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: radial-gradient(100% 100% at 50% 0%, rgba(15,23,42,0.55), transparent 70%);
  padding: 20px;
  margin-bottom: 50px;
}
.world__svg { width: 100%; height: auto; }
.world__dots circle { fill: rgba(255,255,255,0.16); }
.world__arcs path {
  stroke-dasharray: 5 7;
  opacity: 0.7;
  animation: dash 2.4s linear infinite;
  filter: drop-shadow(0 0 4px rgba(255,184,0,0.6));
}
.world__hub-core { fill: var(--orange); filter: drop-shadow(0 0 10px var(--orange)); }
.world__hub-pulse {
  fill: rgba(255,184,0,0.3);
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 2.6s ease-out infinite;
}
.world__tag {
  position: absolute;
  font-family: var(--f-display);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 100px;
  background: rgba(10,10,12,0.85);
  border: 1px solid rgba(212,175,55,0.4);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.world__tag--1 { top: 22%; left: 14%; }
.world__tag--2 { top: 58%; left: 30%; animation-delay: 1s; }
.world__tag--3 { top: 36%; right: 12%; animation-delay: 2s; }
.world__tag--4 {
  top: 32%; left: 56%;
  color: #1a1200;
  background: var(--grad-solar);
  border-color: transparent;
  animation-delay: 0.5s;
}

.investor__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 50px;
}
.inv-stat {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
}
.inv-stat__value {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.inv-stat span { font-size: 0.84rem; color: var(--muted); }

.investor__esg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.esg-card {
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.esg-card:hover { transform: translateY(-8px); border-color: rgba(212,175,55,0.45); }
.esg-card__tag {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: #1a1200;
  background: var(--grad-solar);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.esg-card h3 {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.esg-card p { color: var(--muted); font-size: 0.92rem; }

/* ===================== 14 · ROADMAP ======================== */
.timeline { position: relative; }
.timeline__track {
  position: absolute;
  top: 31px; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.1);
}
.timeline__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad-solar);
  box-shadow: 0 0 16px rgba(255,184,0,0.8);
  transition: width 1.4s var(--ease);
}
.timeline__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.tl-step { display: flex; flex-direction: column; align-items: center; }
.tl-step__node {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--line);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
  transition: all 0.5s var(--ease);
}
.tl-step.is-on .tl-step__node {
  border-color: transparent;
  background: var(--grad-solar);
  color: #1a1200;
  box-shadow: 0 0 32px rgba(255,184,0,0.6);
  transform: scale(1.08);
}
.tl-step__card {
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.tl-step.is-on .tl-step__card { border-color: rgba(255,184,0,0.4); }
.tl-step__card:hover { transform: translateY(-6px); }
.tl-step__card h3 {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.tl-step__card p { color: var(--muted); font-size: 0.86rem; }

/* ===================== 15 · FINAL CTA ====================== */
.cta {
  text-align: center;
  overflow: hidden;
}
.cta__storm {
  position: absolute; inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 50% 60%, rgba(255,138,0,0.28), transparent 70%),
    radial-gradient(40% 60% at 50% 100%, rgba(255,184,0,0.3), transparent 70%);
}
.cta__storm .wave {
  position: absolute;
  left: 50%; bottom: -60%;
  width: 160%; aspect-ratio: 2 / 1;
  border-radius: 46% 46% 0 0;
  transform: translateX(-50%);
  filter: blur(8px);
}
.wave--1 { background: radial-gradient(closest-side, rgba(255,184,0,0.4), transparent); animation: waveRise 8s ease-in-out infinite; }
.wave--2 { background: radial-gradient(closest-side, rgba(212,175,55,0.3), transparent); animation: waveRise 11s ease-in-out 1s infinite; }
.wave--3 { background: radial-gradient(closest-side, rgba(255,138,0,0.25), transparent); animation: waveRise 14s ease-in-out 2s infinite; }
@keyframes waveRise {
  0%,100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.6; }
  50%     { transform: translateX(-50%) translateY(-50px) scale(1.08); opacity: 1; }
}
.cta__content { position: relative; z-index: 2; }
.cta__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 16px;
}
.cta__lead {
  margin: 22px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}
.cta__actions {
  margin-top: 38px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================== 16 · FOOTER ========================= */
.footer {
  position: relative;
  padding-top: 80px;
  border-top: 1px solid var(--line);
  background: var(--grad-dark);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__tagline {
  margin-top: 18px;
  max-width: 320px;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer__col h4 {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.footer__col a, .footer__col span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.3s var(--ease);
}
.footer__col a:hover { color: var(--orange); }
.footer__socials { display: flex; gap: 12px; }
.footer__socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.footer__socials a svg { width: 18px; height: 18px; }
.footer__socials a:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  color: var(--orange);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted-dim);
}

/* Back to top */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 7000;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #1a1200;
  background: var(--grad-solar);
  box-shadow: 0 12px 30px -10px rgba(255,184,0,0.7);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { transform: translateY(-4px) scale(1.05); }

/* ===================== 17 · REVEAL ANIMATIONS ============== */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered children inside revealed grids */
.crisis__grid [data-reveal].in-view { transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .word { transform: none; }
}

/* Failsafe — if the main script never initialises (load error, blocked JS),
   reveal all content and drop the loader so the page is never stuck. */
.js-failsafe #loader { display: none !important; }
.js-failsafe [data-reveal] { opacity: 1 !important; transform: none !important; }
.js-failsafe .hero__title .word { transform: none !important; }

/* ===================== 18 · RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .crisis__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc__results { border-left: none; border-top: 1px solid var(--line); }
  .app__layout { grid-template-columns: 1fr; }
  .app__text { order: 2; }
  .app__phone-wrap { order: 1; }
  .investor__stats { grid-template-columns: repeat(2, 1fr); }
  .investor__esg { grid-template-columns: 1fr; }
  .advantages__facts { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  /* Mobile navigation */
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 360px);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    padding: 90px 30px 40px;
    background: rgba(8,8,10,0.96);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    transform: translateX(110%);
    transition: transform 0.5s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.05rem; padding: 14px 16px; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 14px 0 0; text-align: center; }

  .timeline__track { display: none; }
  .timeline__row { grid-template-columns: 1fr; gap: 16px; }
  .tl-step { flex-direction: row; gap: 18px; align-items: flex-start; }
  .tl-step__node { margin-bottom: 0; flex-shrink: 0; width: 54px; height: 54px; }
  .tl-step__card { text-align: left; flex: 1; }

  .section::before { width: 86%; }
}

@media (max-width: 560px) {
  :root { --radius: 16px; }
  .hero__stats { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .investor__stats { grid-template-columns: 1fr; }
  .calc__sizes { grid-template-columns: repeat(2, 1fr); }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding-top: 100px; }
  .to-top { right: 16px; bottom: 16px; }
}
