/* ─── Base ─── */
:root {
  --bg: #0a0f1a;
  --bg-alt: #0d1424;
  --bg-card: #111c30;
  --bg-card-hover: #162038;
  --fg: #e2e8f0;
  --fg-muted: #8899b4;
  --fg-dim: #4a6080;
  --accent: #f0a500;
  --accent-dim: rgba(240,165,0,0.12);
  --accent-glow: rgba(240,165,0,0.25);
  --positive: #10d9a0;
  --positive-dim: rgba(16,217,160,0.12);
  --danger: #ef4444;
  --danger-dim: rgba(239,68,68,0.12);
  --violet: #a855f7;
  --violet-dim: rgba(168,85,247,0.12);
  --amber: #f0a500;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.12);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--fg-dim); border-radius: 3px; }

/* ─── Layout ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--fg-muted);
  font-size: 18px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 600px;
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 32px;
  background: rgba(10,15,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ─── Hero ─── */
.hero {
  padding-top: 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.world-map-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(15,30,60,0.8) 0%, var(--bg) 70%);
}

.world-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 100px 32px 48px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(240,165,0,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
  max-width: 700px;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 580px;
}

/* ─── Ticker ─── */
.ticker-strip {
  position: relative;
  z-index: 10;
  background: rgba(13,20,36,0.95);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  margin-top: auto;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.ticker-inner::-webkit-scrollbar { display: none; }

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}

.ticker-price {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.ticker-change {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
}

.ticker-change.up { color: var(--positive); background: var(--positive-dim); }
.ticker-change.down { color: var(--danger); background: var(--danger-dim); }
.ticker-change.alert { color: var(--accent); background: var(--accent-dim); }

.ticker-sep {
  width: 1px;
  height: 28px;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* ─── Features ─── */
.features {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-header .section-sub {
  margin: 12px auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.feature-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.feature-card--primary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  align-items: start;
  padding: 40px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(240,165,0,0.04) 100%);
  border-color: rgba(240,165,0,0.2);
}

.feature-card--primary .feature-icon {
  margin-right: 28px;
  flex-shrink: 0;
}

.feature-card--primary .feature-title {
  font-size: 22px;
  margin-bottom: 8px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 12px;
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-desc {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── Why Section ─── */
.why-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 32px;
}

.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.why-body {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 20px;
}

/* Comparison Table */
.comparison-table {
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
  padding: 12px 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.comparison-row:last-child { border-bottom: none; }

.comparison-header {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  background: rgba(255,255,255,0.03);
}

.comparison-row span:first-child { color: var(--fg-muted); }
.comparison-row .highlight { color: var(--accent); font-weight: 600; }

/* Stats */
.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}

.stat-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 11px;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* ─── Coverage ─── */
.coverage-section {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.coverage-header {
  text-align: center;
  margin-bottom: 56px;
}

.mineral-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mineral-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}

.mineral-category:hover { border-color: var(--border-strong); }

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.cat-battery { background: rgba(16,217,160,0.15); }
.cat-ree { background: rgba(168,85,247,0.15); }
.cat-base { background: rgba(230,126,34,0.15); }
.cat-tech { background: rgba(236,72,153,0.15); }
.cat-energy { background: rgba(251,191,36,0.15); }
.cat-other { background: rgba(59,130,246,0.15); }

.cat-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.cat-minerals {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ─── Closing ─── */
.closing-section {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  padding: 100px 32px 120px;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--positive);
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--positive);
  animation: pulse-dot 2s ease-in-out infinite;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
}

.closing-cta-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 18px;
  color: var(--fg-muted);
}

.cta-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fg-muted);
}

.meta-sep { color: var(--fg-dim); }

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 32px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 340px;
  margin-top: 16px;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 4px;
}

.footer-col a, .footer-col span {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--fg); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-dim);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--primary { grid-column: auto; grid-template-columns: 1fr; }
  .feature-card--primary .feature-icon { margin-bottom: 16px; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .mineral-categories { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .comparison-row { grid-template-columns: 1.5fr 1fr 1fr 1fr; font-size: 11px; }
}

@media (max-width: 600px) {
  .hero-content { padding: 80px 20px 40px; }
  .features, .why-section, .coverage-section, .closing-section { padding: 60px 20px; }
  .mineral-categories { grid-template-columns: 1fr; }
  .why-right { grid-template-columns: 1fr; }
  .ticker-item { padding: 12px 16px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .header-nav { display: none; }
  .comparison-row { grid-template-columns: 1fr 1fr; }
  .comparison-row span:nth-child(3),
  .comparison-row span:nth-child(4) { display: none; }
}