/* ── Reset & Base ─────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #050810;
  color: #e0e6ff;
  font-family: 'Segoe UI', system-ui, sans-serif;
  overflow-x: hidden;
}

/* ── Particles ───────────────────────────── */
.particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Utilities ───────────────────────────── */
.text-glow {
  color: #ffc107;
  text-shadow: 0 0 20px rgba(255,193,7,0.6), 0 0 40px rgba(255,193,7,0.3);
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffc107;
  border: 1px solid rgba(255,193,7,0.3);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
}

/* ── Navbar ──────────────────────────────── */
.landing-nav {
  background: rgba(5,8,16,0.85) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 0;
  z-index: 100;
}
.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: rgba(255,193,7,0.15);
  border: 1px solid rgba(255,193,7,0.4);
  border-radius: 8px;
  margin-right: 8px;
  font-size: 1rem;
  color: #ffc107;
}
.brand-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}
.landing-nav .nav-link { color: rgba(255,255,255,0.7) !important; font-size: 0.9rem; }
.landing-nav .nav-link:hover { color: #ffc107 !important; }

/* ── Buttons ─────────────────────────────── */
.btn-glow {
  background: linear-gradient(135deg, #ffc107, #ff9500);
  color: #000 !important;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,193,7,0.35);
  transition: all 0.3s ease;
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(255,193,7,0.55);
  color: #000 !important;
}
.btn-outline-glow {
  background: transparent;
  color: #ffc107 !important;
  border: 1px solid rgba(255,193,7,0.5);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s;
}
.btn-outline-glow:hover {
  background: rgba(255,193,7,0.1);
  border-color: #ffc107;
  box-shadow: 0 0 20px rgba(255,193,7,0.2);
}

/* ── Hero ────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,193,7,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,193,7,0.1);
  border: 1px solid rgba(255,193,7,0.3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.82rem;
  color: #ffc107;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.hero-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(224,230,255,0.7);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.25rem 2rem;
  margin-top: 3rem;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat { text-align: center; padding: 0 1.5rem; }
.hero-stat-value { font-size: 1.8rem; font-weight: 800; color: #ffc107; line-height: 1; }
.hero-stat-label { font-size: 0.72rem; color: rgba(224,230,255,0.5); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* ── Bot Visual ──────────────────────────── */
.hero-bot-visual {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.35;
  pointer-events: none;
}
.bot-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,193,7,0.4);
  animation: spin linear infinite;
}
.bot-ring-1 { width: 200px; height: 200px; animation-duration: 8s; border-style: dashed; }
.bot-ring-2 { width: 320px; height: 320px; animation-duration: 14s; animation-direction: reverse; opacity: 0.6; }
.bot-ring-3 { width: 440px; height: 440px; animation-duration: 20s; opacity: 0.3; border-style: dotted; }
.bot-core {
  font-size: 4rem;
  color: #ffc107;
  animation: pulse-bot 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255,193,7,0.8));
}

