/*
  =====================================================
  HausOS Marketing Website — Dark Futuristic Theme
  =====================================================
*/

/* ===================================
   CSS VARIABLES & DESIGN TOKENS
   =================================== */
:root {
  /* Brand colors - purple primary and teal accent */
  --primary: #4D44FE;
  --primary-light: #C5C2FF;
  --primary-dark: #3830d4;
  --accent: #00D4AA;
  /* Dark theme background tones */
  --dark: #0a0a1a;
  --dark-lighter: #12122a;
  --dark-card: #14142e;
  /* Text colors for light-on-dark readability */
  --text-light: #ffffff;
  --text-dark: #1F2232;
  --text-muted: #8697AC;
  /* Glassmorphism tokens - semi-transparent whites for frosted glass effect */
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.1);
  /* Border radius scale */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  /* Eased transitions using Material Design cubic-bezier curve */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  /* Glow shadow presets for hover effects */
  --shadow-glow-primary: 0 0 40px rgba(77, 68, 254, 0.3);
  --shadow-glow-accent: 0 0 40px rgba(0, 212, 170, 0.3);
  /* Layout constraints */
  --container-max: 1200px;
  --spacing-section: 140px;
}

/* ===================================
   GLOBAL & RESET
   =================================== */
/* Universal box-sizing reset for consistent sizing */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Smooth scroll behavior and font rendering optimization */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar - slim 6px purple bar matching brand colors */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Text selection highlight uses brand purple */
::selection {
  background: var(--primary);
  color: var(--text-light);
}

/* Firefox text selection (vendor prefix required) */
::-moz-selection {
  background: var(--primary);
  color: var(--text-light);
}

body {
  font-family: 'Red Hat Display', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-light);
  background: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  /* Ambient gradient orbs - three radial gradients creating subtle color wash across page */
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(77, 68, 254, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(0, 212, 170, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 50% 80%, rgba(77, 68, 254, 0.06) 0%, transparent 70%);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(5px);
}

/* Primary button - diagonal gradient from purple to teal with glow shadow */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-light);
  box-shadow: 0 8px 32px rgba(77, 68, 254, 0.4), 0 0 0 0 rgba(77, 68, 254, 0);
}

/* Hover: scale up slightly with intensified glow shadow */
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 48px rgba(77, 68, 254, 0.5), 0 0 60px rgba(77, 68, 254, 0.2);
}

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

.btn-lg {
  padding: 20px 44px;
  font-size: 18px;
}

.btn-full {
  width: 100%;
}

/* ===================================
   NAVBAR
   =================================== */
/* Glassmorphism navbar - semi-transparent dark background with backdrop blur */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-base);
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

/* Scrolled state: more opaque background, reduced padding, subtle border and shadow */
.navbar.scrolled {
  background: rgba(10, 10, 26, 0.92);
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Nav container: horizontal flex layout, logo on left, links center, CTA+hamburger right */
.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

/* Nav right group: always flex row to keep button and hamburger side by side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(-10deg) scale(1.05);
}

/* Logo text - gradient text effect using background-clip to fill text with gradient */
.logo-text {
  font-weight: 800;
  font-size: 26px;
  background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 15px;
  transition: color var(--transition-fast);
  position: relative;
}

/* Animated underline - starts at 0 width, expands to full on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
}

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

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

.nav-cta .btn {
  padding: 12px 24px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light, #fff);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hamburger to X transformation - top bar rotates 45°, middle fades, bottom rotates -45° */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay - fullscreen glassmorphism panel, hidden by default */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 26, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Active state: reveal the mobile menu with full opacity and interactivity */
.mobile-menu.active {
  display: flex;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu .mobile-link {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-menu .mobile-link:hover {
  color: var(--primary);
}

.mobile-menu .btn {
  margin-top: 16px;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* Hero animated background container - holds floating gradient orbs */
.hero-bg-effects {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Mesh gradient base layer - multi-stop radial gradients covering the full hero area */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 20% 40%, rgba(77, 68, 254, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 70% 80% at 80% 60%, rgba(0, 212, 170, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(77, 68, 254, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(10, 10, 26, 1) 0%, rgba(10, 10, 26, 1) 100%);
}

/* Shared floating gradient orb styles - large blurred circles that drift around */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  will-change: transform;
}

/* Orb 1: Large primary purple glow drifting in the upper-left quadrant */
.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(77, 68, 254, 0.4) 0%, transparent 70%);
  top: -10%;
  left: -5%;
  animation: orbFloat1 20s ease-in-out infinite;
}

/* Orb 2: Medium teal accent glow drifting in the lower-right quadrant */
.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.3) 0%, transparent 70%);
  bottom: -10%;
  right: -5%;
  animation: orbFloat2 25s ease-in-out infinite;
}

