/**
 * DX Auto Bot Landing Page Styles
 * Modern, conversion-focused design with glassmorphism and animations
 */

/* ===== CSS Variables (Landing Page Specific) - DiamondX Color Scheme ===== */
:root {
  /* DiamondX Brand Colors */
  --dx-cyan: #1FDDFE;
  --dx-emerald: #10B981;
  --dx-gold: #F4B73E;
  
  /* Landing Page Gradients (using DiamondX colors) */
  --lp-gradient-primary-start: var(--dx-cyan);
  --lp-gradient-primary-end: var(--dx-emerald);
  --lp-gradient-accent-start: var(--dx-cyan);
  --lp-gradient-accent-end: var(--dx-gold);
  --lp-gradient-gold-start: var(--dx-gold);
  --lp-gradient-gold-end: #FFD700;
  
  /* DiamondX Background Colors */
  --dx-bg1: #0b2f53;  /* deep teal */
  --dx-bg2: #0a2240;  /* navy */
  --dx-bg3: #0b0b10;  /* charcoal */
  
  /* Glassmorphism (matching DiamondX) */
  --lp-glass-bg: rgba(255, 255, 255, 0.06);
  --lp-glass-border: rgba(255, 255, 255, 0.12);
  --lp-glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.30);
  
  /* Glow Effects (using DiamondX colors) */
  --lp-glow-primary: rgba(31, 221, 254, 0.4);  /* cyan */
  --lp-glow-gold: rgba(244, 183, 62, 0.5);     /* gold */
  --lp-glow-success: rgba(16, 185, 129, 0.4);  /* emerald */
}

/* ===== Navigation ===== */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-4) 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.landing-nav .nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  position: relative;
}

.landing-nav .nav-brand img {
  height: 32px;
  transition: transform 0.3s ease;
}

.landing-nav .nav-brand:hover img {
  transform: scale(1.05);
}

.landing-nav .nav-links {
  display: flex;
  gap: var(--space-6);
  flex: 1;
  justify-content: center;
}

.landing-nav .nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
}

.landing-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--dx-cyan), var(--dx-emerald));
  transition: transform 0.3s ease;
}

.landing-nav .nav-link:hover::after,
.landing-nav .nav-link:focus::after {
  transform: translateX(-50%) scaleX(1);
}

.landing-nav .nav-link:hover {
  color: var(--color-text);
  background: rgba(31, 221, 254, 0.1);
}

.landing-nav .nav-cta .btn {
  white-space: nowrap;
}

