:root {
  --bg: #0b130f;
  --bg-2: #0e1712;
  --surface: #14201a;
  --surface-2: #182a20;
  --lime: #c4f82a;
  --lime-2: #aef029;
  --mint: #34d27b;
  --green-deep: #1d3a2b;
  --ink: #eef4ec;
  --muted: #9fb3a6;
  --muted-2: #7c917f;
  --line: rgba(255, 255, 255, 0.09);
  --line-lime: rgba(196, 248, 42, 0.16);

  --light-bg: #f3f6ef;
  --light-card: #ffffff;
  --light-ink: #122019;
  --light-muted: #57685d;
  --light-line: rgba(18, 32, 25, 0.1);

  --radius: 18px;
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.62;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 90vw); margin: 0 auto; }
.section { padding: clamp(70px, 9vw, 130px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--lime); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 0.96rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .14s ease, box-shadow .25s ease, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lime); color: #0a1109; box-shadow: 0 14px 34px -12px rgba(196, 248, 42, 0.6); }
.btn-primary:hover { background: var(--lime-2); box-shadow: 0 18px 44px -12px rgba(196, 248, 42, 0.8); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.2); }
.btn-arrow svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 19, 15, 0.82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--lime); display: grid; place-items: center; box-shadow: 0 8px 22px -8px rgba(196, 248, 42, 0.7); }
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--ink); }
.brand-tag { font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--lime); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 0.93rem; font-weight: 500; color: var(--ink); opacity: 0.78; transition: opacity .2s; }
.nav a:hover { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button {
  font-family: var(--font-body); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em;
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  padding: 5px 11px; border-radius: 999px; transition: background .2s, color .2s;
}
.lang-switch button.active { background: var(--lime); color: #0a1109; }
.nav-cta { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 7vw, 90px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 620px;
  background: radial-gradient(60% 60% at 70% 30%, rgba(196, 248, 42, 0.16), transparent 70%),
              radial-gradient(50% 50% at 20% 10%, rgba(52, 210, 123, 0.12), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 50px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: 0.82rem; font-weight: 500;
  padding: 7px 14px 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line); color: var(--ink);
}
.badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(196, 248, 42, 0.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(196, 248, 42, 0.18); } 50% { box-shadow: 0 0 0 9px rgba(196, 248, 42, 0.02); } }

.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 24px 0 22px; }
.hero h1 .accent { color: var(--lime); display: block; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Hero visual: station + floating chips */
.hero-stage { position: relative; display: grid; place-items: center; min-height: 540px; }
.station {
  position: relative; z-index: 2; width: clamp(190px, 22vw, 236px); aspect-ratio: 236 / 448;
  border-radius: 30px; padding: 15px; display: flex; flex-direction: column; gap: 13px;
  background: linear-gradient(165deg, #20342a, #0d1611);
  border: 1px solid rgba(196, 248, 42, 0.2);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.station-screen {
  flex: 0 0 39%; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: radial-gradient(130% 90% at 50% 0%, rgba(196, 248, 42, 0.22), rgba(13, 22, 17, 0.7));
  border: 1px solid rgba(196, 248, 42, 0.22);
}
.station-screen .bolt { width: 40px; height: 40px; color: var(--lime); filter: drop-shadow(0 0 10px rgba(196, 248, 42, 0.6)); }
.station-screen .pct { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.station-screen .pct b { color: var(--lime); }
.station-screen .lbl { font-size: 0.56rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.station-slots { flex: 1; display: grid; grid-auto-rows: 1fr; gap: 9px; }
.slot {
  border-radius: 9px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex; align-items: center; gap: 9px; padding: 0 11px;
}
.slot .fill { height: 6px; border-radius: 3px; flex: 1; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.slot .fill::before { content: ""; display: block; height: 100%; width: var(--w, 60%); background: linear-gradient(90deg, var(--mint), var(--lime)); border-radius: 3px; }
.slot .led { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px rgba(196, 248, 42, 0.8); }
.slot.off .led { background: rgba(255, 255, 255, 0.18); box-shadow: none; }
.slot.off .fill::before { width: 12%; background: rgba(255, 255, 255, 0.2); }

.chip-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; border-radius: 14px; font-size: 0.84rem; font-weight: 600; color: var(--ink);
  background: rgba(16, 26, 20, 0.82); backdrop-filter: blur(8px); border: 1px solid var(--line-lime);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8); animation: float 5.5s ease-in-out infinite;
}
.chip-float .ic { color: var(--lime); display: grid; place-items: center; }
.chip-float .ic svg { width: 18px; height: 18px; }
.chip-a { top: 1%;  left: -4%;   animation-delay: 0s;   animation-duration: 5.4s; }
.chip-g { top: 24%; left: -12%;  animation-delay: .4s;  animation-duration: 6.2s; }
.chip-f { top: 47%; left: -14%;  animation-delay: .8s;  animation-duration: 6.6s; }
.chip-h { top: 70%; left: -11%;  animation-delay: 1.2s; animation-duration: 5.8s; }
.chip-c { top: 90%; left: -3%;   animation-delay: 1.6s; animation-duration: 6.1s; }
.chip-d { top: 1%;  right: -2%;  animation-delay: 2s;   animation-duration: 6.3s; }
.chip-i { top: 24%; right: -10%; animation-delay: 2.4s; animation-duration: 5.6s; }
.chip-b { top: 47%; right: -12%; animation-delay: 2.8s; animation-duration: 6.4s; }
.chip-j { top: 70%; right: -9%;  animation-delay: 3.2s; animation-duration: 5.9s; }
.chip-e { top: 90%; right: -2%;  animation-delay: 3.6s; animation-duration: 6.7s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; overflow: hidden; }
.marquee-inner { display: flex; width: max-content; animation: scroll 48s linear infinite; }
.marquee-group { display: flex; align-items: center; padding-right: 0; }
.marquee-group span { padding: 0 26px; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--muted); white-space: nowrap; }
.marquee-group span::after { content: "•"; color: var(--lime); margin-left: 26px; }
.marquee:hover .marquee-inner { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 16px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.07rem; }

/* ---------- Cards (dark) ---------- */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-lime); background: var(--surface-2); }
.card .icon { width: 48px; height: 48px; border-radius: 13px; background: rgba(196, 248, 42, 0.12); display: grid; place-items: center; color: var(--lime); margin-bottom: 18px; }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; color: var(--ink); }
.card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Light section ---------- */
.section--light { background: var(--light-bg); color: var(--light-ink); }
.section--light .section-head h2 { color: var(--light-ink); }
.section--light .section-head p { color: var(--light-muted); }
.section--light .card { background: var(--light-card); border-color: var(--light-line); box-shadow: 0 18px 44px -30px rgba(18, 32, 25, 0.4); }
.section--light .card:hover { border-color: rgba(47, 174, 107, 0.4); }
.section--light .card h3 { color: var(--light-ink); }
.section--light .card p { color: var(--light-muted); }
.section--light .card .num { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--mint); display: block; margin-bottom: 14px; }

