/* ===== DESIGN TOKENS ===== */
:root {
  --bg-primary: #080810;
  --bg-secondary: #0d0d1a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  --accent-primary: #a259ff;
  --accent-secondary: #3d9eff;
  --accent-hot: #ff3cac;
  --accent-gold: #ffd166;

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.35);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(162, 89, 255, 0.3);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-ui: 'Space Grotesk', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-glow: 0 0 60px rgba(162, 89, 255, 0.15);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  cursor: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 89, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.3s ease;
}

/* ===== NOISE OVERLAY ===== */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(8, 8, 16, 0.6);
  border-bottom: 1px solid var(--border-subtle);
  animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  cursor: default;
  position: relative;
}

.logo-text {
  color: var(--text-primary);
}

.logo-accent {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-hot));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  cursor: none;
  padding: 8px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}

.nav-link:hover {
  color: var(--text-primary);
  border-color: var(--border-glow);
  background: rgba(162, 89, 255, 0.08);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
  text-align: center;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
  filter: saturate(1.4) contrast(1.1);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(162, 89, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(162, 89, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(162, 89, 255, 0.25) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(61, 158, 255, 0.2) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
  animation: floatOrb 15s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 60, 172, 0.15) 0%, transparent 70%);
  top: 40%;
  left: 60%;
  animation: floatOrb 10s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-primary);
  border: 1px solid rgba(162, 89, 255, 0.3);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  animation: pulse 1.5s ease-in-out infinite;
}

/* Hero title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 180px);
  line-height: 0.9;
  letter-spacing: -2px;
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}

.line {
  display: block;
  overflow: hidden;
}

.line-1 {
  color: var(--text-primary);
  animation: revealUp 0.9s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.line-2.accent-line {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hot) 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: revealUp 0.9s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  filter: drop-shadow(0 0 30px rgba(162, 89, 255, 0.5));
}

.line-3 {
  color: var(--text-primary);
  animation: revealUp 0.9s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes revealUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Hero subtitle */
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 48px;
  animation: fadeInUp 0.9s 1.0s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sub-muted {
  color: var(--text-muted);
  font-size: 15px;
  letter-spacing: 1px;
  font-style: italic;
}

/* Waitlist Form */
.waitlist-form {
  animation: fadeInUp 0.9s 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
  margin-bottom: 48px;
}

.input-group {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 520px;
  margin: 0 auto 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 24px;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--border-glow);
  box-shadow: 0 0 0 4px rgba(162, 89, 255, 0.1), var(--shadow-glow);
}

.email-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  min-width: 0;
  cursor: none;
}

.email-input::placeholder {
  color: var(--text-muted);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-hot));
  border: none;
  color: white;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.cta-btn:hover::before {
  opacity: 1;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(162, 89, 255, 0.5);
}

.cta-btn:active {
  transform: scale(0.97);
}

.cta-btn--large {
  padding: 18px 40px;
  font-size: 15px;
  border-radius: var(--radius-pill);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  margin-top: 8px;
}

.success-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 14px 24px;
  background: rgba(162, 89, 255, 0.1);
  border: 1px solid rgba(162, 89, 255, 0.3);
  border-radius: var(--radius-md);
  color: var(--accent-primary);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.success-icon {
  font-size: 16px;
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Stats row */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: fadeInUp 0.9s 1.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeInUp 1s 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8) translateY(-5px); }
  50%       { opacity: 1; transform: scaleY(1) translateY(5px); }
}

.scroll-text {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-muted);
  font-family: var(--font-ui);
}

/* ===== FEATURES SECTION ===== */
.features-section {
  position: relative;
  z-index: 2;
  padding: 120px 48px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 16px;
  font-family: var(--font-ui);
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 64px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(162, 89, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-8px);
  box-shadow: var(--shadow-card), 0 0 40px rgba(162, 89, 255, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(162, 89, 255, 0.5));
}

.feature-title {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ===== BOTTOM CTA ===== */
.bottom-cta {
  position: relative;
  z-index: 2;
  padding: 80px 48px 120px;
}

.bottom-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}

.bottom-cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(162, 89, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.bottom-cta-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.bottom-cta-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 48px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
  cursor: none;
}

.footer-link:hover {
  color: var(--accent-primary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-header {
    padding: 20px 24px;
  }

  .hero {
    padding: 100px 20px 80px;
  }

  .input-group {
    flex-direction: column;
    padding: 12px;
    border-radius: var(--radius-lg);
    gap: 8px;
  }

  .email-input {
    text-align: center;
    padding: 4px 0;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .stats-row {
    gap: 20px;
  }

  .stat-num {
    font-size: 28px;
  }

  .features-section {
    padding: 80px 24px;
  }

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

  .bottom-cta {
    padding: 40px 24px 80px;
  }

  .bottom-cta-inner {
    padding: 48px 28px;
  }

  .site-footer {
    padding: 28px 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-row {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }
}

/* ===== CUSTOM CURSOR ===== */
* {
  cursor: none !important;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.2s ease, width 0.2s ease, height 0.2s ease;
  box-shadow: 0 0 10px var(--accent-primary);
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(162, 89, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

/* ===== SHAKE ANIMATION ===== */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15%       { transform: translateX(-8px); }
  30%       { transform: translateX(8px); }
  45%       { transform: translateX(-6px); }
  60%       { transform: translateX(6px); }
  75%       { transform: translateX(-3px); }
  90%       { transform: translateX(3px); }
}

.shake {
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  border-color: rgba(255, 60, 172, 0.5) !important;
}