/* Orb 3: Smaller purple glow for visual variety in center-right area */
.hero-orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(77, 68, 254, 0.25) 0%, transparent 70%);
  top: 40%;
  right: 20%;
  animation: orbFloat3 18s ease-in-out infinite;
}

/* Orb 1 keyframes: gentle diagonal drift upper-left to center-left */
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.1); }
  66% { transform: translate(-30px, 60px) scale(0.95); }
}

/* Orb 2 keyframes: gentle diagonal drift lower-right to center-right */
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, -30px) scale(1.05); }
  66% { transform: translate(40px, -50px) scale(0.9); }
}

/* Orb 3 keyframes: gentle circular drift center-right area */
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 50px) scale(1.15); }
  66% { transform: translate(50px, -20px) scale(0.85); }
}

/* Overlay: lighter gradient since CSS orbs are less busy than Three.js particles */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 26, 0.1) 0%,
    rgba(10, 10, 26, 0.0) 40%,
    rgba(10, 10, 26, 0.4) 80%,
    rgba(10, 10, 26, 0.9) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image-container {
  position: absolute;
  inset: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: slowZoom 20s ease-in-out infinite alternate;
  filter: brightness(0.3);
}

.hero-content {
  max-width: 850px;
  text-align: center;
  color: var(--text-light);
  position: relative;
  z-index: 2;
}

/* Hero badge - glassmorphism pill with blurred background and thin border */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
  border: 1px solid var(--glass-border);
}

/* Pulsing green dot - animated glow effect indicating "live" status */
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-size: 76px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -3px;
  margin-bottom: 28px;
}

/* Animated gradient text - oversized background (300%) slides via gradientShift keyframes */
.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--text-light) 25%,
    var(--accent) 50%,
    var(--text-light) 75%,
    var(--primary-light) 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
  will-change: background-position;
}

.hero-subtitle {
  font-size: 20px;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
  margin-bottom: 60px;
}


.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
  color: var(--text-light);
  opacity: 0.6;
  z-index: 2;
  animation: fadeInUp 1s ease-out 1.8s both;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--text-light);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
}

/* Slide-up entrance animation - starts invisible and offset 40px below */
.animate-slide-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Staggered delays for sequential slide-up animations (150ms apart) */
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }


/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Section tag pill - uppercase label with translucent purple background */
.section-tag {
  display: inline-block;
  background: rgba(77, 68, 254, 0.15);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(77, 68, 254, 0.2);
}

.section-header h2 {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features {
  padding: var(--spacing-section) 24px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(77, 68, 254, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-lighter) 50%, var(--dark) 100%);
}

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

/* Feature card - glassmorphism panel with 3D transform support for tilt effect */
.feature-card {
  position: relative;
  background: var(--glass);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--glass-border);
  transform-style: preserve-3d;
  perspective: 1000px;
  overflow: hidden;
}

/* Gradient border effect - uses mask-composite to show gradient only on the 1px border edge */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(77, 68, 254, 0.3), transparent 40%, transparent 60%, rgba(0, 212, 170, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

/* Hover: lift card up, scale slightly, add glow shadow, brighter glass background */
.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(77, 68, 254, 0.15), var(--shadow-glow-primary);
  background: var(--glass-hover);
}

