/* ================================================================
   XOL Industries — Main Stylesheet v4.0
   Premium · Industrial · Cinematic · Tesla × Redwood × Form Energy
   ================================================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
details, summary { cursor: pointer; }

/* ── Design Tokens ───────────────────────────────────── */
:root {
  --black:        #080a0d;
  --near-black:   #0f1217;
  --charcoal:     #1a1f2a;
  --graphite:     #252d3a;
  --graphite-lt:  #2e3848;
  --dark-grey:    #3d4a5c;
  --mid-grey:     #6b7a8d;
  --light-grey:   #a8b3c0;
  --off-white:    #e8ecf0;
  --white:        #ffffff;

  --forest:       #1a3d2b;
  --forest-mid:   #2a5c40;
  --forest-lt:    #3d7a57;
  --accent:       #89c4f4;
  --accent-dim:   rgba(137, 196, 244, 0.12);
  --accent-glow:  rgba(137, 196, 244, 0.25);
  --green:        #4caf78;
  --green-dim:    rgba(76, 175, 120, 0.15);
  --red-dim:      rgba(220, 80, 80, 0.15);

  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-serif: 'IBM Plex Serif', Georgia, serif;

  --nav-h:        70px;
  --pad-x:        clamp(20px, 5vw, 80px);
  --section-py:   clamp(80px, 10vw, 140px);
  --max-w:        1280px;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:      cubic-bezier(0.4, 0, 1, 1);
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.06; letter-spacing: 0; }
p { line-height: 1.72; color: var(--light-grey); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ── Utilities ───────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow-light { color: rgba(137,196,244,0.7); }
.muted { color: var(--mid-grey); }

.section-header { max-width: 680px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-title {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.section-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--light-grey);
  max-width: 580px;
}
.section {
  padding: var(--section-py) 0;
  position: relative;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 17px 36px; font-size: 15px; }
.btn-primary {
  background: var(--accent);
  color: var(--black);
}
.btn-primary:hover {
  background: #a8d4f7;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(137,196,244,0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ── Scroll Reveal ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-hero { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-hero.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8,10,13,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.nav-logo { display: flex; align-items: center; line-height: 1; }
.logo-img {
  display: block;
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}
.logo-img:hover { opacity: 0.75; }
.logo-img--sm { height: 28px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 8px 12px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(137,196,244,0.35);
  padding: 8px 16px;
  border-radius: 3px;
  transition: all 0.2s;
  margin-left: 8px;
}
.nav-portal-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.25s;
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  padding-top: var(--nav-h);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(137,196,244,0.7);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.6); }
}
.hero-h1 {
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 700;
  line-height: 1.01;
  letter-spacing: 0;
  margin-bottom: 28px;
  max-width: 820px;
}
.hero-h1 em {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin-top: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-status div {
  background: rgba(15,18,23,0.72);
  backdrop-filter: blur(12px);
  padding: 16px 18px;
}
.hero-status span {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-grey);
}
.hero-status strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--off-white);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(137,196,244,0.5), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* ══════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 32px 0;
}
.stats-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  gap: 0;
}
.stat-item {
  flex: 1;
  padding: 0 28px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-unit {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  display: block;
  font-size: 11px;
  color: var(--mid-grey);
  margin-top: 6px;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   CHALLENGE SECTION
══════════════════════════════════════════════════════ */
.challenge-section { background: var(--near-black); }
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.challenge-card {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.challenge-card:hover {
  border-color: rgba(137,196,244,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.challenge-card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 22px;
}
.challenge-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.challenge-card p { font-size: 14px; line-height: 1.7; }
.card-stat {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.card-stat span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--mid-grey);
  letter-spacing: 0;
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════
   OPPORTUNITY SECTION
══════════════════════════════════════════════════════ */
.opportunity-section {
  background: var(--black);
  overflow: hidden;
}
.opportunity-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.opportunity-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: right center;
  opacity: 0.08;
  filter: saturate(0.5);
}
.opportunity-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,10,13,0.95) 40%, rgba(8,10,13,0.7) 100%);
}
.opportunity-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.opportunity-lead {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
}
.opportunity-pillars { display: flex; flex-direction: column; gap: 20px; }
.pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.pillar-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1px solid rgba(137,196,244,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 16px;
}
.pillar strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 5px; color: var(--white); }
.pillar p { font-size: 13.5px; margin: 0; }

