/* EnergieMIND — Renewable green corporate identity
   Green-led surfaces + sky blue tech + solar gold for ENM token accents only */
:root {
  /* Renewable green — primary brand */
  --renew-green: #0d7a4e;
  --renew-green-dark: #065a38;
  --renew-green-mid: #17b26a;
  --renew-green-light: #34d399;
  --renew-mint: #e8f7ef;
  --renew-mint-deep: #d4f0e4;
  --renew-sage: #f4faf7;
  --renew-bg: #f4faf7;
  --renew-bg-deep: #eaf5ef;
  --renew-glow: rgba(13, 122, 78, 0.28);

  /* ENM token accent — solar gold (ticker, presale, countdown only) */
  --sun: #ffb020;
  --sun-bright: #ffc94d;
  --sun-soft: #fff8e8;
  --sun-bg: var(--renew-bg);
  --sun-bg-deep: var(--renew-bg-deep);
  --sun-glow: rgba(255, 176, 32, 0.35);

  --energy-green: var(--renew-green-mid);
  --energy-green-dark: var(--renew-green-dark);
  --energy-blue: #2d9cdb;
  --energy-blue-dark: #1a6fa3;

  /* Readable text — dark green ink on light panels */
  --ink: #122a1f;
  --ink-mid: #1e3d2f;
  --ink-muted: #4a6b5c;
  --ink-inverse: #ffffff;
  --ink-inverse-muted: rgba(255, 255, 255, 0.78);

  /* Surfaces */
  --bg: var(--renew-bg);
  --bg-subtle: var(--renew-mint-deep);
  --panel: #ffffff;
  --panel-elevated: #fafff8;
  --line: rgba(18, 42, 31, 0.1);
  --shadow: 0 20px 60px rgba(13, 122, 78, 0.1);
  --shadow-soft: 0 12px 40px rgba(18, 42, 31, 0.08);

  /* Deep forest panels (stats, token box) */
  --enm-deep: #0a3d2a;
  --enm-deep-mid: #0d5c40;

  /* Legacy aliases */
  --navy: var(--ink);
  --navy-mid: var(--ink-mid);
  --text: var(--ink);
  --muted: var(--ink-muted);
  --green: var(--energy-green);
  --green-dark: var(--energy-green-dark);
  --lime: #4ade80;

  --radius: 20px;
  --radius-lg: 28px;
  --display: 'Orbitron', Inter, sans-serif;
}

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--sun-bg);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