/* Reveal gradient border on hover */
.feature-card:hover::before {
  opacity: 1;
}

/* Feature icon - translateZ creates 3D depth within the tilting card */
/* Feature icon container - fixed size with overflow hidden to contain SVGs */
.feature-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  background: linear-gradient(135deg, rgba(77, 68, 254, 0.2), rgba(0, 212, 170, 0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  transition: all var(--transition-base);
  transform: translateZ(20px);
  overflow: hidden;
}

/* Hover: icon pops forward (Z+10px), rotates, scales, and gains full gradient fill */
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateZ(30px) rotate(-5deg) scale(1.05);
  box-shadow: 0 8px 24px rgba(77, 68, 254, 0.4);
}

/* Feature icon SVG - explicit max dimensions to prevent oversizing on mobile */
.feature-icon svg {
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  color: var(--primary-light);
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.feature-card:hover .feature-icon svg {
  color: var(--text-light);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-light);
  transform: translateZ(15px);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  transform: translateZ(10px);
}

/* Enable 3D transforms for all tilt-enabled cards (JS adds rotateX/Y on mousemove) */
[data-tilt] {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* ===================================
   HOW IT WORKS
   =================================== */
.how-it-works {
  padding: var(--spacing-section) 24px;
  background:
    radial-gradient(ellipse 50% 50% at 30% 70%, rgba(0, 212, 170, 0.04) 0%, transparent 70%),
    var(--dark);
}

.steps-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 40px 28px;
  position: relative;
  transition: all var(--transition-base);
  border-radius: var(--radius-lg);
}

.step:hover {
  transform: translateY(-8px);
  background: var(--glass);
}

/* Step number - large gradient text (01, 02, 03) with clip-text effect */
.step-number {
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--transition-base);
}

.step:hover .step-number {
  transform: scale(1.15);
  filter: brightness(1.2);
}

.step-content h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-light);
}

.step-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.step-connector {
  display: flex;
  align-items: center;
  width: 80px;
  min-width: 80px;
  position: relative;
}

/* Animated dashed connector line between steps - gradient from purple to teal */
.step-connector::before {
  content: '';
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  animation: dashMove 3s linear infinite;
  background-size: 20px 2px;
}

/* Glowing dot at the end of the connector line */
.step-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

/* ===================================
   VENDORS SECTION
   =================================== */
.for-vendors {
  padding-top: 120px;
  padding-bottom: var(--spacing-section);
  padding-left: 24px;
  padding-right: 24px;
  background:
    linear-gradient(135deg, var(--dark-lighter) 0%, var(--dark) 50%, var(--dark-lighter) 100%);
  position: relative;
}

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

.vendor-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
  overflow: hidden;
  text-align: center;
}

.vendor-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* Vendor icon container - fixed size with overflow hidden to prevent SVG breakout */
.vendor-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(77, 68, 254, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  overflow: hidden;
}

/* Vendor icon SVG - explicit max dimensions to prevent oversizing on mobile */
.vendor-icon svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.vendor-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-light);
}

.vendor-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.vendors-section {
  padding: var(--spacing-section) 24px;
  background:
    linear-gradient(135deg, var(--dark-lighter) 0%, var(--dark) 50%, var(--dark-lighter) 100%);
  position: relative;
}

.vendors-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 50% at 80% 30%, rgba(77, 68, 254, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(0, 212, 170, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.vendors-section .container {
  position: relative;
  z-index: 1;
}

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

.benefit-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
  overflow: hidden;
}

/* Gradient border trick - uses mask-composite to show gradient as a 1px border only */
.benefit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.benefit-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

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

/* Benefit icon container - fixed size with overflow hidden to contain SVGs */
.benefit-card .benefit-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(77, 68, 254, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
}

/* Benefit icon SVG - explicit max dimensions to prevent oversizing */
.benefit-card .benefit-icon svg {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  color: var(--accent);
  flex-shrink: 0;
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-light);
}

