/* ================================================================
   CringeSpeed Landing Page - Dark AI Lab Theme (Restrained Neon)
   ================================================================
   Depends on: style.css (inherits --bg-primary, --bg-secondary,
   --bg-card, --accent, --text-primary, --text-secondary, etc.)
   Font: 'Inter' (loaded via Google Fonts in HTML <head>)
   ================================================================ */

/* ----------------------------------------------------------
   1. LANDING PAGE CSS VARIABLES
   Extends the portal :root with neon/futuristic tokens
   ---------------------------------------------------------- */
:root {
  /* Neon accent palette — Neon Green / Soft Aqua / Muted Gold */
  --neon-blue: #00FF7F;
  --neon-blue-rgb: 0, 255, 127;
  --neon-green: #2FE0D1;
  --neon-green-rgb: 47, 224, 209;
  --neon-violet: #D4A843;
  --neon-violet-rgb: 212, 168, 67;

  /* Glassmorphism tokens */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --glass-blur: 12px;

  /* Glow intensities */
  --glow-sm: 0 0 15px rgba(var(--neon-blue-rgb), 0.10);
  --glow-md: 0 0 30px rgba(var(--neon-blue-rgb), 0.15);
  --glow-lg: 0 0 60px rgba(var(--neon-blue-rgb), 0.20);
  --glow-green-md: 0 0 30px rgba(var(--neon-green-rgb), 0.15);
  --glow-violet-md: 0 0 30px rgba(var(--neon-violet-rgb), 0.15);

  /* Landing-specific sizing */
  --lp-max-width: 1200px;
  --lp-section-padding: 120px 0;
  --lp-transition: 0.3s ease;
  --lp-transition-slow: 0.5s ease;

  /* Animated grid background */
  --grid-color: rgba(255, 255, 255, 0.025);
  --grid-size: 60px;
}

/* ----------------------------------------------------------
   2. LANDING PAGE WRAPPER
   Overrides portal-content to allow full-width layout
   ---------------------------------------------------------- */
