:root {
  --nvidia-green: #76b900;
  --nvidia-green-dim: #5a8f00;
  --nvidia-green-glow: rgba(118, 185, 0, 0.45);
  --bg-deep: #050608;
  --bg-card: rgba(12, 16, 10, 0.85);
  --bg-glass: rgba(8, 12, 8, 0.72);
  --text: #e8ece4;
  --text-muted: #8a9488;
  --amber: #f0b429;
  --border: rgba(118, 185, 0, 0.25);
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 72px;
  --radius: 12px;
  --radius-lg: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--nvidia-green);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: #9de01a;
}

code {
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  background: rgba(118, 185, 0, 0.12);
  border-radius: 4px;
  color: var(--nvidia-green);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Ambient layers */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.03;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.4) 2px,
    rgba(0, 0, 0, 0.4) 4px
  );
}

.grid-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(118, 185, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 185, 0, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2rem);
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.95) 0%, rgba(5, 6, 8, 0.6) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  border-radius: 8px;
  box-shadow: 0 0 20px var(--nvidia-green-glow);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

.brand-text .accent {
  color: var(--nvidia-green);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.45rem 0.9rem !important;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--nvidia-green) !important;
}

.nav-cta--tg {
  background: rgba(118, 185, 0, 0.1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nvidia-green);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 3rem;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.75) 0%, rgba(5, 6, 8, 0.5) 40%, rgba(5, 6, 8, 0.92) 85%, var(--bg-deep) 100%),
    linear-gradient(90deg, rgba(5, 6, 8, 0.6) 0%, transparent 30%, transparent 70%, rgba(5, 6, 8, 0.6) 100%);
}

.hero-content {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.hero-logo {
  margin: 0 auto 1.25rem;
  border-radius: 16px;
  box-shadow:
    0 0 40px var(--nvidia-green-glow),
    0 0 80px rgba(118, 185, 0, 0.15);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 40px var(--nvidia-green-glow), 0 0 80px rgba(118, 185, 0, 0.15); }
  50% { box-shadow: 0 0 55px rgba(118, 185, 0, 0.55), 0 0 100px rgba(118, 185, 0, 0.2); }
}

.hero-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--nvidia-green);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(118, 185, 0, 0.08);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

.hero-title .glow,
.hero-title {
  color: var(--text);
  text-shadow:
    0 0 20px var(--nvidia-green-glow),
    0 0 40px rgba(118, 185, 0, 0.3);
}

.hero-title .glow {
  color: var(--nvidia-green);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 540px;
  margin-inline: auto;
}

.hero-lead strong {
  color: var(--nvidia-green);
}

.ca-box {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 1.75rem;
  padding: 0.85rem 1rem;
  text-align: left;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 24px rgba(118, 185, 0, 0.06);
}

.ca-box--pending .ca-address {
  color: var(--text-muted);
  font-style: italic;
}

.ca-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nvidia-green);
  margin-bottom: 0.5rem;
}

.ca-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.ca-address {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0.6rem 0.75rem;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: clamp(0.7rem, 2.5vw, 0.85rem);
  line-height: 1.4;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(118, 185, 0, 0.15);
  border-radius: 8px;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.ca-copy {
  flex-shrink: 0;
  padding: 0.6rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: #0a0c08;
  background: var(--nvidia-green);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s, transform 0.15s;
}

.ca-copy:hover:not(:disabled) {
  background: #8fd412;
  transform: translateY(-1px);
}

.ca-copy:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ca-copy.is-copied {
  background: #9de01a;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--nvidia-green);
  color: #0a0c08;
  box-shadow: 0 0 24px var(--nvidia-green-glow);
}

.btn-primary:hover {
  background: #8fd412;
  color: #0a0c08;
  box-shadow: 0 0 32px rgba(118, 185, 0, 0.5);
}

.btn-secondary {
  background: transparent;
  border-color: var(--nvidia-green);
  color: var(--nvidia-green);
}

.btn-secondary:hover {
  background: rgba(118, 185, 0, 0.12);
  color: #9de01a;
}

.btn-ghost {
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 720px;
  margin: 3rem auto 0;
  width: 100%;
}

.stat-card {
  padding: 1rem;
  text-align: center;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nvidia-green);
  text-shadow: 0 0 12px var(--nvidia-green-glow);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section--dark {
  background: linear-gradient(180deg, transparent, rgba(118, 185, 0, 0.03) 50%, transparent);
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--nvidia-green);
  margin-bottom: 0.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0;
  letter-spacing: 0.05em;
}