.product-showcase {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}
.product-main-img {
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.product-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(8,10,13,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(137,196,244,0.25);
  border-radius: 4px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.badge-logo { height: 20px; filter: brightness(0) invert(1); }
.product-badge span { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--light-grey); }

/* ══════════════════════════════════════════════════════
   TECHNOLOGY SECTION
══════════════════════════════════════════════════════ */
.tech-section { background: var(--near-black); }

.tech-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: clamp(64px, 8vw, 100px);
  position: relative;
}
.tech-step {
  padding: 32px 28px;
  border-left: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.tech-step:first-child { border-left: none; }
.tech-step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 18px;
  opacity: 0.7;
}
.tech-step-icon {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 18px;
}
.tech-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.tech-step p { font-size: 13.5px; line-height: 1.7; }
.tech-step-line {
  display: none;
}

/* Diagram / Tabs */
.tech-diagram {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════
   ROADMAP SECTION
══════════════════════════════════════════════════════ */
.roadmap-section {
  background:
    linear-gradient(135deg, rgba(137,196,244,0.08), transparent 34%),
    var(--black);
}
.roadmap-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}
.roadmap-panel {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(26,31,42,0.72);
  border-radius: 6px;
  overflow: hidden;
}
.roadmap-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 26px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.roadmap-item:last-child { border-bottom: 0; }
.roadmap-step {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(137,196,244,0.22);
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.roadmap-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.roadmap-item p {
  font-size: 13.5px;
  line-height: 1.6;
}
.roadmap-status {
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--light-grey);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.roadmap-item.is-active .roadmap-status {
  border-color: rgba(76,175,120,0.35);
  background: var(--green-dim);
  color: var(--green);
}
.diagram-header {
  padding: 28px 32px 0;
}
.diagram-header h3 { font-size: 18px; margin-bottom: 6px; }
.diagram-note { font-size: 12px; color: var(--mid-grey); margin-bottom: 0; }
.diagram-tabs {
  display: flex;
  gap: 0;
  padding: 20px 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow-x: auto;
}
.dtab {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mid-grey);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}
.dtab:hover { color: var(--light-grey); }
.dtab.active { color: var(--accent); border-bottom-color: var(--accent); }

.diagram-panels { position: relative; }
.dpanel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.dpanel.active { display: grid; }
.dpanel-text-only.active {
  grid-template-columns: 1fr;
}
.dpanel-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.dpanel-img img.contain {
  object-fit: contain;
  background: #e8edf2;
  padding: 20px;
}

/* Stationary storage tab — full-width banner, natural aspect ratio */
#tab-storage.active {
  grid-template-columns: 1fr;
}
#tab-storage .dpanel-img img {
  width: 100%;
  height: auto;
  object-fit: fill;
  background: #dde5ed;
  padding: 0;
  display: block;
}
.dpanel-content {
  padding: 36px 40px;
}
.dpanel-content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.dpanel-content p { font-size: 14px; line-height: 1.72; margin-bottom: 14px; }
.dpanel-attrs {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dpanel-attrs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--light-grey);
}
.dpanel-attrs li i { color: var(--green); }

/* ══════════════════════════════════════════════════════
   MATERIALS SECTION
══════════════════════════════════════════════════════ */
.materials-section { background: var(--black); overflow: hidden; }
.materials-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(26,61,43,0.25) 0%, transparent 65%);
}
.materials-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  align-items: center;
}
.materials-visual-group {
  position: relative;
  height: 560px;
}
.mat-img-primary {
  position: absolute;
  top: 0; left: 0;
  width: 82%;
  height: 78%;
  border-radius: 4px;
  overflow: hidden;
}
.mat-img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 56%;
  height: 46%;
  border-radius: 4px;
  overflow: hidden;
  border: 3px solid var(--black);
}
.mat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.mat-img-primary:hover .mat-img,
.mat-img-secondary:hover .mat-img { transform: scale(1.04); }
.mat-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, transparent 50%, rgba(8,10,13,0.5));
}
.materials-lead {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 18px;
}
.materials-body { font-size: 15px; margin-bottom: 14px; }
.materials-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.mattr {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--light-grey);
  letter-spacing: 0.02em;
}
.mattr i { color: var(--green); font-size: 13px; }

