/* ===== CryptoHorizon - Main Stylesheet ===== */
/* A Web3/Crypto themed landing page with futuristic aesthetics */

/* ===== CSS Custom Properties ===== */
:root {
  --bg-primary: #0A0A0E;
  --bg-secondary: #070913;
  --gradient-start: #6366F1;
  --gradient-mid: #8B5CF6;
  --gradient-end: #06B6D4;
  --accent-gold: #F59E0B;
  --accent-green: #10B981;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover-bg: rgba(255, 255, 255, 0.06);
  --glass-hover-border: rgba(255, 255, 255, 0.15);
}

/* ===== Base Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* ===== Ambient Glow Blobs ===== */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gradient-start) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation: glowFloat1 25s ease-in-out infinite;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gradient-mid) 0%, transparent 70%);
  top: 40%;
  right: -150px;
  animation: glowFloat2 30s ease-in-out infinite;
}

.glow-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
  bottom: -100px;
  left: 30%;
  opacity: 0.15;
  animation: glowFloat3 20s ease-in-out infinite;
}

@keyframes glowFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(100px, 80px) scale(1.1); }
  66% { transform: translate(-50px, 120px) scale(0.9); }
}

@keyframes glowFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-80px, -60px) scale(1.15); }
  66% { transform: translate(60px, 40px) scale(0.85); }
}

@keyframes glowFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -60px) scale(1.2); }
}

/* ===== Grid Overlay ===== */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* ===== Header ===== */
.header-scrolled {
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after {
  width: 100%;
}

/* ===== CTA Button ===== */
.cta-btn {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gradient-mid), var(--gradient-end));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-btn:hover::before {
  opacity: 1;
}

.cta-btn span,
.cta-btn svg {
  position: relative;
  z-index: 1;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

/* ===== Logo Icon ===== */
.logo-icon {
  transition: transform 0.3s ease;
}

.logo-icon:hover {
  transform: rotate(15deg) scale(1.1);
}

/* ===== Gradient Text ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.3));
}

.gradient-text-flow {
  background: linear-gradient(
    90deg,
    #06B6D4,
    #6366F1,
    #8B5CF6,
    #06B6D4,
    #6366F1
  );
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.4));
  letter-spacing: 0.02em;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Shimmer overlay for gradient text */
.gradient-text-flow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* ===== Hero Section ===== */
.hero-title {
  animation: fadeInUp 1s ease-out 0.2s both;
  position: relative;
}

.hero-title .gradient-text-flow {
  position: relative;
  display: inline-block;
  text-shadow: 0 0 80px rgba(99, 102, 241, 0.5), 0 0 120px rgba(139, 92, 246, 0.3);
}

.hero-title .text-txt-primary {
  text-shadow: 0 0 40px rgba(248, 250, 252, 0.1);
  letter-spacing: 0.01em;
}

.hero-main-title {
  background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 50%, #94A3B8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.1));
}

.hero-subtitle {
  letter-spacing: 0.01em;
}

.hero-subtitle-highlight {
  background: linear-gradient(135deg, #06B6D4, #6366F1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.4));
}

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

.animate-fade-in {
  animation: fadeIn 1s ease-out 0.1s both;
}

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hero CTA Primary */
.hero-cta-primary {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  color: white;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.hero-cta-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  border-radius: inherit;
  z-index: -1;
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-cta-primary:hover::before {
  opacity: 0.6;
}

.hero-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

/* Hero CTA Secondary */
.hero-cta-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
  background: var(--glass-hover-bg);
  border-color: var(--glass-hover-border);
  transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 1s ease-out 1s both;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

.animate-scroll-dot {
  animation: scrollDot 2s ease-in-out infinite;
}

/* ===== Section Common ===== */
.section-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gradient-end);
  padding: 0.375rem 1rem;
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.05);
}

.section-title {
  letter-spacing: -0.02em;
}

.section-subtitle {
  line-height: 1.8;
}