.benefit-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ===================================
   CTA SECTION
   =================================== */
/* CTA section - full gradient background (purple → lavender → teal) with overflow hidden for shapes */
.cta-section {
  padding: 160px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #6C5CE7 40%, var(--accent) 100%);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Floating decorative circles - translucent white blobs that drift with animation */
.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(1px);
}

/* Large shape top-right - slow 18s floating orbit */
.cta-shape-1, .cta-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  top: -200px;
  right: -150px;
  animation: ctaFloat1 18s ease-in-out infinite;
}

/* Medium shape bottom-left - 14s floating with scale variation */
.cta-shape-2, .cta-shape:nth-child(2) {
  width: 350px;
  height: 350px;
  bottom: -120px;
  left: -100px;
  animation: ctaFloat2 14s ease-in-out infinite;
}

/* Small shape center-right - 10s floating with rotation */
.cta-shape-3, .cta-shape:nth-child(3) {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 60%;
  animation: ctaFloat3 10s ease-in-out infinite;
}

.cta-content {
  text-align: center;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.cta-content > p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 50px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* CTA button override - glassmorphism style on colored background */
.cta-section .btn-primary {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-light);
  font-size: 18px;
  padding: 20px 44px;
}

/* Hover: inverts to near-white with purple text for contrast */
.cta-section .btn-primary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Coming soon badge - glassmorphism pill with icon and text on gradient background */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-light);
  padding: 18px 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 24px;
}

.coming-soon-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}

.coming-soon-icon svg {
  width: 24px;
  height: 24px;
}

.coming-soon-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.coming-soon-label {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.coming-soon-sub {
  font-size: 13px;
  opacity: 0.8;
}

.coming-soon-cta {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 20px !important;
}

.download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-light);
  padding: 18px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.store-btn svg {
  width: 34px;
  height: 34px;
}

.store-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-label {
  font-size: 12px;
  opacity: 0.8;
}

.store-name {
  font-size: 20px;
  font-weight: 700;
}

/* ===================================
   SIGNUP MODAL
   =================================== */
/* Modal overlay - dark semi-transparent backdrop with blur effect */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Active: show modal overlay as flex container to center the modal card */
.modal-overlay.active {
  display: flex;
  opacity: 1;
}

/* Modal container - glassmorphism card with entrance animation (scale + fade) */
.modal-container {
  background: rgba(20, 20, 46, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  animation: modalEnter 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

/* Close button - circular glass button, rotates 90° on hover for visual feedback */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 18px;
}

/* Hover: brighten background and spin the X icon 90 degrees */
.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.modal-container h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--text-light);
}

.modal-container p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-family: inherit;
  font-size: 15px;
  transition: all var(--transition-fast);
  outline: none;
}

/* Focus state: purple border with double-ring glow shadow for clear focus indication */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(77, 68, 254, 0.2), 0 0 20px rgba(77, 68, 254, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-option {
  position: relative;
}

/* Hide native radio button - replaced by styled label acting as custom radio */
.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

/* Selected radio: purple-tinted background with glow to indicate active selection */
.radio-option input[type="radio"]:checked + label {
  background: rgba(77, 68, 254, 0.2);
  border-color: var(--primary);
  color: var(--primary-light);
  box-shadow: 0 0 16px rgba(77, 68, 254, 0.2);
}

.modal-container .btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  margin-top: 8px;
}

.success-message {
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  color: var(--accent);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.error-message {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
  color: #FF4757;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===================================
   FOOTER
   =================================== */
.footer, footer {
  background: var(--dark);
  border-top: 1px solid var(--glass-border);
  padding: 80px 24px 40px;
  position: relative;
}

/* Gradient top border - decorative 1px line that fades from transparent → purple → teal → transparent */
.footer::before, footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 40px;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--primary-light);
}