/* ══════════════════════════════════════════════════════
   SUPPLY CHAIN SECTION
══════════════════════════════════════════════════════ */
.supply-section { background: var(--near-black); }
.supply-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.supply-col {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 36px 32px;
}
.supply-col--xol {
  border-color: rgba(76,175,120,0.2);
  background: linear-gradient(135deg, var(--charcoal) 70%, rgba(26,61,43,0.4) 100%);
}
.supply-col-header { margin-bottom: 24px; }
.supply-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.supply-label--risk { background: var(--red-dim); color: #dc5050; }
.supply-label--xol  { background: var(--green-dim); color: var(--green); }
.supply-col h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.supply-list { display: flex; flex-direction: column; gap: 12px; }
.supply-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--light-grey);
  line-height: 1.5;
}
.supply-col--current .supply-list li i { color: #dc5050; margin-top: 2px; flex-shrink: 0; }
.supply-col--xol .supply-list li i { color: var(--green); margin-top: 2px; flex-shrink: 0; }
.supply-footnote {
  font-size: 11.5px;
  color: var(--dark-grey);
  font-style: italic;
  text-align: center;
}

/* ══════════════════════════════════════════════════════
   COMMUNITY SECTION
══════════════════════════════════════════════════════ */
.community-section { background: var(--black); }
.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: clamp(64px, 8vw, 100px);
}
.community-card {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.community-card:hover {
  border-color: rgba(76,175,120,0.3);
  transform: translateY(-3px);
}
.community-card-icon {
  width: 52px;
  height: 52px;
  background: var(--green-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--green);
  margin: 0 auto 20px;
}
.community-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.community-card p { font-size: 13.5px; }

/* Microgrid Flow */
.microgrid-flow {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: clamp(32px, 4vw, 56px);
}
.mgrid-header { text-align: center; margin-bottom: 40px; }
.mgrid-header h3 { font-size: 20px; margin-bottom: 8px; }
.mgrid-header p { font-size: 14px; }
.mgrid-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mgrid-node {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--graphite);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 16px 32px;
  min-width: 240px;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.3s;
}
.mgrid-node:hover { border-color: rgba(137,196,244,0.3); }
.mgrid-source i { color: #f4c430; font-size: 20px; }
.mgrid-storage { border-color: rgba(137,196,244,0.25); background: rgba(137,196,244,0.06); }
.mgrid-logo { height: 18px; filter: brightness(0) invert(1); }
.mgrid-grid i { color: var(--accent); font-size: 20px; }
.mgrid-arrow { color: rgba(255,255,255,0.2); font-size: 16px; }
.mgrid-endpoints {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.mgrid-endpoint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--graphite);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--light-grey);
  min-width: 90px;
}
.mgrid-endpoint i { font-size: 18px; color: var(--green); }

/* ══════════════════════════════════════════════════════
   PRODUCT SECTION
══════════════════════════════════════════════════════ */
.product-section { background: var(--near-black); }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.product-img-stack {
  position: relative;
}
.product-img--main {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.product-img-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 42%;
  border-radius: 4px;
  overflow: hidden;
  border: 3px solid var(--near-black);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.product-img--front {
  width: 100%;
  display: block;
}
.product-lead {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 18px;
}
.product-body { font-size: 15px; margin-bottom: 20px; }
.product-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.product-spec {
  min-height: 96px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: rgba(37,45,58,0.78);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
}
.product-spec i {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 6px;
  font-size: 13px;
}
.product-spec span {
  color: var(--light-grey);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.product-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(137,196,244,0.15);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 12.5px;
  color: rgba(137,196,244,0.7);
  line-height: 1.5;
}
.product-note i { flex-shrink: 0; margin-top: 1px; }

/* ══════════════════════════════════════════════════════
   MARKET SECTION
══════════════════════════════════════════════════════ */
.market-section { background: var(--black); }
.market-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.market-stat {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 36px 28px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.market-stat:hover {
  border-color: rgba(137,196,244,0.2);
  transform: translateY(-3px);
}
.mstat-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 14px;
}
.counter {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.05em;
  line-height: 1;
}
.mstat-unit {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  color: var(--accent);
  opacity: 0.7;
}
.mstat-label {
  font-size: 13px;
  color: var(--light-grey);
  line-height: 1.5;
  margin-bottom: 10px;
}
.mstat-source {
  font-size: 10.5px;
  color: var(--dark-grey);
  font-style: italic;
  letter-spacing: 0.05em;
}
.market-disclaimer {
  font-size: 11.5px;
  color: var(--dark-grey);
  text-align: center;
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════
   TEAM SECTION
══════════════════════════════════════════════════════ */
.team-section { background: var(--near-black); }
.team-owned-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(137,196,244,0.1), rgba(76,175,120,0.1));
  border: 1px solid rgba(137,196,244,0.25);
  border-radius: 24px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
}
.team-owned-badge i { color: var(--accent); font-size: 13px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 880px;
}
.team-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
}
.team-card {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.team-card:hover {
  border-color: rgba(137,196,244,0.2);
  transform: translateY(-4px);
}
.team-photo-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s var(--ease);
}
.team-card:hover .team-photo { transform: scale(1.04); }
.team-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,10,13,0.88);
  display: flex;
  align-items: center;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  backdrop-filter: blur(4px);
}
.team-card:hover .team-photo-overlay { opacity: 1; }
.team-bio-overlay {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--light-grey);
}
.team-info { padding: 24px 28px; }
.team-name { font-size: 20px; font-weight: 700; margin-bottom: 5px; letter-spacing: -0.02em; }
.team-title {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.team-bio-short { font-size: 13.5px; line-height: 1.65; }

/* ══════════════════════════════════════════════════════
   INVESTOR / FAQ SECTION
══════════════════════════════════════════════════════ */
.investors-section { background: var(--black); }
.investor-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: flex-start;
}
.investor-thesis h3, .investor-faq h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.thesis-points { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }
.thesis-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.tp-num {
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 900;
  color: rgba(137,196,244,0.18);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-top: -2px;
}
.thesis-point strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.thesis-point p { font-size: 13.5px; margin: 0; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--off-white);
  list-style: none;
  user-select: none;
  gap: 16px;
}
.faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s;
}
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 0 18px;
}
.faq-a p { font-size: 13.5px; line-height: 1.72; }