.landing-page {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Override portal .portal-content container if it wraps the landing page */
.landing-page.portal-content,
.portal-content .landing-page {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* Hide portal chrome when landing page is present (prevents mobile layout shift) */
body:has(.landing-page) .portal-nav,
body:has(.landing-page) .portal-footer,
body:has(.landing-page) .announcement-banner {
  display: none !important;
}

/* Animated grid background applied to multiple sections */
.lp-grid-bg {
  background-image:
    repeating-linear-gradient(0deg, var(--grid-color) 0px, var(--grid-color) 1px, transparent 1px, transparent var(--grid-size)),
    repeating-linear-gradient(90deg, var(--grid-color) 0px, var(--grid-color) 1px, transparent 1px, transparent var(--grid-size));
  background-size: var(--grid-size) var(--grid-size);
}

/* Shared section container */
.lp-section-inner {
  max-width: var(--lp-max-width);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ----------------------------------------------------------
   3. KEYFRAME ANIMATIONS
   ---------------------------------------------------------- */

/* Pulsing neon glow for CTA buttons and featured elements */
@keyframes glow-pulse {
  0%, 100% {
    box-shadow:
      0 0 20px rgba(var(--neon-blue-rgb), 0.2),
      0 0 40px rgba(var(--neon-blue-rgb), 0.1),
      0 0 80px rgba(var(--neon-blue-rgb), 0.05);
  }
  50% {
    box-shadow:
      0 0 30px rgba(var(--neon-blue-rgb), 0.35),
      0 0 60px rgba(var(--neon-blue-rgb), 0.2),
      0 0 120px rgba(var(--neon-blue-rgb), 0.1);
  }
}

/* Gentle floating motion for cards and decorative elements */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Horizontal scanning line for the dashboard mock */
@keyframes scan-line {
  0% {
    top: -2px;
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0.2;
  }
}

/* Scroll-reveal entrance: fade in and slide up */
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Code line scroll for the mock dashboard */
@keyframes scroll-codes {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Subtle shimmer for loading / skeleton states */
@keyframes shimmer {
  0% {
    background-position: -400px 0;
  }
  100% {
    background-position: 400px 0;
  }
}

/* Counter roll-up for metric numbers */
@keyframes count-up-blur {
  0% {
    filter: blur(4px);
    opacity: 0.3;
  }
  100% {
    filter: blur(0);
    opacity: 1;
  }
}

/* Neon border trace animation */
@keyframes border-trace {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ----------------------------------------------------------
   4. SECTION HEADINGS (shared)
   ---------------------------------------------------------- */
.lp-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon-blue);
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid rgba(var(--neon-blue-rgb), 0.25);
  border-radius: 20px;
  background: rgba(var(--neon-blue-rgb), 0.06);
}

.lp-section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.lp-section-title span {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.lp-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.lp-section-header .lp-section-subtitle {
  margin: 0 auto;
}

/* ----------------------------------------------------------
   5. NAVIGATION OVERLAY (.lp-nav-overlay)
   Fixed transparent nav that solidifies on scroll
   ---------------------------------------------------------- */
.lp-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background var(--lp-transition),
    border-color var(--lp-transition),
    backdrop-filter var(--lp-transition),
    box-shadow var(--lp-transition);
}

.lp-nav-overlay.lp-nav-scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.lp-nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-nav-logo span {
  color: var(--neon-blue);
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.lp-nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--lp-transition);
  text-decoration: none;
}

.lp-nav-links a:hover {
  color: var(--text-primary);
}

.lp-nav-cta {
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--neon-blue);
  color: var(--bg-primary) !important;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--lp-transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.lp-nav-cta:hover {
  background: #33FF99;
  box-shadow: var(--glow-md);
}

/* ----------------------------------------------------------
   6. HERO SECTION (.lp-hero)
   Full viewport, particle canvas bg, glassmorphism card
   ---------------------------------------------------------- */
.lp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 32px 80px;
  background: var(--bg-primary);
}

/* Radial gradient overlay behind content */
.lp-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--neon-blue-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Particle canvas sits behind all hero content */
.lp-hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.lp-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neon-green);
  background: rgba(var(--neon-green-rgb), 0.08);
  border: 1px solid rgba(var(--neon-green-rgb), 0.2);
  padding: 6px 16px;
  border-radius: 24px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.lp-hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  animation: glow-pulse 2s ease-in-out infinite;
}

.lp-hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.lp-hero-title .lp-gradient-text {
  background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-green) 50%, var(--neon-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 40px;
}

.lp-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Primary CTA button with pulsing glow */
.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--neon-blue), #00CC66);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--lp-transition);
  animation: glow-pulse 3s ease-in-out infinite;
  text-decoration: none;
}

.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 40px rgba(var(--neon-blue-rgb), 0.4),
    0 8px 32px rgba(0, 0, 0, 0.3);
}

.lp-btn-primary:active {
  transform: translateY(0);
}

/* Secondary / ghost button */
.lp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--lp-transition);
  backdrop-filter: blur(8px);
  text-decoration: none;
}

.lp-btn-secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Glassmorphism hero card (wraps the mock dashboard preview) */
.lp-hero-card {
  margin-top: 64px;
  padding: 2px;
  border-radius: 16px;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(var(--neon-blue-rgb), 0.3), rgba(var(--neon-violet-rgb), 0.15), rgba(var(--neon-green-rgb), 0.1));
  background-size: 200% 200%;
  animation: border-trace 6s ease infinite;
}

.lp-hero-card-inner {
  background: rgba(22, 22, 22, 0.95);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
}

/* ----------------------------------------------------------
   7. LIVE DASHBOARD PREVIEW (.lp-dashboard)
   Animated mock panel with scanning line & scrolling codes
   ---------------------------------------------------------- */
.lp-dashboard {
  padding: var(--lp-section-padding);
  position: relative;
  background: var(--bg-primary);
}

.lp-dashboard-panel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    var(--glow-md),
    0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Scan line effect overlay */
.lp-dashboard-panel::after {
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  animation: scan-line 3s linear infinite;
  pointer-events: none;
  z-index: 5;
  opacity: 0.7;
}

.lp-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.015);
}

.lp-dashboard-dots {
  display: flex;
  gap: 8px;
}