/* Renewable energy radiance background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background:
    radial-gradient(ellipse 900px 700px at 50% -15%, rgba(52, 211, 153, 0.28), transparent 58%),
    radial-gradient(ellipse 600px 500px at 95% 80%, rgba(45, 156, 219, 0.1), transparent 50%),
    radial-gradient(ellipse 500px 400px at 5% 90%, rgba(13, 122, 78, 0.12), transparent 45%),
    radial-gradient(ellipse 400px 300px at 80% 10%, rgba(255, 200, 50, 0.08), transparent 50%),
    linear-gradient(180deg, #eef9f3 0%, #f4faf7 35%, #eaf5ef 70%, #e2f2ea 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background:
    linear-gradient(rgba(13, 122, 78, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 122, 78, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 15%, transparent 70%);
  z-index: -2;
}

.energy-orb {
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  left: 50%;
  top: -200px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(52, 211, 153, 0.3) 0%, rgba(13, 122, 78, 0.1) 45%, transparent 68%);
  pointer-events: none;
  z-index: -1;
  animation: energy-pulse 9s ease-in-out infinite;
}

@keyframes energy-pulse {
  0%, 100% { opacity: 0.65; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(1140px, calc(100% - 36px)); margin: 0 auto; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(244, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(13, 122, 78, 0.08);
}
.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--renew-green-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--renew-green-mid), var(--renew-green-dark));
  box-shadow: 0 8px 24px var(--renew-glow);
  position: relative;
  flex-shrink: 0;
}
.mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}
.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 600;
}
.nav-links a {
  padding: 8px 11px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--renew-green-dark);
  background: rgba(13, 122, 78, 0.1);
}
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang-switcher { position: relative; }
.lang-select {
  appearance: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 32px 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6b7d' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  max-width: 140px;
}
.lang-select:hover { border-color: rgba(13, 122, 78, 0.45); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .hero-actions { flex-direction: row-reverse; }
[dir="rtl"] .token-row { flex-direction: row-reverse; }
[dir="rtl"] .token-row strong { text-align: left; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .section-head { flex-direction: row-reverse; }
[dir="rtl"] .lang-select {
  padding: 9px 12px 9px 32px;
  background-position: left 10px center;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(13, 122, 78, 0.14);
}
.btn.primary {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, var(--renew-green-mid), var(--renew-green-dark));
  box-shadow: 0 4px 20px var(--renew-glow);
}
.btn.enm-accent {
  color: var(--ink);
  border: none;
  background: linear-gradient(135deg, var(--sun-bright), var(--sun));
  box-shadow: 0 4px 20px var(--sun-glow);
}
.btn.green {
  color: white;
  border: none;
  background: linear-gradient(135deg, var(--energy-green), var(--energy-green-dark));
}
.btn.outline-navy {
  border-color: rgba(26, 39, 68, 0.2);
  color: var(--ink);
}

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--renew-mint) 0%, transparent 100%);
}
.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-family: var(--display);
}
.page-hero .lead {
  margin: 0;
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 640px;
  line-height: 1.65;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(13, 122, 78, 0.28);
  background: rgba(232, 247, 239, 0.85);
  color: var(--renew-green-dark);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.dot {
  width: 7px;
  height: 7px;
  background: var(--energy-green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(13, 122, 78, 0.18);
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.gradient-text {
  background: linear-gradient(110deg, var(--renew-green-dark) 10%, var(--renew-green-mid) 45%, var(--sun) 72%, var(--renew-green-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ticker-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  padding: 6px 12px;
  border-radius: 10px;
  font-family: var(--display);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #b45309;
  background: rgba(255, 240, 200, 0.85);
  border: 1px solid rgba(255, 176, 32, 0.45);
  -webkit-text-fill-color: #b45309;
}
.page-hero .ticker-badge {
  font-size: clamp(16px, 2.5vw, 22px);
}
.lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 600px;
  margin: 0 0 24px;
}
.support-line {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }

/* Token stats panel — ENM deep warm panel */
.stats-panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(52, 211, 153, 0.3);
  background: linear-gradient(145deg, var(--enm-deep), var(--enm-deep-mid));
  color: var(--ink-inverse);
  padding: 28px;
  box-shadow: var(--shadow), 0 0 40px rgba(13, 122, 78, 0.15);
}
.stats-panel h3 {
  margin: 0 0 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--renew-green-light);
  font-weight: 700;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-item {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.22);
}
.stat-item strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  color: var(--ink-inverse);
}
.stat-item span {
  font-size: 11px;
  color: var(--ink-inverse-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Contract panel */
.contract-pill {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border: 1px dashed rgba(13, 122, 78, 0.4);
  border-radius: 14px;
  background: rgba(232, 247, 239, 0.75);
  color: var(--ink-muted);
  font-size: 13px;
  max-width: 100%;
}
.contract-pill strong { color: var(--ink); }
code {
  color: var(--energy-blue-dark);
  font-weight: 700;
  word-break: break-all;
  font-size: 13px;
  font-family: "SF Mono", "Fira Code", Consolas, monospace;
}

/* Sections */
section { padding: 56px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.section-head p {
  margin: 0;
  max-width: 480px;
  color: var(--ink-muted);
  line-height: 1.65;
  font-size: 15px;
}

/* Cards — white panels, dark text */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
  box-shadow: 0 8px 32px rgba(26, 39, 68, 0.06);
}
.card h3 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  font-size: 18px;
  color: var(--ink);
}
.card p { margin: 0; color: var(--ink-muted); line-height: 1.62; font-size: 15px; }
.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(13, 122, 78, 0.14), rgba(45, 156, 219, 0.1));
  margin-bottom: 16px;
  font-size: 20px;
}

