:root {
  --primary: #66FF00;
  --primary-dim: rgba(102, 255, 0, 0.12);
  --primary-glow: 0 0 40px rgba(102, 255, 0, 0.25);
  --accent-purple: #7c3aed;
  --accent-gold: #f59e0b;
  --accent-blue: #3b82f6;
  --dark-bg: #050505;
  --card-bg: #111111;
  --card-hover: #1a1a1a;
  --glass-bg: rgba(17, 17, 17, 0.65);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--primary); color: #000; }
::-moz-selection { background: var(--primary); color: #000; }

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }

/* ── Glass Card ── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.glass-card:hover {
  border-color: rgba(102, 255, 0, 0.2);
  box-shadow: var(--glass-shadow), 0 0 30px rgba(102, 255, 0, 0.06);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(102, 255, 0, 0.1);
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), #98FF98);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Shimmer Button ── */
.btn-shimmer {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), #7cfc00);
  color: #000;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}
.btn-shimmer:hover::before { left: 125%; }
.btn-shimmer:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(102, 255, 0, 0.35);
}
.btn-shimmer:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1px solid rgba(102, 255, 0, 0.4);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: rgba(102, 255, 0, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(102, 255, 0, 0.15);
  transform: translateY(-2px);
}

.btn-outline .arrow {
  display: inline-block;
  transition: transform var(--transition);
}
.btn-outline:hover .arrow { transform: translateX(4px); }

/* ── Glow Orbs ── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.15;
  z-index: 0;
}
.glow-orb.green { background: var(--primary); width: 400px; height: 400px; }
.glow-orb.purple { background: var(--accent-purple); width: 350px; height: 350px; }
.glow-orb.blue { background: var(--accent-blue); width: 300px; height: 300px; }

/* ── Section Heading ── */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
}
.section-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary);
  margin-top: 8px;
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Nav ── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 50;
  padding: 16px 0;
  transition: all var(--transition);
}
#main-nav.nav-scrolled {
  padding: 10px 0;
  background: rgba(5, 5, 5, 0.85);
}

.nav-link-custom {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color var(--transition);
}
.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-link-custom:hover { color: var(--text-primary); }
.nav-link-custom:hover::after { width: 100%; }
.nav-link-custom.active { color: var(--primary); }
.nav-link-custom.active::after { width: 100%; }

.nav-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.nav-auth-btn.login {
  border: 1px solid rgba(102, 255, 0, 0.3);
  color: var(--primary);
}
.nav-auth-btn.login:hover {
  background: rgba(102, 255, 0, 0.1);
  border-color: var(--primary);
}
.nav-auth-btn.signup {
  background: var(--primary);
  color: #000;
}
.nav-auth-btn.signup:hover {
  background: #7cfc00;
  box-shadow: 0 4px 20px rgba(102, 255, 0, 0.3);
  transform: translateY(-1px);
}

/* ── Mobile Menu Overlay ── */
#mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid var(--glass-border);
  padding: 100px 32px 32px;
  transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 9999;
  overflow-y: auto;
}
#mobile-menu.open { right: 0; }
#mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 1.1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--glass-border);
  transition: color var(--transition);
}
#mobile-menu a:hover, #mobile-menu a.active { color: var(--primary); }
.menu-open { overflow: hidden; }

.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10000;
  position: relative;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ── Hero ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(102, 255, 0, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
  animation: heroGradient 15s ease infinite alternate;
}
@keyframes heroGradient {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(2deg); }
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.hero-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ── Crypto Ticker ── */
#crypto-ticker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.85rem;
  margin-bottom: 28px;
}
.ticker-item { display: inline-flex; align-items: center; gap: 6px; }
.ticker-label { font-weight: 600; color: var(--text-primary); }
.ticker-price { color: var(--text-secondary); }
.ticker-change { font-weight: 600; font-size: 0.8rem; padding: 1px 6px; border-radius: 4px; }
.ticker-item.up .ticker-change { color: #22c55e; background: rgba(34, 197, 94, 0.12); }
.ticker-item.down .ticker-change { color: #ef4444; background: rgba(239, 68, 68, 0.12); }
.ticker-sep { color: var(--text-muted); font-size: 0.7rem; }

/* ── Stats ── */
.stat-card {
  text-align: center;
  padding: 32px 20px;
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ── Live Activity ── */
.activity-panel {
  padding: 24px;
  max-height: 420px;
  overflow: hidden;
  position: relative;
}
.activity-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--glass-bg));
  pointer-events: none;
}
.activity-scroll {
  animation: scrollUp 20s linear infinite;
}
.activity-scroll:hover { animation-play-state: paused; }
@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.activity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.activity-row:last-child { border-bottom: none; }
.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  flex-shrink: 0;
}
.activity-dot.green { background: var(--primary); box-shadow: 0 0 8px rgba(102, 255, 0, 0.5); }
.activity-dot.red { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.5); }
.activity-name { color: var(--text-secondary); font-size: 0.9rem; }
.activity-amount { font-weight: 600; color: var(--primary); }

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(102, 255, 0, 0.2) 0px,
    rgba(102, 255, 0, 0.2) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
}
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .steps-grid::before { display: none; }
}