.lp-dashboard-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
}

.lp-dashboard-dots span:nth-child(1) { background: #ff5f57; }
.lp-dashboard-dots span:nth-child(2) { background: #febc2e; }
.lp-dashboard-dots span:nth-child(3) { background: #28c840; }

.lp-dashboard-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.lp-dashboard-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--neon-green);
  font-weight: 600;
}

.lp-dashboard-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

.lp-dashboard-body {
  padding: 20px;
  height: 320px;
  overflow: hidden;
  position: relative;
}

/* Scrolling code lines container — animation driven by JS */
.lp-dashboard-codes {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-dashboard-code-line {
  display: grid;
  grid-template-columns: 70px 72px 1fr 36px 56px;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  transition: all var(--lp-transition);
}

.lp-dashboard-code-line:hover {
  background: rgba(var(--neon-blue-rgb), 0.05);
  border-color: rgba(var(--neon-blue-rgb), 0.15);
}

.lp-dashboard-code-line .code-text {
  color: var(--neon-blue);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-dashboard-code-line .code-status {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.lp-dashboard-code-line .code-status.claimed {
  color: var(--neon-green);
  background: rgba(var(--neon-green-rgb), 0.1);
  border: 1px solid rgba(var(--neon-green-rgb), 0.2);
}

.lp-dashboard-code-line .code-status.claiming {
  color: var(--neon-blue);
  background: rgba(var(--neon-blue-rgb), 0.1);
  border: 1px solid rgba(var(--neon-blue-rgb), 0.2);
}

.lp-dashboard-code-line .code-status.queued {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-dashboard-code-line .code-time {
  color: var(--text-muted);
  font-size: 0.7rem;
  white-space: nowrap;
}

.lp-dashboard-code-line .code-text:last-child {
  text-align: right;
}

/* Gradient fade at top and bottom of the scrolling area */
.lp-dashboard-body::before,
.lp-dashboard-body::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 4;
  pointer-events: none;
}

.lp-dashboard-body::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-secondary), transparent);
}

.lp-dashboard-body::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg-secondary), transparent);
}

/* ----------------------------------------------------------
   8. FEATURES / HOW IT WORKS (.lp-features)
   Three interactive step cards with glow on hover
   ---------------------------------------------------------- */
.lp-features {
  padding: var(--lp-section-padding);
  position: relative;
  background: var(--bg-primary);
}

.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.lp-feature-step {
  position: relative;
  padding: 40px 32px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: all var(--lp-transition);
  cursor: default;
  overflow: hidden;
}

/* Subtle gradient sheen in the top-left corner */
.lp-feature-step::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--neon-blue-rgb), 0.05) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity var(--lp-transition);
  opacity: 0;
}

.lp-feature-step:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-hover);
  border-color: rgba(var(--neon-blue-rgb), 0.25);
  box-shadow: var(--glow-md);
}

.lp-feature-step:hover::before {
  opacity: 1;
}

/* Second card uses green accent */
.lp-feature-step:nth-child(2):hover {
  border-color: rgba(var(--neon-green-rgb), 0.25);
  box-shadow: var(--glow-green-md);
}

/* Third card uses violet accent */
.lp-feature-step:nth-child(3):hover {
  border-color: rgba(var(--neon-violet-rgb), 0.25);
  box-shadow: var(--glow-violet-md);
}

.lp-feature-step-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-blue);
  margin-bottom: 20px;
}

.lp-feature-step:nth-child(2) .lp-feature-step-number { color: var(--neon-green); }
.lp-feature-step:nth-child(3) .lp-feature-step-number { color: var(--neon-violet); }

.lp-feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(var(--neon-blue-rgb), 0.08);
  border: 1px solid rgba(var(--neon-blue-rgb), 0.15);
  margin-bottom: 24px;
  font-size: 1.5rem;
  color: var(--neon-blue);
  transition: all var(--lp-transition);
}

.lp-feature-step:nth-child(2) .lp-feature-icon {
  background: rgba(var(--neon-green-rgb), 0.08);
  border-color: rgba(var(--neon-green-rgb), 0.15);
  color: var(--neon-green);
}

