/* ─── Reset & Base ─────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #f97316;
  --orange-light: #fb923c;
  --orange-glow: #fbbf24;
  --bg: #0a0a0f;
  --bg-card: #1a1a24;
  --border: #2a2a3a;
  --text: #f5f5f5;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b7b;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ─── Background Effects ──────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(249,115,22,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(249, 115, 22, 0.08);
  top: -200px;
  left: -200px;
  animation: float-orb 20s ease-in-out infinite;
}

.bg-orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(251, 191, 36, 0.05);
  bottom: -150px;
  right: -150px;
  animation: float-orb 25s ease-in-out infinite reverse;
}

.bg-orb-3 {
  width: 400px;
  height: 400px;
  background: rgba(249, 115, 22, 0.04);
  top: 40%;
  left: 50%;
  animation: float-orb 22s ease-in-out infinite 5s;
}

.cursor-spotlight {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

/* ─── Header ──────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(249, 115, 22, 0.08);
}

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

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

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.logo-text {
  display: block;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange), var(--orange-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-tagline {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ─── Main Layout ─────────────────────────────── */
.main {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  flex: 1;
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ─── Badge ───────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 100px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease-in-out infinite;
}

.badge-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.5px;
}

/* ─── Heading ─────────────────────────────────── */
.heading {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.heading-accent {
  background: linear-gradient(135deg, var(--orange), var(--orange-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Subtext ─────────────────────────────────── */
.subtext {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

/* ─── Email Signup ────────────────────────────── */
.signup-wrapper {
  margin-bottom: 40px;
}

.signup-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.signup-form:focus-within {
  border-color: rgba(249, 115, 22, 0.4);
}

.signup-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  outline: none;
}

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

.signup-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--orange), #ea580c);
  border: none;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.signup-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

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

.signup-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ─── Success State ───────────────────────────── */
.signup-success {
  max-width: 440px;
  width: 100%;
  padding: 24px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 12px;
  text-align: center;
  margin-bottom: 40px;
  animation: fadeIn 0.4s ease;
}

.success-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.success-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.success-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.success-link {
  font-size: 13px;
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.success-link:hover {
  color: var(--orange-light);
}

/* ─── Feature Pills ───────────────────────────── */
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.pill:hover {
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.05);
  color: var(--text);
}

/* ─── Social ──────────────────────────────────── */
.social {
  margin-bottom: 32px;
}

.social-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.social-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.social-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.05);
  transform: translateY(-2px);
}

.social-card svg {
  flex-shrink: 0;
}

.social-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.social-desc {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── Floating Token Cards ────────────────────── */
.floating-cards {
  position: fixed;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
}

.token-card {
  width: 200px;
  padding: 16px;
  background: rgba(26, 26, 36, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
}

.token-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.08);
}

.token-card-1 { animation: card-float 6s ease-in-out infinite; }
.token-card-2 { animation: card-float 6s ease-in-out infinite 2s; }
.token-card-3 { animation: card-float 6s ease-in-out infinite 4s; }

.token-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.token-pair {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.5px;
}

.token-live {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #22c55e;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-green 2s ease-in-out infinite;
}

.token-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.token-change {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
}

.token-change.positive {
  color: #22c55e;
}

.token-change.negative {
  color: #ef4444;
}

/* ─── Footer ──────────────────────────────────── */
.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 40px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--orange-light);
}

/* ─── Animations ──────────────────────────────── */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0);
  }
}

@keyframes pulse-green {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
  }
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 15px); }
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ──────────────────────────────── */
@media (max-width: 1200px) {
  .floating-cards {
    display: none;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 16px 20px;
  }

  .main {
    padding: 100px 20px 60px;
  }

  .heading {
    letter-spacing: -1px;
  }

  .subtext {
    font-size: 16px;
  }

  .pills {
    gap: 8px;
  }

  .pill {
    font-size: 11px;
    padding: 6px 12px;
  }
}

@media (max-width: 640px) {
  .signup-form {
    flex-direction: column;
    border-radius: 12px;
  }

  .signup-input {
    border-bottom: 1px solid var(--border);
  }

  .signup-btn {
    border-radius: 0 0 11px 11px;
  }
}
