/* ============================================
   RKLT — Rocket Lab Token
   Dark Space · Minimalist · Industrial
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a28;
  --accent: #00e676;
  --accent-dim: #00c853;
  --text-primary: #f0f0f5;
  --text-secondary: #8a8a9a;
  --text-muted: #555566;
  --border: #1e1e2e;
  --radius: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 30, 46, 0.6);
  padding: 0.75rem 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo .logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--bg-dark);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
  letter-spacing: 0.3px;
}

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

.nav-cta {
  background: var(--accent);
  color: var(--bg-dark) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.nav-cta:hover {
  background: #00ff84 !important;
  transform: translateY(-1px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.4) 0%, rgba(10,10,15,0.75) 60%, var(--bg-dark) 100%);
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.65;
  filter: saturate(0.7) brightness(0.8);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.25);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.75rem;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.hero h1 .token-name {
  display: block;
  background: linear-gradient(135deg, var(--accent) 0%, #00e6b8 50%, #00b8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #00ff84;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 230, 118, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  opacity: 0.5;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   Sections Shared
   ============================================ */

.section {
  padding: 6rem 2rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================
   About Section - Image Background Cards
   ============================================ */

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

.about-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  transition: all 0.4s ease;
  border: 1px solid var(--border);
  cursor: default;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 118, 0.3);
  box-shadow: 0 12px 40px rgba(0, 230, 118, 0.1);
}

.about-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-card:hover .about-card-bg img {
  transform: scale(1.08);
}

.about-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.25) 0%,
    rgba(10, 10, 15, 0.55) 40%,
    rgba(10, 10, 15, 0.92) 100%
  );
}

.about-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.about-card-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: rgba(0, 230, 118, 0.2);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--accent);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.about-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  letter-spacing: -0.5px;
  color: #fff;
}

.about-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ============================================
   SpaceX Spotlight
   ============================================ */

.spotlight {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.spotlight-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,230,118,0.08), transparent 50%);
}

.spotlight-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.spotlight-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.spotlight-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.spotlight-metric .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.spotlight-metric .txt {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   Tokenomics
   ============================================ */

.tokenomics-section {
  position: relative;
  overflow: hidden;
}

.tokenomics-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.06;
  pointer-events: none;
}

.tokenomics-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tokenomics-content {
  position: relative;
  z-index: 1;
}

/* Allocation Visual Bar */
.token-allocation-bar {
  display: flex;
  height: 12px;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.token-allocation-segment {
  height: 100%;
  transition: filter 0.3s ease;
}

.token-allocation-segment:hover {
  filter: brightness(1.3);
}

.token-alloc-community  { background: #00e676; width: 35%; }
.token-alloc-treasury  { background: #00bcd4; width: 22%; }
.token-alloc-team      { background: #7c4dff; width: 18%; }
.token-alloc-private   { background: #ff6d00; width: 15%; }
.token-alloc-public    { background: #00e5ff; width: 10%; }

.token-alloc-legend {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.token-alloc-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.token-alloc-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

/* Token Cards Grid - Two column layout */
.tokenomics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .tokenomics-grid {
    grid-template-columns: 1fr;
  }
}

/* Large featured card */
.token-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
}

.token-card.featured .percentage {
  font-size: 4rem;
  line-height: 1;
}

.token-card.featured .card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* Standard cards */
.token-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.token-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transition: height 0.3s ease;
}

.token-card.accent-green::before  { background: #00e676; }
.token-card.accent-cyan::before   { background: #00bcd4; }
.token-card.accent-purple::before { background: #7c4dff; }
.token-card.accent-orange::before { background: #ff6d00; }
.token-card.accent-blue::before   { background: #00e5ff; }

.token-card:hover {
  border-color: rgba(0, 230, 118, 0.25);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.token-card:hover::before {
  height: 4px;
}

.token-card .percentage {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.token-card.accent-green .percentage  { color: #00e676; }
.token-card.accent-cyan .percentage   { color: #00bcd4; }
.token-card.accent-purple .percentage { color: #7c4dff; }
.token-card.accent-orange .percentage { color: #ff6d00; }
.token-card.accent-blue .percentage   { color: #00e5ff; }

.token-card .category {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.2px;
}

.token-card .detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Supply Stats - horizontal row */
.token-supply-bar {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .token-supply-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
}

.token-supply-item {
  text-align: center;
}

.token-supply-item .val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.token-supply-item .lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

/* ============================================
   Roadmap
   ============================================ */

.roadmap-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.roadmap-phase {
  position: relative;
  padding-left: 64px;
  margin-bottom: 3rem;
}

.roadmap-phase:last-child {
  margin-bottom: 0;
}

.roadmap-dot {
  position: absolute;
  left: 17px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  background: var(--bg-dark);
}

.roadmap-dot.active {
  background: var(--accent);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
}

.roadmap-phase h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.roadmap-phase .phase-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.roadmap-phase p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.roadmap-phase ul {
  list-style: none;
  padding: 0;
}

.roadmap-phase ul li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.3rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.roadmap-phase ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.disclaimer {
  margin-top: 1rem;
  font-size: 0.72rem !important;
}

/* ============================================
   Animations
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.25rem;
  }

  .nav.scrolled {
    padding: 0.6rem 1.25rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat .value {
    font-size: 1.35rem;
  }

  .section {
    padding: 4rem 1.25rem;
  }

  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .spotlight-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .tokenomics-grid {
    grid-template-columns: 1fr 1fr;
  }
}