.lp-feature-step:nth-child(3) .lp-feature-icon {
  background: rgba(var(--neon-violet-rgb), 0.08);
  border-color: rgba(var(--neon-violet-rgb), 0.15);
  color: var(--neon-violet);
}

.lp-feature-step:hover .lp-feature-icon {
  transform: scale(1.08) rotate(6deg);
  box-shadow: var(--glow-sm);
  filter: drop-shadow(0 0 8px rgba(var(--neon-blue-rgb), 0.4));
}

.lp-feature-icon svg {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.lp-feature-step:hover .lp-feature-icon svg {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px currentColor);
}

.lp-feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.lp-feature-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   9. LIVE METRICS (.lp-metrics)
   Animated rolling stats in glass cards
   ---------------------------------------------------------- */
.lp-metrics {
  padding: var(--lp-section-padding);
  position: relative;
  background: var(--bg-primary);
}

.lp-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lp-metric-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: all var(--lp-transition);
}

.lp-metric-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--glow-sm);
}

.lp-metric-value {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animate the number on scroll-reveal */
.lp-metric-value[data-animate] {
  animation: count-up-blur 0.8s ease-out forwards;
}

.lp-metric-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.lp-metric-sublabel {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ----------------------------------------------------------
   10. PRICING SECTION (.lp-pricing)
   Two floating price cards over grid background
   ---------------------------------------------------------- */
.lp-pricing {
  padding: var(--lp-section-padding);
  position: relative;
  background: var(--bg-primary);
}

.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}

.lp-price-card {
  position: relative;
  padding: 44px 36px;
  border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: all var(--lp-transition);
  animation: float 6s ease-in-out infinite;
}

/* Offset the floating animation for the second card */
.lp-price-card:nth-child(2) {
  animation-delay: -3s;
}

.lp-price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Featured / recommended card with neon border glow */
.lp-price-card.featured {
  border-color: rgba(var(--neon-blue-rgb), 0.35);
  box-shadow: var(--glow-md);
  background: rgba(var(--neon-blue-rgb), 0.03);
}

.lp-price-card.featured:hover {
  box-shadow: var(--glow-lg);
}

.lp-price-card.featured::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 21px;
  background: none;
  background-size: 300% 300%;
  animation: border-trace 4s ease infinite;
  z-index: -1;
  opacity: 0.25;
}

.lp-price-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
  padding: 5px 16px;
  border-radius: 20px;
}

.lp-price-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.lp-price-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.lp-price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.lp-price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.lp-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.lp-price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.lp-price-features li:last-child {
  border-bottom: none;
}

.lp-price-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(var(--neon-green-rgb), 0.12);
  border: 1px solid rgba(var(--neon-green-rgb), 0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%232FE0D1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.lp-price-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all var(--lp-transition);
  text-decoration: none;
}

.lp-price-card .lp-price-cta {
  background: var(--glass-bg-hover);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.lp-price-card .lp-price-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--glass-border-hover);
}

.lp-price-card.featured .lp-price-cta {
  background: linear-gradient(135deg, var(--neon-blue), #00CC66);
  color: var(--bg-primary);
  border: none;
  animation: glow-pulse 3s ease-in-out infinite;
}

.lp-price-card.featured .lp-price-cta:hover {
  box-shadow: 0 0 40px rgba(var(--neon-blue-rgb), 0.4);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   11. FAQ SECTION (.lp-faq)
   Collapsible accordion with smooth height transitions
   ---------------------------------------------------------- */
.lp-faq {
  padding: var(--lp-section-padding);
  position: relative;
  background: var(--bg-primary);
}

.lp-faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.lp-faq-item {
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--glass-bg);
  transition: all var(--lp-transition);
}

.lp-faq-item:hover {
  border-color: var(--glass-border-hover);
}

.lp-faq-item.active {
  border-color: rgba(var(--neon-blue-rgb), 0.2);
  box-shadow: var(--glow-sm);
}

.lp-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--text-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--lp-transition);
}

.lp-faq-question:hover {
  color: var(--neon-blue);
}

