/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080808;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --yellow: #FFD600;
  --orange: #FF6B00;
  --text: #EDEDED;
  --text-muted: #888888;
  --text-dim: #555555;
  --border: rgba(255, 214, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 40px;
  display: flex;
  align-items: center;
}

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

.brand-grid {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 33%, 33% 33%, 33% 66%, 66% 66%, 66% 100%, 0 100%);
}

.brand-grid-sm {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 33%, 33% 33%, 33% 66%, 66% 66%, 66% 100%, 0 100%);
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--yellow); }

/* ===== ONBOARDING BANNER ===== */
.onboarding-banner {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid rgba(255, 214, 0, 0.3);
  border-radius: 3px;
  padding: 12px 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.banner-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.banner-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: #080808;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

.banner-cta:hover {
  background: #ffe540;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(255, 214, 0, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-spark {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.s1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
}

.s2 {
  width: 200px;
  height: 200px;
  top: 30%;
  right: 30%;
  background: radial-gradient(circle, rgba(255, 214, 0, 0.08) 0%, transparent 70%);
}

.s3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  right: 5%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.06) 0%, transparent 70%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 28px;
  background: rgba(255, 214, 0, 0.04);
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  margin-bottom: 24px;
  color: var(--text);
}

.highlight {
  color: var(--yellow);
  display: inline-block;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pill {
  padding: 6px 14px;
  background: rgba(255, 214, 0, 0.06);
  border: 1px solid rgba(255, 214, 0, 0.12);
  border-radius: 2px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* HERO VISUAL */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 214, 0, 0.08);
}

.ring-1 { width: 340px; height: 340px; }
.ring-2 { width: 240px; height: 240px; border-color: rgba(255, 214, 0, 0.15); }
.ring-3 { width: 140px; height: 140px; border-color: rgba(255, 214, 0, 0.25); }

.grid-core {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.core-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--yellow);
}

.core-arrow {
  margin: 8px 0;
}

.fuel-counter {
  position: absolute;
  bottom: 30px;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 20px;
  text-align: center;
}

.fuel-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.fuel-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--yellow);
  line-height: 1;
}

.fuel-unit {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* SCROLL INDICATOR */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

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

/* ===== SECTION SHARED ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  margin-bottom: 20px;
  background: rgba(255, 214, 0, 0.04);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== HOW IT WORKS ===== */
.howitworks {
  padding: 100px 40px;
  background: var(--bg);
}

.steps-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.step-card {
  background: var(--surface);
  padding: 48px 40px;
  position: relative;
  border: 1px solid var(--border);
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.step-icon {
  margin-bottom: 24px;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.feature-primary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 40px;
  padding: 48px;
}

.feature-card {
  background: var(--surface-2);
  padding: 36px;
  border: 1px solid var(--border);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-icon-large {
  margin-bottom: 24px;
}

.feature-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(255, 214, 0, 0.06);
  border: 1px solid rgba(255, 214, 0, 0.1);
  border-radius: 4px;
  min-width: 120px;
}

.stat-val {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--yellow);
  line-height: 1;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 100px 40px;
  background: var(--bg);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto-rule {
  width: 60px;
  height: 2px;
  background: var(--yellow);
  margin: 0 auto 48px;
  opacity: 0.4;
}

.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 48px;
}

.manifesto-detail {
  margin-top: 60px;
}

.manifesto-detail p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.manifesto-ending {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--yellow);
  margin-top: 32px !important;
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 40px;
  background: var(--bg);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(255, 214, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.closing-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--text);
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 60px;
}

.closing-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.closing-ring {
  position: relative;
  width: 120px;
  height: 120px;
}

.closing-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 214, 0, 0.15);
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.4; }
}

.closing-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.closing-tagline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 56px;
}

/* ===== WAITLIST FORM ===== */
.waitlist-form-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-fields {
  display: flex;
  gap: 10px;
}

.waitlist-input {
  flex: 1;
  padding: 14px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-input::placeholder {
  color: var(--text-dim);
}

.waitlist-input:focus {
  border-color: rgba(255, 214, 0, 0.3);
}

.waitlist-btn {
  padding: 14px 24px;
  background: var(--yellow);
  color: #080808;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, opacity 0.2s;
}

.waitlist-btn:hover {
  background: #ffe033;
}

.waitlist-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.waitlist-msg {
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.waitlist-success {
  color: var(--yellow);
  font-weight: 500;
}

.waitlist-error {
  color: #ff6b6b;
}

@media (max-width: 520px) {
  .waitlist-fields {
    flex-direction: column;
  }

  .waitlist-btn {
    width: 100%;
    padding: 15px;
  }
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

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

.footer-tagline {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav, .hero, .howitworks, .features, .manifesto, .closing, .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-right {
    display: none;
  }

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

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

  .feature-primary {
    grid-template-columns: 1fr;
  }

  .feature-stat {
    flex-direction: row;
    gap: 12px;
    align-items: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
