:root {
  --bg-dark: #081120;
  --bg-surface: rgba(16, 29, 51, 0.72);
  --bg-alt: rgba(11, 21, 38, 0.82);
  --border: rgba(255, 255, 255, 0.1);
  --gold: #f5c451;
  --teal: #2dd4bf;
  --coral: #f97362;
  --blue: #60a5fa;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, .logo-title {
  font-family: 'Outfit', sans-serif;
}

/* Top Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--coral));
  z-index: 200;
  transition: width 0.08s linear;
}

/* 3D Canvas Background */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 17, 32, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.08;
}

.logo-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-v { color: var(--gold); }
.logo-p { color: #ffffff; }

.logo-motto {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-top: 0.18rem;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: #fff;
  font-size: 1.25rem;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.2s ease;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  background: var(--gold);
  color: #081120 !important;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #e5a932);
  color: #081120;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(245, 196, 81, 0.22);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 34px rgba(245, 196, 81, 0.38);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

/* Hero */
.hero {
  padding: 5.5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.32);
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.75); }
  70% { box-shadow: 0 0 0 9px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(95deg, var(--gold), #ffffff, var(--teal), var(--gold));
  background-size: 240% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 6s linear infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% center; }
  100% { background-position: 240% center; }
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.metric strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  color: var(--gold);
}

.metric span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Interactive Card Spotlight Layer */
.tilt-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.card-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(
    360px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(245, 196, 81, 0.14),
    rgba(45, 212, 191, 0.06) 45%,
    transparent 75%
  );
  z-index: 1;
}

.tilt-card:hover .card-spotlight {
  opacity: 1;
}

/* 3D Orbit Hero Visual */
.orbit-card {
  height: 380px;
  border-radius: 28px;
  background: radial-gradient(circle at center, rgba(45, 212, 191, 0.14), rgba(16, 29, 51, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.48);
}

.orbit-aura {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 196, 81, 0.25), transparent 70%);
  animation: breatheAura 4s ease-in-out infinite;
}

@keyframes breatheAura {
  0%, 100% { transform: scale(0.92); opacity: 0.65; }
  50% { transform: scale(1.22); opacity: 1; }
}

.orbit-core {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #d97706);
  display: grid;
  place-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #081120;
  box-shadow: 0 0 42px rgba(245, 196, 81, 0.42);
  transform: translateZ(45px);
  animation: coreFloat 3.6s ease-in-out infinite;
}

@keyframes coreFloat {
  0%, 100% { transform: translateZ(45px) translateY(0px); }
  50% { transform: translateZ(55px) translateY(-6px); }
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(245, 196, 81, 0.45);
}

.ring-1 {
  width: 245px;
  height: 115px;
  animation: spin1 8s linear infinite;
}

.ring-2 {
  width: 245px;
  height: 115px;
  border-color: rgba(45, 212, 191, 0.5);
  animation: spin2 10s linear infinite;
}

.ring-3 {
  width: 115px;
  height: 245px;
  border-color: rgba(249, 115, 98, 0.35);
  animation: spin3 12s linear infinite;
}

.electron {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.e-gold { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.e-teal { background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.e-coral { background: var(--coral); box-shadow: 0 0 12px var(--coral); }

@keyframes spin1 {
  0% { transform: rotate(25deg) rotateY(0deg); }
  100% { transform: rotate(385deg) rotateY(360deg); }
}

@keyframes spin2 {
  0% { transform: rotate(-35deg) rotateX(0deg); }
  100% { transform: rotate(325deg) rotateX(360deg); }
}

@keyframes spin3 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.floating-tag {
  position: absolute;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(8, 17, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 600;
  transform: translateZ(60px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.38);
}

.tag-1 {
  top: 24px;
  left: 20px;
  color: var(--gold);
  animation: bobTag 4.2s ease-in-out infinite;
}

.tag-2 {
  bottom: 24px;
  left: 24px;
  color: var(--teal);
  animation: bobTag 4.8s ease-in-out infinite 0.8s;
}

.tag-3 {
  top: 48%;
  right: 16px;
  color: var(--coral);
  animation: bobTag 4.5s ease-in-out infinite 1.5s;
}

@keyframes bobTag {
  0%, 100% { transform: translateZ(60px) translateY(0px); }
  50% { transform: translateZ(70px) translateY(-7px); }
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--text-muted);
}

/* Comparison Cards */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.compare-card, .road-card, .founder-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.compare-card.new-way {
  border-color: rgba(245, 196, 81, 0.38);
  box-shadow: 0 20px 45px rgba(245, 196, 81, 0.08);
}

.compare-card h3 {
  font-size: 1.45rem;
  margin: 0.9rem 0 1rem;
}

.compare-card ul {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  color: var(--text-muted);
}

.compare-card li::before {
  content: '• ';
  color: var(--gold);
  font-weight: 700;
}

.card-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.tag-muted {
  background: rgba(148, 163, 184, 0.14);
  color: var(--text-muted);
}

.tag-gold {
  background: rgba(245, 196, 81, 0.16);
  color: var(--gold);
}

/* Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.road-icon {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.road-card:hover .road-icon {
  transform: scale(1.18) rotate(-6deg);
}

.status-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.14);
  color: var(--teal);
  margin-bottom: 0.8rem;
}

.status-next {
  background: rgba(96, 165, 250, 0.14);
  color: var(--blue);
}

.road-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
}

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

/* Founders 3D Cards */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.founder-card {
  padding: 2.25rem;
}

.founder-card:hover {
  border-color: rgba(245, 196, 81, 0.45);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
}

.founder-top {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-bottom: 1.5rem;
  transform: translateZ(25px);
}

.avatar-ring {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  transition: transform 0.35s ease;
}

.founder-card:hover .avatar-ring {
  transform: scale(1.06);
}

.avatar-ring-teal {
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #132238;
}

.founder-top h3 {
  font-size: 1.55rem;
  margin-bottom: 0.2rem;
}

.founder-role {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.achievement-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
  transform: translateZ(20px);
}

.pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease;
}

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

.pill-gold {
  background: rgba(245, 196, 81, 0.14);
  border-color: rgba(245, 196, 81, 0.35);
  color: var(--gold);
}

.pill-teal {
  background: rgba(45, 212, 191, 0.14);
  border-color: rgba(45, 212, 191, 0.35);
  color: var(--teal);
}

.pill-blue {
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.35);
  color: var(--blue);
}

.pill-coral {
  background: rgba(249, 115, 98, 0.14);
  border-color: rgba(249, 115, 98, 0.35);
  color: var(--coral);
}

.founder-bio {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.founder-bio strong {
  color: #ffffff;
}

/* Waitlist */
.waitlist-box {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(22, 38, 66, 0.85), rgba(11, 21, 38, 0.92));
  border: 1px solid rgba(245, 196, 81, 0.28);
}

.waitlist-box h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-bottom: 0.75rem;
}

.waitlist-box p {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.waitlist-form {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr auto;
  gap: 0.85rem;
}

.waitlist-form input,
.waitlist-form select {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(8, 17, 32, 0.85);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 196, 81, 0.15);
}

.form-status {
  margin-top: 1rem;
  min-height: 1.4rem;
  font-weight: 600;
  color: var(--teal);
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--gold);
  text-decoration: none;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .compare-grid,
  .roadmap-grid,
  .founders-grid,
  .waitlist-form {
    grid-template-columns: 1fr;
  }

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

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(8, 17, 32, 0.96);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }
}