.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */
/* Scroll reveal: elements start invisible and 40px below, transition on .visible class */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: opacity, transform;
}

/* Visible state: element slides up and fades in */
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered transition delays for sequential reveal within sibling groups */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ===================================
   FLOATING SHAPES
   =================================== */
.floating-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(77, 68, 254, 0.06);
  filter: blur(40px);
}

.shape-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -150px;
  background: rgba(77, 68, 254, 0.08);
  animation: float1 18s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: 15%;
  left: 5%;
  background: rgba(0, 212, 170, 0.06);
  animation: float2 14s ease-in-out infinite;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 25%;
  left: 15%;
  background: rgba(77, 68, 254, 0.05);
  animation: float3 10s ease-in-out infinite;
}

.shape-4 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  right: 15%;
  background: rgba(0, 212, 170, 0.04);
  animation: float4 16s ease-in-out infinite;
}

.shape-5 {
  width: 100px;
  height: 100px;
  top: 15%;
  right: 25%;
  background: rgba(77, 68, 254, 0.06);
  animation: float5 9s ease-in-out infinite;
}

/* ===================================
   KEYFRAME ANIMATIONS
   =================================== */
/* Slow background image zoom - subtle Ken Burns effect over 20s */
@keyframes slowZoom {
  0% { transform: scale(1.1); }
  100% { transform: scale(1.2); }
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-30px, 40px) rotate(5deg); }
  66% { transform: translate(20px, -20px) rotate(-3deg); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -35px) scale(1.08); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-25px, 25px); }
}

@keyframes float4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(30px, -25px) rotate(-8deg); }
}

@keyframes float5 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, -28px) scale(0.92); }
}

/* Pulse animation for badge dot - scales up and dims at midpoint, then returns */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--accent); }
  50% { opacity: 0.6; transform: scale(1.3); box-shadow: 0 0 16px var(--accent); }
}

/* Gradient text shimmer - slides the oversized background left-right continuously */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mouse scroll wheel indicator - dot moves down and fades, then resets */
@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.2; transform: translateX(-50%) translateY(12px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Slide up entrance for hero elements - fades in while moving upward 40px */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Modal entrance - scales up from 90% and slides up while fading in */
@keyframes modalEnter {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes ctaFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-40px, 30px) rotate(5deg); }
  50% { transform: translate(-20px, 60px) rotate(10deg); }
  75% { transform: translate(20px, 30px) rotate(5deg); }
}

@keyframes ctaFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -40px) scale(1.1); }
}

@keyframes ctaFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(-30px, 30px) scale(0.85) rotate(180deg); }
}


/* Step connector dash animation - moves background position to simulate flowing dots */
@keyframes dashMove {
  0% { background-position: 0 0; }
  100% { background-position: 40px 0; }
}

