/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Canvas background */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-canvas canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Semi-transparent overlay to soften the wave animation */
.hero-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 15, 0.6);
  pointer-events: none;
}

/* Overlay gradient for depth */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-base), transparent);
  z-index: 1;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--cyan-dim);
  border: 1px solid rgba(34, 209, 238, 0.2);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 32px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.hero-proof .count {
  color: var(--cyan);
  font-weight: 600;
}

.hero-avatars {
  display: flex;
}

.hero-avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  margin-left: -8px;
  display: inline-block;
}

.hero-avatars span:first-child { margin-left: 0; }
.hero-avatars span:nth-child(1) { background: var(--primary); }
.hero-avatars span:nth-child(2) { background: var(--cyan); }
.hero-avatars span:nth-child(3) { background: var(--pink); }
.hero-avatars span:nth-child(4) { background: var(--primary-light); }

/* ============================================
   DUAL VALUE PROP
   ============================================ */
.dual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.value-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.value-card.trader::before {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.value-card.follower::before {
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

.value-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.value-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.value-card.trader .icon { background: rgba(179, 141, 244, 0.15); color: var(--primary-light); }
.value-card.follower .icon { background: var(--cyan-dim); color: var(--cyan); }

.value-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.value-card .subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.value-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.value-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.value-card ul li .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 2px;
}

.value-card.trader ul li .check { background: rgba(179, 141, 244, 0.2); color: var(--primary-light); }
.value-card.follower ul li .check { background: var(--cyan-dim); color: var(--cyan); }

/* ============================================
   HOW IT WORKS
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-sub { margin: 0 auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

/* Connecting line */
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 36px);
  right: calc(16.67% + 36px);
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--pink));
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.step:nth-child(1) .step-number { color: var(--primary-light); }
.step:nth-child(2) .step-number { color: var(--cyan); }
.step:nth-child(3) .step-number { color: var(--pink); }

.step h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-surface-2);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.feature-card:nth-child(1) .feature-icon { background: rgba(179, 141, 244, 0.15); }
.feature-card:nth-child(2) .feature-icon { background: var(--cyan-dim); }
.feature-card:nth-child(3) .feature-icon { background: var(--pink-dim); }
.feature-card:nth-child(4) .feature-icon { background: rgba(179, 141, 244, 0.15); }
.feature-card:nth-child(5) .feature-icon { background: var(--cyan-dim); }
.feature-card:nth-child(6) .feature-icon { background: var(--pink-dim); }

.feature-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   REFERRAL PROGRAM
   ============================================ */
.referral-section {
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.tier-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.tier-card.bronze::before { background: var(--tier-bronze); }
.tier-card.silver::before { background: linear-gradient(90deg, #C0C0C0, #E8E8E8, #C0C0C0); }
.tier-card.gold::before { background: linear-gradient(90deg, var(--primary), var(--tier-gold), var(--primary)); }

.tier-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.tier-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tier-card.bronze .tier-label { color: var(--tier-bronze); }
.tier-card.silver .tier-label { color: var(--tier-silver); }
.tier-card.gold .tier-label { color: var(--tier-gold); }

.tier-percentage {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.tier-percentage span { font-size: 24px; }

.tier-card.bronze .tier-percentage { color: var(--tier-bronze); }
.tier-card.silver .tier-percentage { color: var(--tier-silver); }
.tier-card.gold .tier-percentage { color: var(--primary-light); }

.tier-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.tier-req {
  font-size: 13px;
  color: var(--text-secondary);
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.ref-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.ref-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ref-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(179, 141, 244, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ref-feature h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.ref-feature p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Waitlist rewards */
.waitlist-rewards {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.waitlist-rewards h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.waitlist-rewards .reward-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.reward-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-surface-1);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.reward-item .reward-count {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 4px;
}

.reward-item .reward-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.reward-text {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   WALLET CLAIM
   ============================================ */
.claim-card {
  background: var(--bg-surface-1);
  border: 1px solid rgba(34, 209, 238, 0.15);
  border-radius: var(--radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.claim-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.claim-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.claim-text h3 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.claim-text h3 .cyan { color: var(--cyan); }

.claim-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.claim-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.claim-stat {
  text-align: center;
  padding: 24px;
  background: var(--bg-surface-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.claim-stat .number {
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 4px;
}

.claim-stat .label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(179, 141, 244, 0.12) 0%, transparent 70%);
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.final-cta .section-sub {
  margin: 0 auto 48px;
}

/* ============================================
   BLOG PREVIEW
   ============================================ */
.blog-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.blog-preview-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.blog-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s;
}

.blog-preview-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(179, 141, 244, 0.1);
}

.blog-preview-card:hover::before {
  opacity: 1;
}

.blog-preview-tag {
  display: inline-block;
  width: fit-content;
  padding: 3px 10px;
  background: var(--primary-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.blog-preview-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.blog-preview-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.blog-preview-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-light);
  transition: color 0.2s;
}

.blog-preview-card:hover .blog-preview-link {
  color: var(--cyan);
}

.blog-preview-cta {
  text-align: center;
  margin-top: 32px;
}

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 56px; }
  .section-title { font-size: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .claim-content { grid-template-columns: 1fr; }
  .claim-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .hero h1 { font-size: clamp(32px, 11vw, 48px); }
  .hero-content { width: 100%; max-width: 100%; padding: 0 24px; box-sizing: border-box; }
  .hero-sub { font-size: 14px; max-width: 100%; }
  .hero-ctas { flex-direction: column; }
  .section-title { font-size: 32px; }
  .section-sub { font-size: 16px; }

  .dual-cards { grid-template-columns: 1fr; }
  .value-card { padding: 32px 24px; }

  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps::before { display: none; }

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

  .tiers { grid-template-columns: 1fr; }
  .ref-features { grid-template-columns: 1fr; }
  .waitlist-rewards .reward-tiers { grid-template-columns: repeat(2, 1fr); }

  .claim-card { padding: 32px; }
  .claim-stats { grid-template-columns: 1fr; }

  .blog-preview-grid { grid-template-columns: 1fr; }
  .blog-preview-card h3 { font-size: 18px; }

  .form-row { flex-direction: column; }
}