.section-sub {
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  max-width: 520px;
  margin-inline: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.glass-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.glass-card:hover {
  border-color: rgba(118, 185, 0, 0.5);
  box-shadow: 0 0 30px rgba(118, 185, 0, 0.08);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.glass-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin: 0 0 0.65rem;
  color: var(--nvidia-green);
}

.glass-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Data house visual */
.house-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.house-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.house-outline {
  position: relative;
  width: 220px;
  padding-bottom: 2rem;
}

.house-roof {
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 110px solid transparent;
  border-right: 110px solid transparent;
  border-bottom: 70px solid #1a2218;
  filter: drop-shadow(0 0 8px var(--nvidia-green-glow));
}

.house-body {
  position: relative;
  height: 120px;
  background: #121a10;
  border: 2px solid var(--nvidia-green);
  border-top: none;
  box-shadow:
    inset 0 0 30px rgba(118, 185, 0, 0.08),
    0 0 20px var(--nvidia-green-glow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 8px;
  padding: 12px;
}

.house-window {
  background: linear-gradient(135deg, rgba(118, 185, 0, 0.2), rgba(118, 185, 0, 0.05));
  border: 1px solid var(--border);
  box-shadow: inset 0 0 12px rgba(118, 185, 0, 0.15);
}

.house-door {
  grid-column: 1 / -1;
  height: 36px;
  background: #0a0e08;
  border: 1px solid var(--nvidia-green-dim);
}

.datacenter-unit {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  padding: 0.65rem 0.5rem;
  text-align: center;
  background: linear-gradient(180deg, #2a3028, #1a1e18);
  border: 2px solid var(--nvidia-green);
  border-radius: 6px;
  box-shadow: 0 0 24px var(--nvidia-green-glow);
}

.unit-logo {
  display: block;
  color: var(--nvidia-green);
  font-size: 1.25rem;
  text-shadow: 0 0 10px var(--nvidia-green);
}

.unit-text {
  display: block;
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: var(--nvidia-green);
  margin-top: 0.25rem;
}

.unit-sub {
  display: block;
  font-size: 0.45rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.house-caption {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--nvidia-green);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--nvidia-green-dim);
  flex-shrink: 0;
}

.feature-list h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.feature-list p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Chart */
.chart-wrap {
  position: relative;
  width: 100%;
  min-height: 480px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0c0e0a;
  box-shadow: 0 0 40px rgba(118, 185, 0, 0.06);
}

.chart-wrap iframe {
  width: 100%;
  height: min(70vh, 600px);
  min-height: 480px;
  border: 0;
}

.chart-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 480px;
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-card);
}

.chart-fallback-icon {
  font-size: 2rem;
  color: var(--nvidia-green);
  text-shadow: 0 0 20px var(--nvidia-green-glow);
}

.chart-fallback p {
  margin: 0;
}

.chart-fallback-hint {
  font-size: 0.9rem;
  max-width: 420px;
}

/* CTA */
.cta-section {
  padding-bottom: 6rem;
}

.cta-inner {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 60px rgba(118, 185, 0, 0.06);
}

.cta-logo {
  margin: 0 auto 1rem;
  border-radius: 12px;
}

.cta-inner h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.cta-inner > p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--text) !important;
  border: 1px solid var(--border);
  background: rgba(118, 185, 0, 0.06);
  transition: background 0.2s, border-color 0.2s;
}

.social-link:hover {
  background: rgba(118, 185, 0, 0.15);
  border-color: var(--nvidia-green);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: rgba(5, 6, 8, 0.9);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Mobile nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(5, 6, 8, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.25s, opacity 0.25s;
    pointer-events: none;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .house-layout {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .ca-row {
    flex-direction: column;
  }

  .ca-copy {
    width: 100%;
  }
}
