/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6,6,11,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}
.logo-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--green-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-login {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.btn-login:hover { color: var(--text-primary); }
.btn-register {
  padding: 8px 20px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.2s;
}
.btn-register:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

/* === Hero === */
.hero {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 140px 24px 60px;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--green-dim);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 60px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.hero-stat { text-align: center; }
.hero-stat-value {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--green);
}
.hero-stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === Ticker === */
.ticker-section {
  position: relative;
  z-index: 10;
  padding: 0 0 60px;
  overflow: hidden;
}
.ticker-container {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.ticker-label {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  padding: 6px 12px;
  background: rgba(239,68,68,0.1);
  border-radius: 6px;
  white-space: nowrap;
}
.ticker-track {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.ticker-content {
  display: flex;
  gap: 32px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  font-size: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.ticker-item strong { color: var(--text-secondary); }
.ticker-item em {
  color: var(--green);
  font-style: normal;
  font-weight: 600;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === How It Works === */
.how-section {
  position: relative;
  z-index: 10;
  padding: 80px 0;
}
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.step-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 280px;
  transition: all 0.3s ease;
}
.step-card:hover {
  border-color: rgba(34,197,94,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.step-number {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-icon { font-size: 40px; margin-bottom: 16px; }
.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 14px;
  color: var(--text-muted);
}
.step-connector {
  padding: 0 8px;
}

/* === Earnings === */
.earnings-section {
  position: relative;
  z-index: 10;
  padding: 80px 0;
}
.earnings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.earning-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  position: relative;
}
.earning-card:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.05);
}
.earning-card.featured {
  border-color: rgba(234,179,8,0.3);
  background: rgba(234,179,8,0.05);
}
.earning-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  padding: 2px 10px;
  background: var(--gold);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
}
.earning-icon { font-size: 36px; flex-shrink: 0; }
.earning-info { flex: 1; }
.earning-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.earning-info p { font-size: 13px; color: var(--text-muted); }
.earning-amount {
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
  flex-shrink: 0;
  text-align: right;
}
.earning-amount span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.earnings-calculator {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.calc-header {
  padding: 16px 24px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.calc-body { padding: 16px 24px; }
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-secondary);
}
.calc-row:not(:last-child) { border-bottom: 1px solid var(--border); }
.calc-result {
  font-weight: 700;
  color: var(--text-primary);
}
.calc-result.highlight { color: var(--green); font-size: 18px; }

/* === Referral === */
.referral-section {
  position: relative;
  z-index: 10;
  padding: 40px 0 80px;
}
.referral-card {
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: linear-gradient(135deg, rgba(34,197,94,0.08), rgba(234,179,8,0.05));
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: var(--radius-xl);
}
.referral-info { flex: 1; }
.referral-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}
.referral-info p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.referral-info ul { list-style: none; }
.referral-info li {
  padding: 6px 0;
  font-size: 15px;
  color: var(--text-secondary);
}
.referral-visual {
  flex-shrink: 0;
}
.ref-tree { text-align: center; }
.ref-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}
.ref-you {
  background: var(--green);
  color: #000;
  font-size: 16px;
  margin-bottom: 8px;
}
.ref-line {
  width: 2px;
  height: 24px;
  background: rgba(34,197,94,0.3);
  margin: 0 auto;
}
.ref-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.ref-friend {
  background: var(--bg-card);
  border: 1px solid var(--border);
  flex-direction: column;
  gap: 4px;
}
.ref-friend span {
  display: block;
  font-size: 12px;
  color: var(--green);
}

/* === Trust === */
.trust-section {
  position: relative;
  z-index: 10;
  padding: 60px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.trust-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.trust-icon { font-size: 32px; margin-bottom: 12px; }
.trust-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.trust-item p { font-size: 13px; color: var(--text-muted); }

/* === FAQ === */
.faq-section {
  position: relative;
  z-index: 10;
  padding: 80px 0;
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-arrow {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.3s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Final CTA === */
.final-cta {
  position: relative;
  z-index: 10;
  padding: 40px 0 80px;
}
.cta-card {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(234,179,8,0.05));
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: var(--radius-xl);
}
.cta-card h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-card p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.cta-note {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* === Footer === */
.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
}
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  font-size: 20px;
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px;
  margin-top: 32px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat-divider { width: 40px; height: 1px; }
  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); }
  .earnings-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .referral-card { flex-direction: column; padding: 32px 24px; }
  .footer-container { flex-direction: column; }
  .footer-links { gap: 32px; }
}