.lp-faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(var(--neon-blue-rgb), 0.08);
  color: var(--neon-blue);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform var(--lp-transition), background var(--lp-transition);
}

.lp-faq-item.active .lp-faq-icon {
  transform: rotate(45deg);
  background: rgba(var(--neon-blue-rgb), 0.15);
}

.lp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.lp-faq-item.active .lp-faq-answer {
  max-height: 300px;
}

.lp-faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ----------------------------------------------------------
   12. FINAL CTA SECTION (.lp-cta)
   Gradient section with glowing call-to-action
   ---------------------------------------------------------- */
.lp-cta {
  padding: 100px 32px;
  position: relative;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(var(--neon-blue-rgb), 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(var(--neon-violet-rgb), 0.06) 0%, transparent 60%),
    var(--bg-secondary);
}

/* Top and bottom border lines */
.lp-cta::before,
.lp-cta::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--neon-blue-rgb), 0.25), transparent);
}

.lp-cta::before { top: 0; }
.lp-cta::after { bottom: 0; }

.lp-cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.lp-cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.lp-cta .lp-btn-primary {
  font-size: 1.1rem;
  padding: 16px 40px;
}

/* ----------------------------------------------------------
   13. FOOTER (.lp-footer)
   Minimal dark footer with neon accents
   ---------------------------------------------------------- */
.lp-footer {
  padding: 48px 32px;
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
}

.lp-footer-inner {
  max-width: var(--lp-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.lp-footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.lp-footer-brand span {
  color: var(--neon-blue);
}

.lp-footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.lp-footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--lp-transition);
  text-decoration: none;
}

.lp-footer-links a:hover {
  color: var(--neon-blue);
}

.lp-footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Neon accent line at the very bottom */
.lp-footer::after {
  content: '';
  display: block;
  margin-top: 40px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--neon-blue),
    var(--neon-violet),
    var(--neon-green),
    transparent
  );
  opacity: 0.3;
}

/* ----------------------------------------------------------
   14. UTILITY / SCROLL-REVEAL CLASSES
   Applied via JS Intersection Observer
   ---------------------------------------------------------- */
.lp-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.lp-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for child elements */
.lp-reveal-delay-1 { transition-delay: 0.1s; }
.lp-reveal-delay-2 { transition-delay: 0.2s; }
.lp-reveal-delay-3 { transition-delay: 0.3s; }
.lp-reveal-delay-4 { transition-delay: 0.4s; }

/* ----------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS
   ---------------------------------------------------------- */

/* Tablet: 1024px and below */
@media (max-width: 1024px) {
  .lp-section-title {
    font-size: 2.25rem;
  }

  .lp-hero-title {
    font-size: 3rem;
  }

  .lp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .lp-price-amount {
    font-size: 2.5rem;
  }
}

/* Large mobile: 768px and below */
@media (max-width: 768px) {
  :root {
    --lp-section-padding: 80px 0;
  }

  .lp-nav-overlay {
    padding: 12px 20px;
  }

  .lp-nav-links {
    display: none;
  }

  .lp-hero {
    padding: 80px 24px 60px;
    min-height: auto;
    margin-top: 0;
  }

  .lp-community-cards {
    flex-direction: column;
  }

  .lp-hero-title {
    font-size: 2.25rem;
  }

  .lp-hero-subtitle {
    font-size: 1rem;
  }

  .lp-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .lp-hero-actions .lp-btn-primary,
  .lp-hero-actions .lp-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .lp-hero-card {
    margin-top: 40px;
  }

  .lp-section-inner {
    padding: 0 20px;
  }

  .lp-section-title {
    font-size: 1.85rem;
  }

  .lp-section-subtitle {
    font-size: 0.95rem;
  }

  .lp-features-grid {
    grid-template-columns: 1fr;
  }

  .lp-feature-step {
    padding: 28px 24px;
  }

  .lp-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .lp-metric-value {
    font-size: 2rem;
  }

  .lp-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .lp-price-card {
    animation: none;
  }

  .lp-dashboard-body {
    height: 240px;
    overflow-x: auto;
  }

  .lp-cta-title {
    font-size: 1.85rem;
  }

  .lp-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .lp-footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* Small mobile: 480px and below */
@media (max-width: 480px) {
  :root {
    --lp-section-padding: 64px 0;
  }

  .lp-hero {
    padding: 60px 24px 48px;
  }

  .lp-hero-title {
    font-size: 1.85rem;
  }

  .lp-hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 28px;
  }

  .lp-btn-primary,
  .lp-btn-secondary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .lp-section-title {
    font-size: 1.5rem;
  }

  .lp-section-header {
    margin-bottom: 40px;
  }

  .lp-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .lp-metric-card {
    padding: 24px 16px;
  }

  .lp-metric-value {
    font-size: 1.75rem;
  }

  .lp-price-card {
    padding: 32px 24px;
  }

  .lp-price-amount {
    font-size: 2.25rem;
  }

  .lp-faq-question {
    padding: 16px 20px;
    font-size: 0.875rem;
  }

  .lp-faq-answer-inner {
    padding: 0 20px 16px;
    font-size: 0.85rem;
  }

  .lp-cta {
    padding: 64px 20px;
  }

  .lp-cta-title {
    font-size: 1.5rem;
  }

  .lp-cta-subtitle {
    font-size: 0.9rem;
  }

  .lp-footer {
    padding: 32px 20px;
  }
}