/* ===== Scroll Reveal ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===== Glass Card ===== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05) 0%,
    transparent 50%,
    rgba(6, 182, 212, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 0%,
    rgba(99, 102, 241, 0.5) 10%,
    rgba(139, 92, 246, 0.7) 20%,
    rgba(6, 182, 212, 0.5) 30%,
    transparent 40%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  pointer-events: none;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover::after {
  opacity: 1;
  animation: borderGlowSpin 3s linear infinite;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.25),
    0 0 30px rgba(99, 102, 241, 0.08);
}

.glass-card-hover {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card-hover::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.08) 0%,
    transparent 50%,
    rgba(6, 182, 212, 0.08) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card-hover::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 0%,
    rgba(99, 102, 241, 0.6) 10%,
    rgba(139, 92, 246, 0.8) 20%,
    rgba(6, 182, 212, 0.6) 30%,
    transparent 40%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  pointer-events: none;
}

.glass-card-hover:hover::before {
  opacity: 1;
}

.glass-card-hover:hover::after {
  opacity: 1;
  animation: borderGlowSpin 3s linear infinite;
}

.glass-card-hover:hover {
  transform: translateY(-8px);
  border-color: transparent;
  background: var(--glass-hover-bg);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(99, 102, 241, 0.12),
    inset 0 0 30px rgba(99, 102, 241, 0.03);
}

/* Hover glow border spinning animation */
@keyframes borderGlowSpin {
  from { --border-angle: 0deg; }
  to { --border-angle: 360deg; }
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ===== Timeline ===== */
.timeline-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gradient-start);
  white-space: nowrap;
}

.timeline-year.year-purple {
  color: var(--gradient-mid);
}

.timeline-year.year-cyan {
  color: var(--gradient-end);
}

.timeline-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.timeline-icon-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.03);
  position: relative;
  animation: ringPulse 4s ease-in-out infinite;
}

.timeline-icon-ring::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.1);
  animation: ringPulse 4s ease-in-out infinite 0.5s;
}

.timeline-icon-ring.ring-purple {
  border-color: rgba(139, 92, 246, 0.2);
  background: rgba(139, 92, 246, 0.03);
}

.timeline-icon-ring.ring-purple::after {
  border-color: rgba(139, 92, 246, 0.1);
}

.timeline-icon-ring.ring-cyan {
  border-color: rgba(6, 182, 212, 0.2);
  background: rgba(6, 182, 212, 0.03);
}

.timeline-icon-ring.ring-cyan::after {
  border-color: rgba(6, 182, 212, 0.1);
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

/* Tech Tags */
.tech-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: rgba(99, 102, 241, 0.9);
  letter-spacing: 0.02em;
}

.tech-tag-purple {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
  color: rgba(139, 92, 246, 0.9);
}

.tech-tag-cyan {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.2);
  color: rgba(6, 182, 212, 0.9);
}

/* ===== Present Cards ===== */
.present-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== Future Cards ===== */
.future-card {
  border: 1px solid var(--glass-border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

.future-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 0%,
    rgba(99, 102, 241, 0.5) 8%,
    rgba(139, 92, 246, 0.7) 16%,
    rgba(6, 182, 212, 0.5) 24%,
    transparent 32%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  pointer-events: none;
}

.future-card:hover::after {
  opacity: 1;
  animation: borderGlowSpin 3s linear infinite;
}

.future-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(99, 102, 241, 0.12),
    inset 0 0 40px rgba(99, 102, 241, 0.03);
}

.future-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(10, 10, 14, 0.95) 60%);
  z-index: 0;
}

.future-card-bg-gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(10, 10, 14, 0.95) 60%);
}

.future-card-bg-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(10, 10, 14, 0.95) 60%);
}

.future-card-bg-mixed {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.04) 30%, rgba(10, 10, 14, 0.95) 60%);
}

.future-number {
  line-height: 1;
}

.future-card-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.future-card:hover .future-card-glow {
  opacity: 1;
}

.future-card-glow-gold {
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
}

.future-card-glow-green {
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
}

.future-card-glow-mixed {
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
}

/* Future Tags */
.future-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.15);
  color: rgba(99, 102, 241, 0.9);
}

.future-tag-gold {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.15);
  color: rgba(245, 158, 11, 0.9);
}

.future-tag-green {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.15);
  color: rgba(16, 185, 129, 0.9);
}

.future-tag-mixed {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.15);
  color: rgba(139, 92, 246, 0.9);
}