@keyframes scroll {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* ===================================
   3D EFFECTS & PARALLAX
   =================================== */
.parallax-layer {
  will-change: transform;
}

.parallax-slow {
  transform: translateZ(-2px) scale(3);
}

.parallax-fast {
  transform: translateZ(2px) scale(0.5);
}

.depth-content {
  transform: translateZ(20px);
}

/* ===================================
   RESPONSIVE — TABLET (≤ 1024px)
   =================================== */
@media (max-width: 1024px) {
  /* Reduce section spacing on tablets */
  :root {
    --spacing-section: 100px;
  }

  /* Switch from 3-column to 2-column grids on tablet */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .hero h1 {
    font-size: 56px;
    letter-spacing: -2px;
  }

  .section-header h2 {
    font-size: 42px;
  }

  .cta-content h2 {
    font-size: 44px;
  }

  .steps-container {
    gap: 0;
  }

  .step {
    padding: 28px 16px;
  }

  .step-number {
    font-size: 48px;
  }

  .step-connector {
    width: 50px;
    min-width: 50px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    gap: 40px;
  }
}

/* ===================================
   RESPONSIVE — MOBILE (≤ 768px)
   =================================== */
@media (max-width: 768px) {
  /* Further reduce section spacing on mobile */
  :root {
    --spacing-section: 80px;
  }

  /* Show hamburger toggle on mobile */
  .nav-toggle {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  /* Hide desktop nav links on mobile - hamburger + mobile-menu overlay replaces them */
  .nav-links {
    display: none;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: 100vh;
  }

  .hero h1 {
    font-size: 40px;
    letter-spacing: -1.5px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 8px 16px;
  }

  /* Scale orbs down on mobile portrait - use viewport-relative widths for proportional sizing */
  .hero-orb-1 {
    width: 80vw;
    height: 80vw;
    max-width: 400px;
    max-height: 400px;
    filter: blur(60px);
  }

  .hero-orb-2 {
    width: 70vw;
    height: 70vw;
    max-width: 350px;
    max-height: 350px;
    filter: blur(60px);
  }

  .hero-orb-3 {
    width: 55vw;
    height: 55vw;
    max-width: 280px;
    max-height: 280px;
    filter: blur(50px);
  }

  /* Compact the Join Waitlist button on mobile so it fits beside the hamburger */
  .nav-right .btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Single-column layouts for all grids on mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-cards {
    grid-template-columns: 1fr;
  }

  .vendor-grid {
    grid-template-columns: 1fr;
  }

  /* Steps stack vertically on mobile */
  .steps-container {
    flex-direction: column;
    gap: 20px;
  }

  /* Connector becomes vertical line between stacked steps */
  .step-connector {
    width: 2px;
    min-width: 2px;
    height: 50px;
    margin: 0 auto;
  }

  /* Vertical gradient direction for vertical connector */
  .step-connector::before {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
  }

  /* Reposition glowing dot to bottom of vertical connector */
  .step-connector::after {
    right: auto;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .section-header h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .cta-content h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .cta-section {
    padding: 80px 20px;
  }


  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
  }

  .modal-container {
    padding: 36px 24px;
    margin: 20px;
  }

  .scroll-indicator {
    display: none;
  }

}

/* ===================================
   RESPONSIVE — MOBILE LANDSCAPE
   Handles iPhone/Android rotated to horizontal orientation.
   Short viewport height + wide width needs wider orbs and compact layout.
   =================================== */
@media (max-width: 926px) and (orientation: landscape) {
  /* Reduce hero height and padding for short landscape viewport */
  .hero {
    min-height: 100vh;
    padding: 80px 24px 40px;
  }

  /* Smaller headline in landscape so it doesn't dominate the short screen */
  .hero h1 {
    font-size: 36px;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 8px 16px;
    margin-bottom: 20px;
  }

  /* Reduce CTA bottom margin in landscape */
  .hero-cta {
    margin-bottom: 20px;
  }

  /* Stretch orbs wider in landscape to cover the full width of the screen */
  .hero-orb-1 {
    width: 60vw;
    height: 60vh;
    filter: blur(70px);
    top: -20%;
    left: -10%;
  }

  .hero-orb-2 {
    width: 50vw;
    height: 60vh;
    filter: blur(70px);
    bottom: -20%;
    right: -10%;
  }

  .hero-orb-3 {
    width: 40vw;
    height: 50vh;
    filter: blur(60px);
    top: 20%;
    right: 25%;
  }

  /* Hide scroll indicator in landscape - not enough vertical room */
  .scroll-indicator {
    display: none;
  }
}

/* ===================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   =================================== */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .btn-lg {
    padding: 16px 32px;
    font-size: 16px;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .step-number {
    font-size: 40px;
  }

  .coming-soon-badge {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
  }

  .coming-soon-text {
    align-items: center;
  }

}

/* ===================================
   REDUCED MOTION
   =================================== */
/* Accessibility: disable all animations and transitions for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  /* Kill all animations and transitions globally */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Show all animated elements immediately without slide effects */
  .animate-slide-up {
    opacity: 1;
    transform: none;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  /* Disable smooth scroll for instant navigation */
  html {
    scroll-behavior: auto;
  }
}

/* ===================================
   PERFORMANCE — GPU HINTS
   =================================== */
/* GPU compositing hints - promote animated elements to their own layer for smoother rendering */
.hero,
.feature-card,
.cta-shape,
.shape,
.animate-slide-up,
.animate-on-scroll,
.gradient-text {
  will-change: transform, opacity;
  -webkit-transform: translateZ(0);  /* Force GPU layer creation */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden; /* Prevent flickering on 3D transforms */
  backface-visibility: hidden;
}

/* ===================================
   NOISE TEXTURE OVERLAY
   =================================== */
/* Subtle noise texture overlay - adds grain/texture via SVG feTurbulence filter at 1.5% opacity */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ===================================
   LEGAL & INFORMATIONAL PAGES
   =================================== */
.legal-hero {
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 50% 30%, rgba(77, 68, 254, 0.12) 0%, transparent 70%),
    var(--dark);
}

.legal-hero h1 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.legal-hero .hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.legal-hero .legal-meta {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.legal-content {
  padding: 80px 24px;
  background: var(--dark);
}

.legal-content .container {
  max-width: 860px;
}

.legal-toc {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  margin-bottom: 60px;
}

.legal-toc h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-toc ol {
  list-style: none;
  counter-reset: toc-counter;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 32px;
}

.legal-toc ol li {
  counter-increment: toc-counter;
  margin-bottom: 10px;
  break-inside: avoid;
}

.legal-toc ol li a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition-fast);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.legal-toc ol li a::before {
  content: counter(toc-counter) ".";
  color: var(--primary);
  font-weight: 700;
  min-width: 24px;
}

.legal-toc ol li a:hover {
  color: var(--primary-light);
}

.legal-section {
  margin-bottom: 48px;
  scroll-margin-top: 100px;
}

.legal-section h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}

