/* ============================================================================
   BLOOMY LANDING - BOLT.NEW DESIGN SYSTEM IMPLEMENTATION
   Complete implementation of StackBlitz Bolt.new's unique design signatures
   ============================================================================ */

/* ============================================================================
   SIGNATURE #1: MASSIVE CONCENTRIC ELLIPSE SYSTEM (Ray Container)
   The defining Bolt.new visual - 3043×2865px ellipses with negative margins
   ============================================================================ */

.bolt-ray-container {
  /* CSS Variables for theming */
  --bg-color: #0a0b0f;
  --bg-gradient: #111421;
  --gradient-blue-intense: rgba(20, 136, 252, 0.8);
  --gradient-blue-medium: rgba(20, 136, 252, 0.35);
  --gradient-blue-light: rgba(20, 136, 252, 0.18);
  --gradient-blue-subtle: rgba(20, 136, 252, 0.08);
  --gradient-shadow: rgba(10, 11, 15, 0.2);
  
  /* Ellipse border colors (blue gradient sequence) */
  --ellipse-border-white: #ffffff;
  --ellipse-border-light-blue: #b7d7f6;
  --ellipse-border-medium-blue: #8fc1f2;
  --ellipse-border-strong-blue: #64acf6;
  --ellipse-border-deep-blue: #1172e2;
  --ellipse-shadow: rgba(17, 114, 226, 0.6);
  --ellipse-inset-shadow: #ffffffcc;
  
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg-color);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Massive radial gradient blur layer (6000px wide!) */
.bolt-background-blur {
  position: absolute;
  left: 50%;
  top: 0;
  width: 6000px;
  height: 1800px;
  background: radial-gradient(
    circle at center 800px,
    var(--gradient-blue-intense) 0%,
    var(--gradient-blue-medium) 14%,
    var(--gradient-blue-light) 18%,
    var(--gradient-blue-subtle) 22%,
    var(--gradient-shadow) 25%
  );
  opacity: 1;
  transform: translate(-50%);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* Container for the 5 ellipse layers */
.bolt-ellipses-container {
  position: absolute;
  top: 392px;
  left: 50%;
  width: 3043px;
  height: 2865px;
  transform: translate(-50%) rotate(180deg);
  will-change: transform;
}

@media screen and (max-width: 640px) {
  .bolt-ellipses-container {
    top: 175px;
  }
}

/* Base ellipse styling */
.bolt-ellipse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  border-radius: 50%;
  transform: rotate(180deg);
  will-change: transform;
  backface-visibility: hidden;
}

/* Ellipse One - Center/Innermost (z-index: 5) */
.bolt-ellipse-one {
  z-index: 5;
  margin-top: -13px;
  background: radial-gradient(
    43.89% 25.74% at 50.02% 97.24%,
    var(--bg-gradient) 0%,
    var(--bg-color) 100%
  );
  border: 16px solid var(--ellipse-border-white);
}

/* Ellipse Two (z-index: 4) */
.bolt-ellipse-two {
  z-index: 4;
  margin-top: -11px;
  border: 23px solid var(--ellipse-border-light-blue);
}

/* Ellipse Three (z-index: 3) */
.bolt-ellipse-three {
  z-index: 3;
  margin-top: -8px;
  border: 23px solid var(--ellipse-border-medium-blue);
}

/* Ellipse Four (z-index: 2) */
.bolt-ellipse-four {
  z-index: 2;
  margin-top: -4px;
  border: 23px solid var(--ellipse-border-strong-blue);
}

/* Ellipse Five - Outermost (z-index: 1) */
.bolt-ellipse-five {
  z-index: 1;
  border: 20px solid var(--ellipse-border-deep-blue);
  box-shadow: 0 -15px 24.8px var(--ellipse-shadow);
}

/* ============================================================================
   SIGNATURE #2: LIQUID GLASS GLASSMORPHISM (Triple-Layer System)
   NOT simple backdrop-filter - full 4-shadow + mask-composite + shimmer
   ============================================================================ */