/* ══════════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: brightness(0.5) saturate(0.6);
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,10,13,0.7) 0%, rgba(8,10,13,0.55) 50%, rgba(8,10,13,0.7) 100%);
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}
.cta-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════════════════ */
.contact-section { background: var(--near-black); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: flex-start;
}
.contact-aside .section-title { font-size: clamp(28px, 3.5vw, 46px); }
.contact-aside > p { font-size: 15px; margin-bottom: 36px; }
.contact-channels { display: flex; flex-direction: column; gap: 20px; }
.contact-channel {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-channel > i {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 15px;
  margin-top: 2px;
}
.contact-channel strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-channel span { font-size: 13px; color: var(--mid-grey); line-height: 1.5; }

/* Form */
.contact-form-wrap {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: clamp(28px, 4vw, 48px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--light-grey);
  text-transform: uppercase;
}
.form-group label span { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--graphite);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  padding: 13px 16px;
  font: inherit;
  font-size: 14px;
  color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--dark-grey); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(137,196,244,0.5);
  box-shadow: 0 0 0 3px rgba(137,196,244,0.08);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--graphite); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; }
.form-status {
  margin-top: 14px;
  font-size: 13.5px;
  text-align: center;
  min-height: 20px;
}
.form-status.success { color: var(--green); }
.form-status.error { color: #dc5050; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--near-black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: clamp(56px, 7vw, 80px);
}
.footer-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(40px, 6vw, 100px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { height: 30px; }
.footer-tagline {
  font-size: 13px;
  color: var(--mid-grey);
  line-height: 1.6;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-nav-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-col a {
  font-size: 13.5px;
  color: var(--mid-grey);
  transition: color 0.2s;
}
.footer-nav-col a:hover { color: var(--accent); }
.footer-bottom {
  padding: 20px var(--pad-x);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-legal {
  font-size: 11px;
  color: var(--dark-grey);
  line-height: 1.7;
  text-align: center;
}

/* ══════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease);
  max-width: 320px;
}
.toast.show { opacity: 1; transform: none; pointer-events: auto; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .tech-flow { grid-template-columns: repeat(2, 1fr); }
  .market-stats { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .dpanel.active { grid-template-columns: 1fr; }
  .dpanel-img img { height: 260px; }
}

@media (max-width: 900px) {
  .challenge-grid { grid-template-columns: 1fr; }
  .opportunity-layout,
  .roadmap-layout,
  .materials-layout,
  .product-layout,
  .investor-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .materials-visual-group { height: 380px; }
  .product-img-accent { display: none; }
  .supply-compare { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 440px; }
  .team-grid--3 { grid-template-columns: 1fr; max-width: 440px; }
  .stats-bar-inner { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat-item { flex: 0 0 50%; padding: 16px; }
  .hero-status { grid-template-columns: 1fr; max-width: 420px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .team-grid--3 { grid-template-columns: 1fr 1fr; max-width: 100%; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8,10,13,0.97);
    backdrop-filter: blur(16px);
    padding: 24px var(--pad-x) 36px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-portal-btn { margin-left: 0; margin-top: 8px; }
  .hero-h1 { font-size: clamp(38px, 10vw, 58px); }
  .tech-flow { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .community-grid { grid-template-columns: 1fr; }
  .stat-item { flex: 0 0 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .roadmap-item { grid-template-columns: 1fr; gap: 12px; }
  .roadmap-status { justify-self: start; }
  .product-spec-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .mgrid-endpoints { flex-direction: row; }
}
