/* =====================================================
   DESIRE TRAINING - Premium Dark Theme
   ===================================================== */

:root {
  --primary:    #081224;
  --secondary:  #D4AF37;
  --accent:     #FFD700;
  --bg-dark:    #0a1628;
  --bg-card:    #0e1f3a;
  --bg-card-2:  #112240;
  --text-light: #e2e8f0;
  --text-muted: #8892a4;
  --border:     rgba(212, 175, 55, 0.15);
  --gradient:   linear-gradient(135deg, #D4AF37, #FFD700);
  --gradient-dark: linear-gradient(135deg, #081224, #0e1f3a);
  --green:      #00d4aa;
  --red:        #ff4757;
  --font:       'Inter', 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--primary);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
  background: rgba(8, 18, 36, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary) !important;
}
.navbar-brand span { color: #fff; }
.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s;
  font-size: 0.9rem;
}
.nav-link:hover { color: var(--secondary) !important; }
.navbar-toggler { border-color: var(--border) !important; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary-gold {
  background: var(--gradient);
  border: none;
  color: #000;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 0.95rem;
}
.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  color: #000;
}
.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 0.95rem;
}
.btn-outline-gold:hover {
  background: var(--gradient);
  color: #000;
  border-color: transparent;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--primary);
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,212,170,0.06) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--border);
  color: var(--secondary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '●';
  color: var(--green);
  margin-right: 0.5rem;
  animation: blink 2s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 1.5rem; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 550px; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; }
.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-heading);
}
.hero-stat-label { color: var(--text-muted); font-size: 0.85rem; }

.hero-chart {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  overflow: hidden;
}
.hero-chart::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
}

/* =====================================================
   CARDS
   ===================================================== */
.dt-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.dt-card:hover {
  border-color: rgba(212,175,55,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.dt-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.dt-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(212,175,55,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

/* =====================================================
   PACKAGE CARDS
   ===================================================== */
.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}
.package-card.featured {
  border-color: var(--secondary);
  background: linear-gradient(135deg, rgba(212,175,55,0.05), rgba(14,31,58,1));
  transform: scale(1.05);
}
.package-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #000;
  padding: 0.2rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.package-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-heading);
}
.package-price span { font-size: 1.2rem; vertical-align: super; }
.package-cashback {
  background: rgba(0,212,170,0.1);
  color: var(--green);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin: 0.8rem 0;
}

/* =====================================================
   RANK TABLE
   ===================================================== */
.rank-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.rank-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}
.rank-table th {
  background: rgba(212,175,55,0.1);
  color: var(--secondary);
  font-weight: 700;
  padding: 1rem 1.2rem;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.rank-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-light);
  font-size: 0.9rem;
}
.rank-table tr:hover td { background: rgba(212,175,55,0.03); }
.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

/* =====================================================
   LEADERSHIP LEVELS
   ===================================================== */
.level-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}
.level-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  transition: all 0.3s;
}
.level-item:hover { border-color: var(--secondary); }
.level-number { font-size: 0.8rem; color: var(--text-muted); }
.level-percent {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-heading);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-rating { color: var(--accent); margin-bottom: 1rem; }
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #000;
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section { padding: 5rem 0; }
.section-dark { background: var(--bg-dark); }
.section-darker { background: var(--bg-card-2); }

/* =====================================================
   STATS BAR
   ===================================================== */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.2rem; }

/* =====================================================
   INCOME CARDS (Referral / Leadership / Cashback)
   ===================================================== */
.income-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.income-card .big-percent {
  font-size: 4rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--secondary);
  line-height: 1;
}
.income-card .income-label { color: var(--text-muted); margin-top: 0.5rem; }
.income-card .badge-pill {
  background: rgba(212,175,55,0.15);
  color: var(--secondary);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-light);
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover { color: var(--secondary); }
.faq-answer {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-muted);
  display: none;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { color: var(--secondary); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: #040c1c;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}
.footer-link:hover { color: var(--secondary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  margin-right: 0.5rem;
  transition: all 0.3s;
  text-decoration: none;
}
.social-link:hover { background: var(--secondary); color: #000; border-color: var(--secondary); }

/* =====================================================
   SCROLLBAR
   ===================================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }

/* =====================================================
   UTILITIES
   ===================================================== */
.text-gold { color: var(--secondary) !important; }
.text-green { color: var(--green) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.bg-card { background: var(--bg-card); }
.border-gold { border-color: var(--border) !important; }
.divider-gold { height: 3px; background: var(--gradient); border-radius: 2px; width: 60px; margin: 0.8rem auto 2rem; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Floating chart animation */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-anim { animation: float 4s ease-in-out infinite; }

/* Responsive */
@media (max-width: 768px) {
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .package-card.featured { transform: none; }
  .section { padding: 3rem 0; }
}

/* Ticker */
.ticker-wrap {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  overflow: hidden;
}
.ticker-content {
  display: flex;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  padding: 0 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.ticker-item span { color: var(--green); margin-left: 0.5rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