.bolt-liquid-glass {
  position: relative;
  overflow: hidden;
  
  /* Layer 1: Diagonal gradient background */
  background: linear-gradient(135deg, #ffffff1a, #ffffff0d);
  
  /* Layer 2: Backdrop blur with saturation boost (CRITICAL) */
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  
  /* Layer 3: Four-part shadow system */
  box-shadow: 
    inset 0 1px #ffffff33,          /* Top: white 20% - "wet" highlight */
    inset 0 -1px #0000001a,         /* Bottom: black 10% - depth */
    0 8px 32px -8px #0000001a,      /* Drop: 8px y, 32px blur, -8px spread */
    0 0 0 1px #ffffff14;            /* Glow: 1px border, white 8% */
  
  /* Performance */
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform, box-shadow;
  backface-visibility: hidden;
}

/* Gradient border (::before) using mask-composite */
.bolt-liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #ffffff66, #ffffff1a, #ffffff0d);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  opacity: 0.6;
  transition: opacity 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}

/* Shimmer animation (::after) */
.bolt-liquid-glass::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(45deg) translate(-100%);
  transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}

/* Hover state - Enhanced glassmorphism */
.bolt-liquid-glass:hover {
  background: linear-gradient(135deg, #ffffff26, #ffffff14);
  box-shadow: 
    inset 0 1px #ffffff33,
    inset 0 -1px #00000026,
    0 12px 40px -8px #00000026,
    0 0 0 1px #ffffff1f;
}

.bolt-liquid-glass:hover::before {
  opacity: 0.8;
}

.bolt-liquid-glass:hover::after {
  transform: rotate(45deg) translate(100%);
}

/* Active/Pressed state */
.bolt-liquid-glass:active {
  scale: 0.99;
  box-shadow: 
    inset 0 1px #ffffff,
    inset 0 -1px #00000033,
    0 4px 20px -8px #00000033,
    0 0 0 1px #ffffff0d;
}

/* ============================================================================
   SIGNATURE #3: ANIMATED GRADIENT BORDER (Expanding Top Border)
   100px → calc(100% - 3rem) with purple prismatic accent
   ============================================================================ */

.bolt-gradient-border {
  position: relative;
}

.bolt-gradient-border::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translate(-50%);
  height: 2px;
  width: 100px;
  
  /* Five-stop gradient with PURPLE accent at center */
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(37, 119, 255, 0.8) 20%,
    rgba(126, 93, 225, 0.8) 50%,      /* Purple prismatic accent */
    rgba(59, 130, 246, 0.8) 80%,
    transparent 100%
  );
  
  opacity: 0.6;
  filter: blur(0.5px);
  transition: 
    opacity 0.6s cubic-bezier(0.32, 0.72, 0, 1),
    width 0.6s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}

/* Inner shimmer animation */
.bolt-gradient-border::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translate(-50%) translate(-100%);
  height: 2px;
  width: 100px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(126, 93, 225, 0.8) 50%,
    transparent 100%
  );
  animation: gradient-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gradient-shimmer {
  0% {
    transform: translate(-50%) translate(-100%);
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  80% {
    opacity: 0.9;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%) translate(100%);
    opacity: 0;
  }
}

/* Hover expansion */
.bolt-gradient-border:hover::before {
  opacity: 1;
  width: calc(100% - 3rem);
}

.bolt-gradient-border:hover::after {
  width: calc(100% - 3rem);
}

/* ============================================================================
   SIGNATURE #4: VOLUMETRIC LIGHT BACKGROUND (Animated)
   Replaces generic gradients with cinematic light effect
   ============================================================================ */

.bolt-volumetric-light {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-color);
  pointer-events: none;
}

.bolt-volumetric-light::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  width: 100%;
  height: 150%;
  background: radial-gradient(
    ellipse at center,
    rgba(20, 136, 252, 0.15) 0%,
    rgba(126, 93, 225, 0.08) 30%,
    transparent 70%
  );
  transform: translate(-50%, 0);
  animation: volumetric-pulse 8s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes volumetric-pulse {
  0%, 100% {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -5%) scale(1.05);
    opacity: 0.8;
  }
}

/* ============================================================================
   SIGNATURE #5: LIGHT REFRACTION OVERLAY (Glass Realism)
   Top-half elliptical gradient for realistic light refraction
   ============================================================================ */

