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

:root {
  --bg: #050608;
  --bg-2: #0a0c12;
  --accent-1: #00F5D4;   /* electric mint */
  --accent-2: #7B2FF7;   /* deep violet */
  --accent-3: #00B4D8;   /* cyan */
  --text: #f0f2f5;
  --text-dim: #8b8f9a;
  --card-bg: rgba(255,255,255,0.03);
  --card-border: rgba(255,255,255,0.08);
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  overflow-x: hidden;
}

/* ===== Hero Container ===== */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(123,47,247,0.15) 0%, transparent 60%),
              radial-gradient(ellipse 60% 40% at 80% 50%, rgba(0,245,212,0.08) 0%, transparent 50%),
              var(--bg);
}

/* ===== Particle Canvas ===== */
#particle-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ===== Grid Overlay ===== */
.grid-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 0%, transparent 80%);
  pointer-events: none;
}

/* ===== Noise Texture ===== */
.noise {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 3;
  opacity: 0.4;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}

/* ===== Nav ===== */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 2px;
}

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

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 20px;
  border: 1px solid var(--card-border);
  border-radius: 100px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  color: var(--text) !important;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  border-color: var(--accent-1);
  box-shadow: 0 0 20px rgba(0,245,212,0.3);
}

/* ===== Hero Content ===== */
.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 32px;
  max-width: 900px;
  margin: 0 auto;
}

/* ===== Badge ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--card-border);
  border-radius: 100px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: var(--delay);
}

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

/* ===== Headline ===== */
.headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.headline .line {
  display: block;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-3) 50%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Subheadline ===== */
.subheadline {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: var(--delay);
}

/* ===== CTA Buttons ===== */
.cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: var(--delay);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  color: #050608;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(0,245,212,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,245,212,0.5);
}

.btn-primary svg { transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
}

/* ===== Stats ===== */
.stats {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: var(--delay);
}

.stat { text-align: center; }

.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  margin-top: 4px;
  text-transform: uppercase;
}

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

/* ===== Floating Cards ===== */
.float-card {
  position: absolute;
  z-index: 8;
  padding: 16px 20px;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: rgba(10,12,18,0.7);
  backdrop-filter: blur(20px);
  min-width: 160px;
  opacity: 0;
  animation: fadeIn 1s ease forwards, floatCard 6s ease-in-out infinite;
  animation-delay: var(--delay), calc(var(--delay) + 1s);
}

.card-1 { top: 18%; left: 6%; }
.card-2 { bottom: 22%; left: 10%; }
.card-3 { top: 22%; right: 6%; }

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.card-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon.green { background: rgba(0,245,212,0.1); color: var(--accent-1); }
.card-icon.purple { background: rgba(123,47,247,0.15); color: #a855f7; }
.card-icon.cyan { background: rgba(0,180,216,0.1); color: var(--accent-3); }

.card-title {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.card-price {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.card-change {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
}

.card-change.positive { color: var(--accent-1); }

/* ===== Scroll Indicator ===== */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.5s;
}

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--card-border);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--text-dim);
  animation: scrollWheel 1.5s ease infinite;
}

.scroll-indicator span {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== Bottom Fade ===== */
.bottom-fade {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 5;
  pointer-events: none;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .hero-content { padding: 0 24px; }
  .float-card { display: none; }
  .stats { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .stat-divider { display: none; }
  .cta-group { flex-direction: column; width: 100%; }
  .btn { justify-content: center; }
}