/* ---------- Partner band ---------- */
.partner-inner {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(135deg, #1f3a2b 0%, #0f1d16 100%);
  border: 1px solid var(--line-lime); padding: clamp(38px, 5.5vw, 66px);
  display: grid; grid-template-columns: 1.5fr 0.8fr; gap: 36px; align-items: center; box-shadow: var(--shadow);
}
.partner-inner::after { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 248, 42, 0.18), transparent 70%); }
.partner-inner h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 16px 0 16px; color: var(--ink); position: relative; z-index: 1; }
.partner-inner p { color: var(--muted); font-size: 1.04rem; position: relative; z-index: 1; }
.partner-cta { display: flex; justify-content: flex-end; position: relative; z-index: 1; }

/* ---------- Vision ---------- */
.vision-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.vision-item { padding: 30px 28px 10px 0; border-top: 1px solid var(--line); }
.vision-item:not(:last-child) { border-right: 1px solid var(--line); padding-right: 30px; }
.vision-num { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--lime); line-height: 1; }
.vision-item h3 { font-size: 1.2rem; margin: 16px 0 10px; color: var(--ink); }
.vision-item p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Contact ---------- */
.contact { text-align: center; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: auto 0 -40% 0; height: 500px; background: radial-gradient(50% 60% at 50% 100%, rgba(196, 248, 42, 0.14), transparent 70%); pointer-events: none; }
.contact .section-head { margin-inline: auto; position: relative; z-index: 1; }
.contact .btn { margin-top: 8px; }
.contact-mail { display: block; margin-top: 18px; color: var(--lime); font-weight: 500; font-size: 0.95rem; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 48px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-tag { color: var(--lime); font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; }
.footer-links { display: flex; gap: 24px; font-size: 0.9rem; }
.footer-links a { color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 0.85rem; color: var(--muted-2); width: 100%; padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--line); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 920px) { .nav-cta { display: inline-flex; } }
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stage { min-height: 440px; margin-top: 10px; }
  .chip-d, .chip-e, .chip-f, .chip-g, .chip-h, .chip-i, .chip-j { display: none; }
  .partner-inner { grid-template-columns: 1fr; }
  .partner-cta { justify-content: flex-start; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .vision-list { grid-template-columns: 1fr; }
  .vision-item, .vision-item:not(:last-child) { border-right: 0; padding-right: 0; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero .lead { max-width: none; }
  .chip-b { right: -2%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip-float, .badge .pulse { animation: none; }
  .marquee-inner { animation: none; }
}

/* ---------- Legal pages ---------- */
.legal-header { border-bottom: 1px solid var(--line); padding: 18px 0; }
.legal-main { padding: clamp(36px, 6vw, 72px) 0 clamp(50px, 7vw, 90px); }
.legal-wrap { width: min(820px, 90vw); margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; font-size: 0.92rem; margin-bottom: 26px; transition: color .2s; }
.back-link:hover { color: var(--lime); }
.legal-wrap h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 10px; }
.legal-wrap .lede { color: var(--muted); font-size: 1rem; }
.legal-section { margin-top: 38px; }
.legal-section h2 { font-size: 1.32rem; color: var(--ink); margin-bottom: 12px; }
.legal-section h3 { font-family: var(--font-body); font-size: 1.04rem; font-weight: 600; color: var(--ink); margin: 20px 0 8px; }
.legal-section p, .legal-section li { color: var(--muted); font-size: 0.98rem; margin-bottom: 10px; }
.legal-section ul { padding-left: 20px; margin-bottom: 10px; }
.legal-section dl { margin: 6px 0; }
.legal-section dt { color: var(--ink); font-weight: 600; font-size: 0.88rem; margin-top: 14px; }
.legal-section dd { color: var(--muted); font-size: 0.98rem; }
.legal-section a { color: var(--lime); word-break: break-word; }
.legal-section code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