/* Touch optimization for mobile */
@media (max-width: 768px) {
  /* Allow pinch/zoom on mobile */
  html {
    touch-action: manipulation;
    -webkit-touch-callout: default;
    -webkit-user-select: text;
    user-select: text;
  }

  /* Ensure touch targets are large enough (minimum 44x44px) */
  .landing-nav .nav-link,
  .landing-nav .nav-cta .btn {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Prevent text selection issues on touch */
  body {
    -webkit-tap-highlight-color: rgba(31, 221, 254, 0.2);
    -webkit-touch-callout: default;
  }

  /* Improve scrolling on mobile */
  .landing-main {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
  }
}

/* ===== Main Content ===== */
.landing-main {
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

/* Scroll-triggered animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: slideInUp 0.8s ease forwards;
}

.fade-in-up-delay-1 {
  animation-delay: 0.1s;
}

.fade-in-up-delay-2 {
  animation-delay: 0.2s;
}

.fade-in-up-delay-3 {
  animation-delay: 0.3s;
}

/* DiamondX Background Gradient - Premium */
body {
  background: 
    radial-gradient(ellipse at 50% -10%, #0b2f53, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(31, 221, 254, 0.08), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(16, 185, 129, 0.06), transparent 50%),
    linear-gradient(180deg, #0a2240 0%, #0b0b10 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* Animated Background Elements */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--dx-cyan), transparent);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--dx-emerald), transparent);
  bottom: -150px;
  right: -150px;
  animation-delay: 7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--dx-gold), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

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

.particle-field {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(31, 221, 254, 0.3), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(16, 185, 129, 0.3), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(244, 183, 62, 0.2), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(31, 221, 254, 0.2), transparent);
  background-size: 200% 200%;
  animation: particleMove 30s linear infinite;
  opacity: 0.6;
}

@keyframes particleMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-20) 0;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(31, 221, 254, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(244, 183, 62, 0.15) 0%, transparent 50%);
  animation: backgroundShift 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(31, 221, 254, 0.1) 0%, transparent 50%),
    linear-gradient(225deg, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  animation: overlayPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes overlayPulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes backgroundShift {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-8) 0;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.gradient-text {
  background: linear-gradient(135deg, 
    var(--dx-cyan) 0%, 
    var(--dx-emerald) 50%,
    var(--dx-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
}

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

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

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-flow-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--lp-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--lp-glass-border);
  border-radius: var(--radius-xl);
  box-shadow: 
    var(--lp-glass-shadow),
    0 0 40px rgba(31, 221, 254, 0.1);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
  position: relative;
  overflow: hidden;
}

.hero-flow-preview::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(31, 221, 254, 0.1), transparent);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.flow-item {
  padding: var(--space-3) var(--space-6);
  background: rgba(31, 221, 254, 0.1);
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.flow-arrow {
  font-size: 1.5rem;
  color: var(--dx-cyan);
  animation: pulse 2s ease-in-out infinite;
}

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

/* ===== Problem Section ===== */
.problem-section {
  padding: var(--space-20) 0;
  background: var(--color-surface);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-extrabold);
  text-align: center;
  margin-bottom: var(--space-12);
  background: linear-gradient(135deg, var(--color-text), var(--color-text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-12);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-card {
  background: var(--lp-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--lp-glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.comparison-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(31, 221, 254, 0.1), transparent);
  transition: left 0.6s ease;
}

.comparison-card:hover::before {
  left: 100%;
}

.comparison-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(31, 221, 254, 0.2);
  border-color: rgba(31, 221, 254, 0.4);
}

.comparison-card.manual {
  border-color: rgba(239, 68, 68, 0.3);
}

.comparison-card.automated {
  border-color: rgba(16, 185, 129, 0.3);
}

.comparison-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-6);
}

.comparison-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
}

.feature-item.negative {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-text-secondary);
}

.feature-item.positive {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-text);
}

.feature-item .icon {
  font-size: 1.5rem;
}

/* ===== How It Works Section ===== */
.how-it-works-section {
  padding: var(--space-20) 0;
  background: var(--color-background);
}

.flow-diagram-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: var(--space-12) auto;
  padding: var(--space-8);
}

/* Desktop Flow Diagram */
.desktop-flow {
  display: block;
}