.legal-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 12px;
  margin-top: 28px;
}

.legal-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-section ul,
.legal-section ol {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-section ul li,
.legal-section ol li {
  margin-bottom: 8px;
}

.legal-section a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.legal-section a:hover {
  color: var(--accent);
}

.legal-section strong {
  color: var(--text-light);
  font-weight: 700;
}

.about-section {
  padding: 80px 24px;
  position: relative;
}

.about-section:nth-child(even) {
  background:
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(77, 68, 254, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-lighter) 50%, var(--dark) 100%);
}

.about-section:nth-child(odd) {
  background: var(--dark);
}

.about-section .section-header {
  margin-bottom: 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.about-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition-base);
}

.about-card:hover {
  transform: translateY(-6px);
  background: var(--glass-hover);
  box-shadow: 0 20px 60px rgba(77, 68, 254, 0.15);
}

.about-card .card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(77, 68, 254, 0.2), rgba(0, 212, 170, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.about-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 12px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.about-text-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-text-block p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-light);
  font-size: 14px;
  font-weight: 600;
  margin-top: 40px;
  transition: color var(--transition-fast);
}

.back-to-top:hover {
  color: var(--accent);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--primary-light);
}

@media (max-width: 1024px) {
  .legal-hero h1 {
    font-size: 44px;
  }

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

  .legal-toc ol {
    columns: 1;
  }
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 120px 20px 60px;
  }

  .legal-hero h1 {
    font-size: 36px;
    letter-spacing: -1.5px;
  }

  .legal-content {
    padding: 60px 20px;
  }

  .legal-toc {
    padding: 24px;
  }

  .legal-section h2 {
    font-size: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding: 60px 20px;
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .legal-hero h1 {
    font-size: 28px;
  }

  .legal-section h2 {
    font-size: 22px;
  }

  .about-text-block p {
    font-size: 16px;
  }
}