.bolt-light-refraction {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: radial-gradient(
    ellipse at center top,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.7;
  mix-blend-mode: overlay;
}

/* ============================================================================
   SIGNATURE #6: SHIMMER ANIMATIONS (Area & Icon)
   45° skewed shimmer for large areas + dual-gradient for icons
   ============================================================================ */

/* Large area shimmer (cards, backgrounds) - OPTIMIZED */
.bolt-shimmer {
  position: relative;
}

.bolt-shimmer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 75%
  );
  background-size: 200% 100%;
  background-position: 200% 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  will-change: background-position;
}

.bolt-shimmer:hover::before {
  opacity: 1;
  animation: shimmerSweep 1.2s ease-in-out;
}

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

/* Icon shimmer (dual-gradient technique) */
.bolt-shimmer-icon {
  display: inline-block;
  --base-gradient-color: #ffffff;
  --base-color: rgba(255, 255, 255, 0.6);
  --spread: 20%;
  
  background-image: 
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0) calc(50% - var(--spread)),
      var(--base-gradient-color) 50%,
      rgba(0, 0, 0, 0) calc(50% + var(--spread))
    ),
    linear-gradient(
      var(--base-color),
      var(--base-color)
    );
  
  background-size: 400% 100%, auto;
  background-repeat: no-repeat;
  background-position: 100% 0, 0 0;
  animation: icon-shimmer 1.5s linear infinite;
}

@keyframes icon-shimmer {
  0% {
    background-position: 100% 0, 0 0;
  }
  100% {
    background-position: 0% 0, 0 0;
  }
}

/* ============================================================================
   SIGNATURE #7: LOADING BAR (Branded Gradient Loop)
   57% width bar with blue-white-blue gradient, 4s loop
   ============================================================================ */

.bolt-loading-bar-container {
  position: relative;
  width: 100%;
  height: 4px;
  background: #0a0a0a;
  overflow: hidden;
  border-radius: 2px;
}

.bolt-loading-bar {
  width: 57%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #0a0a0a 0%,
    #2ba6ff 21.5%,
    #ffffff 33%,
    #2ba6ff 65.5%,
    #0a0a0a 100%
  );
  position: absolute;
  left: 0;
  animation: loading-bar-loop 4s linear infinite;
  will-change: transform;
}

@keyframes loading-bar-loop {
  0% {
    transform: translate(-100%);
  }
  100% {
    transform: translate(200%);
  }
}

/* ============================================================================
   COMPONENT: HERO SECTION WITH BOLT DESIGN
   Complete hero implementation with all signatures
   ============================================================================ */

.bolt-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
}

.bolt-hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.bolt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.bolt-hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.bolt-hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.bolt-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================================================
   COMPONENT: FEATURE CARDS (Liquid Glass)
   Cards with proper triple-layer glassmorphism
   ============================================================================ */

.bolt-feature-card {
  position: relative;
  padding: 2rem;
  border-radius: 12px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0); /* GPU acceleration */
}

.bolt-feature-card:hover {
  transform: translateY(-4px) translateZ(0);
  box-shadow: 
    inset 0 2px rgba(255,255,255,0.3),
    inset 0 -2px rgba(0,0,0,0.15),
    0 16px 48px -12px rgba(0,0,0,0.3);
}

.bolt-feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(20, 136, 252, 0.2), rgba(126, 93, 225, 0.2));
}

.bolt-feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.bolt-feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================================
   COMPONENT: CTA BUTTONS (With Prismatic Effects)
   Primary and secondary buttons with expanding borders
   ============================================================================ */

.bolt-btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #1488fc, #7e5de1);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  text-decoration: none;
}

.bolt-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -8px rgba(20, 136, 252, 0.5);
}

.bolt-btn-primary:active {
  transform: translateY(0);
  scale: 0.98;
}

.bolt-btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  text-decoration: none;
}

.bolt-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================================================
   LAYOUT: SECTION CONTAINER (Max-Width + Responsive Padding)
   ============================================================================ */

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .section-container {
    padding: 0 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .section-container {
    padding: 0 1rem;
  }
}

/* ============================================================================
   UTILITY CLASSES (Z-Index, Spacing, Performance)
   8px grid system + z-index hierarchy + hardware acceleration
   ============================================================================ */

/* Step Numbers */
.step-number {
  box-shadow: 0 4px 12px rgba(20, 136, 252, 0.4);
}