.flow-diagram {
  position: relative;
  width: 100%;
  min-height: 500px;
  aspect-ratio: 16/9;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Flow Timeline */
.mobile-flow {
  display: none;
}

/* Tablet: Use mobile timeline for better UX */
@media (max-width: 1024px) {
  .desktop-flow {
    display: none !important;
  }

  .mobile-flow {
    display: block !important;
  }
}

.flow-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.connection-line {
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: opacity 0.3s ease;
}

.connection-line:hover {
  opacity: 1 !important;
  stroke-width: 4;
}

.flow-node {
  position: absolute;
  z-index: 2;
  background: var(--lp-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid var(--lp-glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s ease, 
              border-color 0.3s ease;
  width: 170px;
  opacity: 0;
  animation: nodeFadeIn 0.6s ease forwards;
  will-change: transform;
}


@keyframes nodeFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* General hover - no transform to prevent position conflicts */
.flow-node:hover {
  z-index: 3;
}

/* Desktop Positioning - Better aligned layout */
.flow-node.forelume-source {
  top: 12%;
  left: 10%;
  border-color: rgba(31, 221, 254, 0.5);
  animation-delay: 0.1s;
}

.flow-node.forelume-source:hover {
  border-color: var(--dx-cyan);
  box-shadow: 0 12px 40px var(--lp-glow-primary);
  transform: translateY(-4px) scale(1.05);
}

.flow-node.cryptobytez-source {
  bottom: 12%;
  left: 10%;
  border-color: rgba(244, 183, 62, 0.5);
  animation-delay: 0.2s;
}

.flow-node.cryptobytez-source:hover {
  border-color: var(--dx-gold);
  box-shadow: 0 12px 40px var(--lp-glow-gold);
  transform: translateY(-4px) scale(1.05);
}

/* Bot Node - Completely rebuilt with clean approach */
.flow-node.bot-node {
  /* Positioning using margin for reliable centering */
  top: 50%;
  left: 50%;
  margin-left: -95px; /* Half of width (190px / 2) */
  margin-top: -100px; /* Approximate half of height */
  
  /* Styling */
  border-color: rgba(16, 185, 129, 0.5);
  width: 190px;
  position: absolute;
  opacity: 0;
  z-index: 2;
  
  /* Clean fade-in animation - overrides inherited animation */
  animation: botFadeIn 0.6s ease 0.3s forwards;
  
  /* Clean transition for hover */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@keyframes botFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Clean hover state - simple scale only, no position changes */
.flow-node.bot-node:hover {
  border-color: var(--color-success);
  box-shadow: 0 12px 40px var(--lp-glow-success);
  transform: scale(1.05);
  z-index: 4;
}

.flow-node.wallet-node {
  border-color: rgba(16, 185, 129, 0.3);
  animation-delay: 0.4s;
}

.flow-node.wallet-node[data-node="wallet1"] {
  top: 12%;
  right: 10%;
  animation-delay: 0.4s;
}

.flow-node.wallet-node[data-node="wallet2"] {
  bottom: 12%;
  right: 10%;
  animation-delay: 0.5s;
}

.flow-node.wallet-node[data-node="wallet1"]:hover,
.flow-node.wallet-node[data-node="wallet2"]:hover {
  border-color: var(--color-success);
  box-shadow: 0 12px 40px var(--lp-glow-success);
  transform: translateY(-4px) scale(1.05);
}

.node-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-3);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.node-icon .logo-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(31, 221, 254, 0.5));
  transition: transform 0.3s ease;
}

.node-icon .bot-logo {
  width: 70px;
  height: 70px;
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.6));
}

.flow-node:hover .node-icon .logo-image {
  transform: scale(1.1);
}

.flow-node.forelume-source .node-icon .logo-image {
  filter: drop-shadow(0 0 20px rgba(31, 221, 254, 0.8));
}

.flow-node.cryptobytez-source .node-icon .logo-image {
  filter: drop-shadow(0 0 20px rgba(244, 183, 62, 0.6));
}

.node-label {
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  font-size: var(--font-size-lg);
}

.node-details {
  position: absolute;
  bottom: calc(100% + var(--space-4));
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--color-surface-elevated);
  border: 1px solid var(--lp-glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: var(--lp-glass-shadow);
}

.flow-node:hover .node-details {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.node-details h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.node-details p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin: var(--space-1) 0;
}

/* Node Modal */
.node-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

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

.node-modal .modal-content {
  background: var(--lp-glass-bg);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--lp-glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: slideUp 0.3s ease;
}

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

.node-modal .modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.node-modal .modal-close:hover {
  background: var(--color-surface-elevated);
  color: var(--color-text);
}

/* ===== Signal Sources Section ===== */
.signal-sources-section {
  padding: var(--space-20) 0;
  background: var(--color-surface);
}

.sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
}

