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

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #1e3a8a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #0a1628 0%, #0f172a 50%, #020617 100%);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.03;
  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");
}

/* Nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  max-width: 1400px;
  margin: 0 auto;
}

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

.logo-icon {
  font-size: 32px;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--blue-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  text-align: center;
  padding: 80px 24px 120px;
  max-width: 1200px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-400);
  margin-bottom: 32px;
}

h1 {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-200) 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 20px;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* Email Form */
.email-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.email-form input {
  padding: 16px 24px;
  font-size: 16px;
  border: 2px solid var(--gray-800);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  width: 320px;
  transition: all 0.2s;
}

.email-form input:focus {
  outline: none;
  border-color: var(--blue-500);
  background: rgba(255, 255, 255, 0.08);
}

.email-form input::placeholder {
  color: var(--gray-500);
}

.email-form button {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.email-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
}

.waitlist-count {
  color: var(--gray-500);
  font-size: 14px;
}

.waitlist-count span {
  color: var(--blue-400);
  font-weight: 600;
}

/* Token Card Visual */
.hero-visual {
  margin-top: 80px;
  perspective: 1000px;
}

.token-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 24px;
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
  transform: rotateX(5deg);
  transition: transform 0.3s;
}

.token-card:hover {
  transform: rotateX(0deg);
}

.token-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.token-icon {
  font-size: 48px;
}

.token-name {
  font-size: 20px;
  font-weight: 700;
}

.token-ticker {
  font-size: 14px;
  color: var(--gray-400);
}

.token-badge {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.token-badge.live {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.token-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 18px;
  font-weight: 700;
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  border-radius: 100px;
  transition: width 0.5s ease;
}

.progress-text {
  font-size: 12px;
  color: var(--gray-400);
}

/* Features */
.features {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.features h2, .how-it-works h2, .final-cta h2 {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 64px;
  letter-spacing: -1px;
}

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

.feature-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
}

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

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray-400);
  line-height: 1.6;
}

/* How it Works */
.how-it-works {
  padding: 120px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.step {
  text-align: center;
  flex: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--gray-400);
}

.step-arrow {
  font-size: 32px;
  color: var(--gray-600);
}

/* Final CTA */
.final-cta {
  padding: 120px 24px;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.05) 100%);
}

.final-cta p {
  color: var(--gray-400);
  font-size: 18px;
  margin-bottom: 32px;
}

/* Footer */
footer {
  padding: 48px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.footer-logo .logo-icon {
  font-size: 24px;
}

.footer-logo .logo-text {
  font-size: 18px;
}

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

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  color: var(--gray-600);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 16px 24px;
  }
  
  .nav-links {
    display: none;
  }
  
  h1 {
    font-size: 48px;
  }
  
  .subtitle {
    font-size: 18px;
  }
  
  .email-form {
    flex-direction: column;
    align-items: center;
  }
  
  .email-form input {
    width: 100%;
    max-width: 320px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
  
  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}