/* ── Sections ────────────────────────────── */
.section-dark { padding: 100px 0; background: #070b14; position: relative; z-index: 1; }
.section-darker { padding: 100px 0; background: #050810; position: relative; z-index: 1; }

/* ── Feature Cards ───────────────────────── */
.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
  height: 100%;
}
.feature-card:hover {
  background: rgba(255,193,7,0.05);
  border-color: rgba(255,193,7,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(255,193,7,0.15), rgba(255,149,0,0.1));
  border: 1px solid rgba(255,193,7,0.25);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #ffc107;
}

/* ── Plan Cards ──────────────────────────── */
.plan-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  display: flex; flex-direction: column;
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,193,7,0.3);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.plan-popular {
  border-color: rgba(255,193,7,0.5) !important;
  background: rgba(255,193,7,0.05) !important;
  box-shadow: 0 0 40px rgba(255,193,7,0.15);
}
.plan-badge {
  position: absolute;
  top: 0; right: 0;
  background: linear-gradient(135deg, #ffc107, #ff9500);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 0 20px 0 12px;
  letter-spacing: 0.5px;
}
.plan-part { font-size: 0.75rem; color: #ffc107; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
.plan-name { font-size: 1.3rem; font-weight: 800; margin-bottom: 1rem; }
.plan-price { font-size: 2.8rem; font-weight: 900; color: #ffc107; line-height: 1; }
.plan-price-label { font-size: 0.75rem; color: rgba(224,230,255,0.4); margin-bottom: 1.5rem; }
.plan-features { list-style: none; padding: 0; text-align: left; margin-bottom: 1.5rem; flex: 1; }
.plan-features li { padding: 0.4rem 0; font-size: 0.9rem; color: rgba(224,230,255,0.8); display: flex; align-items: center; gap: 8px; }

/* ── Step Cards ──────────────────────────── */
.step-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  position: relative;
  transition: all 0.3s;
}
.step-card:hover { border-color: rgba(255,193,7,0.3); transform: translateY(-4px); }
.step-number {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffc107, #ff9500);
  color: #000;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 2px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}
.step-icon {
  font-size: 2.5rem;
  color: #ffc107;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 12px rgba(255,193,7,0.5));
}

/* ── Referral Visual ─────────────────────── */
.referral-levels { display: flex; flex-direction: column; gap: 8px; }
.ref-level { display: flex; align-items: center; gap: 12px; }
.ref-gen { width: 40px; font-size: 0.75rem; color: rgba(224,230,255,0.5); }
.ref-bar-wrap { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.ref-bar { height: 100%; border-radius: 3px; transition: width 1s ease; }
.ref-rate { width: 40px; font-size: 0.8rem; font-weight: 700; text-align: right; }

.referral-visual {
  position: relative;
  width: 100%; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.ref-node {
  position: absolute;
  background: rgba(255,193,7,0.12);
  border: 1px solid rgba(255,193,7,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #ffc107;
  text-align: center;
  line-height: 1.2;
}
.ref-center { width: 80px; height: 80px; font-size: 0.8rem; background: rgba(255,193,7,0.2); box-shadow: 0 0 30px rgba(255,193,7,0.3); animation: pulse-bot 2.5s ease-in-out infinite; }
.ref-orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,193,7,0.15); animation: spin linear infinite; }
.ref-orbit-1 { width: 180px; height: 180px; animation-duration: 10s; }
.ref-orbit-2 { width: 280px; height: 280px; animation-duration: 16s; animation-direction: reverse; }
.ref-gen1 { width: 52px; height: 52px; }
.ref-gen2 { width: 40px; height: 40px; font-size: 0.6rem; }
.ref-orbit-1 .ref-node:nth-child(1) { top: -26px; left: 50%; transform: translateX(-50%); }
.ref-orbit-1 .ref-node:nth-child(2) { bottom: -5px; left: 0; }
.ref-orbit-1 .ref-node:nth-child(3) { bottom: -5px; right: 0; }
.ref-orbit-2 .ref-node:nth-child(1) { top: -20px; left: 50%; transform: translateX(-50%); }
.ref-orbit-2 .ref-node:nth-child(2) { bottom: -5px; left: 5px; }
.ref-orbit-2 .ref-node:nth-child(3) { bottom: -5px; right: 5px; }
.ref-orbit-2 .ref-node:nth-child(4) { top: 50%; right: -20px; transform: translateY(-50%); }

/* ── CTA ─────────────────────────────────── */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #070b14 0%, #0d1220 50%, #070b14 100%);
  position: relative; z-index: 1;
}
.cta-title { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 900; margin-bottom: 1rem; }

/* ── Footer ──────────────────────────────── */
.landing-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #050810;
  position: relative; z-index: 1;
}
.footer-logo { font-size: 1.3rem; font-weight: 800; color: #fff; }
.landing-footer a { text-decoration: none; }
.landing-footer a:hover { color: #ffc107 !important; }

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

@keyframes pulse-bot {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(255,193,7,0.6)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 30px rgba(255,193,7,0.9)); }
}

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

.animate-fade-in { animation: fadeIn 0.8s ease both; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease both; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
  .hero-bot-visual { display: none; }
  .hero-stats { gap: 0; padding: 1rem; }
  .hero-stat { padding: 0 1rem; }
  .hero-stat-divider { height: 30px; }
  .referral-visual { height: 220px; }
  .ref-orbit-1 { width: 120px; height: 120px; }
  .ref-orbit-2 { width: 200px; height: 200px; }
  .ref-center { width: 60px; height: 60px; }
}