.source-card {
  position: relative;
  background: var(--lp-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid var(--lp-glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  z-index: 1;
}

.source-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(31, 221, 254, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

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

.source-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(31, 221, 254, 0.3),
    0 0 60px rgba(31, 221, 254, 0.15);
  border-color: rgba(31, 221, 254, 0.5);
}

.source-card.forelume-card {
  border-color: rgba(31, 221, 254, 0.3);
}

.source-card.forelume-card:hover {
  border-color: var(--dx-cyan);
  box-shadow: 0 12px 40px var(--lp-glow-primary);
}

.source-card.cryptobytez-card {
  border-color: rgba(244, 183, 62, 0.3);
}

.source-card.cryptobytez-card:hover {
  border-color: var(--dx-gold);
  box-shadow: 0 12px 40px var(--lp-glow-gold);
}

.source-card.featured {
  transform: scale(1.05);
}

.source-badge-featured {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #F4B73E, #FFD700, #F4B73E);
  background-size: 200% 100%;
  color: #0b0b10;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: var(--font-weight-extrabold);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 
    0 3px 15px rgba(244, 183, 62, 0.6),
    0 0 0 1.5px rgba(244, 183, 62, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  z-index: 10;
  animation: badgeShimmer 3s ease-in-out infinite;
  overflow: hidden;
  white-space: nowrap;
}

.source-badge-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: badgeSweep 2s ease-in-out infinite;
}

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

@keyframes badgeSweep {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.source-badge-featured.coming-soon {
  background: linear-gradient(135deg, #6b7280, #9ca3af, #6b7280);
  background-size: 200% 100%;
  color: white;
  box-shadow: 
    0 3px 15px rgba(107, 114, 128, 0.6),
    0 0 0 1.5px rgba(107, 114, 128, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: badgeShimmer 4s ease-in-out infinite;
}

.source-badge-featured.coming-soon::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.source-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.source-icon {
  font-size: 4rem;
  margin-bottom: var(--space-4);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.source-icon .source-logo {
  max-width: 120px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.source-card:hover .source-icon .source-logo {
  transform: scale(1.1);
}

.source-card.forelume-card .source-icon .source-logo {
  filter: drop-shadow(0 0 20px rgba(31, 221, 254, 0.8));
}

.source-card.cryptobytez-card .source-icon .source-logo {
  filter: drop-shadow(0 0 20px rgba(244, 183, 62, 0.6));
}

.source-tagline {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-style: italic;
  margin-top: var(--space-2);
  opacity: 0.8;
}

.source-description {
  text-align: center;
  margin-bottom: var(--space-4);
  padding: var(--space-3);
  background: rgba(31, 221, 254, 0.05);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-style: italic;
}

.source-card.cryptobytez-card .source-description {
  background: rgba(244, 183, 62, 0.05);
}

.source-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2);
}

.source-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background: rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--lp-gradient-primary-start);
}

.source-badge.gold {
  background: rgba(255, 215, 0, 0.2);
  color: var(--lp-gradient-gold-start);
}

.source-features {
  margin-bottom: var(--space-6);
}

.feature-check {
  padding: var(--space-3);
  color: var(--color-text);
  font-size: var(--font-size-base);
}

.source-requirement {
  padding-top: var(--space-4);
  border-top: 1px solid var(--lp-glass-border);
  text-align: center;
  color: var(--color-text-secondary);
}

.source-requirement strong {
  color: var(--color-text);
}

/* ===== Features Section ===== */
.features-section {
  padding: var(--space-20) 0;
  background: var(--color-background);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--lp-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--lp-glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 221, 254, 0.2), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

.feature-card:hover::after {
  width: 300px;
  height: 300px;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(31, 221, 254, 0.3),
    0 0 60px rgba(31, 221, 254, 0.15);
  border-color: rgba(31, 221, 254, 0.5);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  filter: drop-shadow(0 4px 12px rgba(31, 221, 254, 0.3));
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

/* ===== Get Started Section ===== */
/* ===== Wallet Connection Section ===== */
.wallet-connection-section {
  padding: var(--space-20) 0;
  background: var(--color-surface);
}

.wallet-connection-container {
  max-width: 600px;
  margin: 0 auto;
}

.wallet-connection-card {
  background: var(--lp-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid var(--lp-glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  text-align: center;
  box-shadow: var(--lp-glass-shadow);
  transition: all 0.3s ease;
}

.wallet-connection-card:hover {
  border-color: var(--dx-cyan);
  box-shadow: 0 12px 40px rgba(31, 221, 254, 0.2);
}

.wallet-connection-icon {
  font-size: 4rem;
  margin-bottom: var(--space-4);
  filter: drop-shadow(0 4px 12px rgba(31, 221, 254, 0.5));
}

.wallet-connection-card h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.wallet-status-text {
  color: var(--color-text-secondary);
  font-size: var(--font-size-base);
  margin-bottom: var(--space-6);
}

.wallet-state {
  transition: all 0.3s ease;
}

.wallet-state.hidden {
  display: none;
}

.wallet-help-text {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin-top: var(--space-4);
  opacity: 0.8;
}

.wallet-connected-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

.wallet-address-display {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(31, 221, 254, 0.1);
  border: 1px solid rgba(31, 221, 254, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  font-family: 'Courier New', monospace;
}

.wallet-address-label {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.wallet-address-text {
  color: var(--dx-cyan);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
}

.wallet-copy-btn {
  background: transparent;
  border: none;
  color: var(--dx-cyan);
  cursor: pointer;
  padding: var(--space-1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.wallet-copy-btn:hover {
  background: rgba(31, 221, 254, 0.2);
  transform: scale(1.1);
}

.wallet-balance-display {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  width: 100%;
  justify-content: space-between;
}

.wallet-balance-label {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.wallet-balance-text {
  color: var(--dx-emerald);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  font-family: 'Courier New', monospace;
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
  min-width: 200px;
}

.btn-small {
  padding: var(--space-2) var(--space-5);
  font-size: var(--font-size-sm);
}

.btn-icon {
  margin-right: var(--space-2);
}

.get-started-section {
  padding: var(--space-20) 0;
  background: var(--color-surface);
}

.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.step-item {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  background: var(--lp-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--lp-glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.step-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-glass-shadow);
  border-color: var(--dx-cyan);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--dx-cyan), var(--dx-emerald));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  color: white;
  box-shadow: 0 4px 12px var(--lp-glow-primary);
}

.step-icon {
  font-size: 3rem;
  margin: var(--space-4) 0 var(--space-3);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.step-item h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.step-item p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.step-arrow {
  font-size: 2rem;
  color: var(--dx-cyan);
  animation: pulse 2s ease-in-out infinite;
}

.steps-cta {
  text-align: center;
}

/* ===== Pricing Section ===== */
.pricing-section {
  padding: var(--space-20) 0;
  background: var(--color-background);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--lp-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid var(--lp-glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  z-index: 1;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(31, 221, 254, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 0;
}

.pricing-card:hover::before {
  left: 100%;
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(31, 221, 254, 0.2),
    0 0 80px rgba(31, 221, 254, 0.1);
  border-color: rgba(31, 221, 254, 0.5);
}

.pricing-card.featured {
  transform: scale(1.05);
  border-color: rgba(244, 183, 62, 0.5);
  background: linear-gradient(135deg, 
    rgba(244, 183, 62, 0.05) 0%, 
    var(--lp-glass-bg) 50%,
    rgba(255, 215, 0, 0.05) 100%);
}

.pricing-card.featured::before {
  background: linear-gradient(90deg, transparent, rgba(244, 183, 62, 0.15), transparent);
}

.pricing-card.featured:hover {
  transform: translateY(-12px) scale(1.08);
  border-color: var(--dx-gold);
  box-shadow: 
    0 25px 60px rgba(244, 183, 62, 0.3),
    0 0 0 1px rgba(244, 183, 62, 0.4),
    0 0 100px rgba(244, 183, 62, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #F4B73E, #FFD700, #F4B73E);
  background-size: 200% 100%;
  color: #0b0b10;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: var(--font-weight-extrabold);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 
    0 3px 15px rgba(244, 183, 62, 0.6),
    0 0 0 1.5px rgba(244, 183, 62, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  z-index: 10;
  animation: badgeShimmer 3s ease-in-out infinite;
  overflow: hidden;
  white-space: nowrap;
}

.pricing-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: badgeSweep 2s ease-in-out infinite;
}

.pricing-badge.sale {
  background: linear-gradient(135deg, #ef4444, #f87171, #ef4444);
  background-size: 200% 100%;
  color: white;
  box-shadow: 
    0 3px 15px rgba(239, 68, 68, 0.6),
    0 0 0 1.5px rgba(239, 68, 68, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: badgeShimmer 3s ease-in-out infinite;
}

.pricing-badge.sale::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.pricing-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.pricing-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-2);
}

.price-amount {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  background: linear-gradient(135deg, var(--dx-cyan), var(--dx-emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-card.featured .price-amount {
  background: linear-gradient(135deg, var(--dx-gold), #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  color: var(--color-text-secondary);
  font-size: var(--font-size-lg);
}

.price-old {
  font-size: var(--font-size-xl);
  color: var(--color-text-secondary);
  text-decoration: line-through;
  opacity: 0.7;
}

.price-discount {
  font-size: var(--font-size-sm);
  color: #ef4444;
  font-weight: var(--font-weight-bold);
  background: rgba(239, 68, 68, 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
}

.pricing-features {
  margin-bottom: var(--space-8);
}

.pricing-features .feature-item {
  padding: var(--space-3);
  color: var(--color-text);
  border-bottom: 1px solid var(--lp-glass-border);
}

.pricing-features .feature-item:last-child {
  border-bottom: none;
}

/* Pay with Credit Card card – clearer hierarchy and next-step callout */
.pricing-card-credit .pricing-card-desc {
  margin-top: 0.5rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
}

.pricing-features-list .feature-item {
  padding: var(--space-2) 0 var(--space-2) 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--lp-glass-border);
  color: var(--color-text);
}

.pricing-features-list .feature-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--dx-emerald);
  font-weight: 700;
}

.pricing-features-list .feature-item:last-child {
  border-bottom: none;
}

.pay-card-next-step {
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: rgba(31, 221, 254, 0.06);
  border: 1px solid rgba(31, 221, 254, 0.2);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--dx-cyan);
}

.pay-card-next-step-label {
  margin: 0 0 var(--space-2);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dx-cyan);
}

.pay-card-next-step-text {
  margin: 0 0 var(--space-3);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.pay-card-next-step-text strong {
  color: var(--color-text);
}

.pay-card-link-stream {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dx-cyan);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.pay-card-link-stream:hover {
  color: var(--dx-emerald);
  gap: var(--space-3);
}

.pay-card-cta {
  text-decoration: none;
  text-align: center;
  display: block;
  background: linear-gradient(135deg, var(--dx-cyan), #0ea5e9);
  color: #0b0b10;
  border: none;
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pay-card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 221, 254, 0.35);
}

.btn-block {
  width: 100%;
  display: block;
  text-align: center;
}

.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.dx-plus-status-message {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  text-align: center;
}

.dx-plus-status-message.active {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--dx-emerald);
}

.dx-plus-status-message.enabled {
  background: rgba(31, 221, 254, 0.1);
  border: 1px solid rgba(31, 221, 254, 0.3);
  color: var(--dx-cyan);
}

/* ===== Footer ===== */
.landing-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--lp-glass-border);
  padding: var(--space-12) 0 var(--space-6);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-12);
  margin-bottom: var(--space-8);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 32px;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-6);
}

.footer-column h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.footer-column a {
  display: block;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: var(--space-2) 0;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--dx-cyan);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--lp-glass-border);
  text-align: center;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: rippleAnimation 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--dx-cyan), var(--dx-emerald));
  color: white;
  box-shadow: 
    0 4px 20px rgba(31, 221, 254, 0.4),
    0 0 0 0 rgba(31, 221, 254, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 12px 40px rgba(31, 221, 254, 0.6),
    0 0 60px rgba(31, 221, 254, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #2FE5FF, #20C997);
}

.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
  background: var(--lp-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--lp-glass-border);
  color: var(--color-text);
}

.btn-secondary:hover {
  background: var(--color-surface-elevated);
  border-color: var(--dx-cyan);
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

/* ===== Mobile Flow Timeline ===== */
.flow-timeline {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-6);
}

.timeline-section {
  margin-bottom: var(--space-6);
}

.timeline-section-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  text-align: center;
  opacity: 0.8;
}

.timeline-item {
  background: var(--lp-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid var(--lp-glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  animation: timelineFadeIn 0.6s ease forwards;
}

@keyframes timelineFadeIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item.bot-item { animation-delay: 0.3s; }
.timeline-item[data-node="wallet1"] { animation-delay: 0.4s; }
.timeline-item[data-node="wallet2"] { animation-delay: 0.5s; }

.timeline-item:hover {
  transform: translateX(4px);
  box-shadow: var(--lp-glass-shadow);
  border-color: var(--dx-cyan);
}

.timeline-icon-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid;
}

.timeline-icon-wrapper.forelume {
  border-color: rgba(31, 221, 254, 0.5);
  background: rgba(31, 221, 254, 0.1);
}

.timeline-icon-wrapper.cryptobytez {
  border-color: rgba(244, 183, 62, 0.5);
  background: rgba(244, 183, 62, 0.1);
}

.timeline-icon-wrapper.bot {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.1);
  width: 100px;
  height: 100px;
}

.timeline-icon-wrapper.wallet {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.1);
}

.timeline-icon-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.timeline-icon-wrapper.bot .timeline-icon-image {
  width: 80px;
  height: 80px;
}

.timeline-icon {
  font-size: 3rem;
}

.timeline-content {
  flex: 1;
}

.timeline-content h4 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.timeline-content p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin: var(--space-1) 0;
}

.timeline-tagline {
  font-style: italic;
  color: var(--dx-cyan) !important;
  opacity: 0.9;
}

.timeline-arrow {
  display: flex;
  justify-content: center;
  margin: var(--space-4) 0;
  color: var(--dx-cyan);
  opacity: 0.6;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(4px);
  }
}

/* ===== Step 1: Hamburger Button Styles ===== */
.mobile-menu-btn {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 5px;
  position: relative;
  z-index: 100000 !important; /* Very high to stay above menu */
  pointer-events: auto;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  /* Step 1: Show hamburger button on mobile */
  .mobile-menu-btn {
    display: flex;
  }

  /* Step 2: Hide nav links on mobile by default */
  .landing-nav .nav-links {
    display: none;
  }

  /* Step 2: Show nav links when menu is open (we'll add 'menu-open' class in step 3) */
  .landing-nav .nav-links.menu-open {
    display: flex !important;
    position: absolute !important;
    top: 100% !important; /* Start right below the header */
    left: 0 !important;
    right: 0 !important;
    background: rgba(11, 11, 16, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: var(--space-4) 0 !important;
    gap: 0 !important;
    z-index: 99999 !important;
    overflow-y: visible !important;
    margin: 0 !important;
    width: 100% !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Step 2: Style nav links in mobile menu */
  .landing-nav .nav-links.menu-open .nav-link {
    width: 100%;
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text) !important; /* Ensure links are visible */
    cursor: pointer;
    display: block;
  }
  
  .landing-nav .nav-links.menu-open .nav-link:last-child {
    border-bottom: none; /* Remove border from last item */
  }
  
  .landing-nav .nav-links.menu-open .nav-link:hover {
    color: var(--color-text) !important;
    background: rgba(255, 255, 255, 0.05);
  }

  /* Step 2: Hide Get Started button in header on mobile */
  .landing-nav .nav-cta {
    display: none;
  }

  .hero-section {
    min-height: 80vh;
    padding: var(--space-12) 0;
  }

  .hero-flow-preview {
    flex-direction: column;
    gap: var(--space-2);
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  /* Hide desktop flow, show mobile timeline */
  .desktop-flow {
    display: none !important;
  }

  .mobile-flow {
    display: block !important;
  }

  .steps-container {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }
}

/* ===== Scroll Animations ===== */
@media (prefers-reduced-motion: no-preference) {
  .comparison-card,
  .source-card,
  .feature-card,
  .step-item,
  .pricing-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .comparison-card.visible,
  .source-card.visible,
  .feature-card.visible,
  .step-item.visible,
  .pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