.step-card {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  z-index: 1;
}
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), #7cfc00);
  color: #000;
  box-shadow: 0 0 30px rgba(102, 255, 0, 0.2);
}
.step-card h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; }
.step-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ── Plan Cards ── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 992px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .plans-grid { grid-template-columns: 1fr; } }

.plan-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(102, 255, 0, 0.06);
}

.plan-badge {
  position: absolute;
  top: 12px;
  right: -32px;
  transform: rotate(45deg);
  padding: 4px 36px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}
.plan-badge.popular { background: var(--accent-gold); color: #000; }
.plan-badge.vip { background: var(--accent-purple); color: #fff; }

.plan-header {
  padding: 24px;
  text-align: center;
  color: #000;
}
.plan-header.green { background: linear-gradient(135deg, var(--primary), #7cfc00); }
.plan-header.gold { background: linear-gradient(135deg, var(--accent-gold), #fbbf24); }
.plan-header.purple { background: linear-gradient(135deg, var(--accent-purple), #8b5cf6); }
.plan-header.dark { background: linear-gradient(135deg, #1a1a2e, #16213e); color: var(--text-primary); }

.plan-header h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.plan-header .plan-price { font-size: 0.85rem; opacity: 0.8; }

.plan-body { padding: 24px; }
.plan-feature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}
.plan-feature:last-child { border-bottom: none; }
.plan-feature span { font-size: 0.88rem; color: var(--text-secondary); }
.plan-feature strong { font-size: 0.9rem; color: var(--text-primary); }
.plan-feature strong.highlight { color: var(--primary); }

.plan-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  margin-top: 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  background: rgba(102, 255, 0, 0.1);
  color: var(--primary);
  border: 1px solid rgba(102, 255, 0, 0.2);
}
.plan-btn:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 4px 20px rgba(102, 255, 0, 0.25);
}

/* ── Trust Badges ── */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
}

/* ── Marquee ── */
.marquee-container {
  overflow: hidden;
  width: 100%;
}
.marquee-track {
  display: flex;
  gap: 20px;
  animation: marquee 30s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-chip {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: all var(--transition);
  filter: grayscale(0.6);
}
.marquee-chip:hover {
  filter: grayscale(0);
  border-color: rgba(102, 255, 0, 0.3);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(102, 255, 0, 0.1);
}
.marquee-chip img { width: 36px; height: 36px; object-fit: contain; }

/* ── Testimonial Carousel ── */
.testimonial-container {
  overflow: hidden;
  position: relative;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 8px;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(102, 255, 0, 0.1);
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #000;
  flex-shrink: 0;
}
.stars { color: var(--accent-gold); font-size: 0.85rem; letter-spacing: 2px; }

/* ── Footer ── */
footer.glass-card { border-radius: 0; }
.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 20px;
}
.footer-link {
  color: var(--text-secondary);
  transition: color var(--transition);
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 8px;
}
.footer-link:hover { color: var(--primary); padding-left: 4px; }

.newsletter-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-input:focus { border-color: var(--primary); }
.newsletter-input::placeholder { color: var(--text-muted); }

/* ── Back to Top ── */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 4px 20px rgba(102, 255, 0, 0.3);
}

/* ── Scroll Reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="scale"] {
  transform: scale(0.9);
}
[data-reveal="scale"].revealed {
  transform: scale(1);
}

/* ── Section Divider ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102, 255, 0, 0.15), transparent);
  margin: 0;
}

/* ── Legacy Utilities (backward compat) ── */
.bg-card { background: var(--card-bg); }
.bg-dark-custom { background: var(--dark-bg); }
.btn { display: inline-block; padding: 12px 30px; font-weight: 500; text-align: center; border: none; border-radius: 6px; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--primary), #7cfc00); color: #000; }
.form-control { background: var(--card-bg); border: 1px solid var(--border-color); color: var(--text-primary); padding: 12px 20px; border-radius: 6px; }
.form-control:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--primary-dim); }

/* ── Selection ── */
::selection { background: var(--primary); color: #000; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .activity-scroll { animation: none !important; }
  .marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }
}