/* Data tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.data-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-muted);
  font-weight: 700;
  background: var(--bg-subtle);
}
.data-table td { color: var(--ink); }
.data-table tr:last-child td { border-bottom: none; }
.data-table strong { font-weight: 700; color: var(--ink); }

.table-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 8px 32px rgba(26, 39, 68, 0.06);
}

/* Token panel */
.token-panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; }
.token-box {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: linear-gradient(145deg, var(--enm-deep), var(--enm-deep-mid));
  color: var(--ink-inverse);
  padding: 28px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(52, 211, 153, 0.2);
}
.token-box h3 {
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--ink-inverse);
}
.token-box p {
  color: var(--ink-inverse-muted);
  line-height: 1.65;
  font-size: 15px;
  margin: 0 0 20px;
}
.token-box .btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--ink-inverse);
}
.token-box .btn.primary {
  background: linear-gradient(135deg, var(--renew-green-mid), var(--renew-green-dark));
  color: #fff;
  border: none;
}
.token-list { display: grid; gap: 0; }
.token-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}
.token-row:last-child { border-bottom: none; }
.token-row span { color: var(--ink-inverse-muted); }
.token-row strong { text-align: right; word-break: break-all; color: var(--ink-inverse); }

/* Roadmap — ascending stair timeline */
.roadmap-stairs {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 24px;
  padding: 8px 0 16px;
}
.roadmap-stairs-axis {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}
.roadmap-axis-label {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 8px 0;
}
.roadmap-axis-line {
  flex: 1;
  width: 3px;
  margin: 10px 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--energy-blue) 0%, var(--renew-green-mid) 55%, var(--renew-green-dark) 100%);
  box-shadow: 0 0 20px rgba(13, 122, 78, 0.3);
}
.roadmap-stairs-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 8px;
}
.roadmap-stair {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 16px;
  margin-left: calc(var(--stair-rise, 0%) * 0.42);
  margin-bottom: -6px;
  transition: margin-left 0.35s ease;
}
.roadmap-stair-rail {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 28px;
}
.roadmap-stair-rail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: calc(100% + 12px);
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(45, 156, 219, 0.35), rgba(13, 122, 78, 0.45));
}
.roadmap-stair:last-child .roadmap-stair-rail::before { height: 50%; }
.roadmap-stair-node {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--renew-green-light), var(--renew-green-mid));
  box-shadow: 0 0 0 4px rgba(13, 122, 78, 0.18), 0 0 16px rgba(52, 211, 153, 0.4);
}
.roadmap-stair-tread {
  position: relative;
  margin: 10px 0 18px;
  padding: 22px 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 247, 239, 0.75));
  box-shadow: 0 10px 32px rgba(26, 39, 68, 0.06);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.roadmap-stair-tread::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--energy-blue), var(--renew-green-mid));
}
.roadmap-stair:hover .roadmap-stair-tread {
  transform: translateY(-3px);
  border-color: rgba(13, 122, 78, 0.4);
  box-shadow: 0 16px 40px rgba(13, 122, 78, 0.1);
}
.roadmap-stair-marker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--renew-green-dark);
  background: rgba(13, 122, 78, 0.12);
  border: 1px solid rgba(13, 122, 78, 0.28);
}
.roadmap-stair-tread h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.roadmap-stair-tread p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.6;
  font-size: 14px;
}