/* Mobile Floating Action Button */
.mobile-fab {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 997;
  animation: fabSlideUp 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes fabSlideUp {
  from {
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.mobile-fab a {
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(20, 136, 252, 0.5) !important;
}

@media screen and (min-width: 769px) {
  .mobile-fab {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .step-number {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
    margin: 0 auto 0.75rem !important;
  }
  
  .mobile-fab {
    left: 1rem;
    right: 1rem;
    transform: none;
    width: calc(100% - 2rem);
  }
  
  .mobile-fab a {
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .mobile-fab {
    bottom: 16px;
    left: 0.75rem;
    right: 0.75rem;
    width: calc(100% - 1.5rem);
  }
  
  .mobile-fab a {
    padding: 0.875rem 1.25rem !important;
    font-size: 0.9375rem;
  }
}

/* Z-Index Hierarchy */
.z-base { z-index: 0; }
.z-layer-1 { z-index: 1; }
.z-layer-2 { z-index: 2; }
.z-layer-3 { z-index: 3; }
.z-overlay { z-index: 995; }
.z-sidebar { z-index: 997; }
.z-nav { z-index: 998; }
.z-modal { z-index: 999; }

/* Spacing (8px grid) */
.gap-xs { gap: 0.25rem; }    /* 4px */
.gap-sm { gap: 0.5rem; }     /* 8px */
.gap-md { gap: 1rem; }       /* 16px */
.gap-lg { gap: 1.5rem; }     /* 24px */
.gap-xl { gap: 2rem; }       /* 32px */
.gap-2xl { gap: 3rem; }      /* 48px */

.p-xs { padding: 0.5rem; }   /* 8px */
.p-sm { padding: 1rem; }     /* 16px */
.p-md { padding: 1.5rem; }   /* 24px */
.p-lg { padding: 2rem; }     /* 32px */
.p-xl { padding: 3rem; }     /* 48px */

/* Hardware Acceleration */
.hw-accelerated {
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Custom Easing */
.ease-bolt {
  transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ============================================================================
   RESPONSIVE DESIGN (Mobile Adaptations)
   Breakpoints and mobile-specific optimizations
   ============================================================================ */

/* Mobile Navigation Enhancements */
@media screen and (max-width: 768px) {
  .mobile-nav-enhanced .brand-text {
    display: inline;
  }
  
  .nav-link-mobile:active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
  }
  
  .bolt-btn-mobile {
    padding: 0.625rem 1rem !important;
    font-size: 0.875rem;
  }
  
  .bolt-btn-mobile i {
    font-size: 1rem;
  }
  
  .nav-text {
    display: inline;
  }
}

@media screen and (max-width: 480px) {
  .mobile-nav-enhanced .brand-text {
    display: none;
  }
  
  .nav-text {
    display: none;
  }
  
  .nav-actions {
    gap: 0.5rem !important;
  }
  
  .nav-link-mobile {
    padding: 0.5rem !important;
    min-width: 44px;
  }
  
  .bolt-btn-mobile {
    padding: 0.5rem 0.75rem !important;
    min-width: 44px;
  }
}

@media screen and (max-width: 768px) {
  /* Hero Section Mobile Optimization */
  .bolt-hero-section {
    padding: 5rem 1rem 2rem;
    min-height: auto;
  }
  
  .bolt-hero-content {
    padding: 0;
  }
  
  .bolt-hero-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .bolt-hero-badge span {
    display: inline;
  }
  
  .bolt-hero-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .bolt-hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  
  .bolt-hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .bolt-btn-primary,
  .bolt-btn-secondary {
    justify-content: center;
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
  
  /* Navigation Mobile */
  nav .section-container {
    padding: 0.75rem 1rem !important;
  }
  
  nav .brand-logo {
    font-size: 1.25rem;
    gap: 0.5rem;
  }
  
  nav .brand-logo i {
    font-size: 1.5rem;
  }
  
  /* Stats Cards Mobile */
  .bolt-hero-section > div > div:last-child {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
  }
  
  .bolt-hero-section .bolt-liquid-glass {
    padding: 1rem !important;
  }
  
  .bolt-hero-section .bolt-liquid-glass > div:first-child {
    font-size: 2rem !important;
  }
  
  .bolt-hero-section .bolt-liquid-glass > div:last-child {
    font-size: 0.8125rem !important;
  }
  
  /* Section Spacing */
  section {
    padding: 3rem 1rem !important;
  }
  
  /* Feature Cards Mobile */
  .bolt-feature-card {
    padding: 1.25rem;
  }
  
  .bolt-feature-icon {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .bolt-feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .bolt-feature-description {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
  
  /* Section Titles Mobile */
  section h2 {
    font-size: 1.75rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  section p {
    font-size: 1rem !important;
  }
  
  /* Grid Layouts Mobile */
  section > div > div[style*="grid"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .steps-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Referral Section Mobile */
  section > div > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  /* Referral input field on mobile */
  input[style*="font-family: monospace"] {
    font-size: 0.75rem !important;
    word-break: break-all;
  }
  
  /* Copy button mobile friendly */
  button[onclick*="copyReferralCode"] {
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
  }
  
  /* Referral Dashboard Stats */
  .bolt-liquid-glass > div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
  }
  
  .bolt-liquid-glass > div[style*="grid-template-columns: repeat(3, 1fr)"] > div {
    padding: 0.75rem !important;
  }
  
  .bolt-liquid-glass > div[style*="grid-template-columns: repeat(3, 1fr)"] i {
    font-size: 1.25rem !important;
  }
  
  .bolt-liquid-glass > div[style*="grid-template-columns: repeat(3, 1fr)"] > div > div:nth-child(2) {
    font-size: 1.25rem !important;
  }
  
  .bolt-liquid-glass > div[style*="grid-template-columns: repeat(3, 1fr)"] > div > div:nth-child(3) {
    font-size: 0.6875rem !important;
  }
  
  /* CTA Section Mobile */
  .section-container > .bolt-liquid-glass {
    padding: 2rem 1.25rem !important;
  }
  
  /* Modal Mobile */
  .discord-modal-content {
    max-width: 95% !important;
    margin: 1rem !important;
  }
  
  .discord-modal-content > div:first-child {
    padding: 1.25rem !important;
  }
  
  .discord-modal-content > div:first-child > div:first-child i {
    font-size: 1.5rem !important;
  }
  
  .discord-modal-content > div:first-child > div:first-child span {
    font-size: 1.25rem !important;
  }
  
  .discord-modal-content > div:last-child {
    padding: 1.25rem !important;
  }
  
  .discord-modal-content h2 {
    font-size: 1.5rem !important;
  }
  
  /* Lists and Features */
  div[style*="display: flex; flex-direction: column; gap: 0.75rem"] {
    gap: 0.5rem !important;
  }
  
  /* Benefits/Features Icons */
  div[style*="width: 48px; height: 48px"] {
    width: 40px !important;
    height: 40px !important;
  }
  
  div[style*="width: 48px; height: 48px"] i {
    font-size: 1.125rem !important;
  }
  
  /* Padding Adjustments */
  .bolt-liquid-glass[style*="padding: 4rem"] {
    padding: 2rem 1.25rem !important;
  }
  
  .bolt-liquid-glass[style*="padding: 2rem"] {
    padding: 1.25rem !important;
  }
  
  /* Text Adjustments */
  div > h4 {
    font-size: 1rem !important;
  }
  
  div > p[style*="font-size: 0.875rem"] {
    font-size: 0.8125rem !important;
  }
  
  /* CTA Benefits on mobile - make them stack */
  section:last-of-type .section-container > div > div:last-child {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: flex-start !important;
  }
  
  section:last-of-type .section-container > div > div:last-child > div {
    font-size: 0.875rem !important;
  }
  
  /* Touch-friendly buttons and links */
  a, button {
    -webkit-tap-highlight-color: rgba(20, 136, 252, 0.2);
    transition: transform 0.1s ease;
  }
  
  a:active, button:active {
    transform: scale(0.97);
  }
  
  /* Optimize images and media */
  img, video {
    max-width: 100%;
    height: auto;
  }
  
  /* Better input fields on mobile */
  input, textarea, select {
    font-size: 16px !important; /* Prevents zoom on iOS */
  }
}

@media screen and (max-width: 480px) {
  /* Extra Small Mobile */
  .bolt-ellipses-container {
    top: 100px;
  }
  
  .bolt-background-blur {
    width: 4000px;
  }
  
  .bolt-hero-section {
    padding: 4rem 0.75rem 1.5rem;
  }
  
  .bolt-hero-title {
    font-size: 1.75rem;
  }
  
  .bolt-hero-subtitle {
    font-size: 0.9375rem;
    padding: 0;
  }
  
  nav .brand-logo {
    font-size: 1.125rem;
  }
  
  section {
    padding: 2rem 0.75rem !important;
  }
  
  section h2 {
    font-size: 1.5rem !important;
  }
  
  .bolt-feature-card {
    padding: 1rem;
  }
  
  .bolt-btn-primary,
  .bolt-btn-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
  
  /* Referral Dashboard Compact */
  .bolt-liquid-glass > div[style*="grid-template-columns: repeat(3, 1fr)"] {
    gap: 0.375rem !important;
  }
  
  .bolt-liquid-glass > div[style*="grid-template-columns: repeat(3, 1fr)"] > div {
    padding: 0.5rem !important;
  }
  
  .bolt-liquid-glass > div[style*="grid-template-columns: repeat(3, 1fr)"] i {
    font-size: 1rem !important;
    margin-bottom: 0.25rem !important;
  }
  
  .bolt-liquid-glass > div[style*="grid-template-columns: repeat(3, 1fr)"] > div > div:nth-child(2) {
    font-size: 1.125rem !important;
  }
  
  /* Hide decorative elements on very small screens */
  .bolt-light-refraction {
    display: none;
  }
  
  /* Compact modal on very small screens */
  .discord-modal-content {
    max-width: 100% !important;
    margin: 0.5rem !important;
    border-radius: 12px !important;
  }
  
  .discord-modal-content > div:first-child {
    padding: 1rem !important;
  }
  
  .discord-modal-content > div:last-child {
    padding: 1rem !important;
  }
  
  .discord-modal-content h2 {
    font-size: 1.25rem !important;
  }
  
  .discord-modal-content h3 {
    font-size: 1rem !important;
  }
  
  /* Compact process steps */
  .discord-modal-content .bolt-liquid-glass {
    padding: 0.75rem !important;
  }
  
  .discord-modal-content .bolt-liquid-glass h4 {
    font-size: 0.9375rem !important;
  }
  
  .discord-modal-content .bolt-liquid-glass p {
    font-size: 0.8125rem !important;
  }
}

/* ============================================================================
   PERFORMANCE: REDUCED MOTION SUPPORT
   Accessibility for users who prefer reduced motion
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .bolt-shimmer::before,
  .bolt-shimmer-icon,
  .bolt-loading-bar {
    animation: none;
  }
  
  .mobile-fab {
    animation: none;
  }
}

/* ============================================================================
   MOBILE PERFORMANCE OPTIMIZATIONS
   ============================================================================ */

@media screen and (max-width: 768px) {
  /* Reduce complexity for better mobile performance */
  .bolt-volumetric-light::before {
    animation: none;
  }
  
  /* Optimize backdrop blur for mobile */
  .bolt-liquid-glass {
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
  }
  
  /* Simplify animations on mobile */
  .bolt-shimmer:hover::before {
    animation-duration: 1.5s;
  }
  
  /* Better scroll performance */
  * {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Optimize font rendering */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
  
  /* Prevent overscroll bounce on iOS */
  html, body {
    overscroll-behavior-y: none;
  }
  
  /* Improve button press feedback */
  .bolt-btn-primary:active,
  .bolt-btn-secondary:active {
    transform: scale(0.96);
    transition: transform 0.1s ease;
  }
  
  .bolt-feature-card:active {
    transform: translateY(-2px) scale(0.99);
  }
  
  /* Make cards more touch-friendly */
  .bolt-feature-card {
    cursor: pointer;
    user-select: none;
  }
  
  /* Optimize images for mobile */
  img {
    image-rendering: -webkit-optimize-contrast;
  }
  
  /* Reduce motion for complex backgrounds on low-end devices */
  @media (max-width: 480px) and (max-resolution: 1dppx) {
    .bolt-ellipses-container {
      display: none;
    }
    
    .bolt-background-blur {
      animation: none;
      opacity: 0.7;
    }
  }
}