/* ----------------------------------------------------------
   16. REDUCED MOTION ACCESSIBILITY
   Respects user preference for reduced animations
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .lp-price-card {
    animation: none;
  }
}

/* ----------------------------------------------------------
   17. SECTION DIVIDERS
   Subtle gradient lines between landing page sections
   ---------------------------------------------------------- */
.lp-divider {
  height: 1px;
  border: none;
  margin: 0;
  background: linear-gradient(90deg,
    transparent,
    var(--glass-border) 20%,
    rgba(var(--neon-blue-rgb), 0.12) 50%,
    var(--glass-border) 80%,
    transparent
  );
}

/* ----------------------------------------------------------
   18. SCROLLBAR STYLES (landing-page scoped)
   ---------------------------------------------------------- */
.landing-page ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.landing-page ::-webkit-scrollbar-track {
  background: transparent;
}

.landing-page ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.landing-page ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ----------------------------------------------------------
   19. SELECTION HIGHLIGHT
   ---------------------------------------------------------- */
.landing-page ::selection {
  background: rgba(var(--neon-blue-rgb), 0.25);
  color: var(--text-primary);
}

/* ----------------------------------------------------------
   20. ANIMATED BACKGROUND GRID OVERLAY
   Applies a repeating-linear-gradient grid pattern to
   sections that use the .lp-grid-bg class
   ---------------------------------------------------------- */
.lp-pricing.lp-grid-bg,
.lp-metrics.lp-grid-bg,
.lp-cta.lp-grid-bg {
  background-image:
    repeating-linear-gradient(0deg, var(--grid-color) 0px, var(--grid-color) 1px, transparent 1px, transparent var(--grid-size)),
    repeating-linear-gradient(90deg, var(--grid-color) 0px, var(--grid-color) 1px, transparent 1px, transparent var(--grid-size));
  background-size: var(--grid-size) var(--grid-size);
}

/* Ensure grid bg sections retain their own bg colors */
.lp-pricing.lp-grid-bg {
  background-color: var(--bg-primary);
}

.lp-metrics.lp-grid-bg {
  background-color: var(--bg-primary);
}

.lp-cta.lp-grid-bg {
  background-color: var(--bg-secondary);
}

/* -------------------------------------------------------
   TELEGRAM COMMUNITY SECTION
   ------------------------------------------------------- */
.lp-community {
  padding: var(--lp-section-padding);
}

.lp-community-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
}

.lp-community-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-community-card:hover {
  border-color: #2AABEE;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.15);
}

.lp-community-icon {
  color: #2AABEE;
  flex-shrink: 0;
}

.lp-community-info {
  flex: 1;
  min-width: 0;
}

.lp-community-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Space Grotesk', monospace;
}

.lp-community-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.lp-community-arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.lp-community-card:hover .lp-community-arrow {
  transform: translateX(4px);
  color: #2AABEE;
}