/* Risk notice — warm amber, dark readable text */
.risk-banner {
  border-radius: var(--radius);
  padding: 18px 20px;
  background: #fff8e6;
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #713f12;
  line-height: 1.65;
  font-size: 14px;
}
.risk-banner strong { color: #92400e; }
.risk-banner a { color: var(--energy-blue-dark); font-weight: 700; }
.risk-page {
  border-radius: var(--radius-lg);
  padding: 32px;
  background: #fff8e6;
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #713f12;
  line-height: 1.7;
}
.risk-page h2 { color: #92400e; margin: 0 0 16px; font-size: 22px; }
.risk-page h3 { color: #92400e; margin: 24px 0 10px; font-size: 16px; }
.risk-page p, .risk-page li { font-size: 15px; }
.risk-page ul { padding-left: 20px; }

/* Status badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge.preparation {
  background: rgba(45, 156, 219, 0.12);
  color: var(--energy-blue-dark);
  border: 1px solid rgba(45, 156, 219, 0.25);
}
.badge.pending {
  background: rgba(234, 179, 8, 0.15);
  color: #92400e;
  border: 1px solid rgba(234, 179, 8, 0.35);
}
.badge.locked {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 20px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--renew-green-dark); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 20px 18px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.65;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--panel);
}
.contact-card h3 { margin: 0 0 8px; color: var(--ink); font-size: 17px; }
.contact-card p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.6; }
.contact-card a { color: var(--energy-blue-dark); font-weight: 600; }

/* Ecosystem domain boxes — 2×3 futuristic grid */
.ecosystem-section {
  position: relative;
  padding: 56px 0 64px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(52, 211, 153, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
}
.ecosystem-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26, 39, 68, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 39, 68, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, transparent 95%);
}
.ecosystem-head { position: relative; z-index: 1; }
.domain-box-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 18px;
}
.domain-box {
  position: relative;
  display: flex;
  min-height: 196px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid rgba(26, 39, 68, 0.12);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 16px 40px rgba(26, 39, 68, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.domain-box:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(13, 122, 78, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 24px 56px rgba(13, 122, 78, 0.14);
}
.domain-box:focus-visible {
  outline: 3px solid rgba(13, 122, 78, 0.5);
  outline-offset: 3px;
}
.domain-box-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(52, 211, 153, 0.3), transparent 55%);
  opacity: 0.55;
  transition: opacity 0.28s ease;
  pointer-events: none;
}
.domain-box:hover .domain-box-glow { opacity: 1; }
.domain-box-gridlines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, 0.5) 49%, rgba(255, 255, 255, 0.5) 51%, transparent 52%),
    repeating-linear-gradient(90deg, rgba(26, 39, 68, 0.03) 0 1px, transparent 1px 24px);
  opacity: 0.45;
  pointer-events: none;
}
.domain-box-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 22px 22px 18px;
}
.domain-box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(26, 39, 68, 0.08);
  box-shadow: 0 8px 20px rgba(26, 39, 68, 0.06);
}
.domain-box-url {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.domain-box-title {
  display: block;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.25;
}
.domain-box-desc {
  display: block;
  flex: 1;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-muted);
}
.domain-box-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--renew-green-dark);
}
.domain-box-arrow { transition: transform 0.2s ease; }
.domain-box:hover .domain-box-arrow { transform: translateX(4px); }
.domain-box-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #92400e;
  background: rgba(255, 176, 32, 0.25);
  border: 1px solid rgba(255, 176, 32, 0.45);
}
.domain-box.corporate .domain-box-url { color: var(--energy-blue-dark); }
.domain-box.corporate .domain-box-icon { background: linear-gradient(135deg, rgba(45, 156, 219, 0.15), #fff); }
.domain-box.io .domain-box-url { color: #4338ca; }
.domain-box.io .domain-box-icon { background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), #fff); }
.domain-box.network .domain-box-url { color: #047857; }
.domain-box.network .domain-box-icon { background: linear-gradient(135deg, rgba(23, 178, 106, 0.15), #fff); }
.domain-box.org .domain-box-url { color: #0f766e; }
.domain-box.org .domain-box-icon { background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), #fff); }
.domain-box.shop .domain-box-url { color: #c2410c; }
.domain-box.shop .domain-box-icon { background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), #fff); }
.domain-box.token .domain-box-url { color: #b45309; }
.domain-box.token .domain-box-icon { background: linear-gradient(135deg, rgba(255, 176, 32, 0.22), #fff); }
.domain-box.is-current {
  border-color: rgba(255, 176, 32, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 176, 32, 0.25),
    0 20px 48px rgba(255, 140, 0, 0.14);
}
.domain-box.is-current .domain-box-cta { color: #b45309; }
.domain-badge-inline {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #92400e;
}
.footer-domain.current {
  font-weight: 700;
  color: #b45309;
  cursor: default;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--sun-bg-deep);
  color: var(--ink-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer h4 {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink);
  font-weight: 700;
}
.footer-links { display: grid; gap: 8px; font-size: 14px; }
.footer-links a:hover { color: var(--renew-green-dark); }
.footer-related {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-related h4 {
  margin: 0 0 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink);
  font-weight: 700;
}
.footer-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.footer-related-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.footer-related-item:hover {
  border-color: rgba(13, 122, 78, 0.4);
  box-shadow: 0 8px 24px rgba(13, 122, 78, 0.1);
  transform: translateY(-2px);
}
.footer-related-item strong {
  font-size: 14px;
  color: var(--renew-green-dark);
}
.footer-related-item span {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.45;
}
.footer-attribution {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
}
.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.small { font-size: 13px; line-height: 1.6; }

/* Content prose */
.prose { max-width: 720px; }
.prose p { color: var(--ink-muted); line-height: 1.7; margin: 0 0 16px; font-size: 15px; }
.prose h2 { color: var(--ink); margin: 32px 0 12px; font-size: 22px; letter-spacing: -0.03em; }
.prose h3 { color: var(--ink); margin: 24px 0 10px; font-size: 17px; }
.prose a { color: var(--energy-blue-dark); font-weight: 600; }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 42, 31, 0.35);
  backdrop-filter: blur(4px);
}
.mobile-nav.open { display: block; }
.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--panel);
  padding: 24px;
  box-shadow: -8px 0 40px rgba(26, 39, 68, 0.12);
  overflow-y: auto;
}
.mobile-nav-panel .nav-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  margin-top: 24px;
}
.mobile-nav-panel .nav-links a {
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
}
.mobile-nav-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
  padding: 4px;
}

/* Presale & Dashboard */
.phase-grid, .stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.phase-card, .stage-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--panel);
  box-shadow: 0 8px 32px rgba(26, 39, 68, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.phase-card.phase-active, .stage-card.stage-active {
  border-color: rgba(23, 178, 106, 0.45);
  box-shadow: 0 12px 40px rgba(23, 178, 106, 0.1);
}
.phase-card-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; margin-bottom: 8px; }
.phase-card h3, .stage-card h3 { margin: 0; font-size: 17px; color: var(--ink); }
.phase-desc { color: var(--ink-muted); font-size: 14px; margin: 0 0 10px; line-height: 1.55; }
.phase-dates, .stage-dates { font-size: 13px; font-weight: 700; color: #b45309; }
.stage-num { font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.stage-weeks { font-size: 12px; color: var(--ink-muted); margin-top: 6px; }

.badge.active {
  background: rgba(23, 178, 106, 0.15);
  color: var(--energy-green-dark);
  border: 1px solid rgba(23, 178, 106, 0.35);
}
.badge.completed {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.25);
}
.badge.upcoming, .badge.scheduled {
  background: rgba(255, 176, 32, 0.15);
  color: #b45309;
  border: 1px solid rgba(255, 176, 32, 0.3);
}

.dashboard-section { padding-top: 0; }
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.dash-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--panel);
  box-shadow: 0 8px 32px rgba(26, 39, 68, 0.06);
}
.dash-main { grid-column: 1 / -1; }
.dash-status-row { display: flex; flex-wrap: wrap; gap: 32px; margin-bottom: 16px; }
.dash-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-muted); font-weight: 700; margin-bottom: 6px; }
.dash-value { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.dash-countdown { font-size: 28px; font-weight: 800; color: #b45309; font-variant-numeric: tabular-nums; }
.dash-muted { color: var(--ink-muted); font-size: 14px; margin: 0 0 8px; }
.dash-address { font-family: monospace; font-size: 13px; word-break: break-all; margin: 0 0 12px; color: var(--ink); }
.dash-stats { display: grid; gap: 12px; }
.dash-stats div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dash-stats span { color: var(--ink-muted); }
.dash-stats strong { color: var(--ink); text-align: right; }
.progress-bar-wrap { height: 8px; background: rgba(26, 39, 68, 0.08); border-radius: 999px; overflow: hidden; margin-top: 16px; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--renew-green-mid), var(--renew-green-dark)); border-radius: 999px; transition: width 0.5s ease; }
.wallet-address-box { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0; padding: 14px; background: var(--bg-subtle); border-radius: 12px; border: 1px dashed rgba(13, 122, 78, 0.35); }
.wallet-address-box code { font-size: 12px; flex: 1; min-width: 200px; }
.btn-sm { padding: 8px 12px; font-size: 12px; }

/* Homepage countdown & trust bar */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0 0;
  max-width: 480px;
}
.countdown-unit {
  text-align: center;
  background: var(--panel);
  border: 1px solid rgba(255, 176, 32, 0.3);
  border-radius: 12px;
  padding: 14px 8px;
  box-shadow: 0 4px 16px rgba(255, 176, 32, 0.1);
}
.countdown-unit .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  color: #b45309;
  line-height: 1;
}
.countdown-unit .lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-muted);
  margin-top: 6px;
}
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px 0 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.trust-item span { color: var(--energy-green-dark); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .hero-grid, .token-panel, .contact-grid, .domain-box-grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cards.two { grid-template-columns: 1fr; }
  .roadmap-stairs { grid-template-columns: 56px 1fr; gap: 0 16px; }
  .roadmap-stair { margin-left: calc(var(--stair-rise, 0%) * 0.28); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .footer-related-grid { grid-template-columns: 1fr; }
  .roadmap-stairs { grid-template-columns: 1fr; }
  .roadmap-stairs-axis { display: none; }
  .roadmap-stair { margin-left: 0; grid-template-columns: 1fr; }
  .roadmap-stair-rail { display: none; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .hero { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .nav-actions .btn:not(.primary) { display: none; }
}

/* ── Preflight Audit Verification Seal ── */
.preflight-seal {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.preflight-seal:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.preflight-seal:focus-visible {
  outline: 2px solid var(--energy-blue);
  outline-offset: 3px;
  border-radius: 12px;
}
.preflight-seal-img {
  flex-shrink: 0;
  border-radius: 50%;
}
.preflight-seal-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.preflight-seal-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.preflight-seal-subtitle {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.4;
}
.preflight-seal-details {
  font-size: 11px;
  color: #c2410c;
  font-weight: 600;
  margin-top: 2px;
}
.preflight-seal--badge { gap: 10px; }
.preflight-seal--badge .preflight-seal-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.preflight-seal--badge .preflight-seal-subtitle { font-size: 10px; }
.preflight-seal--compact { gap: 10px; }
.preflight-seal--compact .preflight-seal-title { font-size: 12px; }
.preflight-seal--compact .preflight-seal-subtitle { font-size: 11px; }
.preflight-seal--inline {
  margin-top: 16px;
  padding: 12px;
  background: var(--bg-subtle);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: 12px;
  width: 100%;
}
.preflight-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid rgba(255, 107, 0, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.06);
}
.preflight-band {
  background: var(--bg-subtle);
  padding: 32px 0;
}
.preflight-disclaimer {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0;
  max-width: 72ch;
}
.trust-item--preflight {
  text-transform: none;
  letter-spacing: normal;
}
.footer-preflight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-preflight .preflight-local-link {
  font-size: 13px;
  font-weight: 600;
  color: #c2410c;
}
.preflight-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.preflight-status-badge.verified {
  background: rgba(13, 122, 78, 0.12);
  color: var(--renew-green-dark);
}
.preflight-status-badge.pending {
  background: rgba(255, 176, 32, 0.15);
  color: #b45309;
}
.preflight-status-badge.expired {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
}
.verify-hero-seal {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.verify-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}
.verify-main { display: flex; flex-direction: column; gap: 28px; }
.verify-section h2 { font-size: 18px; margin: 0 0 12px; }
.verify-prose {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
}
.verify-scope-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
}
.verify-status-card {
  padding: 20px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.verify-status-card h2 { margin: 0; font-size: 16px; flex: 1; }
.verify-official-link { margin: 0; width: 100%; font-size: 13px; }
.verify-details-table td:first-child { width: 40%; color: var(--ink-muted); }
.verify-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}
.verify-sidebar-card {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.verify-sidebar-card h3 { margin: 0 0 12px; font-size: 14px; }
.verify-cert-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #c2410c;
  font-weight: 600;
  font-size: 13px;
}
.verify-qr {
  display: block;
  margin: 12px auto 8px;
  border-radius: 8px;
}
.verify-qr-url { word-break: break-all; margin: 0; }

@media (max-width: 900px) {
  .verify-grid { grid-template-columns: 1fr; }
  .verify-sidebar { position: static; }
  .preflight-section { padding: 18px; }
}
@media (max-width: 620px) {
  .preflight-seal--card { flex-direction: column; text-align: center; }
  .footer-preflight { flex-direction: column; align-items: flex-start; }
}