/* ===== Metric Cards ===== */
.metric-icon {
  width: 56px;
  height: 56px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-value {
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-change {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
}

/* ===== Social Icons ===== */
.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .ambient-glow {
    opacity: 0.15;
  }

  .glow-1 {
    width: 300px;
    height: 300px;
  }

  .glow-2 {
    width: 250px;
    height: 250px;
  }

  .glow-3 {
    width: 200px;
    height: 200px;
  }

  .grid-overlay {
    background-size: 40px 40px;
  }

  .future-card {
    min-height: auto;
  }

  .timeline-icon-ring {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Selection Color ===== */
::selection {
  background: rgba(99, 102, 241, 0.3);
  color: var(--text-primary);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== TOP BANNER AD ===== */
.top-banner-ad {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.08) 0%, rgba(6, 182, 212, 0.08) 50%, rgba(245, 158, 11, 0.08) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

/* Header offset to sit below the banner */
.banner-offset {
  top: 40px;
}
.banner-offset.banner-closed {
  top: 0;
}

.ad-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 4px;
  padding: 2px 6px;
  text-transform: uppercase;
}

.ad-close-btn {
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  transition: all 0.2s;
}

.ad-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

/* ===== SPOTLIGHT CARDS ===== */
.spotlight-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.spotlight-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(99, 102, 241, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(6, 182, 212, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.spotlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.2);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4),
              0 0 30px -8px rgba(245, 158, 11, 0.1);
}

.spotlight-card:hover .spotlight-card-bg {
  opacity: 1;
}

/* ===== PREMIUM CARDS ===== */
.premium-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.premium-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4),
              0 0 40px -10px rgba(99, 102, 241, 0.12);
}

.premium-card:hover .premium-card-bg {
  opacity: 1;
}

/* ===== LAUNCHPAD BANNER ===== */
.launchpad-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.08) 0%, rgba(168, 85, 247, 0.06) 50%, rgba(99, 102, 241, 0.04) 100%);
  border: 1px solid rgba(244, 63, 94, 0.12);
  border-radius: 1rem;
}

/* ===== FLOATING SIDEBAR AD ===== */
/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .top-banner-ad .text-txt-secondary {
    display: none;
  }
  
  .top-banner-ad .ad-badge {
    margin-right: 0;
  }
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  position: relative;
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: rgba(10, 10, 14, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
}
.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #94A3B8;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}
.lang-option:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #F8FAFC;
}
.lang-option.active {
  background: rgba(99, 102, 241, 0.15);
  color: #F8FAFC;
}
.lang-option .lang-flag {
  font-size: 18px;
  line-height: 1;
}
.lang-option .lang-check {
  margin-left: auto;
  color: #6366F1;
  font-size: 14px;
}

/* Mobile language options */
.mobile-lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  color: #94A3B8;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}
.mobile-lang-option:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #F8FAFC;
}
.mobile-lang-option.active {
  background: rgba(99, 102, 241, 0.15);
  color: #F8FAFC;
}
.mobile-lang-option .lang-flag {
  font-size: 20px;
  line-height: 1;
}
.mobile-lang-option .lang-check {
  margin-left: auto;
  color: #6366F1;
  font-size: 16px;
}

/* ===== CUSTOMER SERVICE CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

/* Toggle Button */
.chat-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.4), 0 0 40px rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
  position: relative;
}
.chat-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(99, 102, 241, 0.6), 0 0 60px rgba(139, 92, 246, 0.3);
}
.chat-toggle-btn .chat-icon-close { display: none; }
.chat-toggle-btn.chat-active .chat-icon-open { display: none; }
.chat-toggle-btn.chat-active .chat-icon-close { display: block; }

/* Badge */
.chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #EF4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0A0A0E;
  animation: badgePulse 2s ease-in-out infinite;
}
.chat-toggle-btn.chat-active .chat-badge { display: none; }

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Chat Popup */
.chat-popup {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 380px;
  max-height: 520px;
  background: rgba(10, 10, 14, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.1);
}
.chat-popup.chat-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Header */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.chat-header-title {
  font-size: 15px;
  font-weight: 600;
  color: #F8FAFC;
}
.chat-header-status {
  font-size: 12px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 4px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.chat-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: #94A3B8;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #F8FAFC;
}

/* Messages Area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  max-height: 300px;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
}
.chat-messages::-webkit-scrollbar {
  width: 4px;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 4px;
}

/* Message Bubbles */
.chat-msg {
  display: flex;
  gap: 8px;
  max-width: 90%;
  animation: msgSlideIn 0.3s ease;
}
@keyframes msgSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }

.chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.chat-msg.user .chat-msg-avatar {
  background: linear-gradient(135deg, #06B6D4, #10B981);
}

.chat-msg-bubble {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #CBD5E1;
}
.chat-msg.user .chat-msg-bubble {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.2);
  color: #F8FAFC;
}
.chat-msg-bubble p { margin: 0 0 6px 0; }
.chat-msg-bubble p:last-child { margin-bottom: 0; }

/* Quick Topics List */
.chat-quick-topics {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}
.chat-quick-topics li {
  padding: 4px 0;
  font-size: 12px;
  color: #8B5CF6;
  cursor: pointer;
  transition: color 0.2s;
}
.chat-quick-topics li::before {
  content: '▸ ';
  color: #6366F1;
}
.chat-quick-topics li:hover {
  color: #06B6D4;
}

/* Quick Reply Buttons */
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 20px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}
.quick-reply-btn {
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.08);
  color: #A5B4FC;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.quick-reply-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
  color: #F8FAFC;
}

/* Input Area */
.chat-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  background: rgba(7, 9, 19, 0.5);
}
.chat-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 24px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #F8FAFC;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.chat-input::placeholder {
  color: #64748B;
}
.chat-input:focus {
  border-color: rgba(99, 102, 241, 0.5);
}
.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.chat-send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.4);
}

/* Typing Indicator */
.chat-typing {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366F1;
  animation: typingBounce 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* ===== MODAL SYSTEM ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-container.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: rgba(10, 10, 14, 0.97);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(99, 102, 241, 0.08);
}
.modal-container.show .modal-content {
  transform: translateY(0) scale(1);
}

.modal-sm { max-width: 420px; }
.modal-md { max-width: 480px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.12);
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: #94A3B8;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #F8FAFC;
}

.modal-body {
  padding: 24px;
}

/* Plan Toggle */
.plan-toggle {
  flex: 1;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  background: transparent;
  color: #94A3B8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.plan-toggle.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #F8FAFC;
}
.plan-toggle:hover:not(.active) {
  border-color: rgba(99, 102, 241, 0.3);
  color: #CBD5E1;
}

/* Payment Method */
.pay-method {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  background: transparent;
  color: #94A3B8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pay-method.active {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.4);
  color: #F8FAFC;
}
.pay-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* Modal Input */
.modal-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: #F8FAFC;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}
.modal-input:focus {
  border-color: rgba(99, 102, 241, 0.5);
}
.modal-input::placeholder {
  color: #64748B;
}

/* Modal CTA Button */
.modal-cta-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.modal-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

/* Tool Check */
.tool-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  color: #CBD5E1;
}
.tool-check:hover {
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.05);
}
.tool-check input[type="checkbox"] {
  accent-color: #6366F1;
  width: 16px;
  height: 16px;
}
.tool-tag {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  font-weight: 600;
}

/* Swap Tabs */
.swap-tab {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  background: transparent;
  color: #94A3B8;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.swap-tab.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #F8FAFC;
}

/* Swap Box */
.swap-box {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(99, 102, 241, 0.12);
  background: rgba(255, 255, 255, 0.02);
}
.swap-amount {
  flex: 1;
  background: transparent;
  border: none;
  color: #F8FAFC;
  font-size: 24px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  min-width: 0;
}
.swap-amount::placeholder {
  color: #475569;
}
.token-select {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.token-select:hover {
  background: rgba(255, 255, 255, 0.1);
}
.token-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.swap-switch-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 2px solid rgba(10, 10, 14, 0.9);
  background: rgba(99, 102, 241, 0.2);
  color: #8B5CF6;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.swap-switch-btn:hover {
  background: rgba(99, 102, 241, 0.35);
  transform: rotate(180deg);
}

/* Responsive Modal */
@media (max-width: 480px) {
  .modal-content {
    border-radius: 16px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-sm, .modal-md {
    max-width: 100%;
  }
}

/* Responsive */
@media (max-width: 480px) {
  .chat-popup {
    width: calc(100vw - 32px);
    right: -8px;
    max-height: 450px;
  }
  .chat-widget {
    bottom: 16px;
    right: 16px;
  }
  .chat-toggle-btn {
    width: 52px;
    height: 52px;
  }
}
