/* ============================================
   Shiduchim Website - Bumble-Style Design
   Mobile-First | Modern | Clean
   ============================================ */

/* OpenDyslexic Font for Accessibility */
@font-face {
  font-family: 'OpenDyslexic';
  src: url('https://cdn.jsdelivr.net/npm/open-dyslexic@1.0.3/woff/OpenDyslexic-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenDyslexic';
  src: url('https://cdn.jsdelivr.net/npm/open-dyslexic@1.0.3/woff/OpenDyslexic-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* CSS Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Primary Brand Colors */
  --color-primary: #00D9A5;
  --color-secondary: #8B5CF6;

  /* Gradient */
  --gradient-brand: linear-gradient(135deg, #00D9A5 0%, #8B5CF6 100%);
  --gradient-brand-hover: linear-gradient(135deg, #00C495 0%, #7C4FE0 100%);

  /* Neutral Colors */
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-gray-50: #FAFAFA;
  --color-gray-100: #F4F4F5;
  --color-gray-200: #E4E4E7;
  --color-gray-300: #D4D4D8;
  --color-gray-400: #A1A1AA;
  --color-gray-500: #71717A;
  --color-gray-600: #52525B;
  --color-gray-700: #3F3F46;
  --color-gray-800: #27272A;
  --color-gray-900: #18181B;

  /* Accent variations */
  --color-primary-light: rgba(0, 217, 165, 0.1);
  --color-secondary-light: rgba(139, 92, 246, 0.1);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Container */
  --container-max: 1200px;
  --container-padding: 1rem;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.2);
}

/* ==================== BUTTON ATTENTION ANIMATIONS ==================== */
@keyframes buttonFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-3px) rotate(0.5deg);
  }
  50% {
    transform: translateY(-1px) rotate(0deg);
  }
  75% {
    transform: translateY(-4px) rotate(-0.5deg);
  }
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(102, 255, 247, 0.3);
  }
  50% {
    box-shadow: 0 6px 25px rgba(102, 255, 247, 0.5);
  }
}

@keyframes layerShift {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(2px, 2px);
  }
}

/* Apply floating animation to all CTA button wrappers */
.btn-layered-wrapper,
.hero__cta-btn-wrapper,
.mission__cta-wrapper,
.early-access__cta-wrapper,
.chat-feature__cta-wrapper {
  animation: buttonFloat 3s ease-in-out infinite;
}

/* Subtle pulse on the teal layer */
.btn-layered-wrapper::before,
.hero__cta-btn-wrapper::before,
.mission__cta-wrapper::before,
.early-access__cta-wrapper::before,
.chat-feature__cta-wrapper::before {
  animation: buttonPulse 2s ease-in-out infinite;
}

/* Pause animation on hover for interaction */
.btn-layered-wrapper:hover,
.hero__cta-btn-wrapper:hover,
.mission__cta-wrapper:hover,
.early-access__cta-wrapper:hover,
.chat-feature__cta-wrapper:hover {
  animation-play-state: paused;
}

.btn-layered-wrapper:hover::before,
.hero__cta-btn-wrapper:hover::before,
.mission__cta-wrapper:hover::before,
.early-access__cta-wrapper:hover::before,
.chat-feature__cta-wrapper:hover::before {
  animation-play-state: paused;
}

/* ==================== BUTTON BORDER TRAVEL ANIMATION ON HOVER ==================== */
.btn,
.btn-layered,
a.btn,
button.btn {
  position: relative;
  overflow: visible;
}

/* Full border that reveals with clip-path animation */
.btn::before,
.btn-layered::before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 3px solid #66fff7;
  border-radius: inherit;
  pointer-events: none;
  clip-path: polygon(0 0, 0 0, 0 0, 0 0, 0 0, 0 0);
  transition: none;
}

.btn:hover::before,
.btn-layered:hover::before {
  animation: borderDraw 0.8s ease-out forwards;
}

/* Clockwise border draw: top-left → top-right → bottom-right → bottom-left → back */
@keyframes borderDraw {
  0% {
    clip-path: polygon(0 0, 0 0, 0 0, 0 0, 0 0, 0 0);
  }
  25% {
    clip-path: polygon(0 0, 100% 0, 100% 0, 100% 0, 0 0, 0 0);
  }
  50% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 0 0, 0 0);
  }
  75% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 100%, 0 0);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 0, 0 0);
  }
}

/* ==================== HOW IT WORKS BLIP ANIMATION ==================== */
@keyframes blipIn {
  0% {
    opacity: 0.3;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(102, 255, 247, 0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    text-shadow: none;
  }
}

/* Active step styling on mobile - fade transitions handled in mobile media query */

/* ==================== LANGUAGE BUTTON ==================== */
.header__lang--mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid #000000;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  color: #000000;
  transition: all 0.3s ease;
}

.header__lang--mobile:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* ==================== BASE STYLES ==================== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: 1.6;
  color: var(--color-black);
  background: var(--color-white);
  overflow-x: hidden;
  max-width: 100vw;
}

main {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Section snap scrolling */
.hero,
.feature-shadchan,
.how-it-works,
.early-access,
.chat-feature,
.feature-match,
.testimonials,
.footer {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==================== UTILITIES ==================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==================== ANIMATED BACKGROUND WRAPPER ==================== */
.animated-bg-wrapper {
  position: relative;
  background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
}

.floating-lights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.light {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  animation: floatLight 20s ease-in-out infinite;
}

.light--1 {
  width: 400px;
  height: 400px;
  background: #66fff7;
  top: 10%;
  left: -10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.light--2 {
  width: 300px;
  height: 300px;
  background: #66fff7;
  top: 30%;
  right: -5%;
  animation-delay: -5s;
  animation-duration: 20s;
}

.light--3 {
  width: 250px;
  height: 250px;
  background: rgba(102, 255, 247, 0.6);
  top: 50%;
  left: 20%;
  animation-delay: -10s;
  animation-duration: 22s;
}

.light--4 {
  width: 350px;
  height: 350px;
  background: #66fff7;
  top: 70%;
  right: 15%;
  animation-delay: -15s;
  animation-duration: 28s;
}

.light--5 {
  width: 200px;
  height: 200px;
  background: rgba(102, 255, 247, 0.5);
  top: 85%;
  left: 5%;
  animation-delay: -8s;
  animation-duration: 18s;
}

.light--6 {
  width: 280px;
  height: 280px;
  background: #66fff7;
  top: 40%;
  left: 60%;
  animation-delay: -12s;
  animation-duration: 24s;
}

@keyframes floatLight {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(30px, -40px) scale(1.1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-20px, 30px) scale(0.9);
    opacity: 0.4;
  }
  75% {
    transform: translate(40px, 20px) scale(1.05);
    opacity: 0.35;
  }
}

/* Ensure all sections inside wrapper have transparent backgrounds */
.animated-bg-wrapper section {
  position: relative;
  z-index: 1;
}

/* Hide internal section backgrounds to show floating lights */
.animated-bg-wrapper .mission::before,
.animated-bg-wrapper .chat-feature::before {
  display: none;
}

.animated-bg-wrapper .feature-shadchan__bg,
.animated-bg-wrapper .feature-match__bg {
  display: none;
}

/* ==================== FLOATING STACKED SHAPES ==================== */
.floating-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  isolation: isolate;
  transform-style: flat;
  opacity: 0.6;
}

/* Ensure content stays above floating shapes */
.animated-bg-wrapper .container,
.hero .container {
  position: relative;
  z-index: 2;
}

/* Hero section shapes at full opacity */
.hero .floating-shape {
  opacity: 1;
}

/* Base layer (back) */
.floating-shape__layer {
  position: absolute;
  width: 80px;
  height: 80px;
  backface-visibility: hidden;
}

/* 3-layer shapes */
.floating-shape--3layer .floating-shape__layer--1 {
  top: 12px;
  left: 12px;
  z-index: 10;
}

.floating-shape--3layer .floating-shape__layer--2 {
  top: 6px;
  left: 6px;
  z-index: 20;
}

.floating-shape--3layer .floating-shape__layer--3 {
  top: 0;
  left: 0;
  z-index: 30;
}

/* 2-layer shapes */
.floating-shape--2layer .floating-shape__layer--1 {
  top: 8px;
  left: 8px;
  z-index: 10;
}

.floating-shape--2layer .floating-shape__layer--2 {
  top: 0;
  left: 0;
  z-index: 20;
}

/* Color variations */
.floating-shape__layer--white { background: #ffffff; }
.floating-shape__layer--teal { background: #66fff7; }
.floating-shape__layer--black { background: #000000; }

/* Triangle shapes */
.floating-shape--triangle .floating-shape__layer {
  width: 0;
  height: 0;
  background: transparent;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid currentColor;
}

.floating-shape--triangle .floating-shape__layer--white {
  border-bottom-color: #ffffff;
}
.floating-shape--triangle .floating-shape__layer--teal {
  border-bottom-color: #66fff7;
}
.floating-shape--triangle .floating-shape__layer--black {
  border-bottom-color: #000000;
}

/* Triangle size variations */
.floating-shape--triangle.floating-shape--sm .floating-shape__layer {
  border-left-width: 30px;
  border-right-width: 30px;
  border-bottom-width: 52px;
}
.floating-shape--triangle.floating-shape--md .floating-shape__layer {
  border-left-width: 50px;
  border-right-width: 50px;
  border-bottom-width: 86px;
}
.floating-shape--triangle.floating-shape--lg .floating-shape__layer {
  border-left-width: 70px;
  border-right-width: 70px;
  border-bottom-width: 120px;
}
.floating-shape--triangle.floating-shape--xl .floating-shape__layer {
  border-left-width: 90px;
  border-right-width: 90px;
  border-bottom-width: 155px;
}

/* Triangle layer offsets */
.floating-shape--triangle.floating-shape--3layer .floating-shape__layer--1 {
  top: 16px;
  left: 10px;
}
.floating-shape--triangle.floating-shape--3layer .floating-shape__layer--2 {
  top: 8px;
  left: 5px;
}
.floating-shape--triangle.floating-shape--3layer .floating-shape__layer--3 {
  top: 0;
  left: 0;
}
.floating-shape--triangle.floating-shape--2layer .floating-shape__layer--1 {
  top: 10px;
  left: 6px;
}
.floating-shape--triangle.floating-shape--2layer .floating-shape__layer--2 {
  top: 0;
  left: 0;
}

/* Size variations */
.floating-shape--sm .floating-shape__layer { width: 50px; height: 50px; }
.floating-shape--md .floating-shape__layer { width: 80px; height: 80px; }
.floating-shape--lg .floating-shape__layer { width: 120px; height: 120px; }
.floating-shape--xl .floating-shape__layer { width: 160px; height: 160px; }

/* Float animations */
.floating-shape--float1 {
  animation: shapeFloat1 8s ease-in-out infinite;
}

.floating-shape--float2 {
  animation: shapeFloat2 10s ease-in-out infinite;
}

.floating-shape--float3 {
  animation: shapeFloat3 12s ease-in-out infinite;
}

@keyframes shapeFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(15px, -20px) rotate(5deg); }
  50% { transform: translate(-10px, -10px) rotate(-3deg); }
  75% { transform: translate(20px, 10px) rotate(3deg); }
}

@keyframes shapeFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-20px, 15px) rotate(-5deg); }
  66% { transform: translate(15px, -15px) rotate(4deg); }
}

@keyframes shapeFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(10px, 20px) rotate(3deg); }
  40% { transform: translate(-15px, 10px) rotate(-4deg); }
  60% { transform: translate(20px, -10px) rotate(2deg); }
  80% { transform: translate(-10px, -20px) rotate(-2deg); }
}

/* Cross-section animation - moves from left to right */
@keyframes shapeCross {
  0% {
    left: -10%;
    top: 20%;
    transform: rotate(0deg);
  }
  25% {
    top: 40%;
    transform: rotate(10deg);
  }
  50% {
    top: 60%;
    transform: rotate(-5deg);
  }
  75% {
    top: 35%;
    transform: rotate(8deg);
  }
  100% {
    left: 95%;
    top: 25%;
    transform: rotate(0deg);
  }
}

.floating-shape--cross {
  animation: shapeCross 20s ease-in-out infinite alternate;
}

/* Responsive - adjust for mobile */
@media (max-width: 767px) {
  .floating-shape--hide-mobile {
    display: none;
  }

  /* Make shapes smaller and more subtle on mobile */
  .floating-shape {
    opacity: 0.35;
  }

  .floating-shape--sm .floating-shape__layer { width: 30px; height: 30px; }
  .floating-shape--md .floating-shape__layer { width: 40px; height: 40px; }
  .floating-shape--lg .floating-shape__layer { width: 55px; height: 55px; }
  .floating-shape--xl .floating-shape__layer { width: 70px; height: 70px; }

  /* Adjust layer offsets for smaller sizes */
  .floating-shape--3layer .floating-shape__layer--1 {
    top: 8px;
    left: 8px;
  }
  .floating-shape--3layer .floating-shape__layer--2 {
    top: 4px;
    left: 4px;
  }
  .floating-shape--2layer .floating-shape__layer--1 {
    top: 5px;
    left: 5px;
  }
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  border-radius: 0;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  border: none;
}

/* Primary button - matches hero layered button style */
.btn--primary {
  position: relative;
  background: #000000;
  color: #ffffff;
  box-shadow: 6px 6px 0 #66fff7, 12px 12px 0 #ffffff;
}

.btn--primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 #66fff7, 6px 6px 0 #ffffff;
}

/* ==================== LAYERED SQUARE BUTTON ==================== */
.btn-layered-wrapper {
  position: relative;
  display: inline-block;
}

.btn-layered-wrapper::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: 100%;
  height: 100%;
  background: #66fff7;
  z-index: 1;
}

.btn-layered-wrapper::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 0;
}

.btn-layered {
  position: relative;
  display: inline-block;
  background: #000000;
  color: #ffffff;
  border-radius: 0;
  padding: var(--space-4) var(--space-8);
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
  z-index: 2;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-layered:hover {
  transform: translate(3px, 3px);
}

.btn-layered-wrapper:hover::before {
  transform: translate(-2px, -2px);
}

.btn-layered-wrapper:hover::after {
  transform: translate(-3px, -3px);
}

/* Light variant - for dark backgrounds */
.btn-layered-wrapper--light::before {
  background: #66fff7;
}

.btn-layered-wrapper--light::after {
  background: #ffffff;
}

/* Dark variant - for light backgrounds */
.btn-layered-wrapper--dark::before {
  background: #66fff7;
}

.btn-layered-wrapper--dark::after {
  background: #000000;
}

.btn-layered-wrapper--dark .btn-layered {
  background: #ffffff;
  color: #000000;
}

/* Hero CTA - Layered square button with teal accent */
.hero__cta-btn-wrapper {
  position: relative;
  display: inline-block;
  margin-top: 30px;
}

/* Back layer - white, widest */
.hero__cta-btn-wrapper::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% + 8px);
  height: calc(100% + 4px);
  background: #ffffff;
  z-index: 0;
}

/* Middle layer - teal, wider than black */
.hero__cta-btn-wrapper::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% + 4px);
  height: calc(100% + 2px);
  background: #66fff7;
  z-index: 1;
}

/* Front layer - black with white text */
.hero__cta-btn {
  position: relative;
  background: #000000;
  color: #ffffff;
  border-radius: 0;
  padding: var(--space-4) var(--space-8);
  font-family: 'Bangers', cursive;
  font-weight: 400;
  font-size: 3rem;
  letter-spacing: 0.1em;
  z-index: 2;
  transition: transform 0.3s ease;
}

.hero__cta-btn:hover {
  background: #000000;
  transform: perspective(500px) rotateY(-5deg) rotateX(3deg);
  box-shadow: none;
}

/* ==================== HERO EMAIL CTA FORM ==================== */
.hero__email-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero__email-input-wrapper {
  display: flex;
  width: 100%;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hero__email-input-wrapper:focus-within {
  box-shadow: 0 6px 30px rgba(78, 205, 196, 0.3);
  transform: translateY(-2px);
}

.hero__email-input {
  flex: 1;
  border: none;
  padding: 16px 24px;
  font-size: 1rem;
  font-family: inherit;
  background: transparent;
  color: #000000;
  outline: none;
  min-width: 0;
}

.hero__email-input::placeholder {
  color: var(--color-gray-400);
  opacity: 1; /* Firefox fix */
}

.hero__email-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.hero__email-btn:hover {
  background: #4ECDC4;
}

.hero__email-btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.hero__email-btn:hover svg {
  transform: translateX(4px);
}

.hero__email-error {
  color: #FF6B6B;
  font-size: 0.875rem;
  min-height: 1.25rem;
  text-align: center;
}

/* Has error state */
.hero__email-input-wrapper.has-error {
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.hero__email-input-wrapper.has-error .hero__email-input {
  color: #FF6B6B;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .hero__email-input-wrapper {
    flex-direction: column;
    border-radius: 16px;
  }

  .hero__email-input {
    padding: 14px 20px;
    text-align: center;
  }

  .hero__email-btn {
    justify-content: center;
    border-radius: 0 0 16px 16px;
    padding: 14px 20px;
  }
}

/* ==================== STORE DOWNLOAD BUTTONS ==================== */
.store-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

@media (min-width: 480px) {
  .store-buttons {
    flex-direction: row;
    gap: var(--space-4);
  }
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: #000000;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #000000;
}

.store-btn:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.store-btn__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-btn__small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-btn__large {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

/* RTL support for store buttons */
body.rtl .store-btn {
  flex-direction: row-reverse;
}

body.rtl .store-btn__text {
  align-items: flex-end;
}

.hero__cta-btn:active {
  transform: perspective(500px) rotateY(5deg) rotateX(-3deg);
}

/* RTL button layers */
body.rtl .hero__cta-btn-wrapper::before {
  left: auto;
  right: 10px;
}

body.rtl .hero__cta-btn-wrapper::after {
  left: auto;
  right: 5px;
}

/* Mobile button - tighter layers */
@media (max-width: 768px) {
  .hero__cta-btn-wrapper::before {
    top: 6px;
    left: 6px;
    width: calc(100% + 4px);
    height: calc(100% + 2px);
  }

  .hero__cta-btn-wrapper::after {
    top: 3px;
    left: 3px;
    width: calc(100% + 2px);
    height: calc(100% + 1px);
  }

  body.rtl .hero__cta-btn-wrapper::before {
    left: auto;
    right: 6px;
  }

  body.rtl .hero__cta-btn-wrapper::after {
    left: auto;
    right: 3px;
  }

  .hero__cta-btn {
    font-size: 2rem;
    padding: var(--space-3) var(--space-6);
  }
}

/* Hero Content Area with Squares */
.hero__content-area {
  position: relative;
  z-index: 1;
}

.hero__squares {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  width: 500px;
  height: 200px;
  z-index: -1;
  pointer-events: none;
  margin-left: 10px;
  margin-top: 60px;
  display: none;
}

/* Base square with layered effect */
.hero__square {
  position: absolute;
  width: 120px;
  height: 120px;
  background: #000000;
}

/* Show squares only on tablet and up */
@media (min-width: 768px) {
  .hero__squares {
    display: block;
  }
}

/* Layered effect - white middle layer */
.hero__square::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 100%;
  height: 100%;
  background: #ffffff;
}

/* Layered effect - colored front layer */
.hero__square::after {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
}

/* Cyan square - first step, full size (120px) */
.hero__square--tiffany {
  width: 120px;
  height: 120px;
  top: 0;
  left: 0;
  z-index: 3;
}
.hero__square--tiffany::after {
  background: #66fff7;
}

/* Vibrant blue square - second step, 30% smaller (84px) */
.hero__square--green {
  width: 84px;
  height: 84px;
  top: 0;
  left: 140px;
  z-index: 2;
}
.hero__square--green::after {
  background: #2d92ff;
}

/* Steel blue square - third step, 30% smaller than green (59px) */
.hero__square--pink {
  width: 59px;
  height: 59px;
  top: 0;
  left: 244px;
  z-index: 1;
}
.hero__square--pink::after {
  background: #528bcc;
}

.btn--secondary {
  color: var(--color-white);
  background: var(--color-black);
}

.btn--secondary:hover {
  background: var(--color-gray-800);
  transform: translateY(-2px);
}

.btn--outline {
  color: var(--color-black);
  background: transparent;
  border: 2px solid var(--color-black);
}

.btn--outline:hover {
  color: var(--color-white);
  background: var(--color-black);
}

/* Link Arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-black);
  transition: gap var(--transition);
}

.link-arrow::after {
  content: '\2192';
  transition: transform var(--transition);
}

.link-arrow:hover {
  gap: var(--space-3);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: var(--space-4) 0;
  transition: background-color 0.3s ease;
}

/* Logo color change on scroll - only logo changes, header stays transparent */
.header--scrolled .header__logo-layer--back {
  color: #000000;
}

.header--scrolled .header__logo-layer--front {
  color: #0ABAB5;
}

/* RTL scrolled logo */
body.rtl .header--scrolled .header__logo-layer--back {
  color: #000000;
}

body.rtl .header--scrolled .header__logo-layer--front {
  color: #0ABAB5;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-text {
  font-family: 'Bangers', cursive;
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

/* Layered logo - 2 layers */
.header__logo--layered {
  position: relative;
  display: inline-block;
}

.header__logo-layer {
  font-family: 'Bangers', cursive;
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: 0.05em;
  display: block;
  white-space: nowrap;
}

.header__logo-layer--back {
  position: absolute;
  top: 2px;
  left: 2px;
  color: #ffffff;
  z-index: 1;
}

.header__logo-layer--front {
  position: relative;
  color: #000000;
  z-index: 2;
}

/* RTL layered logo */
body.rtl .header__logo-layer {
  font-family: 'Secular One', 'Heebo', sans-serif;
  font-size: var(--text-3xl);
  letter-spacing: 0;
}

body.rtl .header__logo-layer--back {
  left: auto;
  right: -2px;
  top: 2px;
}

/* Navigation pill container - Bumble style */
.header__nav {
  display: none;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: 50px;
}

.header__nav-link {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-black);
  padding: var(--space-2) var(--space-4);
  border-radius: 50px;
  transition: background var(--transition-fast);
}

.header__nav-link:hover {
  background: var(--color-gray-100);
}

.header__actions {
  display: none;
  align-items: center;
  gap: var(--space-3);
}

.header__lang {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2);
  color: var(--color-white);
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.header__lang:hover {
  opacity: 0.7;
}

/* Hide desktop language button on mobile */
@media (max-width: 768px) {
  .header__lang:not(.header__lang--mobile) {
    display: none;
  }
}

/* Language Dropdown */
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: var(--space-2);
  min-width: 160px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
  z-index: 1001;
  overflow: hidden;
}

.lang-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile language dropdown */
.lang-dropdown--mobile {
  position: absolute;
  top: 50px;
  right: 0;
  left: auto;
}

.lang-dropdown__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-gray-700);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lang-dropdown__item:hover {
  background: var(--color-gray-100);
}

.lang-dropdown__item.is-active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.lang-dropdown__flag {
  font-size: 1.2em;
}

.lang-dropdown__name {
  flex: 1;
}

/* Sign in button - black pill like Bumble */
.header__sign-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-white);
  background: var(--color-black);
  border-radius: 50px;
  transition: all var(--transition-fast);
}

.header__sign-in:hover {
  background: var(--color-gray-800);
  transform: translateY(-1px);
}

/* Mobile Menu Button */
.header__menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000000;
  transition: var(--transition);
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  padding: var(--space-8) var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 999;
  overflow-y: auto;
  overflow-x: hidden;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

/* Hide floating shapes - clean minimal design */
.mobile-menu__shape {
  display: none;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
  position: relative;
  z-index: 1;
}

.mobile-menu__link {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: #ffffff;
  text-decoration: none;
  padding: var(--space-3) var(--space-4);
  border-radius: 12px;
  transition: all var(--transition-fast);
  position: relative;
  display: inline-block;
}

.mobile-menu__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.mobile-menu__link:hover::before,
.mobile-menu__link:active::before {
  opacity: 1;
}

.mobile-menu__link:hover,
.mobile-menu__link:active {
  color: #66fff7;
  transform: translateX(8px);
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

/* Download button in mobile menu - constrained layers */
.mobile-menu__actions .btn-layered-wrapper {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.mobile-menu__actions .btn-layered-wrapper::before {
  width: 100%;
  height: 100%;
  top: 4px;
  left: 4px;
}

.mobile-menu__actions .btn-layered-wrapper::after {
  width: 100%;
  height: 100%;
  top: 8px;
  left: 8px;
}

body.rtl .mobile-menu__actions .btn-layered-wrapper::before {
  left: auto;
  right: 4px;
}

body.rtl .mobile-menu__actions .btn-layered-wrapper::after {
  left: auto;
  right: 8px;
}

.mobile-menu__actions .btn-layered {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

/* Register as Shadchan button - teal style */
.mobile-menu__actions .header__sign-in {
  color: #000000;
  font-weight: var(--font-bold);
  text-align: center;
  padding: var(--space-4);
  border-radius: 12px;
  background: #66fff7;
  transition: all var(--transition-fast);
}

.mobile-menu__actions .header__sign-in:hover {
  background: #81D8D0;
  transform: translateY(-2px);
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px var(--container-padding) var(--space-12);
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

/* Animated background container */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Floating squares */
.hero__pluses {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__plus {
  position: absolute;
  background: transparent;
  border: 2px solid #000000;
  animation: floatSquare 8s ease-in-out infinite;
}

.hero__plus--1 { top: 15%; left: 8%; width: 60px; height: 60px; animation-delay: 0s; border-color: #FF6B6B; }
.hero__plus--2 { top: 25%; right: 12%; width: 80px; height: 80px; animation-delay: 2s; border-color: #4ECDC4; }
.hero__plus--3 { top: 75%; right: 8%; width: 70px; height: 70px; animation-delay: 3s; border-color: #FDCB6E; }

@keyframes floatSquare {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Floating triangles container - hidden on mobile */
.hero__triangles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
}

/* Show triangles only on tablet and up */
@media (min-width: 768px) {
  .hero__triangles {
    display: block;
  }
}

/* Hero with illustrations layout */
.hero__content--with-illustrations {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  padding: 0 var(--space-4);
  position: relative;
}

/* Illustrations row - above the title */
.hero__illustrations-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-4);
  margin-bottom: -80px;
  position: relative;
  z-index: 10;
}

.hero__illustration {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__illustration--left {
  animation: heroFloat 4s ease-in-out infinite;
}

.hero__illustration--right {
  animation: heroFloat 4.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hero__illustration-img {
  width: auto;
  object-fit: contain;
}

/* Illustrations behind text */
.hero__illustrations-row {
  z-index: 1;
}

.hero__text--centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 1 auto;
  max-width: 600px;
  position: relative;
  z-index: 5;
}

.hero__text--centered .hero__content-area {
  align-items: center;
  text-align: center;
}

.hero__text--centered .store-buttons {
  justify-content: center;
}

/* Mobile - illustrations peek from sides, 50% visible */
@media (max-width: 767px) {
  .hero__illustrations-row {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    height: 440px;
    margin-bottom: 0;
    z-index: 1;
    pointer-events: none;
  }

  .hero__illustration-img {
    max-height: 440px;
  }

  /* Woman flipped to face center on mobile */
  .hero__illustration--left .hero__illustration-img {
    transform: scaleX(-1);
  }

  .hero__illustration--left {
    position: absolute;
    left: 0;
    animation: heroFloatLeft 4s ease-in-out infinite;
  }

  .hero__illustration--right {
    position: absolute;
    right: 0;
    animation: heroFloatRight 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
  }

  @keyframes heroFloatLeft {
    0%, 100% {
      transform: translateX(-55%) rotate(5deg) translateY(0);
    }
    50% {
      transform: translateX(-55%) rotate(5deg) translateY(-15px);
    }
  }

  @keyframes heroFloatRight {
    0%, 100% {
      transform: translateX(50%) scaleX(-1) rotate(35deg) translateY(0);
    }
    50% {
      transform: translateX(50%) scaleX(-1) rotate(35deg) translateY(-15px);
    }
  }

  .hero__text--centered {
    padding-top: 280px;
    z-index: 5;
  }
}

/* Tablet and Desktop - no flip, woman faces original direction */
@media (min-width: 768px) {
  .hero__illustration--left .hero__illustration-img {
    transform: none;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__illustration-img {
    max-height: 450px;
  }

  .hero__illustrations-row {
    margin-bottom: -120px;
  }
}

/* Desktop - large illustrations flowing into next section */
@media (min-width: 1024px) {
  .hero__illustration-img {
    max-height: 650px;
  }

  .hero__illustrations-row {
    margin-bottom: -180px;
  }
}

/* Large desktop - even bigger */
@media (min-width: 1280px) {
  .hero__illustration-img {
    max-height: 800px;
  }

  .hero__illustrations-row {
    margin-bottom: -220px;
  }
}

/* Extra large desktop */
@media (min-width: 1536px) {
  .hero__illustration-img {
    max-height: 900px;
  }

  .hero__illustrations-row {
    margin-bottom: -280px;
  }
}

/* Lottie animation carousel in hero */
.hero__lottie-carousel {
  position: relative;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
  overflow: hidden;
}

.hero__lottie-main {
  width: 280px;
  height: 280px;
  flex-shrink: 0;
}

.hero__lottie-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%) scale(0.8);
  transition: opacity 1.2s ease-in-out, transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero__lottie-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.hero__lottie-slide.exiting {
  opacity: 0;
  transform: translateX(-100%) scale(0.8);
}

/* Wind effect keyframes for smoother entrance */
@keyframes windEnter {
  0% {
    opacity: 0;
    transform: translateX(80px) scale(0.9) rotate(2deg);
    filter: blur(4px);
  }
  50% {
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
    filter: blur(0);
  }
}

@keyframes windExit {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
    filter: blur(0);
  }
  50% {
    filter: blur(1px);
  }
  100% {
    opacity: 0;
    transform: translateX(-80px) scale(0.9) rotate(-2deg);
    filter: blur(4px);
  }
}

.hero__lottie-slide.wind-enter {
  animation: windEnter 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero__lottie-slide.wind-exit {
  animation: windExit 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Base triangle shape */
.hero__triangle {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0.6;
  transition: transform 0.3s ease-out;
  animation: floatTriangle 8s ease-in-out infinite;
}

/* Triangle 1 - Large Tiffany blue */
.hero__triangle--1 {
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid #0ABAB5;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

/* Triangle 2 - Medium black */
.hero__triangle--2 {
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 45px solid #000000;
  top: 20%;
  right: 10%;
  animation-delay: -1s;
  animation-duration: 10s;
}

/* Triangle 3 - Small Tiffany blue */
.hero__triangle--3 {
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 26px solid #0ABAB5;
  top: 60%;
  left: 8%;
  animation-delay: -2s;
  animation-duration: 7s;
}

/* Triangle 4 - Large black */
.hero__triangle--4 {
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid #000000;
  bottom: 15%;
  right: 5%;
  animation-delay: -3s;
  animation-duration: 9s;
}

/* Triangle 5 - Medium Tiffany blue (inverted) */
.hero__triangle--5 {
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 52px solid #0ABAB5;
  top: 40%;
  left: 15%;
  animation-delay: -4s;
  animation-duration: 11s;
}

/* Triangle 6 - Small black */
.hero__triangle--6 {
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 31px solid #000000;
  top: 75%;
  right: 20%;
  animation-delay: -5s;
  animation-duration: 8s;
}

/* Triangle 7 - Medium Tiffany blue */
.hero__triangle--7 {
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 38px solid #0ABAB5;
  top: 30%;
  left: 60%;
  animation-delay: -6s;
  animation-duration: 12s;
}

/* Triangle 8 - Small black (inverted) */
.hero__triangle--8 {
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 21px solid #000000;
  bottom: 30%;
  left: 25%;
  animation-delay: -7s;
  animation-duration: 9s;
}

@keyframes floatTriangle {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
  }
  50% {
    transform: translateY(-10px) rotate(-3deg);
  }
  75% {
    transform: translateY(-25px) rotate(3deg);
  }
}

/* Sparkle effect using radial gradients */
.hero__sparkles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 90% 40%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 60% 20%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 70% 60%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 30% 50%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at 80% 10%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 50% 90%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 15% 15%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 85% 85%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at 45% 45%, rgba(255, 255, 255, 0.4), transparent);
  background-size: 100% 100%;
  animation: sparkle 8s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* Additional sparkle layer */
.hero__sparkles::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 25% 25%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(2px 2px at 75% 75%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 50% 10%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2px 2px at 10% 60%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 95% 30%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(2px 2px at 35% 80%, rgba(255, 255, 255, 0.7), transparent);
  animation: sparkle2 6s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes sparkle2 {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1.02) rotate(1deg);
  }
  50% {
    opacity: 0.9;
    transform: scale(1) rotate(-1deg);
  }
}

/* Gradient overlay for depth */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, rgba(0, 150, 145, 0.15) 100%);
  pointer-events: none;
}

/* Hero content - side by side layout */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  width: 100%;
  max-width: 1400px;
  z-index: 2;
  padding: var(--space-8) var(--container-padding);
}

/* Hero text section */
.hero__text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

/* Big title - SHIDUCHIM */
.hero__title {
  display: block;
  margin: 0;
  line-height: 1;
}

.hero__title-line {
  font-family: 'Alfa Slab One', cursive;
  font-size: clamp(3.25rem, 9vw, 6.5rem);
  font-weight: 400;
  color: #000000;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
  white-space: nowrap;
}

/* Layered hero title - 3 layers */
.hero__title--layered {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow: visible;
}

.hero__title-layer {
  font-family: 'Alfa Slab One', cursive;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
}

.hero__title-layer--back {
  position: absolute;
  top: 6px;
  left: 6px;
  color: #ffffff;
  z-index: 1;
  animation: assembleBack 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero__title-layer--middle {
  position: absolute;
  top: 3px;
  left: 3px;
  color: #66fff7;
  z-index: 2;
  animation: assembleMiddle 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s forwards;
}

.hero__title-layer--front {
  position: relative;
  color: #000000;
  z-index: 3;
  animation: assembleFront 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

/* Assembly animations - layers come together */
@keyframes assembleBack {
  0% {
    opacity: 0;
    transform: translate(60px, 60px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes assembleMiddle {
  0% {
    opacity: 0;
    transform: translate(-40px, 40px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

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

/* RTL adjustments for layered title */
body.rtl .hero__title-layer {
  font-family: 'Secular One', 'Heebo', sans-serif;
  font-size: clamp(5rem, 12vw, 9rem);
  letter-spacing: 0;
}

body.rtl .hero__title-layer--back {
  left: auto;
  right: -6px;
  top: 6px;
}

body.rtl .hero__title-layer--middle {
  left: auto;
  right: -3px;
  top: 3px;
}

/* Subtitle */
.hero__subtitle {
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.02em;
  border-top: 3px solid #000000;
  padding-top: 0.05em;
}

/* Bold subtitle variant */
.hero__subtitle--bold {
  font-weight: 700;
}

/* Layered subtitle - 3 layers */
.hero__subtitle--layered {
  position: relative;
  display: inline-block;
  border-top: none;
  padding-top: 0;
  margin-bottom: 4px; /* Account for offset of absolutely positioned layers */
  overflow: hidden; /* Clip the absolutely positioned back layers */
  padding-bottom: 3px; /* Extra space for the offset layers */
  padding-right: 3px; /* Extra space for the offset layers */
}

.hero__subtitle-layer {
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  display: block;
  white-space: nowrap; /* Prevent different wrapping in layers */
}

.hero__subtitle-layer--back {
  position: absolute;
  top: 2px;
  left: 2px;
  color: var(--color-teal);
  z-index: 1;
}

.hero__subtitle-layer--middle {
  display: none;
}

.hero__subtitle-layer--front {
  position: relative;
  color: #000000;
  z-index: 3;
}

/* RTL layered subtitle */
body.rtl .hero__subtitle-layer {
  font-family: 'Secular One', 'Heebo', sans-serif;
  letter-spacing: 0;
}

body.rtl .hero__subtitle-layer--back {
  left: auto;
  right: -2px;
  top: 2px;
}

body.rtl .hero__subtitle-layer--middle {
  left: auto;
  right: -1px;
  top: 1px;
}

/* Mobile - simple black text, no layers */
@media (max-width: 768px) {
  .hero__subtitle--layered {
    margin-bottom: 0;
    padding-bottom: 0;
    padding-right: 0;
    overflow: visible;
  }

  .hero__subtitle-layer--back,
  .hero__subtitle-layer--middle {
    display: none;
  }

  .hero__subtitle-layer--front {
    color: #000000;
  }
}

/* Secondary subtitle - plain black text */
.hero__subtitle-secondary {
  font-family: var(--font-family);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--font-normal);
  color: #000000;
  margin: 0;
  max-width: 400px;
  line-height: 1.5;
}

/* Card Roulette - single card display with layered effect */
.hero__carousel-3d {
  position: relative;
  width: 280px;
  height: 350px;
  z-index: 1;
  overflow: visible;
}

.hero__carousel-3d::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100%;
  height: 100%;
  background: #0ABAB5;
  z-index: -1;
}

.hero__carousel-3d::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: -2;
  box-shadow: 8px 8px 0 0 #000000;
}

/* All cards stacked in same position */
.hero__card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: var(--color-gray-200);
  opacity: 0;
  pointer-events: none;
}

/* Only front card visible */
.hero__card:nth-child(1) {
  opacity: 1;
  pointer-events: auto;
}

/* Dissolve transition and float animation for cards */
.hero__card {
  transition: opacity 2s ease-in-out;
  animation: cardFloat 3s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0deg); }
}

/* Tilt on hover/touch - whole carousel tilts */
.hero__carousel-3d {
  transition: transform 0.3s ease;
}

.hero__carousel-3d:hover,
.hero__carousel-3d:active {
  transform: rotate(-5deg) translateY(-5px);
}

.hero__carousel-3d:hover .hero__card,
.hero__carousel-3d:active .hero__card {
  animation: none !important;
}

/* Dark overlay - removes on hover */
.hero__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.hero__carousel-3d:hover .hero__card::after,
.hero__carousel-3d:active .hero__card::after {
  background: rgba(0, 0, 0, 0);
}

/* Card image with Tiffany blue border */
.hero__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid #0ABAB5;
  box-sizing: border-box;
  opacity: 0.9;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

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

@keyframes rotateBorder {
  from { --border-angle: 0deg; }
  to { --border-angle: 360deg; }
}

/* Animated border wrapper on image */
.hero__card-image {
  position: relative;
}

/* Glowing animated border on hover */
.hero__carousel-3d:hover .hero__card-image,
.hero__carousel-3d:active .hero__card-image {
  border: 6px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    conic-gradient(
      from var(--border-angle, 0deg),
      #000000 0%,
      #0ABAB5 15%,
      #0ABAB5 45%,
      #000000 60%,
      #000000 100%
    ) border-box;
  animation: rotateBorder 1.5s linear infinite;
  box-shadow:
    0 0 25px #0ABAB5,
    0 0 50px #0ABAB5,
    0 0 75px rgba(10, 186, 181, 0.7);
}

/* Opacity fade on top-left corner of image */
.hero__card-image {
  -webkit-mask-image: linear-gradient(135deg, transparent 0%, black 30%);
  mask-image: linear-gradient(135deg, transparent 0%, black 30%);
}

/* Remove opacity fade on hover */
.hero__carousel-3d:hover .hero__card-image,
.hero__carousel-3d:active .hero__card-image {
  -webkit-mask-image: none;
  mask-image: none;
}

/* Glossy effect on picture */
.hero__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.2) 25%,
    rgba(255, 255, 255, 0.05) 45%,
    transparent 55%,
    rgba(0, 0, 0, 0.08) 80%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Card overlay with profile info */
.hero__card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.hero__card-name {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero__card-job {
  font-size: var(--text-sm);
  font-weight: 900;
  color: #0ABAB5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__card-bio {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin: var(--space-1) 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero__card-tagline {
  font-size: var(--text-xs);
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-1);
}

/* CTA button in hero */
.hero__cta-btn {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: var(--space-4);
}

.hero__cta-btn:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* ==================== MISSION SECTION ==================== */
.mission {
  padding: var(--space-16) 0;
  background: transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Geometric pattern background */
.mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/geometry-shapes-seamless-pattern.png');
  background-size: 300px;
  background-repeat: repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.mission__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  position: relative;
  z-index: 1;
}

.mission__text-content {
  flex: 1;
  text-align: center;
}

/* Lottie animation in mission section */
.mission__lottie {
  width: 280px;
  height: 280px;
  flex-shrink: 0;
}

.mission__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #66fff7;
  margin-bottom: var(--space-4);
}

.mission__heading {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: var(--space-4);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.mission__text {
  font-size: var(--text-lg);
  color: var(--color-gray-300);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

/* Mission CTA - Layered square button for dark background */
.mission__cta-btn-wrapper {
  position: relative;
  display: inline-block;
  margin-top: var(--space-4);
}

.mission__cta-btn-wrapper::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 4px;
  width: 100%;
  height: calc(100% - 2px);
  background: #000000;
  z-index: 1;
}

.mission__cta-btn-wrapper::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100%;
  height: 100%;
  background: #66fff7;
  z-index: 0;
}

/* Mission button layers - larger on tablet+ */
@media (min-width: 768px) {
  .mission__cta-btn-wrapper::before {
    top: 8px;
    left: 6px;
  }
  .mission__cta-btn-wrapper::after {
    top: 12px;
    left: 12px;
  }
}

.mission__cta-btn {
  position: relative;
  background: #ffffff;
  color: #000000;
  border-radius: 0;
  padding: var(--space-3) var(--space-5);
  font-family: 'Bangers', cursive;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.1em;
  z-index: 2;
  transition: transform 0.3s ease;
}

/* Mission button - larger on tablet+ */
@media (min-width: 768px) {
  .mission__cta-btn {
    padding: var(--space-4) var(--space-8);
    font-size: 1.5rem;
  }
}

.mission__cta-btn:hover {
  background: #66fff7;
  color: #000000;
  transform: perspective(500px) rotateY(-5deg) rotateX(3deg);
  box-shadow: none;
}

.mission__cta-btn:active {
  transform: perspective(500px) rotateY(5deg) rotateX(-3deg);
}

/* RTL mission section - mobile */
body.rtl .mission__text-content {
  text-align: right;
}

body.rtl .mission__heading {
  margin-left: auto;
  margin-right: 0;
}

body.rtl .mission__text {
  margin-left: auto;
  margin-right: 0;
}

/* ==================== EARLY ACCESS SECTION ==================== */
.early-access {
  padding: var(--space-16) 0;
  background: transparent;
  text-align: center;
  position: relative;
  z-index: 1;
}

.early-access__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.early-access__content {
  max-width: 600px;
}

.early-access__heading {
  font-family: 'Bangers', cursive;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}

.early-access__text {
  font-size: var(--text-lg);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  font-weight: var(--font-medium);
}

.early-access__description {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: var(--font-normal);
}

/* Early Access CTA - Layered square button (same as hero) */
.early-access__cta-btn-wrapper {
  position: relative;
  display: inline-block;
  margin-top: var(--space-2);
}

.early-access__cta-btn-wrapper::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 4px;
  width: 100%;
  height: calc(100% - 2px);
  background: #ffffff;
  z-index: 1;
}

.early-access__cta-btn-wrapper::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 0;
}

.early-access__cta-btn {
  position: relative;
  background: #000000;
  color: #ffffff;
  border-radius: 0;
  padding: var(--space-3) var(--space-5);
  font-family: 'Bangers', cursive;
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  z-index: 2;
  transition: transform 0.3s ease;
}

.early-access__cta-btn:hover {
  background: #000000;
  transform: perspective(500px) rotateY(-5deg) rotateX(3deg);
  box-shadow: none;
}

.early-access__cta-btn:active {
  transform: perspective(500px) rotateY(5deg) rotateX(-3deg);
}

/* Early Access - larger on tablet+ */
@media (min-width: 768px) {
  .early-access {
    padding: var(--space-20) 0;
  }

  .early-access__cta-btn-wrapper::before {
    top: 8px;
    left: 6px;
  }

  .early-access__cta-btn-wrapper::after {
    top: 12px;
    left: 12px;
  }

  .early-access__cta-btn {
    padding: var(--space-4) var(--space-8);
    font-size: 1.8rem;
  }
}

@media (min-width: 1024px) {
  .early-access {
    padding: var(--space-24) 0;
  }
}

/* Gender Selection Cards */
.early-access__gender-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
  width: 100%;
  max-width: 500px;
}

.early-access__gender-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border: 3px solid var(--color-black);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.early-access__gender-card::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: 100%;
  height: 100%;
  background: var(--color-black);
  z-index: -1;
  transition: all var(--transition);
}

.early-access__gender-card:hover {
  transform: translate(-3px, -3px);
}

.early-access__gender-card:hover::after {
  top: 9px;
  left: 9px;
}

.early-access__gender-card--female {
  border-color: #000000;
}

.early-access__gender-card--female::after {
  background: #66fff7;
}

.early-access__gender-card--male {
  border-color: #000000;
}

.early-access__gender-card--male::after {
  background: #4a9fff;
}

.early-access__gender-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--color-black);
}

.early-access__gender-icon svg {
  width: 100%;
  height: 100%;
}

.early-access__gender-label {
  flex: 1;
  font-family: 'Bangers', cursive;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-black);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.early-access__gender-arrow {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-black);
  transition: transform var(--transition);
}

.early-access__gender-card:hover .early-access__gender-arrow {
  transform: translateX(5px);
}

/* Tablet+ - cards side by side */
@media (min-width: 768px) {
  .early-access__gender-cards {
    flex-direction: row;
    gap: var(--space-6);
    max-width: 700px;
  }

  .early-access__gender-card {
    flex: 1;
    flex-direction: column;
    text-align: center;
    padding: var(--space-6) var(--space-4);
    gap: var(--space-3);
  }

  .early-access__gender-icon {
    width: 64px;
    height: 64px;
  }

  .early-access__gender-label {
    font-size: 1.5rem;
  }

  .early-access__gender-arrow {
    position: absolute;
    bottom: var(--space-3);
    right: var(--space-3);
  }
}

/* RTL Early Access */
body.rtl .early-access__heading {
  font-family: 'Secular One', 'Heebo', sans-serif;
}

body.rtl .early-access__gender-label {
  font-family: 'Secular One', 'Heebo', sans-serif;
}

body.rtl .early-access__gender-arrow {
  transform: rotate(180deg);
}

body.rtl .early-access__gender-card:hover .early-access__gender-arrow {
  transform: rotate(180deg) translateX(5px);
}

/* ==================== HOW IT WORKS SECTION ==================== */
.how-it-works {
  padding: var(--space-16) 0;
  background: transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.how-it-works__heading {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-black);
  margin-bottom: var(--space-2);
}

.how-it-works__subheading {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  margin-bottom: var(--space-10);
}

.how-it-works__screenshots {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-4) 0;
  scrollbar-width: none;
}

.how-it-works__screenshots::-webkit-scrollbar {
  display: none;
}

.how-it-works__phone {
  flex: 0 0 200px;
  scroll-snap-align: center;
  background: var(--color-black);
  border-radius: 24px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}

.how-it-works__phone:hover {
  transform: translateY(-8px);
}

.how-it-works__phone img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* Step card styling */
.how-it-works__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  flex: 0 0 200px;
  scroll-snap-align: center;
}

.how-it-works__step .how-it-works__phone {
  flex: none;
}

.how-it-works__step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-tiffany), var(--color-tiffany-dark));
  color: var(--color-black);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 217, 165, 0.3);
}

.how-it-works__step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-black);
  margin: 0;
  line-height: 1.2;
}

.how-it-works__step-desc {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  margin: 0;
  line-height: 1.4;
  max-width: 180px;
}

/* Carousel for step 1 - cycling images */
.how-it-works__phone--carousel {
  position: relative;
}

.how-it-works__phone--carousel .carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.08s ease-in-out;
}

.how-it-works__phone--carousel .carousel-img:first-child {
  position: relative;
}

.how-it-works__phone--carousel .carousel-img--active {
  opacity: 1;
}

/* Phone mockup How It Works */
.how-it-works--phones {
  background: #ffffff;
  padding: var(--space-20) 0;
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100vw;
  position: relative;
  z-index: 1;
}

.how-it-works--phones > .container {
  overflow: visible;
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.how-it-works--phones .how-it-works__heading {
  color: var(--color-black);
  font-family: 'Anton', sans-serif;
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  position: relative;
  display: inline-block;
}

.how-it-works--phones .how-it-works__subheading {
  color: var(--color-gray-600);
  font-size: var(--text-xl);
  margin-bottom: var(--space-16);
  font-weight: var(--font-medium);
}

/* Falling plus signs background */
.how-it-works__falling-pluses {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.how-it-works__plus {
  position: absolute;
  font-size: 24px;
  font-weight: bold;
  opacity: 0.6;
  animation: fallDown linear infinite;
}

.how-it-works__plus--1 { left: 5%; font-size: 20px; color: #FF6B6B; animation-duration: 8s; animation-delay: 0s; }
.how-it-works__plus--2 { left: 15%; font-size: 28px; color: #4ECDC4; animation-duration: 10s; animation-delay: 1s; }
.how-it-works__plus--3 { left: 25%; font-size: 18px; color: #FDCB6E; animation-duration: 7s; animation-delay: 2s; }
.how-it-works__plus--4 { left: 35%; font-size: 32px; color: #A29BFE; animation-duration: 12s; animation-delay: 0.5s; }
.how-it-works__plus--5 { left: 45%; font-size: 22px; color: #FF6B6B; animation-duration: 9s; animation-delay: 3s; }
.how-it-works__plus--6 { left: 55%; font-size: 26px; color: #4ECDC4; animation-duration: 11s; animation-delay: 1.5s; }
.how-it-works__plus--7 { left: 65%; font-size: 20px; color: #FDCB6E; animation-duration: 8s; animation-delay: 2.5s; }
.how-it-works__plus--8 { left: 75%; font-size: 30px; color: #A29BFE; animation-duration: 10s; animation-delay: 0.8s; }
.how-it-works__plus--9 { left: 85%; font-size: 24px; color: #FF6B6B; animation-duration: 9s; animation-delay: 1.8s; }
.how-it-works__plus--10 { left: 95%; font-size: 18px; color: #4ECDC4; animation-duration: 7s; animation-delay: 3.5s; }
.how-it-works__plus--11 { left: 10%; font-size: 16px; color: #FDCB6E; animation-duration: 11s; animation-delay: 4s; }
.how-it-works__plus--12 { left: 30%; font-size: 22px; color: #A29BFE; animation-duration: 8s; animation-delay: 2.2s; }
.how-it-works__plus--13 { left: 50%; font-size: 28px; color: #FF6B6B; animation-duration: 10s; animation-delay: 1.2s; }
.how-it-works__plus--14 { left: 70%; font-size: 20px; color: #4ECDC4; animation-duration: 9s; animation-delay: 3.2s; }
.how-it-works__plus--15 { left: 90%; font-size: 26px; color: #FDCB6E; animation-duration: 12s; animation-delay: 0.3s; }

@keyframes fallDown {
  0% {
    transform: translateY(-50px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(calc(100vh + 50px)) rotate(360deg);
    opacity: 0;
  }
}

/* Decorative triangles from sides */
.how-it-works__triangle {
  position: absolute;
  width: 0;
  height: 0;
  z-index: 1;
  pointer-events: none;
}

/* Triangle 1 - Left side, pointing right, teal */
.how-it-works__triangle--1 {
  left: -20px;
  top: 25%;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 180px solid #4ECDC4;
  transform: rotate(-15deg);
  opacity: 0.7;
}

/* Triangle 2 - Right side, pointing left, coral */
.how-it-works__triangle--2 {
  right: -20px;
  top: 50%;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 150px solid #FF6B6B;
  transform: rotate(20deg);
  opacity: 0.6;
}

/* Triangle 3 - Left side lower, pointing right, purple */
.how-it-works__triangle--3 {
  left: -30px;
  bottom: 20%;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 200px solid #A29BFE;
  transform: rotate(10deg);
  opacity: 0.5;
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

.how-it-works__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.how-it-works__phone-wrapper {
  position: relative;
  margin-bottom: var(--space-6);
}

.how-it-works__media-wrapper {
  position: relative;
  margin-bottom: var(--space-6);
}

/* Hide overlay titles on desktop (shown only on mobile) */
.how-it-works__overlay-title-wrapper {
  display: none;
}

.how-it-works__step-gif,
.how-it-works__step-video {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 16px;
}

.how-it-works__step-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-tiffany), var(--color-tiffany-dark));
  color: var(--color-black);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 217, 165, 0.5);
  z-index: 10;
}

.how-it-works__phone-frame {
  background: #1a1a1a;
  border-radius: 32px;
  padding: 8px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.how-it-works__step-item:hover .how-it-works__phone-frame {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 35px 60px -15px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 217, 165, 0.3),
    0 0 30px rgba(0, 217, 165, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.how-it-works__phone-screen {
  width: 180px;
  height: 390px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.how-it-works__phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Fading images animation */
.how-it-works__phone-screen--fade {
  position: relative;
}

.how-it-works__phone-screen--fade .fade-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.how-it-works__phone-screen--fade .fade-img:first-child {
  position: relative;
}

.how-it-works__phone-screen--fade .fade-img--active {
  opacity: 1;
}

.how-it-works__step-text {
  max-width: 200px;
}

.how-it-works__step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-black);
  margin: 0 0 var(--space-2) 0;
}

.how-it-works__step-desc {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  margin: 0;
  line-height: 1.5;
}

/* Hide mobile elements on desktop */
.how-it-works__scroll-indicator,
.how-it-works__swipe-hint {
  display: none;
}

/* Tablet responsive */
@media (max-width: 1024px) {
  .how-it-works__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
  }

  .how-it-works__phone-screen {
    width: 200px;
    height: 433px;
  }
}

/* Mobile responsive - Single step with fade transitions */
@media (max-width: 768px) {
  .how-it-works--phones {
    padding: var(--space-10) 0;
    overflow: hidden;
  }

  .how-it-works--phones .how-it-works__heading {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .how-it-works--phones .how-it-works__subheading {
    margin-bottom: var(--space-8);
    font-size: var(--text-base);
  }

  .how-it-works__steps {
    display: block;
    position: relative;
    min-height: 400px;
    padding: 0 var(--container-padding);
  }

  .how-it-works__step-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 var(--space-4);
  }

  .how-it-works__step-item.step-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
  }

  .how-it-works__phone-screen {
    width: 180px;
    height: 390px;
  }

  .how-it-works__step-gif {
    max-height: 300px;
  }

  /* Media and phone wrappers are relative for title overlay */
  .how-it-works__media-wrapper,
  .how-it-works__phone-wrapper {
    position: relative;
    overflow: visible;
  }

  /* Hide step text below video on mobile */
  .how-it-works__step-text {
    display: none;
  }

  /* Overlay title wrapper - bubble on bottom left corner, 50% overflow */
  .how-it-works__step-item .how-it-works__overlay-title-wrapper {
    display: block;
    position: absolute;
    bottom: -45px;
    left: -45px;
    z-index: 10;
    pointer-events: none;
    transform: scale(0);
    opacity: 0;
  }

  /* The title text - black circle bubble */
  .how-it-works__step-item .how-it-works__overlay-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: #000000;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50%;
    text-align: center;
  }

  /* Animation for bubble appear and pop */
  .how-it-works__step-item.step-active .how-it-works__overlay-title-wrapper {
    animation: bubblePop 2.5s ease-out forwards;
    animation-delay: 0.3s;
  }

  /* Text color bleep animation */
  .how-it-works__step-item.step-active .how-it-works__overlay-title {
    animation: textBleep 0.4s ease-in-out infinite;
    animation-delay: 0.3s;
  }

  @keyframes bubblePop {
    0% {
      transform: scale(0);
      opacity: 0;
    }
    15% {
      transform: scale(1.15);
      opacity: 1;
    }
    25% {
      transform: scale(0.95);
      opacity: 1;
    }
    35% {
      transform: scale(1);
      opacity: 1;
    }
    75% {
      transform: scale(1);
      opacity: 1;
    }
    90% {
      transform: scale(1.1);
      opacity: 1;
    }
    100% {
      transform: scale(0);
      opacity: 0;
    }
  }

  @keyframes textBleep {
    0%, 100% {
      color: #4ECDC4;
    }
    50% {
      color: #ffffff;
    }
  }

  /* Scroll indicator dots - now clickable */
  .how-it-works__scroll-indicator {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-6);
  }

  .how-it-works__scroll-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-gray-300);
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .how-it-works__scroll-dot--active {
    background: #4ECDC4;
    transform: scale(1.3);
  }

  /* Hide swipe hint on mobile - no longer needed */
  .how-it-works__swipe-hint {
    display: none;
  }

  @keyframes swipeHint {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
  }

  @keyframes swipeArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
  }

  /* Show mobile elements */
  .how-it-works__scroll-indicator {
    display: flex;
  }
}

/* Sequential animation on scroll */
.how-it-works__step-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.how-it-works__step-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for sequential reveal */
.how-it-works__step-item:nth-child(1) { transition-delay: 0s; }
.how-it-works__step-item:nth-child(2) { transition-delay: 0.15s; }
.how-it-works__step-item:nth-child(3) { transition-delay: 0.3s; }
.how-it-works__step-item:nth-child(4) { transition-delay: 0.45s; }

/* Counter animation for step badges */
.how-it-works__step-badge {
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.how-it-works__step-item.is-visible .how-it-works__step-badge {
  transform: scale(1);
}

.how-it-works__step-item:nth-child(1).is-visible .how-it-works__step-badge { transition-delay: 0.2s; }
.how-it-works__step-item:nth-child(2).is-visible .how-it-works__step-badge { transition-delay: 0.35s; }
.how-it-works__step-item:nth-child(3).is-visible .how-it-works__step-badge { transition-delay: 0.5s; }
.how-it-works__step-item:nth-child(4).is-visible .how-it-works__step-badge { transition-delay: 0.65s; }

/* ==================== CHAT FEATURE SECTION ==================== */
.chat-feature {
  padding: var(--space-16) 0;
  background: transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Geometric pattern background */
.chat-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/geometry-shapes-seamless-pattern.png');
  background-size: 300px;
  background-repeat: repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.chat-feature__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-10);
  position: relative;
  z-index: 1;
}

.chat-feature__text-content {
  flex: 1;
  text-align: center;
}

.chat-feature__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #66fff7;
  margin-bottom: var(--space-4);
}

.chat-feature__heading {
  font-family: 'Bangers', cursive;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-white);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.chat-feature__text {
  font-size: var(--text-lg);
  color: var(--color-gray-300);
  max-width: 550px;
  margin: 0 auto var(--space-6);
  line-height: 1.7;
}

.chat-feature__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
  text-align: left;
  display: inline-block;
}

.chat-feature__benefits li {
  font-size: var(--text-base);
  color: var(--color-white);
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  position: relative;
}

.chat-feature__benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #66fff7;
  font-weight: bold;
}

/* Chat Feature CTA - Layered button for dark bg */
.chat-feature__cta-btn-wrapper {
  position: relative;
  display: inline-block;
  margin-top: var(--space-2);
}

.chat-feature__cta-btn-wrapper::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 4px;
  width: 100%;
  height: calc(100% - 2px);
  background: #000000;
  z-index: 1;
}

.chat-feature__cta-btn-wrapper::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100%;
  height: 100%;
  background: #66fff7;
  z-index: 0;
}

.chat-feature__cta-btn {
  position: relative;
  background: #ffffff;
  color: #000000;
  border-radius: 0;
  padding: var(--space-3) var(--space-5);
  font-family: 'Bangers', cursive;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.1em;
  z-index: 2;
  transition: transform 0.3s ease;
}

.chat-feature__cta-btn:hover {
  background: #66fff7;
  color: #000000;
  transform: perspective(500px) rotateY(-5deg) rotateX(3deg);
  box-shadow: none;
}

/* Phone Screenshots */
.chat-feature__phones {
  position: relative;
  width: 280px;
  height: 400px;
}

.chat-feature__phone {
  position: absolute;
  background: var(--color-black);
  border-radius: 24px;
  padding: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  /* GPU acceleration for smooth animations */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.chat-feature__phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  background: var(--color-gray-800);
}

.chat-feature__phone--back {
  width: 180px;
  height: 320px;
  top: 0;
  left: 0;
  z-index: 1;
  animation: phoneSwapBack 10s ease-in-out infinite;
}

.chat-feature__phone--front {
  width: 200px;
  height: 360px;
  bottom: 0;
  right: 0;
  z-index: 2;
  animation: phoneSwapFront 10s ease-in-out infinite;
}

/* Phone swap animation - GPU accelerated with translate3d */
@keyframes phoneSwapBack {
  0%, 40% {
    transform: translate3d(0, 0, 0) rotate(-8deg);
    z-index: 1;
    opacity: 1;
  }
  50% {
    transform: translate3d(50px, 40px, 50px) rotate(0deg);
    z-index: 3;
    opacity: 1;
  }
  60%, 100% {
    transform: translate3d(100px, 80px, 0) rotate(5deg);
    z-index: 2;
    opacity: 1;
  }
}

@keyframes phoneSwapFront {
  0%, 40% {
    transform: translate3d(0, 0, 0) rotate(5deg);
    z-index: 2;
    opacity: 1;
  }
  50% {
    transform: translate3d(-50px, -40px, 50px) rotate(0deg);
    z-index: 3;
    opacity: 1;
  }
  60%, 100% {
    transform: translate3d(-100px, -80px, 0) rotate(-8deg);
    z-index: 1;
    opacity: 1;
  }
}

/* Chat Feature - tablet+ */
@media (min-width: 768px) {
  .chat-feature {
    padding: var(--space-24) 0;
  }

  .chat-feature__container {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-16);
  }

  .chat-feature__text-content {
    text-align: left;
    flex: 1;
  }

  .chat-feature__benefits {
    display: block;
  }

  .chat-feature__cta-btn-wrapper::before {
    top: 8px;
    left: 6px;
  }

  .chat-feature__cta-btn-wrapper::after {
    top: 12px;
    left: 12px;
  }

  .chat-feature__cta-btn {
    padding: var(--space-4) var(--space-8);
    font-size: 1.5rem;
  }

  .chat-feature__phones {
    width: 340px;
    height: 450px;
    flex-shrink: 0;
  }

  .chat-feature__phone--back {
    width: 220px;
    height: 380px;
  }

  .chat-feature__phone--front {
    width: 240px;
    height: 420px;
  }

  @keyframes phoneSwapBack {
    0%, 40% {
      transform: translate3d(0, 0, 0) rotate(-8deg);
      z-index: 1;
    }
    50% {
      transform: translate3d(60px, 35px, 50px) rotate(0deg);
      z-index: 3;
    }
    60%, 100% {
      transform: translate3d(120px, 70px, 0) rotate(5deg);
      z-index: 2;
    }
  }

  @keyframes phoneSwapFront {
    0%, 40% {
      transform: translate3d(0, 0, 0) rotate(5deg);
      z-index: 2;
    }
    50% {
      transform: translate3d(-60px, -35px, 50px) rotate(0deg);
      z-index: 3;
    }
    60%, 100% {
      transform: translate3d(-120px, -70px, 0) rotate(-8deg);
      z-index: 1;
    }
  }
}

@media (min-width: 1024px) {
  .chat-feature__container {
    gap: var(--space-32);
  }

  .chat-feature__phones {
    width: 400px;
    height: 500px;
  }

  .chat-feature__phone--back {
    width: 260px;
    height: 420px;
  }

  .chat-feature__phone--front {
    width: 280px;
    height: 460px;
  }

  @keyframes phoneSwapBack {
    0%, 40% {
      transform: translate3d(0, 0, 0) rotate(-8deg);
      z-index: 1;
    }
    50% {
      transform: translate3d(70px, 40px, 50px) rotate(0deg);
      z-index: 3;
    }
    60%, 100% {
      transform: translate3d(140px, 80px, 0) rotate(5deg);
      z-index: 2;
    }
  }

  @keyframes phoneSwapFront {
    0%, 40% {
      transform: translate3d(0, 0, 0) rotate(5deg);
      z-index: 2;
    }
    50% {
      transform: translate3d(-70px, -40px, 50px) rotate(0deg);
      z-index: 3;
    }
    60%, 100% {
      transform: translate3d(-140px, -80px, 0) rotate(-8deg);
      z-index: 1;
    }
  }
}

/* RTL Chat Feature */
body.rtl .chat-feature__text-content {
  text-align: right;
}

body.rtl .chat-feature__benefits {
  text-align: right;
}

body.rtl .chat-feature__benefits li {
  padding-left: 0;
  padding-right: var(--space-6);
}

body.rtl .chat-feature__benefits li::before {
  left: auto;
  right: 0;
}

body.rtl .chat-feature__heading {
  font-family: 'Secular One', 'Heebo', sans-serif;
}

@media (min-width: 768px) {
  body.rtl .chat-feature__container {
    flex-direction: row-reverse;
  }
}

/* ==================== FEATURE MATCH SECTION ==================== */
.feature-match {
  padding: var(--space-20) 0;
  background: transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-match__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.feature-match__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.feature-match__glow--1 {
  width: 500px;
  height: 500px;
  background: #66fff7;
  top: -150px;
  left: -100px;
  animation: floatGlow 8s ease-in-out infinite;
}

.feature-match__glow--2 {
  width: 400px;
  height: 400px;
  background: #66fff7;
  bottom: -100px;
  right: -100px;
  animation: floatGlow 10s ease-in-out infinite reverse;
}

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

.feature-match__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-10);
  position: relative;
  z-index: 1;
}

.feature-match__content {
  max-width: 600px;
}

.feature-match__label {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(102, 255, 247, 0.15);
  border: 1px solid rgba(102, 255, 247, 0.3);
  border-radius: 50px;
  color: #66fff7;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.feature-match__heading {
  font-family: 'Bangers', cursive;
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--color-white);
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: var(--space-4);
  background: linear-gradient(135deg, #ffffff 0%, #66fff7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-match__text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.feature-match__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 16px 32px;
  background: #66fff7;
  color: var(--color-black);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(102, 255, 247, 0.3);
}

.feature-match__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(102, 255, 247, 0.4);
}

.feature-match__animation {
  width: 100%;
  max-width: 400px;
}

.feature-match__lottie {
  width: 100%;
  height: auto;
  max-height: 400px;
}

/* RTL support for feature match */
body.rtl .feature-match__heading {
  font-family: 'Secular One', 'Heebo', sans-serif;
}

body.rtl .feature-match__label {
  font-family: 'Heebo', sans-serif;
}

/* Desktop layout */
@media (min-width: 1024px) {
  .feature-match__container {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .feature-match__content {
    flex: 1;
    max-width: 550px;
  }

  .feature-match__animation {
    flex: 1;
    max-width: 500px;
  }

  .feature-match__lottie {
    max-height: 500px;
  }

  body.rtl .feature-match__container {
    flex-direction: row-reverse;
    text-align: right;
  }
}

/* ==================== FEATURE SHADCHAN SECTION ==================== */
.feature-shadchan {
  padding: var(--space-20) 0;
  background: transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-shadchan__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.feature-shadchan__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.feature-shadchan__glow--1 {
  width: 500px;
  height: 500px;
  background: #66fff7;
  top: -150px;
  right: -100px;
  animation: floatGlow 8s ease-in-out infinite;
}

.feature-shadchan__glow--2 {
  width: 400px;
  height: 400px;
  background: #66fff7;
  bottom: -100px;
  left: -100px;
  animation: floatGlow 10s ease-in-out infinite reverse;
}

.feature-shadchan__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-10);
  position: relative;
  z-index: 1;
}

.feature-shadchan__content {
  max-width: 600px;
}

/* Mobile - content above video */
@media (max-width: 767px) {
  .feature-shadchan__content {
    order: 1;
  }

  .feature-shadchan__media {
    order: 2;
  }
}

.feature-shadchan__label {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(102, 255, 247, 0.15);
  border: 1px solid rgba(102, 255, 247, 0.3);
  border-radius: 50px;
  color: #66fff7;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.feature-shadchan__heading {
  font-family: 'Bangers', cursive;
  font-size: clamp(3rem, 8vw, 5rem);
  color: #66fff7;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.feature-shadchan__text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.feature-shadchan__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 16px 32px;
  background: #66fff7;
  color: var(--color-black);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(102, 255, 247, 0.3);
}

.feature-shadchan__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(102, 255, 247, 0.4);
}

.feature-shadchan__phone {
  width: 100%;
  max-width: 280px;
}

.feature-shadchan__phone-frame {
  position: relative;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.feature-shadchan__screen {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
}

.feature-shadchan__media {
  flex-shrink: 0;
}

.feature-shadchan__video {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* RTL support for feature shadchan */
body.rtl .feature-shadchan__heading {
  font-family: 'Secular One', 'Heebo', sans-serif;
}

body.rtl .feature-shadchan__label {
  font-family: 'Heebo', sans-serif;
}

/* Desktop layout */
@media (min-width: 1024px) {
  .feature-shadchan__container {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .feature-shadchan__content {
    flex: 1;
    max-width: 550px;
    order: 2;
  }

  .feature-shadchan__phone {
    flex: 0 0 auto;
    max-width: 320px;
    order: 1;
  }

  body.rtl .feature-shadchan__container {
    flex-direction: row-reverse;
    text-align: right;
  }
}

/* ==================== TWO-COLUMN SECTIONS ==================== */
.section {
  padding: var(--space-16) 0;
  position: relative;
  z-index: 1;
}

.section--alt {
  background: var(--color-gray-50);
}

.section--testimonial {
  background: var(--color-primary-light);
}

.section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

.section__content {
  order: 2;
}

.section__image {
  order: 1;
}

.section__image img {
  width: 100%;
  border-radius: 16px;
}

.section__badge {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--color-gray-300);
  margin-bottom: var(--space-4);
}

.section__badge svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-gray-600);
}

.section__heading {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-black);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.section__text {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

/* Testimonial specific */
.section__quote {
  font-size: var(--text-xl);
  font-weight: var(--font-medium);
  font-style: italic;
  color: var(--color-black);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.section__author {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-gray-600);
  margin-bottom: var(--space-4);
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
  padding: var(--space-20) 0;
  background: transparent;
}

.testimonials__heading {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: #ffffff;
  text-align: center;
  margin-bottom: var(--space-12);
  font-family: 'Ploni', 'Heebo', var(--font-family);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  padding: 0 32px;
}

/* 3-layer card design: White -> Teal -> Black (inverted for black background) */
.testimonials__card {
  position: relative;
  transition: transform var(--transition);
  cursor: pointer;
}

/* Layer 1: White (back) - fixed size offset */
.testimonials__card::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 0;
}

/* Layer 2: Tiffany/Cyan (matching hero squares) */
.testimonials__card-content {
  position: relative;
  z-index: 1;
}

.testimonials__card-content::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100%;
  height: 100%;
  background: #66fff7;
  z-index: -1;
}

/* Layer 3: Black (front with content) */
.testimonials__card-inner {
  position: relative;
  z-index: 2;
  background: #000000;
  padding: var(--space-8);
  text-align: center;
  transition: background var(--transition);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Hover state - black layer becomes white */
.testimonials__card:hover .testimonials__card-inner {
  background: #ffffff;
}

.testimonials__card:hover .testimonials__stars {
  color: #66fff7;
  animation: starsFall 0.6s ease-out;
}

.testimonials__card:hover .testimonials__quote {
  color: #000000;
}

.testimonials__card:hover .testimonials__author {
  color: rgba(0, 0, 0, 0.7);
}

.testimonials__card:hover {
  transform: translateY(-6px);
}

/* Stars falling animation */
@keyframes starsFall {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  40% {
    transform: translateY(5px);
    opacity: 1;
  }
  60% {
    transform: translateY(-3px);
  }
  80% {
    transform: translateY(2px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.testimonials__stars {
  color: #66fff7;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
  letter-spacing: 6px;
  transition: color var(--transition);
}

.testimonials__quote {
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  font-style: italic;
  color: #ffffff;
  line-height: 1.8;
  margin-bottom: var(--space-5);
  transition: color var(--transition);
  font-family: 'Ploni', 'Heebo', var(--font-family);
}

.testimonials__author {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
  font-family: 'Ploni', 'Heebo', var(--font-family);
}

/* CTA Button */
.testimonials__cta {
  text-align: center;
  margin-top: var(--space-12);
}

.testimonials__btn {
  position: relative;
  display: inline-block;
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: #000000;
  background: #ffffff;
  border: none;
  border-radius: 0;
  font-family: 'Ploni', 'Heebo', var(--font-family);
  transition: all var(--transition);
}

.testimonials__btn::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: 100%;
  height: 100%;
  background: #66fff7;
  z-index: -1;
  transition: all var(--transition);
}

.testimonials__btn:hover {
  background: #66fff7;
  color: #000000;
  transform: translate(3px, 3px);
}

.testimonials__btn:hover::before {
  transform: translate(-3px, -3px);
}

/* Tablet and up */
@media (min-width: 768px) {
  .testimonials {
    padding: var(--space-24) 0;
  }

  .testimonials__heading {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-16);
  }

  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-12);
    padding: 0;
  }

  .testimonials__card::before {
    top: 20px;
    left: 20px;
  }

  .testimonials__card-content::before {
    top: 10px;
    left: 10px;
  }

  .testimonials__card-inner {
    padding: var(--space-10);
  }

  .testimonials__stars {
    font-size: var(--text-2xl);
    letter-spacing: 6px;
  }

  .testimonials__quote {
    font-size: var(--text-base);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .testimonials__card-inner {
    padding: var(--space-12);
  }

  .testimonials__quote {
    font-size: var(--text-lg);
  }

  .testimonials__author {
    font-size: var(--text-base);
  }
}

/* ==================== DOWNLOAD SECTION ==================== */
.download {
  padding: var(--space-16) 0;
  background: var(--color-gray-50);
  text-align: center;
  position: relative;
  z-index: 1;
}

.download__heading {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-black);
  margin-bottom: var(--space-2);
}

.download__text {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  margin-bottom: var(--space-6);
}

.download__qr {
  width: 160px;
  height: 160px;
  margin: 0 auto var(--space-6);
  padding: var(--space-3);
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.download__qr img {
  width: 100%;
  height: 100%;
}

.download__phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-10);
  padding: 0 var(--space-4);
}

.download__phone {
  background: var(--color-black);
  border-radius: 24px;
  padding: 6px;
  box-shadow: var(--shadow-xl);
}

.download__phone img {
  border-radius: 20px;
  width: 100%;
}

.download__phone--center {
  width: 140px;
  z-index: 10;
}

.download__phone--side {
  width: 100px;
  transform: translateY(16px);
}

/* ==================== FOOTER ==================== */
.footer {
  padding: var(--space-12) 0 var(--space-6);
  background: var(--color-black);
  color: var(--color-white);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.footer__brand {
  grid-column: span 2;
  margin-bottom: var(--space-4);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer__logo-text {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-white);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__heading {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__badge {
  display: inline-block;
  padding: 2px 8px;
  background: #66fff7;
  color: #000000;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 8px;
  vertical-align: middle;
}

/* Social Links */
.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gray-800);
  color: var(--color-gray-400);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Footer Bottom */
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-gray-800);
  text-align: center;
}

.footer__copyright {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
}

.footer__download-btn {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-black);
  background: var(--color-white);
  border-radius: 50px;
  transition: all var(--transition);
}

.footer__download-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

/* ==================== SCROLL ANIMATIONS ====================*/

/* Base animation class */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation from left */
.animate-on-scroll[data-animation="fade-left"] {
  transform: translateX(-60px);
}

.animate-on-scroll[data-animation="fade-left"].is-visible {
  transform: translateX(0);
}

/* Animation from right */
.animate-on-scroll[data-animation="fade-right"] {
  transform: translateX(60px);
}

.animate-on-scroll[data-animation="fade-right"].is-visible {
  transform: translateX(0);
}

/* Scale up animation */
.animate-on-scroll[data-animation="scale-up"] {
  transform: scale(0.85);
}

.animate-on-scroll[data-animation="scale-up"].is-visible {
  transform: scale(1);
}

/* Zoom in animation */
.animate-on-scroll[data-animation="zoom-in"] {
  transform: scale(0.9) translateY(20px);
}

.animate-on-scroll[data-animation="zoom-in"].is-visible {
  transform: scale(1) translateY(0);
}

/* Rotate in animation */
.animate-on-scroll[data-animation="rotate-in"] {
  transform: rotate(-5deg) translateY(30px);
}

.animate-on-scroll[data-animation="rotate-in"].is-visible {
  transform: rotate(0) translateY(0);
}

/* Stagger delays for children */
.animate-on-scroll[data-delay="100"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="200"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="300"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="400"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="500"] { transition-delay: 0.5s; }
.animate-on-scroll[data-delay="600"] { transition-delay: 0.6s; }
.animate-on-scroll[data-delay="700"] { transition-delay: 0.7s; }

/* Stagger children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(8) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }

/* Parallax scroll effect */
.parallax-scroll {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.floating {
  animation: float 4s ease-in-out infinite;
}

.floating-slow {
  animation: float 6s ease-in-out infinite;
}

/* Pulse glow animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(10, 186, 181, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(10, 186, 181, 0.6);
  }
}

.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Slide in from bottom with bounce */
@keyframes slideInBounce {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  60% {
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll[data-animation="bounce-in"].is-visible {
  animation: slideInBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Text reveal animation */
.text-reveal {
  overflow: hidden;
}

.text-reveal span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-reveal.is-visible span {
  transform: translateY(0);
}

/* Image hover zoom */
.image-hover-zoom {
  overflow: hidden;
}

.image-hover-zoom img {
  transition: transform 0.5s ease;
}

.image-hover-zoom:hover img {
  transform: scale(1.08);
}

/* Card lift effect on hover */
.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .stagger-children > *,
  .floating,
  .floating-slow,
  .pulse-glow {
    animation: none;
    transition: opacity 0.3s ease;
    transform: none;
  }

  .animate-on-scroll.is-visible,
  .stagger-children.is-visible > * {
    opacity: 1;
    transform: none;
  }
}

/* ==================== RESPONSIVE - TABLET (768px+) ==================== */
@media (min-width: 768px) {
  :root {
    --container-padding: 1.5rem;
  }

  .header__nav {
    display: flex;
  }

  .header__actions {
    display: flex;
  }

  .header__menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  /* Hero - side by side on tablet */
  .hero {
    padding-top: 120px;
  }

  .hero__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
  }

  .hero__text {
    flex: 0 0 45%;
    text-align: left;
    align-items: flex-start;
  }

  .hero__title-line {
    font-size: clamp(4rem, 6.5vw, 5.2rem);
  }

  .hero__subtitle {
    font-size: clamp(1.6rem, 3.25vw, 2.3rem);
  }

  .hero__carousel-3d {
    width: 320px;
    height: 400px;
  }

  .hero__card-name {
    font-size: var(--text-xl);
  }

  .hero__card-job {
    font-size: var(--text-base);
  }

  .hero__card-bio {
    font-size: var(--text-sm);
  }

  .hero__card-tagline {
    font-size: var(--text-sm);
  }

  .hero__cta-btn {
    font-size: var(--text-base);
  }

  .hero__lottie-carousel,
  .hero__lottie-main {
    width: 380px;
    height: 380px;
  }

  /* Mission - side by side on tablet */
  .mission {
    padding: var(--space-24) 0;
  }

  .mission__container {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-16);
  }

  .mission__text-content {
    text-align: left;
  }

  .mission__heading {
    font-size: var(--text-5xl);
    margin-left: 0;
    margin-right: 0;
  }

  .mission__text {
    font-size: var(--text-xl);
    margin: 0 0 var(--space-8);
  }

  /* Mission Lottie - larger on tablet */
  .mission__lottie {
    width: 350px;
    height: 350px;
  }

  /* RTL mission section */
  body.rtl .mission__container {
    flex-direction: row-reverse;
  }

  body.rtl .mission__text-content {
    text-align: right;
  }

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

  .how-it-works__heading {
    font-size: var(--text-4xl);
  }

  .how-it-works__screenshots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    overflow-x: visible;
    justify-items: center;
  }

  .how-it-works__step {
    flex: none;
    width: 100%;
    max-width: 220px;
  }

  .how-it-works__phone {
    flex: none;
    width: 100%;
    max-width: 200px;
  }

  /* Sections */
  .section {
    padding: var(--space-24) 0;
  }

  .section__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }

  .section__content {
    order: 1;
  }

  .section__image {
    order: 2;
  }

  .section--reverse .section__content {
    order: 2;
  }

  .section--reverse .section__image {
    order: 1;
  }

  .section__heading {
    font-size: var(--text-4xl);
  }

  .section__quote {
    font-size: var(--text-2xl);
  }

  /* Download */
  .download {
    padding: var(--space-24) 0;
  }

  .download__heading {
    font-size: var(--text-5xl);
  }

  .download__qr {
    width: 200px;
    height: 200px;
  }

  .download__phones {
    gap: var(--space-4);
  }

  .download__phone--center {
    width: 200px;
  }

  .download__phone--side {
    width: 160px;
    transform: translateY(20px);
  }

  /* Footer */
  .footer {
    padding: var(--space-16) 0 var(--space-8);
  }

  .footer__grid {
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: var(--space-10);
  }

  .footer__brand {
    grid-column: span 1;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==================== RESPONSIVE - DESKTOP (1024px+) ==================== */
@media (min-width: 1024px) {
  :root {
    --container-padding: 2rem;
  }

  /* Hero - larger on desktop */
  .hero__content {
    gap: var(--space-12);
  }

  .hero__text {
    flex: 0 0 40%;
  }

  .hero__title-line {
    font-size: clamp(4.5rem, 6vw, 5.85rem);
  }

  .hero__subtitle {
    font-size: clamp(1.95rem, 3vw, 2.6rem);
  }

  .hero__carousel-3d {
    width: 380px;
    height: 475px;
  }

  .hero__card-name {
    font-size: var(--text-2xl);
  }

  .hero__card-job {
    font-size: var(--text-base);
  }

  .hero__card-bio {
    font-size: var(--text-sm);
    -webkit-line-clamp: 4;
  }

  .hero__card-overlay {
    padding: var(--space-5);
    gap: var(--space-2);
  }

  .hero__cta-btn {
    font-size: var(--text-lg);
    padding: var(--space-5) var(--space-10);
  }

  .hero__lottie-carousel,
  .hero__lottie-main {
    width: 450px;
    height: 450px;
  }

  /* Mission - larger gap on desktop */
  .mission__container {
    gap: var(--space-20);
  }

  .mission__lottie {
    width: 400px;
    height: 400px;
  }

  .section__grid {
    gap: var(--space-24);
  }

  .download__phones {
    gap: var(--space-6);
  }

  .download__phone--center {
    width: 240px;
  }

  .download__phone--side {
    width: 180px;
  }
}

/* ==================== RESPONSIVE - LARGE (1280px+) ==================== */
@media (min-width: 1280px) {
  /* Hero - even larger on big screens */
  .hero__content {
    gap: var(--space-16);
  }

  .hero__title-line {
    font-size: 6.5rem;
  }

  .hero__subtitle {
    font-size: 2.4rem;
  }

  .hero__carousel-3d {
    width: 420px;
    height: 525px;
  }

  .hero__card-name {
    font-size: var(--text-3xl);
  }

  .hero__card-job {
    font-size: var(--text-lg);
  }

  .hero__card-bio {
    font-size: var(--text-base);
  }

  .hero__card-tagline {
    font-size: var(--text-base);
  }

  .hero__card-overlay {
    padding: var(--space-6);
  }

  .hero__lottie-carousel,
  .hero__lottie-main {
    width: 520px;
    height: 520px;
  }

  /* Mission - even larger gap on big screens */
  .mission__container {
    gap: var(--space-24);
  }

  .mission__lottie {
    width: 450px;
    height: 450px;
  }

  .mission {
    padding: var(--space-32) 0;
  }

  .section {
    padding: var(--space-32) 0;
  }

  .download {
    padding: var(--space-32) 0;
  }
}

/* ==================== RTL SUPPORT ==================== */
body.rtl {
  direction: rtl;
  text-align: right;
}

body.rtl .header__nav {
  flex-direction: row-reverse;
}

body.rtl .header__actions {
  flex-direction: row-reverse;
}

body.rtl .link-arrow::after {
  content: '\2190';
}

body.rtl .link-arrow:hover::after {
  transform: translateX(-4px);
}

body.rtl .section__grid {
  direction: rtl;
}

body.rtl .section--reverse .section__content {
  order: 1;
}

body.rtl .section--reverse .section__image {
  order: 2;
}

body.rtl .footer__grid {
  direction: rtl;
}

body.rtl .footer__social {
  justify-content: flex-start;
}

body.rtl .lang-dropdown {
  right: auto;
  left: 0;
}

/* Hero 3D carousel stays the same direction in RTL */
body.rtl .hero__carousel-3d {
  direction: ltr;
}

body.rtl .hero__card-overlay {
  direction: rtl;
  text-align: right;
}

/* Hebrew/RTL logo - much bolder */
body.rtl .header__logo-text {
  font-family: 'Secular One', 'Heebo', sans-serif;
  font-size: var(--text-3xl);
  font-weight: 400;
  letter-spacing: 0;
}

/* Hebrew/RTL hero text alignment */
body.rtl .hero__text {
  text-align: right;
  align-items: flex-end;
}

body.rtl .hero__title {
  text-align: right;
  width: 100%;
}

body.rtl .hero__title-line {
  text-align: right;
}

body.rtl .hero__content-area {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

/* Hebrew subtitles - bolder */
body.rtl .hero__subtitle {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
}

body.rtl .hero__subtitle-secondary {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
}

/* Hebrew title - much bolder and bigger */
body.rtl .hero__title-line {
  font-family: 'Secular One', 'Heebo', sans-serif;
  font-size: clamp(4.5rem, 18vw, 12rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

@media (min-width: 768px) {
  body.rtl .hero__title-line {
    font-size: clamp(6rem, 14vw, 11rem);
  }
}

@media (min-width: 1024px) {
  body.rtl .hero__title-line {
    font-size: clamp(8rem, 12vw, 13rem);
  }
}

@media (min-width: 1280px) {
  body.rtl .hero__title-line {
    font-size: 14rem;
  }
}

/* ==================== LEGAL PAGES ==================== */
.header--legal {
  background: var(--color-black);
  border-bottom: 1px solid var(--color-gray-800);
}

.header__back-link {
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  transition: var(--transition);
}

.header__back-link:hover {
  color: var(--color-white);
}

.legal-page {
  background: var(--color-black);
  min-height: 100vh;
  padding: var(--space-24) 0 var(--space-16);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-gray-900);
  border-radius: 16px;
  padding: var(--space-8);
  border: 1px solid var(--color-gray-800);
}

@media (min-width: 768px) {
  .legal-content {
    padding: var(--space-12);
  }
}

.legal-header {
  text-align: center;
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-gray-800);
}

.legal-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .legal-title {
    font-size: var(--text-5xl);
  }
}

.legal-updated {
  font-size: var(--text-sm);
  color: var(--color-gray-400);
}

.legal-intro {
  font-size: var(--text-lg);
  color: var(--color-gray-300);
  line-height: 1.8;
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-gray-800);
}

.legal-section {
  margin-bottom: var(--space-10);
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  padding-left: var(--space-4);
  border-left: 3px solid var(--color-primary);
}

@media (min-width: 768px) {
  .legal-section h2 {
    font-size: var(--text-2xl);
  }
}

.legal-section__content {
  color: var(--color-gray-300);
  line-height: 1.8;
}

.legal-section__content p {
  margin-bottom: var(--space-4);
}

.legal-section__content p:last-child {
  margin-bottom: 0;
}

.legal-section__content ul {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.legal-section__content li {
  margin-bottom: var(--space-2);
  position: relative;
}

.legal-section__content li::marker {
  color: var(--color-primary);
}

.legal-section__content strong {
  color: var(--color-white);
  font-weight: var(--font-semibold);
}

.legal-section__content a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

.legal-section__content a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

/* Legal Footer */
.footer--legal {
  background: var(--color-gray-900);
  border-top: 1px solid var(--color-gray-800);
  padding: var(--space-6) 0;
}

.footer--legal .footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

@media (min-width: 768px) {
  .footer--legal .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__legal-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.footer__divider {
  color: var(--color-gray-600);
}

.footer__link--active {
  color: var(--color-primary) !important;
}

/* RTL Support for Legal Pages */
body.rtl .legal-section h2 {
  padding-left: 0;
  padding-right: var(--space-4);
  border-left: none;
  border-right: 3px solid var(--color-primary);
}

body.rtl .legal-section__content ul {
  padding-left: 0;
  padding-right: var(--space-6);
}

/* ==================== REGISTRATION MODALS ==================== */

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: none; /* Hidden by default */
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.modal__container {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  margin: 16px;
  margin: var(--space-4, 16px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: scale(0.9) translateY(20px);
  transform: scale(0.9) translateY(20px);
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.is-open .modal__container {
  -webkit-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0);
}

.modal__card {
  position: relative;
  isolation: isolate;
}

/* Layered background effect */
.modal__layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.modal__layer--1 {
  -webkit-transform: translate(8px, 8px);
  transform: translate(8px, 8px);
  background: #66fff7;
  z-index: -1;
}

.modal__layer--2 {
  -webkit-transform: translate(16px, 16px);
  transform: translate(16px, 16px);
  background: #ffffff;
  z-index: -2;
}

.modal__content {
  position: relative;
  background: #000000;
  padding: 48px 40px;
  padding: var(--space-12, 48px) var(--space-10, 40px);
  z-index: 1;
}

/* Close button */
.modal__close {
  position: absolute;
  top: 16px;
  top: var(--space-4, 16px);
  right: 16px;
  right: var(--space-4, 16px);
  width: 40px;
  height: 40px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  background: transparent;
  border: 2px solid #66fff7;
  color: #66fff7;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal__close:hover {
  background: #66fff7;
  color: #000000;
  transform: rotate(90deg);
}

/* RTL close button position */
body.rtl .modal__close {
  right: auto;
  left: var(--space-4);
}

/* Sparkle decorations */
.modal__sparkle {
  position: absolute;
  color: #66fff7;
  font-size: 1.5rem;
  opacity: 0.6;
  animation: sparkle 2s ease-in-out infinite;
  pointer-events: none;
}

.modal__sparkle--1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.modal__sparkle--2 {
  top: 25%;
  right: 15%;
  animation-delay: 0.5s;
}

.modal__sparkle--3 {
  bottom: 20%;
  left: 15%;
  font-size: 1rem;
  animation-delay: 1s;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2) rotate(15deg);
  }
}

/* Icon */
.modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, rgba(102, 255, 247, 0.2), rgba(102, 255, 247, 0.05));
  border: 2px solid #66fff7;
  color: #66fff7;
}

/* Title & Subtitle */
.modal__title {
  font-family: 'Anton', 'Secular One', sans-serif;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.modal__subtitle {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: var(--space-8);
  line-height: 1.5;
}

/* Form styles */
.modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.modal__form-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.modal__form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.modal__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #66fff7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal__input {
  width: 100%;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(102, 255, 247, 0.3);
  color: #ffffff;
  font-family: inherit;
  font-size: var(--text-base);
  transition: all 0.3s ease;
}

.modal__input::placeholder {
  color: var(--color-gray-400);
  opacity: 1; /* Firefox fix */
}

.modal__input:focus {
  outline: none;
  border-color: #66fff7;
  background: rgba(102, 255, 247, 0.1);
  box-shadow: 0 0 0 3px rgba(102, 255, 247, 0.15);
}

.modal__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2366fff7' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  background-size: 20px;
  padding-right: var(--space-10);
}

.modal__select option {
  background: #000000;
  color: #ffffff;
  padding: 12px;
}

.modal__select option:first-child {
  color: var(--color-gray-400);
}

.modal__select option:disabled {
  color: var(--color-gray-500); /* WCAG allows lower contrast for disabled elements */
}

/* RTL support for select */
body.rtl .modal__select {
  background-position: left var(--space-3) center;
  padding-left: var(--space-10);
  padding-right: var(--space-4);
}

/* RTL support for form elements */
body.rtl .modal__input,
body.rtl .modal__textarea {
  text-align: right;
}

body.rtl .modal__label {
  text-align: right;
}

body.rtl .modal__form-group {
  text-align: right;
}

.modal__textarea {
  resize: vertical;
  min-height: 100px;
}

/* Checkboxes */
.modal__checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.modal__checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  transition: color 0.2s ease;
}

.modal__checkbox-label:hover {
  color: #ffffff;
}

.modal__checkbox-label input[type="checkbox"] {
  /* Hide default checkbox */
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Custom checkbox design */
.modal__checkbox-label .checkbox-custom {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(102, 255, 247, 0.5);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.modal__checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: #66fff7;
  border-color: #66fff7;
}

.modal__checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #000000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.modal__checkbox-label input[type="checkbox"]:focus + .checkbox-custom {
  box-shadow: 0 0 0 3px rgba(102, 255, 247, 0.3);
}

/* ==================== MOBILE FORM OPTIMIZATIONS ==================== */
@media (max-width: 768px) {
  /* Ensure proper text rendering in inputs */
  .modal__input,
  .modal__select,
  .modal__textarea,
  .contact-form__input,
  .contact-form__select,
  .contact-form__textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 14px 16px;
    border-radius: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  /* Enhanced select dropdown styling for mobile */
  .modal__select,
  .contact-form__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2366fff7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 44px;
    line-height: 1.4;
  }

  /* RTL select arrow position */
  body.rtl .modal__select,
  body.rtl .contact-form__select {
    background-position: left 12px center;
    padding-right: 16px;
    padding-left: 44px;
  }

  /* Better placeholder visibility - WCAG AA compliant */
  .modal__input::placeholder,
  .modal__textarea::placeholder,
  .contact-form__input::placeholder,
  .contact-form__textarea::placeholder {
    color: var(--color-gray-400);
    opacity: 1; /* Firefox fix */
    font-size: 15px;
  }

  /* Larger touch targets for labels */
  .modal__label,
  .contact-form__label {
    font-size: 13px;
    padding-bottom: 4px;
  }

  /* Single column layout on mobile */
  .modal__form-row,
  .contact-form__row {
    flex-direction: column;
    gap: var(--space-4);
  }

  /* Checkboxes grid on mobile */
  .modal__checkboxes {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .modal__checkbox-label {
    font-size: 15px;
    padding: 8px 0;
  }

  .modal__checkbox-label .checkbox-custom {
    width: 24px;
    height: 24px;
  }

  /* Textarea min height */
  .modal__textarea,
  .contact-form__textarea {
    min-height: 120px;
  }

  /* Submit button mobile */
  .modal__submit,
  .contact-form__submit {
    font-size: 16px;
    padding: 16px 24px;
    min-height: 52px;
  }

  /* Form group spacing */
  .modal__form-group,
  .contact-form__group {
    margin-bottom: var(--space-1);
  }
}

/* Submit button */
.modal__submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-4) var(--space-8);
  margin-top: var(--space-4);
  background: #66fff7;
  border: none;
  color: #000000;
  font-family: inherit;
  font-size: var(--text-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

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

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

.modal__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 255, 247, 0.4);
}

.modal__submit:active {
  transform: translateY(0);
}

.modal__submit.is-loading .modal__submit-text {
  opacity: 0;
}

.modal__submit.is-loading .modal__submit-loading {
  opacity: 1;
}

.modal__submit-loading {
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal__spinner {
  animation: spin 1s linear infinite;
}

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

/* Success state */
.modal__success {
  display: none;
  text-align: center;
  padding: var(--space-8) 0;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal__success.is-visible {
  display: block;
}

@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.modal__success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-6);
  background: rgba(102, 255, 247, 0.1);
  border: 3px solid #66fff7;
  border-radius: 50%;
  color: #66fff7;
  animation: successBounce 0.6s ease-out 0.2s both;
}

@keyframes successBounce {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.modal__success-title {
  font-family: 'Anton', 'Secular One', sans-serif;
  font-size: var(--text-2xl);
  color: #66fff7;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}

.modal__success-text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Desktop enhancements */
@media (min-width: 768px) {
  .modal__container {
    max-width: 680px;
  }

  .modal__content {
    padding: var(--space-14) var(--space-12);
  }

  .modal__layer--1 {
    transform: translate(12px, 12px);
  }

  .modal__layer--2 {
    transform: translate(24px, 24px);
  }

  .modal__icon {
    width: 100px;
    height: 100px;
    margin-bottom: var(--space-8);
  }

  .modal__icon svg {
    width: 56px;
    height: 56px;
  }

  .modal__title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--space-4);
  }

  .modal__subtitle {
    font-size: var(--text-lg);
    margin-bottom: var(--space-10);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .modal__form {
    gap: var(--space-6);
  }

  /* Two-column layout for form fields */
  .modal__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .modal__form-group--full {
    grid-column: 1 / -1;
  }

  .modal__input {
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-base);
  }

  .modal__label {
    font-size: var(--text-sm);
    margin-bottom: var(--space-1);
  }

  .modal__submit {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
    margin-top: var(--space-6);
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .modal__close {
    top: var(--space-5);
    right: var(--space-5);
    width: 48px;
    height: 48px;
  }

  .modal__close svg {
    width: 28px;
    height: 28px;
  }

  .modal__sparkle {
    font-size: 2rem;
  }

  .modal__sparkle--1 {
    top: 12%;
    left: 8%;
  }

  .modal__sparkle--2 {
    top: 20%;
    right: 10%;
  }

  .modal__sparkle--3 {
    bottom: 15%;
    left: 12%;
    font-size: 1.25rem;
  }

  .modal__checkboxes {
    gap: var(--space-4);
  }

  .modal__checkbox-label {
    font-size: var(--text-base);
    padding: var(--space-2);
    border: 1px solid transparent;
    transition: all 0.2s ease;
  }

  .modal__checkbox-label:hover {
    border-color: rgba(102, 255, 247, 0.3);
    background: rgba(102, 255, 247, 0.05);
  }

  .modal__success-icon {
    width: 120px;
    height: 120px;
  }

  .modal__success-title {
    font-size: var(--text-3xl);
  }

  .modal__success-text {
    font-size: var(--text-lg);
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Large desktop */
@media (min-width: 1024px) {
  .modal__container {
    max-width: 720px;
  }

  .modal__content {
    padding: var(--space-16) var(--space-14);
  }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .modal__container {
    margin: var(--space-2);
    max-height: 95vh;
  }

  .modal__content {
    padding: var(--space-6);
    padding-top: var(--space-12);
  }

  .modal__layer--1 {
    transform: translate(5px, 5px);
  }

  .modal__layer--2 {
    transform: translate(10px, 10px);
  }

  .modal__title {
    font-size: var(--text-2xl);
  }

  .modal__icon {
    width: 60px;
    height: 60px;
  }

  .modal__icon svg {
    width: 32px;
    height: 32px;
  }

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

  .modal__sparkle {
    display: none;
  }
}

/* Footer link badge style adjustment - remove badges, keep hover effect */
.footer__link--modal {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__link--modal::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #66fff7;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

/* ==================== SUB-PAGES (ACCESSIBILITY, GUIDELINES, ETC.) ==================== */

/* Page Hero Section */
.page-hero {
  background: linear-gradient(180deg, #000000 0%, #1a1a2e 100%);
  padding: var(--space-32) 0 var(--space-16);
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.page-hero__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: rgba(102, 255, 247, 0.1);
  border: 2px solid #66fff7;
  border-radius: 50%;
  margin-bottom: var(--space-6);
  color: #66fff7;
}

.page-hero__title {
  font-family: 'Anton', 'Secular One', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.page-hero__subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: #66fff7;
  margin-bottom: var(--space-6);
  font-weight: 500;
}

.page-hero__text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Page Section */
.page-section {
  padding: var(--space-16) 0;
  background: #ffffff;
}

.page-section--dark {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
}

.page-section--teal {
  background: linear-gradient(135deg, #00D9A5 0%, #00b894 100%);
}

.page-section__title {
  font-family: 'Anton', 'Secular One', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  margin-bottom: var(--space-4);
}

.page-section--dark .page-section__title {
  color: #ffffff;
}

.page-section__subtitle {
  font-size: var(--text-lg);
  text-align: center;
  margin-bottom: var(--space-12);
  opacity: 0.8;
}

.page-section--dark .page-section__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
}

/* Feature Card */
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(102, 255, 247, 0.3);
  transform: translateY(-5px);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(102, 255, 247, 0.2) 0%, rgba(102, 255, 247, 0.05) 100%);
  border-radius: 20px;
  margin-bottom: var(--space-6);
  color: #66fff7;
}

.feature-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--space-3);
}

.feature-card__text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Commitment Section */
.commitment-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

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

.commitment-text p {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* Feedback Section */
.feedback-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-8) 0;
}

.feedback-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  margin-bottom: var(--space-6);
  color: #000000;
}

.feedback-title {
  font-family: 'Anton', 'Secular One', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: var(--space-4);
}

.feedback-text {
  font-size: var(--text-lg);
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.feedback-btn {
  background: #000000;
  color: #ffffff;
  padding: var(--space-4) var(--space-10);
  border-radius: 50px;
  font-size: var(--text-lg);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition);
}

.feedback-btn:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Simple Footer */
.footer--simple {
  background: #000000;
  padding: var(--space-8) 0;
}

.footer--simple .footer__bottom {
  flex-direction: column;
  gap: var(--space-4);
  text-align: center;
}

.footer--simple .footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.footer__link--active {
  color: #66fff7;
}

/* Back to Home Link */
.header__back-link {
  color: #66fff7;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition);
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(102, 255, 247, 0.3);
  border-radius: 20px;
}

.header__back-link:hover {
  background: rgba(102, 255, 247, 0.1);
  border-color: #66fff7;
}

/* RTL Support for Sub-Pages */
[dir="rtl"] .page-hero__content,
[dir="rtl"] .page-section__title,
[dir="rtl"] .page-section__subtitle,
[dir="rtl"] .commitment-content,
[dir="rtl"] .feedback-content {
  text-align: center;
}

[dir="rtl"] .feature-card {
  text-align: center;
}

/* Responsive - Sub-Pages */
@media (min-width: 768px) {
  .page-hero {
    padding: var(--space-32) 0 var(--space-20);
  }

  .page-hero__icon {
    width: 140px;
    height: 140px;
  }

  .page-hero__icon svg {
    width: 100px;
    height: 100px;
  }

  .page-section {
    padding: var(--space-20) 0;
  }

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

  .footer--simple .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer--simple .footer__legal-links {
    gap: var(--space-4);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-card {
    padding: var(--space-10);
  }

  .feature-card__icon {
    width: 100px;
    height: 100px;
  }

  .feature-card__icon svg {
    width: 56px;
    height: 56px;
  }
}

/* ==================== GUIDELINES PAGE SPECIFIC ==================== */

/* Numbered guideline cards */
.guideline-card {
  position: relative;
}

.feature-card__number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #66fff7 0%, #00D9A5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', 'Secular One', sans-serif;
  font-size: 1.25rem;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(102, 255, 247, 0.4);
}

.guideline-icon {
  margin-top: var(--space-4);
}

/* Tips list */
.tips-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 700px;
  margin: var(--space-8) auto 0;
  text-align: left;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-gray-50);
  border-radius: 12px;
  transition: all var(--transition);
}

.tip-item:hover {
  background: var(--color-gray-100);
  transform: translateX(5px);
}

.tip-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00D9A5;
}

.tip-item p {
  font-size: var(--text-base);
  color: var(--color-gray-700);
  line-height: 1.6;
  margin: 0;
}

/* Emergency contacts */
.emergency-contacts {
  margin-bottom: var(--space-6);
}

.emergency-number {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #000000;
}

/* RTL support for tips */
[dir="rtl"] .tips-list {
  text-align: right;
}

[dir="rtl"] .tip-item:hover {
  transform: translateX(-5px);
}

/* ==================== CONTACT PAGE SPECIFIC ==================== */

/* Contact form styling */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: var(--space-8);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-form__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-form__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: var(--space-4);
  font-size: var(--text-base);
  color: #ffffff;
  transition: all var(--transition);
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: #66fff7;
  background: rgba(255, 255, 255, 0.15);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--color-gray-400);
  opacity: 1; /* Firefox fix */
}

.contact-form__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

.contact-form__select option {
  background: #1a1a2e;
  color: #ffffff;
  padding: 12px;
}

.contact-form__select option:first-child {
  color: var(--color-gray-400);
}

.contact-form__select option:disabled {
  color: var(--color-gray-500); /* WCAG allows lower contrast for disabled elements */
}

/* RTL support for contact form select */
body.rtl .contact-form__select {
  background-position: left 16px center;
  padding-left: 48px;
  padding-right: 16px;
}

/* RTL support for contact form elements */
body.rtl .contact-form__input,
body.rtl .contact-form__textarea {
  text-align: right;
}

body.rtl .contact-form__label {
  text-align: right;
}

body.rtl .contact-form__group {
  text-align: right;
}

.contact-form__textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form__submit {
  background: linear-gradient(135deg, #66fff7 0%, #00D9A5 100%);
  color: #000000;
  border: none;
  border-radius: 50px;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: var(--space-4);
}

.contact-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 255, 247, 0.3);
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background: rgba(102, 255, 247, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #66fff7;
  flex-shrink: 0;
}

.contact-info__content h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--space-1);
}

.contact-info__content p,
.contact-info__content a {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.contact-info__content a:hover {
  color: #66fff7;
}

/* Social links in contact */
.contact-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.contact-social__link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition);
}

.contact-social__link:hover {
  background: #66fff7;
  color: #000000;
}

.contact-social__link svg {
  width: 20px;
  height: 20px;
}

/* Contact form success state */
.contact-form__success {
  display: none;
  text-align: center;
  padding: var(--space-12) var(--space-8);
}

.contact-form__success.show {
  display: block;
}

.contact-form__success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #66fff7 0%, #00D9A5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  color: #000000;
}

.contact-form__success h3 {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--space-3);
}

.contact-form__success p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.5fr 1fr;
  }

  .contact-form-wrapper {
    padding: var(--space-10);
  }

  .contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}

/* Compact hero variant */
.page-hero--compact {
  min-height: 35vh;
  padding: var(--space-24) 0 var(--space-12);
}

/* ==================== AFFILIATES PAGE SPECIFIC ==================== */

.affiliate-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.affiliate-benefit {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition);
}

.affiliate-benefit:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.affiliate-benefit__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(102, 255, 247, 0.2) 0%, rgba(102, 255, 247, 0.05) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: #66fff7;
}

.affiliate-benefit__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--space-2);
}

.affiliate-benefit__text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* How it works steps */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 600px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #66fff7 0%, #00D9A5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', 'Secular One', sans-serif;
  font-size: 1.25rem;
  color: #000000;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: var(--space-1);
}

.step-content p {
  font-size: var(--text-base);
  color: var(--color-gray-600);
  line-height: 1.5;
}

/* ==================== CAREERS PAGE SPECIFIC ==================== */

.careers-intro {
  max-width: 800px;
  margin: 0 auto var(--space-12);
  text-align: center;
}

.careers-intro p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.position-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: var(--space-8);
  max-width: 700px;
  margin: 0 auto;
}

.position-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.position-card__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(102, 255, 247, 0.2) 0%, rgba(102, 255, 247, 0.05) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #66fff7;
}

.position-card__title {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: #ffffff;
}

.position-card__badge {
  display: inline-block;
  background: linear-gradient(135deg, #66fff7 0%, #00D9A5 100%);
  color: #000000;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-1);
}

.position-card__description {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.position-card__requirements {
  margin-bottom: var(--space-6);
}

.position-card__requirements h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: #66fff7;
  margin-bottom: var(--space-3);
}

.position-card__requirements ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.position-card__requirements li {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  padding-left: var(--space-6);
  position: relative;
}

.position-card__requirements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #66fff7;
  font-weight: bold;
}

.position-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, #66fff7 0%, #00D9A5 100%);
  color: #000000;
  padding: var(--space-4) var(--space-8);
  border-radius: 50px;
  font-size: var(--text-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.position-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 255, 247, 0.3);
}

/* ==================== BLOG PAGE (COMING SOON) ==================== */

.coming-soon {
  text-align: center;
  padding: var(--space-16) 0;
}

.coming-soon__icon {
  width: 120px;
  height: 120px;
  background: rgba(102, 255, 247, 0.1);
  border: 2px dashed #66fff7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-8);
  color: #66fff7;
}

.coming-soon__title {
  font-family: 'Anton', 'Secular One', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.coming-soon__text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}

.coming-soon__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 400px;
  margin: 0 auto;
}

.coming-soon__input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  color: #ffffff;
  text-align: center;
  transition: all var(--transition);
}

.coming-soon__input:focus {
  outline: none;
  border-color: #66fff7;
  background: rgba(255, 255, 255, 0.15);
}

.coming-soon__input::placeholder {
  color: var(--color-gray-400);
  opacity: 1; /* Firefox fix */
}

.coming-soon__submit {
  background: linear-gradient(135deg, #66fff7 0%, #00D9A5 100%);
  color: #000000;
  border: none;
  border-radius: 50px;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.coming-soon__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 255, 247, 0.3);
}

.coming-soon__success {
  display: none;
  color: #66fff7;
  font-size: var(--text-base);
  margin-top: var(--space-4);
}

.coming-soon__success.show {
  display: block;
}

@media (min-width: 768px) {
  .coming-soon__form {
    flex-direction: row;
    max-width: 500px;
  }

  .coming-soon__input {
    flex: 1;
    text-align: left;
  }

  .coming-soon__submit {
    flex-shrink: 0;
  }
}

/* ==================== QUICK REGISTRATION MODAL (OPTIMIZED) ==================== */

/* Modal container - uses GPU-accelerated transforms only */
/* ==================== MOBILE OVERFLOW PREVENTION ==================== */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Body scroll lock when modal is open */
body.qr-modal-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  touch-action: none;
  -webkit-overflow-scrolling: none;
}

/* ==================== MODAL CONTAINER ==================== */
.qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.2s, visibility 0.2s;
  transition: opacity 0.2s, visibility 0.2s;
  /* CRITICAL: Prevent horizontal scroll */
  overflow-x: hidden !important;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  /* Prevent content from pushing outside */
  padding: 0;
  margin: 0;
}

.qr-modal.open {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  opacity: 1;
  visibility: visible;
}

.qr-container {
  position: relative;
  width: calc(100% - 32px);
  max-width: 420px;
  max-height: 90vh;
  max-height: calc(100vh - 32px);
  margin: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: transform 0.2s ease-out;
  transition: transform 0.2s ease-out;
}

.qr-modal.open .qr-container {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

/* Ensure card doesn't overflow */
.qr-card {
  max-width: 100%;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Ensure form elements don't overflow */
.qr-card input,
.qr-card button,
.qr-card .qr-chips {
  max-width: 100%;
}

.qr-card {
  position: relative;
  background: #0a0a0a;
  padding: 32px 20px;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(102, 255, 247, 0.3), 6px 6px 0 #66fff7;
  /* Prevent overflow from shadow */
  margin-right: 8px;
  max-width: calc(100% - 8px);
}

/* Header */
.qr-header {
  text-align: center;
  margin-bottom: 24px;
}

.qr-icon {
  margin-bottom: 12px;
}

.qr-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.qr-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Close button */
.qr-modal .modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid rgba(102, 255, 247, 0.5);
  color: #66fff7;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s, transform 0.15s;
  z-index: 10;
}

.qr-modal .modal__close:hover {
  background: #66fff7;
  color: #000;
}

.qr-modal .modal__close:active {
  transform: scale(0.95);
}

/* Photo upload */
.qr-photo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(102, 255, 247, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(102, 255, 247, 0.3);
}

.qr-photo-label {
  font-size: 13px;
  font-weight: 600;
  color: #66fff7;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* File input - iOS Safari compatible hiding method */
.qr-photo-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  /* Must be on top for iOS Safari */
  z-index: 10;
  /* iOS Safari needs this to register taps */
  -webkit-appearance: none;
  appearance: none;
}

.qr-photo-area {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.qr-photo-area:hover,
.qr-photo-area:focus {
  border-color: #66fff7;
  background: rgba(255, 255, 255, 0.1);
}

.qr-photo-area.loading {
  pointer-events: none;
}

.qr-photo-area.loading::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid #66fff7;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.qr-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.qr-photo-placeholder svg {
  stroke: rgba(255, 255, 255, 0.6);
}

.qr-photo-img {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-photo-area.has-photo .qr-photo-img {
  display: block;
}

.qr-photo-area.has-photo .qr-photo-placeholder {
  display: none;
}

.qr-photo-hint {
  font-size: 11px;
  color: var(--color-gray-400); /* WCAG AA compliant contrast */
  margin: 10px 0 0;
}

.qr-photo-hint.error {
  color: #ff4466;
  font-weight: 500;
}

/* Gender toggle */
.qr-gender {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.qr-gender-option {
  flex: 1;
  cursor: pointer;
}

.qr-gender-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.qr-gender-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.qr-gender-option:hover span {
  border-color: rgba(102, 255, 247, 0.4);
}

.qr-gender-option input:checked + span {
  background: #66fff7;
  border-color: #66fff7;
  color: #000;
}

/* Form fields */
.qr-field {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.qr-field:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.qr-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #66fff7;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  letter-spacing: 0.5px;
}

.qr-field input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 16px; /* Prevents iOS zoom */
  color: #fff;
  transition: border-color 0.15s, background 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.qr-field input::placeholder {
  color: var(--color-gray-400);
  opacity: 1; /* Firefox fix */
}

.qr-field input:focus {
  outline: none;
  border-color: #66fff7;
  background: rgba(102, 255, 247, 0.08);
}

/* ==================== INLINE VALIDATION STYLES ==================== */

/* Input wrapper for status indicator positioning */
.qr-input-wrapper {
  position: relative;
  display: block;
}

.qr-input-wrapper input {
  padding-right: 48px; /* Space for status icon */
}

/* Status indicator container */
.qr-input-status {
  position: absolute;
  right: 14px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  overflow: hidden !important;
  width: 24px;
  height: 24px;
  display: none;
}

.qr-input-status svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  display: none;
}

/* Loading spinner */
.qr-input-wrapper.loading .qr-input-status {
  display: block;
}

.qr-input-wrapper.loading .qr-status-spinner {
  display: block;
  color: #66fff7;
  -webkit-animation: qr-spin 0.8s linear infinite;
  animation: qr-spin 0.8s linear infinite;
}

@-webkit-keyframes qr-spin {
  from { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes qr-spin {
  from { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

/* Success state */
.qr-input-wrapper.success .qr-input-status {
  display: block;
}

.qr-input-wrapper.success .qr-status-success {
  display: block;
}

.qr-input-wrapper.success input {
  border-color: #22c55e;
}

/* Error state */
.qr-input-wrapper.error .qr-input-status {
  display: block;
}

.qr-input-wrapper.error .qr-status-error {
  display: block;
}

.qr-input-wrapper.error input {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

/* Field message (below input) */
.qr-field-message {
  min-height: 20px;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.qr-field-message:empty {
  display: none;
}

.qr-field-message.error {
  color: #ef4444;
}

.qr-field-message.success {
  color: #22c55e;
}

/* ==================== END INLINE VALIDATION ==================== */

/* Field error state */
.qr-field input.error {
  border-color: #ff4466;
  background: rgba(255, 68, 102, 0.1);
}

.qr-error {
  display: block;
  color: #ff4466;
  font-size: 12px;
  margin-top: 6px;
  font-weight: 500;
}

/* City dropdown */
.qr-city-wrapper {
  position: relative;
}

.qr-city-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border: 2px solid #66fff7;
  border-radius: 8px;
  max-height: 180px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 100;
  margin-top: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.qr-city-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 12px 14px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background 0.1s;
}

.qr-city-item:last-child {
  border-bottom: none;
}

.qr-city-item:hover,
.qr-city-item.active {
  background: rgba(102, 255, 247, 0.2);
}

.qr-city-main {
  font-weight: 500;
}

.qr-city-secondary {
  font-size: 12px;
  color: var(--color-gray-400); /* WCAG AA compliant contrast */
  margin-top: 2px;
}

.qr-city-loading,
.qr-city-empty {
  padding: 14px;
  text-align: center;
  color: var(--color-gray-400); /* WCAG AA compliant contrast */
  font-size: 13px;
}

/* Error banner */
.qr-error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: rgba(255, 68, 102, 0.15);
  border: 2px solid #ff4466;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}

/* Submit button */
.qr-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: #66fff7;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.qr-submit:hover {
  opacity: 0.9;
}

.qr-submit:active {
  transform: scale(0.98);
}

.qr-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.qr-submit.loading span:first-child {
  opacity: 0.7;
}

.qr-submit.loading svg {
  display: none;
}

.qr-submit.loading::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* Success state */
.qr-success {
  text-align: center;
  padding: 20px 0;
}

.qr-success-icon {
  margin-bottom: 16px;
}

.qr-success h3 {
  font-size: 24px;
  color: #66fff7;
  margin: 0 0 8px;
}

.qr-success p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
}

/* Animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* RTL support */
[dir="rtl"] .qr-modal .modal__close {
  right: auto;
  left: 12px;
}

[dir="rtl"] .qr-city-dropdown,
[dir="rtl"] .qr-city-item {
  text-align: right;
}

/* Mobile-first adjustments */
@media (max-width: 480px) {
  .qr-card {
    padding: 20px 16px;
    border-radius: 12px;
    /* Smaller shadow on mobile */
    box-shadow: 0 0 0 1px rgba(102, 255, 247, 0.3), 4px 4px 0 #66fff7;
    margin-right: 4px;
    max-width: calc(100% - 4px);
  }

  .qr-header {
    margin-bottom: 20px;
  }

  .qr-title {
    font-size: 22px;
  }

  .qr-subtitle {
    font-size: 14px;
  }

  .qr-photo-area {
    width: 90px;
    height: 90px;
  }

  .qr-field {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .qr-field label {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .qr-field input {
    padding: 12px 14px;
    font-size: 16px; /* Prevent iOS zoom */
  }

  .qr-nav {
    margin-top: 16px;
    gap: 10px;
  }

  .qr-nav-continue,
  .qr-nav-verify {
    padding: 14px 20px;
    font-size: 15px;
  }

  .qr-submit {
    padding: 14px;
  }

  /* Progress indicator - smaller on mobile */
  .qr-progress {
    margin-bottom: 20px;
  }

  .qr-progress__circle {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .qr-progress__label {
    font-size: 10px;
  }

  .qr-progress__line {
    width: 30px;
  }
}

/* ==================== RTL SUPPORT FOR MODAL ==================== */
[dir="rtl"] .modal__close,
body.rtl .modal__close {
  right: auto;
  left: 16px;
}

[dir="rtl"] .qr-field label,
body.rtl .qr-field label {
  text-align: right;
}

[dir="rtl"] .modal__input,
body.rtl .modal__input,
[dir="rtl"] .qr-field input,
body.rtl .qr-field input {
  text-align: right;
}

/* ==================== WIZARD MULTI-STEP STYLES ==================== */

/* Progress Indicator */
.qr-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 0 8px;
}

.qr-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.qr-progress__circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.qr-progress__step.active .qr-progress__circle {
  background: #66fff7;
  border-color: #66fff7;
  color: #000;
}

.qr-progress__step.completed .qr-progress__circle {
  background: #66fff7;
  border-color: #66fff7;
  color: #000;
}

.qr-progress__step.completed .qr-progress__circle::after {
  content: '';
  width: 12px;
  height: 6px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(-45deg);
  margin-top: -2px;
}

.qr-progress__step.completed .qr-progress__circle {
  font-size: 0; /* Hide number when showing checkmark */
}

.qr-progress__label {
  font-size: 10px;
  color: var(--color-gray-400); /* WCAG AA compliant contrast */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.qr-progress__step.active .qr-progress__label,
.qr-progress__step.completed .qr-progress__label {
  color: #66fff7;
}

.qr-progress__line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 8px;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.qr-progress__step.completed + .qr-progress__line,
.qr-progress__line:has(+ .qr-progress__step.completed),
.qr-progress__line:has(+ .qr-progress__step.active) {
  background: rgba(102, 255, 247, 0.3);
}

/* Step containers - CRITICAL for WebView compatibility */
.qr-step {
  display: none !important;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.qr-step.active {
  display: block !important;
  visibility: visible;
  height: auto;
  overflow: visible;
  position: relative;
  left: 0;
  opacity: 1;
  pointer-events: auto;
  -webkit-animation: stepFadeIn 0.3s ease;
  animation: stepFadeIn 0.3s ease;
}

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

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

/* Chip buttons */
.qr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.qr-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.qr-chip:hover {
  border-color: rgba(102, 255, 247, 0.4);
  background: rgba(102, 255, 247, 0.1);
}

.qr-chip.selected {
  background: #66fff7;
  border-color: #66fff7;
  color: #000;
}

/* Gender-specific chip containers */
.qr-chips[data-gender][hidden] {
  display: none;
}

/* Range slider (age range) */
.qr-range-slider {
  margin-top: 8px;
}

.qr-range-slider {
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.qr-range-values {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 700;
  color: #66fff7;
  text-shadow: 0 0 20px rgba(102, 255, 247, 0.3);
}

.qr-range-values span:nth-child(2) {
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
}

.qr-range-track {
  position: relative;
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  margin: 0 8px;
}

.qr-range-fill {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, #66fff7, #4ecdc4);
  border-radius: 4px;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(102, 255, 247, 0.4);
}

.qr-range-input {
  position: absolute;
  width: 100%;
  height: 6px;
  top: 0;
  left: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
}

.qr-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: #66fff7;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 3px solid #000;
}

.qr-range-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #66fff7;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 3px solid #000;
}

/* OTP Verification */
.qr-otp-icon {
  margin-bottom: 16px;
}

.qr-otp-icon svg {
  stroke: #66fff7;
}

.qr-otp-subtitle {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qr-otp-subtitle strong {
  color: #66fff7;
  font-size: 16px;
}

.qr-otp-container {
  margin: 24px 0;
}

.qr-otp-inputs {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.qr-otp-digit {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  transition: border-color 0.15s, background 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.qr-otp-digit:focus {
  outline: none;
  border-color: #66fff7;
  background: rgba(102, 255, 247, 0.1);
}

.qr-otp-digit.filled {
  border-color: #66fff7;
}

.qr-otp-digit.error {
  border-color: #ff4466;
  background: rgba(255, 68, 102, 0.1);
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.qr-otp-resend {
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.qr-otp-resend-btn {
  background: none;
  border: none;
  color: #66fff7;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  margin-left: 4px;
  transition: opacity 0.15s;
}

.qr-otp-resend-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.qr-otp-countdown {
  color: var(--color-gray-400); /* WCAG AA compliant contrast */
  font-weight: 400;
}

/* Navigation buttons */
.qr-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.qr-nav-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.qr-nav-back:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.qr-nav-back[hidden] {
  display: none;
}

.qr-nav-continue,
.qr-nav-verify {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: #66fff7;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.qr-nav-continue:hover,
.qr-nav-verify:hover {
  opacity: 0.9;
}

.qr-nav-continue:active,
.qr-nav-verify:active {
  transform: scale(0.98);
}

.qr-nav-continue:disabled,
.qr-nav-verify:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.qr-nav-continue[hidden],
.qr-nav-verify[hidden] {
  display: none;
}

.qr-nav-continue.loading,
.qr-nav-verify.loading {
  pointer-events: none;
}

.qr-nav-continue.loading span,
.qr-nav-verify.loading span {
  opacity: 0.7;
}

.qr-nav-continue.loading svg,
.qr-nav-verify.loading svg {
  display: none;
}

.qr-nav-continue.loading::after,
.qr-nav-verify.loading::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* Success state download buttons */
.qr-success-download {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.qr-success-download p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 16px;
}

.qr-success-stores {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qr-store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  transition: all 0.15s ease;
}

.qr-store-btn:hover {
  border-color: #66fff7;
  background: rgba(102, 255, 247, 0.1);
}

.qr-store-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.qr-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.qr-store-text span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qr-store-text strong {
  font-size: 16px;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .qr-progress__circle {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .qr-progress__label {
    font-size: 9px;
  }

  .qr-progress__line {
    margin: 0 4px;
  }

  .qr-otp-digit {
    width: 42px;
    height: 50px;
    font-size: 20px;
  }

  .qr-chip {
    padding: 8px 12px;
    font-size: 13px;
  }

  .qr-range-input::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
  }

  .qr-range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
  }
}

/* RTL support for wizard */
[dir="rtl"] .qr-nav-back svg,
body.rtl .qr-nav-back svg {
  transform: scaleX(-1);
}

[dir="rtl"] .qr-nav-continue svg,
[dir="rtl"] .qr-nav-verify svg,
body.rtl .qr-nav-continue svg,
body.rtl .qr-nav-verify svg {
  transform: scaleX(-1);
}

[dir="rtl"] .qr-store-text,
body.rtl .qr-store-text {
  align-items: flex-end;
  text-align: right;
}

/* ============================================
   WebView Compatibility & Mobile Optimization
   iOS/Android WebView Safe Styles
   ============================================ */

/* --- Global WebView Fixes --- */
.qr-modal,
.qr-modal * {
  /* Prevent iOS double-tap zoom */
  touch-action: manipulation;
  /* Disable iOS text size adjustment */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Safe area handling for iOS notch/home indicator */
.qr-modal {
  /* iOS safe area insets */
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
  /* Fallback for older iOS */
  padding-bottom: constant(safe-area-inset-bottom, 0);
}

/* Momentum scrolling for iOS WebViews */
.qr-step,
.qr-modal__content {
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}

/* --- Enhanced Chip Buttons for Touch --- */
.qr-chip {
  /* Minimum 44px touch target */
  min-height: 44px;
  padding: 12px 18px;
  /* Enhanced touch feedback */
  -webkit-tap-highlight-color: rgba(102, 255, 247, 0.2);
  /* Prevent text selection during tap */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* Touch-friendly cursor */
  cursor: pointer;
  /* Smooth touch feedback */
  -webkit-transition: all 0.15s ease;
  -moz-transition: all 0.15s ease;
  transition: all 0.15s ease;
}

/* Active/pressed state for touch feedback */
.qr-chip:active {
  -webkit-transform: scale(0.96);
  -moz-transform: scale(0.96);
  transform: scale(0.96);
  opacity: 0.9;
}

/* Focus-visible for keyboard accessibility */
.qr-chip:focus-visible {
  outline: 2px solid #66fff7;
  outline-offset: 2px;
}

/* --- Enhanced Age Range Slider for Touch --- */
.qr-range-slider {
  /* More padding for easier touch */
  padding: 16px 8px;
  touch-action: pan-y;
}

.qr-range-track {
  /* Larger touch area */
  height: 8px;
  border-radius: 4px;
  /* Better visual */
  background: rgba(255, 255, 255, 0.2);
}

.qr-range-fill {
  border-radius: 4px;
  /* Smooth fill animation */
  -webkit-transition: left 0.1s ease, right 0.1s ease;
  -moz-transition: left 0.1s ease, right 0.1s ease;
  transition: left 0.1s ease, right 0.1s ease;
}

/* Range input - 44px minimum tap target for thumbs */
.qr-range-input {
  height: 44px;
  top: -18px;
  margin: 0;
  padding: 0;
  /* Required for all browsers */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  /* Ensure thumbs are touchable */
  pointer-events: none;
}

/* WebKit (Chrome, Safari, iOS) slider thumb */
.qr-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  /* 44px touch target */
  width: 44px;
  height: 44px;
  /* Visual size with padding */
  background: #66fff7;
  background-clip: content-box;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  /* Shadow for depth */
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  border: none;
  /* Smooth feedback */
  -webkit-transition: transform 0.15s ease, box-shadow 0.15s ease;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Active state for slider thumb */
.qr-range-input::-webkit-slider-thumb:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-box-shadow: 0 4px 16px rgba(102, 255, 247, 0.5);
  box-shadow: 0 4px 16px rgba(102, 255, 247, 0.5);
}

/* Firefox slider thumb */
.qr-range-input::-moz-range-thumb {
  /* 44px touch target */
  width: 44px;
  height: 44px;
  background: #66fff7;
  background-clip: content-box;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  border: none;
  -moz-transition: transform 0.15s ease, box-shadow 0.15s ease;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.qr-range-input::-moz-range-thumb:active {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(102, 255, 247, 0.5);
}

/* IE/Edge slider thumb */
.qr-range-input::-ms-thumb {
  width: 44px;
  height: 44px;
  background: #66fff7;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

/* Remove default track styles for cross-browser */
.qr-range-input::-webkit-slider-runnable-track {
  background: transparent;
  border: none;
  height: 8px;
}

.qr-range-input::-moz-range-track {
  background: transparent;
  border: none;
  height: 8px;
}

.qr-range-input::-ms-track {
  background: transparent;
  border: none;
  color: transparent;
  height: 8px;
}

/* --- Enhanced OTP Inputs for Touch --- */
.qr-otp-inputs {
  /* Better spacing for fat fingers */
  gap: 10px;
}

.qr-otp-digit {
  /* 44px minimum */
  width: 48px;
  height: 56px;
  min-width: 44px;
  min-height: 44px;
  /* Larger text for readability */
  font-size: 24px;
  font-weight: 700;
  /* Prevent zoom on iOS */
  font-size: max(16px, 24px);
  /* Touch feedback */
  -webkit-tap-highlight-color: transparent;
  /* Prevent zoom */
  touch-action: manipulation;
}

.qr-otp-digit:focus {
  /* Clear focus state for WebView */
  outline: none;
  -webkit-outline: none;
}

/* --- Enhanced Form Inputs --- */
.qr-input,
.qr-email-input,
input[type="email"],
input[type="text"],
input[type="date"] {
  /* Minimum 44px height */
  min-height: 48px;
  /* Prevent iOS zoom on focus (font-size >= 16px) */
  font-size: 16px;
  /* Touch feedback */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  /* Border radius for iOS */
  -webkit-border-radius: 12px;
  border-radius: 12px;
  /* Box sizing */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Remove iOS input styling */
.qr-modal input[type="email"],
.qr-modal input[type="text"],
.qr-modal input[type="date"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* --- Enhanced Buttons for Touch --- */
.qr-nav-continue,
.qr-nav-verify,
.qr-nav-back,
.qr-submit {
  /* 44px minimum touch target */
  min-height: 48px;
  /* Touch feedback */
  -webkit-tap-highlight-color: rgba(102, 255, 247, 0.3);
  /* Prevent double-tap zoom */
  touch-action: manipulation;
  /* User select prevention */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* Smooth transitions */
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

/* Active state for buttons */
.qr-nav-continue:active,
.qr-nav-verify:active,
.qr-submit:active {
  -webkit-transform: scale(0.98);
  -moz-transform: scale(0.98);
  transform: scale(0.98);
}

.qr-nav-back:active {
  opacity: 0.7;
}

/* --- Gender Selection Buttons --- */
.qr-gender-option {
  /* Touch-friendly size */
  min-height: 48px;
}

.qr-gender-option span {
  /* Minimum touch target */
  min-height: 48px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  /* Touch feedback */
  -webkit-tap-highlight-color: transparent;
}

/* --- City Autocomplete for Touch --- */
.qr-city-dropdown {
  /* Momentum scrolling */
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  /* Max height with scroll */
  max-height: 240px;
  overflow-y: auto;
}

.qr-city-item {
  /* Touch-friendly height */
  min-height: 48px;
  padding: 14px 16px;
  /* Touch feedback */
  -webkit-tap-highlight-color: rgba(102, 255, 247, 0.2);
}

.qr-city-item:active {
  background: rgba(102, 255, 247, 0.15);
}

/* --- Flexbox Prefixes for Older WebViews --- */
.qr-chips {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.qr-range-inputs,
.qr-range-values {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

/* --- Mobile Responsive Overrides --- */
@media (max-width: 480px) {
  /* Chips get full-width on very small screens */
  .qr-chips {
    gap: 10px;
  }

  .qr-chip {
    /* Maintain touch target */
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
    /* Allow chips to grow if needed */
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
  }

  /* OTP inputs fit better */
  .qr-otp-inputs {
    gap: 8px;
  }

  .qr-otp-digit {
    width: 44px;
    height: 52px;
    font-size: 20px;
  }

  /* Range slider adjustments */
  .qr-range-slider {
    padding: 12px 4px;
  }

  /* Range thumb remains touchable */
  .qr-range-input::-webkit-slider-thumb {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .qr-range-input::-moz-range-thumb {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  /* Range values font */
  .qr-range-values {
    font-size: 18px;
  }
}

/* --- High DPI / Retina Displays --- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .qr-chip,
  .qr-otp-digit,
  .qr-range-input::-webkit-slider-thumb {
    /* Crisp borders on retina */
    border-width: 1.5px;
  }
}

/* --- Reduced Motion for Accessibility --- */
@media (prefers-reduced-motion: reduce) {
  .qr-chip,
  .qr-nav-continue,
  .qr-nav-verify,
  .qr-nav-back,
  .qr-range-input::-webkit-slider-thumb,
  .qr-range-fill {
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
  }

  .qr-chip:active,
  .qr-nav-continue:active,
  .qr-nav-verify:active {
    -webkit-transform: none;
    transform: none;
  }
}

/* ==================== SIMPLIFIED 3-STEP WIZARD - MOBILE FIRST ==================== */

/* Step 1: Compact Gender Cards - Mobile First */
.qr-gender--large {
  display: flex;
  flex-direction: row; /* Side by side on mobile */
  gap: 12px;
  margin-bottom: 0;
}

.qr-gender--large .qr-gender-option {
  flex: 1;
  cursor: pointer;
}

.qr-gender--large .qr-gender-card {
  display: flex;
  flex-direction: row; /* Horizontal layout: icon + text */
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  min-height: 52px; /* Touch-friendly: 52px > 44px minimum */
}

.qr-gender--large .qr-gender-card svg {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  stroke: rgba(255, 255, 255, 0.5);
  transition: stroke 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

/* Hover state - subtle teal hint */
.qr-gender--large .qr-gender-option:hover .qr-gender-card {
  border-color: rgba(102, 255, 247, 0.4);
}

.qr-gender--large .qr-gender-option:hover .qr-gender-card svg {
  stroke: rgba(102, 255, 247, 0.6);
}

/* Selected state - BORDER ONLY (no fill) */
.qr-gender--large .qr-gender-option input:checked + .qr-gender-card {
  border-color: #66fff7;
  color: #66fff7;
  background: transparent;
}

.qr-gender--large .qr-gender-option input:checked + .qr-gender-card svg {
  opacity: 1;
  stroke: #66fff7;
}

/* Tablet and up: slightly larger */
@media (min-width: 480px) {
  .qr-gender--large {
    gap: 16px;
  }

  .qr-gender--large .qr-gender-card {
    padding: 16px 20px;
    font-size: 16px;
    min-height: 56px;
  }

  .qr-gender--large .qr-gender-card svg {
    width: 24px;
    height: 24px;
  }
}

/* Step 2: Scrollable Profile Form */
.qr-scrollable {
  max-height: calc(100vh - 280px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-right: 8px;
  margin-right: -8px;
  scroll-behavior: smooth;
}

/* Custom scrollbar for webkit */
.qr-scrollable::-webkit-scrollbar {
  width: 6px;
}

.qr-scrollable::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.qr-scrollable::-webkit-scrollbar-thumb {
  background: rgba(102, 255, 247, 0.3);
  border-radius: 3px;
}

.qr-scrollable::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 255, 247, 0.5);
}

/* ==================== ACCESSIBILITY - FOCUS STATES ==================== */

/* Remove default outline only when using mouse */
:focus:not(:focus-visible) {
  outline: none;
}

/* Strong focus indicator for keyboard users */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* Specific focus styles for buttons */
.btn:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(0, 217, 165, 0.2);
}

/* Focus styles for links */
a:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip to main content link - hidden until focused */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);
  background: var(--color-primary);
  color: var(--color-black);
  padding: 12px 24px;
  z-index: 10000;
  font-weight: var(--font-semibold);
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: transform var(--transition);
  opacity: 0;
  pointer-events: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

[dir="rtl"] .skip-link {
  left: 50%;
  right: auto;
}

[dir="rtl"] .skip-link:focus,
[dir="rtl"] .skip-link:focus-visible {
  transform: translate(-50%, 0);
}

/* Mobile: Adjust scrollable height */
@media (max-width: 480px) {
  .qr-scrollable {
    max-height: calc(100vh - 240px);
    padding-right: 4px;
    margin-right: -4px;
  }
}

/* Safe area padding at bottom of scrollable content */
.qr-scrollable::after {
  content: '';
  display: block;
  height: 20px;
}

/* ==================== LIGHT MODE ==================== */
/*
 * Light Mode Design System
 *
 * Background System:
 * - Hero gradient: #FAFBFC -> #F0F4F8
 * - Section white: #FFFFFF
 * - Section gray: #F8F9FA
 * - Body background: #FFFFFF
 *
 * Text Colors:
 * - Headlines (h1-h6): #1A1A1A (near-black)
 * - Subtitles: #4A5568
 * - Body text: #2D3748
 * - Secondary/muted: #718096
 * - Placeholder: #A0AEC0
 *
 * IMPORTANT: Do NOT use CSS variables like --color-white for text colors
 * in light mode as they may resolve incorrectly. Use explicit hex values.
 */

/* Core body light mode setup */
body.light-mode {
  background: #FFFFFF;
  color: #2D3748;
}

/* Skip link - MUST stay hidden until focused in light mode */
body.light-mode .skip-link {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate(-50%, -100%) !important;
  visibility: hidden;
}

body.light-mode .skip-link:focus,
body.light-mode .skip-link:focus-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate(-50%, 0) !important;
  visibility: visible;
  background: #00D9A5;
  color: #000000;
}

/* ===== TYPOGRAPHY - ALL TEXT MUST BE DARK ===== */

/* Headlines - near black for maximum contrast */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
  color: #1A1A1A !important;
}

/* Body text - dark gray for readability */
body.light-mode p,
body.light-mode li,
body.light-mode td,
body.light-mode th,
body.light-mode label,
body.light-mode .text,
body.light-mode .content {
  color: #2D3748;
}

/* Spans - dark unless they have gradient class */
body.light-mode span:not([class*="gradient"]):not(.hero__title-highlight) {
  color: #2D3748;
}

/* Subtitles and secondary text */
body.light-mode .subtitle,
body.light-mode .hero__subtitle,
body.light-mode .section__subtitle,
body.light-mode .description,
body.light-mode .subtext,
body.light-mode .meta {
  color: #4A5568 !important;
}

/* Muted/tertiary text */
body.light-mode .muted,
body.light-mode .hint,
body.light-mode .caption,
body.light-mode small {
  color: #718096;
}

/* Preserve gradient text styling */
body.light-mode .gradient-text,
body.light-mode .hero__title-highlight,
body.light-mode [class*="gradient-text"] {
  /* Keep original gradient - do not override */
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BACKGROUND SYSTEM ===== */

/* Hero sections - subtle gradient */
body.light-mode .hero,
body.light-mode .hero-v2 {
  background: linear-gradient(180deg, #FAFBFC 0%, #F0F4F8 100%);
}

body.light-mode .hero::before,
body.light-mode .hero-v2::before {
  background: linear-gradient(180deg, #FAFBFC 0%, #F0F4F8 50%, #FFFFFF 100%);
}

body.light-mode .animated-bg-wrapper {
  background: linear-gradient(180deg, #FAFBFC 0%, #F0F4F8 50%, #FFFFFF 100%);
}

/* Page hero sections (non-index pages) */
body.light-mode .page-hero {
  background: linear-gradient(180deg, #FAFBFC 0%, #F0F4F8 100%);
}

/* Section backgrounds */
body.light-mode section {
  background: #FFFFFF;
}

body.light-mode .section--gray,
body.light-mode .section--dark,
body.light-mode .section--alt {
  background: #F8F9FA;
}

/* Content sections alternating */
body.light-mode .content-section {
  background: #FFFFFF;
}

body.light-mode .content-section:nth-child(even) {
  background: #F8F9FA;
}

/* Feature sections on index page */
body.light-mode .feature-shadchan,
body.light-mode .early-access,
body.light-mode .chat-feature,
body.light-mode .feature-match {
  background: #FFFFFF;
}

body.light-mode .how-it-works,
body.light-mode .testimonials {
  background: #F8F9FA;
}

/* ===== HEADER ===== */

body.light-mode .header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

body.light-mode .header__logo-text {
  color: #1A1A1A !important;
}

/* Logo - CRITICAL: Make the layered logo BLACK on light backgrounds */
body.light-mode .header__logo-layer--back {
  color: #CBD5E0 !important; /* Light shadow */
}

body.light-mode .header__logo-layer--front {
  color: #000000 !important; /* Pure black text */
}

/* Mobile logo - must be black */
body.light-mode .header__logo--mobile {
  color: #000000 !important;
}

/* All logo variations */
body.light-mode .header__logo {
  color: #000000 !important;
}

body.light-mode [class*="header__logo"] {
  color: #000000 !important;
}

/* Navigation container/pill - white background */
body.light-mode .header__nav {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0;
}

body.light-mode .header__nav-pill {
  background: #FFFFFF !important;
}

/* Navigation Links - black text */
body.light-mode .header__nav-link {
  color: #000000 !important;
  font-weight: 500;
}

body.light-mode .header__nav-link:hover {
  color: #00D9A5 !important;
}

/* Navigation items */
body.light-mode .header__nav-item {
  color: #000000 !important;
}

/* Hamburger Menu (Mobile) - black lines */
body.light-mode .header__hamburger span {
  background: #000000 !important;
}

/* Mobile menu - white bg, black text */
body.light-mode .mobile-menu {
  background: #FFFFFF !important;
}

body.light-mode .mobile-menu__nav-link {
  color: #000000 !important;
}

body.light-mode .mobile-menu__nav-link:hover {
  color: #00D9A5 !important;
}

/* Language Dropdown - white bg, black text */
body.light-mode .header__lang {
  background: #FFFFFF !important;
  color: #000000 !important;
  border: 1px solid #E2E8F0;
}

body.light-mode .header__lang:hover {
  background: #F7FAFC;
}

/* Language dropdown menu */
body.light-mode .lang-dropdown {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0;
}

body.light-mode .lang-dropdown__item {
  color: #000000 !important;
}

body.light-mode .lang-dropdown__item:hover {
  background: #F7FAFC;
  color: #00D9A5 !important;
}

/* ===== FOOTER ===== */

body.light-mode .footer {
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
}

body.light-mode .footer__heading {
  color: #1A1A1A;
}

body.light-mode .footer__text,
body.light-mode .footer__link {
  color: #4A5568;
}

body.light-mode .footer__link:hover {
  color: #00D9A5;
}

body.light-mode .footer__copyright {
  color: #718096;
}

/* Footer social icons */
body.light-mode .footer__social-link {
  background: #E2E8F0;
  color: #4A5568;
}

body.light-mode .footer__social-link:hover {
  color: #00D9A5;
}

/* Footer logo text */
body.light-mode .footer__logo-text {
  color: #1A1A1A;
}

/* Footer variants */
body.light-mode .footer--legal,
body.light-mode .footer--simple {
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
}

body.light-mode .footer__divider {
  color: #CBD5E0;
}

body.light-mode .footer__link--active {
  color: #00D9A5 !important;
}

body.light-mode .footer__link--modal::after {
  background: #00D9A5;
}

/* ===== CARDS & CONTAINERS ===== */

/* Form cards - prominent shadow for light mode */
body.light-mode .hero__form,
body.light-mode .modal__content,
body.light-mode .card,
body.light-mode .qr-card,
body.light-mode .hero-v2__cta-form {
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid #E2E8F0;
}

body.light-mode .feature-card,
body.light-mode .testimonial-card,
body.light-mode .step-card {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
}

/* ===== FORM INPUTS ===== */

body.light-mode .hero__email-input,
body.light-mode .qr-input,
body.light-mode .modal__input,
body.light-mode input[type="text"],
body.light-mode input[type="email"],
body.light-mode input[type="tel"],
body.light-mode input[type="password"],
body.light-mode textarea,
body.light-mode select {
  background: #FFFFFF;
  color: #1A1A1A;
  border: 2px solid #E2E8F0;
}

body.light-mode .hero__email-input:focus,
body.light-mode .qr-input:focus,
body.light-mode .modal__input:focus,
body.light-mode input:focus,
body.light-mode textarea:focus,
body.light-mode select:focus {
  border-color: #00D9A5;
  box-shadow: 0 0 0 3px rgba(0, 217, 165, 0.15);
}

body.light-mode .hero__email-input::placeholder,
body.light-mode .qr-input::placeholder,
body.light-mode .modal__input::placeholder,
body.light-mode input::placeholder,
body.light-mode textarea::placeholder {
  color: #A0AEC0;
}

/* ===== BUTTONS ===== */

/* Primary buttons - Teal background with black text for light mode */
body.light-mode .btn--primary,
body.light-mode .hero__cta-btn,
body.light-mode .qr-submit-btn,
body.light-mode .hero-v2__form-submit,
body.light-mode [class*="cta-primary"],
body.light-mode button[type="submit"],
body.light-mode .contact-form__submit,
body.light-mode .hero__email-btn,
body.light-mode .sticky-banner__btn {
  background: #00D9A5 !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 217, 165, 0.3) !important;
}

body.light-mode .btn--primary:hover,
body.light-mode .hero__cta-btn:hover,
body.light-mode .qr-submit-btn:hover,
body.light-mode .hero-v2__form-submit:hover,
body.light-mode [class*="cta-primary"]:hover,
body.light-mode button[type="submit"]:hover,
body.light-mode .contact-form__submit:hover,
body.light-mode .hero__email-btn:hover,
body.light-mode .sticky-banner__btn:hover {
  background: #00C495 !important;
  color: #000000 !important;
  box-shadow: 0 6px 20px rgba(0, 217, 165, 0.4) !important;
}

/* Layered buttons for light mode - teal front with darker shadows */
body.light-mode .btn-layered {
  background: #00D9A5 !important;
  color: #000000 !important;
}

body.light-mode .btn-layered:hover {
  background: #00C495 !important;
}

body.light-mode .btn-layered-wrapper::before {
  background: #1A1A1A !important;
}

body.light-mode .btn-layered-wrapper::after {
  background: #E2E8F0 !important;
}

/* Secondary buttons - dark background */
body.light-mode .btn--secondary {
  background: #1A1A1A;
  color: #FFFFFF;
  border: none;
}

body.light-mode .btn--secondary:hover {
  background: #2D3748;
}

/* Outline buttons - keep outline style */
body.light-mode .btn--outline {
  background: transparent;
  color: #2D3748;
  border: 2px solid #E2E8F0;
}

body.light-mode .btn--outline:hover {
  background: #F8F9FA;
  border-color: #00D9A5;
  color: #1A1A1A;
}

/* ===== LINKS ===== */

body.light-mode a:not(.btn):not(.header__nav-link):not([class*="cta"]) {
  color: var(--color-primary);
}

body.light-mode a:not(.btn):not(.header__nav-link):not([class*="cta"]):hover {
  color: #00C495;
}

/* ===== DROPDOWNS ===== */

body.light-mode .lang-dropdown,
body.light-mode .dropdown {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.light-mode .lang-dropdown__item,
body.light-mode .dropdown__item {
  color: #2D3748;
}

body.light-mode .lang-dropdown__item:hover,
body.light-mode .dropdown__item:hover {
  background: #F8F9FA;
  color: var(--color-primary);
}

/* ===== MOBILE MENU ===== */

body.light-mode .mobile-menu {
  background: rgba(255, 255, 255, 0.98);
}

body.light-mode .mobile-menu__nav-link {
  color: #1A1A1A;
}

body.light-mode .mobile-menu__nav-link:hover {
  color: var(--color-primary);
}

/* ===== STICKY BANNER ===== */

body.light-mode .sticky-banner {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #E2E8F0;
}

body.light-mode .sticky-banner__text {
  color: #2D3748;
}

/* ===== MODALS (ALL TYPES) ===== */

/* Modal backdrop */
body.light-mode .qr-modal,
body.light-mode .modal__backdrop {
  background: rgba(0, 0, 0, 0.5);
}

/* Modal cards/content */
body.light-mode .qr-modal__content,
body.light-mode .qr-card,
body.light-mode .modal__content,
body.light-mode .modal__card {
  background: #FFFFFF;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid #E2E8F0;
}

/* Modal layered backgrounds */
body.light-mode .modal__layer--1 {
  background: #00D9A5;
}

body.light-mode .modal__layer--2 {
  background: #E2E8F0;
}

/* Modal close button */
body.light-mode .modal__close {
  background: transparent;
  color: #4A5568;
  border: 1px solid #E2E8F0;
}

body.light-mode .modal__close:hover {
  background: #00D9A5;
  color: #000000;
  border-color: #00D9A5;
}

/* Modal titles and text */
body.light-mode .qr-title,
body.light-mode .modal__title {
  color: #1A1A1A !important;
}

body.light-mode .qr-subtitle,
body.light-mode .modal__subtitle {
  color: #4A5568 !important;
}

body.light-mode .qr-label,
body.light-mode .modal__label {
  color: #4A5568;
}

/* Modal icon */
body.light-mode .modal__icon {
  background: linear-gradient(135deg, rgba(0, 217, 165, 0.2), rgba(0, 217, 165, 0.05));
  border-color: #00D9A5;
  color: #00D9A5;
}

/* Modal sparkles */
body.light-mode .modal__sparkle {
  color: #00D9A5;
}

/* Modal form inputs */
body.light-mode .modal__input,
body.light-mode .modal__select,
body.light-mode .modal__textarea {
  background: #FFFFFF;
  color: #1A1A1A;
  border: 2px solid #E2E8F0;
}

body.light-mode .modal__input:focus,
body.light-mode .modal__select:focus,
body.light-mode .modal__textarea:focus {
  border-color: #00D9A5;
  background: #FFFFFF;
}

body.light-mode .modal__input::placeholder,
body.light-mode .modal__textarea::placeholder {
  color: #A0AEC0;
}

/* Modal checkboxes */
body.light-mode .modal__checkbox-label {
  color: #2D3748;
}

body.light-mode .modal__checkbox-custom {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

body.light-mode .modal__checkbox:checked + .modal__checkbox-custom {
  background: #00D9A5;
  border-color: #00D9A5;
}

/* Modal submit button */
body.light-mode .modal__submit {
  background: #00D9A5;
  color: #000000;
}

body.light-mode .modal__submit:hover {
  background: #00C495;
}

/* Contact form specific */
body.light-mode .contact-form-wrapper {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
}

body.light-mode .contact-form__label {
  color: #4A5568;
}

body.light-mode .contact-form__input,
body.light-mode .contact-form__select,
body.light-mode .contact-form__textarea {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  color: #1A1A1A;
}

body.light-mode .contact-form__input:focus,
body.light-mode .contact-form__select:focus,
body.light-mode .contact-form__textarea:focus {
  border-color: #00D9A5;
  background: #FFFFFF;
}

body.light-mode .contact-form__input::placeholder,
body.light-mode .contact-form__textarea::placeholder {
  color: #A0AEC0;
}

body.light-mode .contact-form__select option {
  background: #FFFFFF;
  color: #1A1A1A;
}

body.light-mode .contact-info__content h3 {
  color: #1A1A1A;
}

body.light-mode .contact-info__content p,
body.light-mode .contact-info__content a {
  color: #4A5568;
}

body.light-mode .contact-info__content a:hover {
  color: #00D9A5;
}

body.light-mode .contact-info__icon {
  background: rgba(0, 217, 165, 0.1);
  color: #00D9A5;
}

body.light-mode .contact-social__link {
  background: #F7FAFC;
  color: #4A5568;
}

body.light-mode .contact-social__link:hover {
  background: #00D9A5;
  color: #000000;
}

body.light-mode .contact-form__success h3 {
  color: #1A1A1A;
}

body.light-mode .contact-form__success p {
  color: #4A5568;
}

/* Gender selection buttons - default state */
body.light-mode .qr-gender-btn,
body.light-mode .hero-v2__gender-btn,
body.light-mode .qr-gender-option span,
body.light-mode .hero-v2__gender-option span {
  background: #F7FAFC;
  color: #1A1A1A;
  border: 1px solid #E2E8F0;
}

/* Gender selection buttons - hover state */
body.light-mode .qr-gender-btn:hover,
body.light-mode .hero-v2__gender-btn:hover,
body.light-mode .qr-gender-option:hover span,
body.light-mode .hero-v2__gender-option:hover span {
  background: #EDF2F7;
}

/* Gender selection buttons - active/selected state */
body.light-mode .qr-gender-btn.is-active,
body.light-mode .hero-v2__gender-btn.is-active,
body.light-mode .qr-gender-option input:checked + span,
body.light-mode .hero-v2__gender-option input:checked + span {
  background: #00D9A5;
  color: #000000;
  border-color: #00D9A5;
}

/* ===== DECORATIVE ELEMENTS ===== */

/* Floating shapes - softer in light mode */
body.light-mode .floating-shape__layer--black {
  background: #E2E8F0;
}

/* Hero plus symbols */
body.light-mode .hero__plus {
  border-width: 3px;
  opacity: 0.7;
}

/* ===== SPECIFIC COMPONENT OVERRIDES ===== */

/* Feature card titles and text */
body.light-mode .feature-card__title,
body.light-mode .step-card__title,
body.light-mode .testimonial-card__name {
  color: #1A1A1A !important;
}

body.light-mode .feature-card__description,
body.light-mode .step-card__description,
body.light-mode .testimonial-card__text {
  color: #4A5568;
}

/* Section titles */
body.light-mode .section__title,
body.light-mode .section-title {
  color: #1A1A1A !important;
}

/* How it works step numbers */
body.light-mode .step-card__number {
  color: var(--color-primary);
}

/* Testimonial quotes */
body.light-mode .testimonial-card__quote {
  color: #2D3748;
}

/* FAQ accordions */
body.light-mode .faq-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
}

body.light-mode .faq-question {
  color: #1A1A1A;
}

body.light-mode .faq-answer {
  color: #4A5568;
}

/* Tables */
body.light-mode table {
  border-color: #E2E8F0;
}

body.light-mode th {
  background: #F8F9FA;
  color: #1A1A1A;
}

body.light-mode td {
  border-color: #E2E8F0;
}

/* Scrollbars */
body.light-mode ::-webkit-scrollbar-track {
  background: #F1F5F9;
}

body.light-mode ::-webkit-scrollbar-thumb {
  background: #CBD5E0;
}

body.light-mode ::-webkit-scrollbar-thumb:hover {
  background: #00D9A5;
}

/* Selection highlight */
body.light-mode ::selection {
  background: rgba(0, 217, 165, 0.2);
  color: #1A1A1A;
}

body.light-mode ::-moz-selection {
  background: rgba(0, 217, 165, 0.2);
  color: #1A1A1A;
}

/* ===== HERO SECTION ===== */

/* Hero background gradient */
body.light-mode .hero,
body.light-mode .hero-v2 {
  background: linear-gradient(180deg, #FAFBFC 0%, #F0F4F8 100%) !important;
}

/* Hero headline */
body.light-mode .hero__title,
body.light-mode .hero-v2__headline {
  color: #1A1A1A !important;
}

/* Hero subtitle */
body.light-mode .hero__subtitle,
body.light-mode .hero-v2__subheadline {
  color: #4A5568 !important;
}

/* Floating shapes - softer opacity */
body.light-mode .floating-shape__layer--black {
  opacity: 0.5;
}

body.light-mode .floating-shape__layer--white {
  background: #E2E8F0;
  opacity: 0.6;
}

/* ===== HOW IT WORKS SECTION (CRITICAL FIX) ===== */

body.light-mode .how-it-works {
  background: #FFFFFF !important;
}

/* Main heading - THIS IS THE KEY FIX */
body.light-mode .how-it-works__heading,
body.light-mode .how-it-works--phones .how-it-works__heading {
  color: #1A1A1A !important;
}

/* Subheading */
body.light-mode .how-it-works__subheading {
  color: #4A5568 !important;
}

/* Step titles */
body.light-mode .how-it-works__step-title {
  color: #1A1A1A !important;
}

/* Step descriptions */
body.light-mode .how-it-works__step-desc {
  color: #4A5568 !important;
}

/* Phone mockup cards */
body.light-mode .how-it-works__phone,
body.light-mode .how-it-works__media-wrapper {
  background: #FFFFFF;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
}

/* Falling plus signs - muted for light mode */
body.light-mode .how-it-works__plus {
  color: #E2E8F0;
  opacity: 0.6;
}

/* Triangles - softer */
body.light-mode .how-it-works__triangle {
  opacity: 0.3;
}

/* ===== FEATURE SHADCHAN SECTION ===== */

body.light-mode .feature-shadchan {
  background: #FFFFFF !important;
}

body.light-mode .feature-shadchan__heading {
  color: #1A1A1A !important;
}

body.light-mode .feature-shadchan__label {
  color: var(--color-primary) !important;
}

body.light-mode .feature-shadchan__text {
  color: #2D3748 !important;
}

/* Glow effects - reduce for light mode */
body.light-mode .feature-shadchan__glow {
  opacity: 0.2;
}

/* ===== CHAT FEATURE SECTION ===== */

body.light-mode .chat-feature {
  background: #F8F9FA !important;
}

body.light-mode .chat-feature__heading {
  color: #1A1A1A !important;
}

body.light-mode .chat-feature__label {
  color: var(--color-primary) !important;
}

body.light-mode .chat-feature__text {
  color: #2D3748 !important;
}

body.light-mode .chat-feature__benefits li {
  color: #2D3748 !important;
}

/* Phone screenshots */
body.light-mode .chat-feature__phone {
  background: #FFFFFF;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* ===== FEATURE MATCH SECTION ===== */

body.light-mode .feature-match {
  background: #FFFFFF !important;
}

body.light-mode .feature-match__heading {
  color: #1A1A1A !important;
}

body.light-mode .feature-match__label {
  color: var(--color-primary) !important;
}

body.light-mode .feature-match__text {
  color: #2D3748 !important;
}

/* Glow effects - reduce for light mode */
body.light-mode .feature-match__glow {
  opacity: 0.2;
}

/* ===== TESTIMONIALS SECTION ===== */

body.light-mode .testimonials {
  background: #F8F9FA !important;
}

body.light-mode .testimonials__heading {
  color: #1A1A1A !important;
}

body.light-mode .testimonials__card {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
}

body.light-mode .testimonials__card-content,
body.light-mode .testimonials__card-inner {
  background: #FFFFFF;
}

body.light-mode .testimonials__quote {
  color: #2D3748 !important;
}

body.light-mode .testimonials__author {
  color: #1A1A1A !important;
}

body.light-mode .testimonials__stars {
  color: #F59E0B;
}

/* Hover state for testimonial cards */
body.light-mode .testimonials__card:hover .testimonials__quote {
  color: #1A1A1A !important;
}

body.light-mode .testimonials__card:hover .testimonials__author {
  color: #2D3748 !important;
}

/* ===== EARLY ACCESS SECTION ===== */

body.light-mode .early-access {
  background: #F8F9FA !important;
}

body.light-mode .early-access__heading {
  color: #1A1A1A !important;
}

body.light-mode .early-access__text {
  color: #2D3748 !important;
}

body.light-mode .early-access__description {
  color: #4A5568 !important;
}

/* Gender cards */
body.light-mode .early-access__gender-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-mode .early-access__gender-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 30px rgba(0, 217, 165, 0.15);
}

body.light-mode .early-access__gender-label {
  color: #1A1A1A !important;
}

body.light-mode .early-access__gender-icon {
  color: #4A5568;
}

body.light-mode .early-access__gender-arrow {
  color: var(--color-primary);
}

/* ===== DOWNLOAD SECTION ===== */

body.light-mode .download {
  background: linear-gradient(180deg, #F0F4F8 0%, #FAFBFC 100%);
}

body.light-mode .download__heading {
  color: #1A1A1A !important;
}

body.light-mode .download__text {
  color: #4A5568 !important;
}

/* ===== ACCESSIBILITY WIDGET ===== */

/* Accessibility panel */
body.light-mode .a11y-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Panel header */
body.light-mode .a11y-panel-header {
  background: #F7FAFC;
  border-bottom: 1px solid #E2E8F0;
}

body.light-mode .a11y-panel-title {
  color: #1A1A1A;
}

body.light-mode .a11y-panel-close {
  color: #4A5568;
}

body.light-mode .a11y-panel-close:hover {
  background: #E2E8F0;
  color: #1A1A1A;
}

/* Feature buttons */
body.light-mode .a11y-feature-btn {
  background: #F7FAFC;
  border: 1px solid #E2E8F0;
  color: #1A1A1A;
}

body.light-mode .a11y-feature-btn:hover {
  background: #EDF2F7;
  border-color: #CBD5E0;
}

body.light-mode .a11y-feature-btn.active,
body.light-mode .a11y-feature-btn[aria-pressed="true"] {
  background: rgba(0, 217, 165, 0.15);
  border-color: #00D9A5;
  color: #00D9A5;
}

body.light-mode .a11y-feature-btn-label {
  color: #1A1A1A;
}

body.light-mode .a11y-feature-btn.active .a11y-feature-btn-label,
body.light-mode .a11y-feature-btn[aria-pressed="true"] .a11y-feature-btn-label {
  color: #00D9A5;
}

/* Slider */
body.light-mode .a11y-slider-label {
  color: #1A1A1A;
}

body.light-mode .a11y-slider {
  background: #E2E8F0;
}

body.light-mode .a11y-slider:hover {
  background: #CBD5E0;
}

body.light-mode .a11y-slider::-webkit-slider-thumb {
  background: #FFFFFF;
  border-color: #00D9A5;
}

body.light-mode .a11y-slider::-moz-range-thumb {
  background: #FFFFFF;
  border-color: #00D9A5;
}

body.light-mode .a11y-slider::-moz-range-track {
  background: #E2E8F0;
}

/* Reset button */
body.light-mode .a11y-reset-btn {
  border-color: #E2E8F0;
  color: #4A5568;
}

body.light-mode .a11y-reset-btn:hover {
  background: #F7FAFC;
  color: #1A1A1A;
  border-color: #CBD5E0;
}

/* ==================== THEME TOGGLE BUTTON ==================== */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--color-gray-700);
  border-radius: 8px;
  color: var(--color-gray-300);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--color-gray-800);
  border-color: var(--color-gray-600);
  color: var(--color-white);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

/* Light mode adjustments for toggle */
body.light-mode .theme-toggle {
  border: 1px solid #E2E8F0;
  color: #4A5568;
}

body.light-mode .theme-toggle:hover {
  background: #F4F4F5;
  border-color: #D4D4D8;
  color: #18181B;
}

/* Desktop toggle - hide on mobile */
.theme-toggle--desktop {
  display: flex;
}

/* Mobile toggle - hide on desktop, show on mobile */
.theme-toggle--mobile {
  display: none;
  position: absolute;
  right: 60px; /* Position next to hamburger */
  top: 50%;
  transform: translateY(-50%);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .theme-toggle svg {
    width: 18px;
    height: 18px;
  }

  /* Hide desktop toggle on mobile */
  .theme-toggle--desktop {
    display: none;
  }

  /* Show mobile toggle */
  .theme-toggle--mobile {
    display: flex;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-right: 24px;
  }
}

/* RTL support for mobile toggle */
[dir="rtl"] .theme-toggle--mobile {
  right: auto;
  left: 60px;
}

@media (max-width: 768px) {
  [dir="rtl"] .theme-toggle--mobile {
    left: auto;
    margin-right: 0;
    margin-left: 24px;
  }
}

/* ==================== LIGHT MODE - HERO V2 OVERRIDES ==================== */

/* Logo - BLACK in light mode (CRITICAL - override hero-v2.css white) */
body.light-mode .header__logo-layer {
  color: #000000 !important;
}

/* Hide the back layer - no double shadow effect in light mode */
body.light-mode .header__logo-layer--back {
  display: none !important;
}

body.light-mode .header__logo-layer--front {
  color: #000000 !important;
}

body.light-mode .header__logo--mobile {
  color: #000000 !important;
}

body.rtl.light-mode .header__logo-layer,
body.rtl.light-mode .header__logo--mobile {
  color: #000000 !important;
}

/* Navigation - WHITE background with colored animated border */
body.light-mode .header--animated-border .header__nav {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body.light-mode .header--animated-border .header__nav-link {
  color: #1A1A1A !important;
}

body.light-mode .header--animated-border .header__nav-link:hover {
  color: #00D9A5 !important;
  background: rgba(0, 217, 165, 0.1) !important;
}

/* Header actions - dark icons */
body.light-mode .header__actions .header__lang svg {
  stroke: #1A1A1A !important;
}

body.light-mode .header__sign-in {
  color: #1A1A1A !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .header__sign-in:hover {
  background: rgba(0, 217, 165, 0.15) !important;
  color: #000000 !important;
}

/* Hero V2 - WHITE/LIGHT background */
body.light-mode .hero-v2 {
  background: #FFFFFF !important;
}

/* Hero slideshow overlay - LIGHT gradient (reveal more image) */
body.light-mode .hero-v2__overlay {
  background: linear-gradient(
    to right,
    #FFFFFF 0%,
    #FFFFFF 20%,
    rgba(255, 255, 255, 0.9) 40%,
    rgba(255, 255, 255, 0.5) 60%,
    transparent 100%
  ) !important;
}

body.rtl.light-mode .hero-v2__overlay {
  background: linear-gradient(
    to left,
    #FFFFFF 0%,
    #FFFFFF 20%,
    rgba(255, 255, 255, 0.9) 40%,
    rgba(255, 255, 255, 0.5) 60%,
    transparent 100%
  ) !important;
}

/* Hero content - DARK text on white */
body.light-mode .hero-v2__content {
  background: transparent !important;
}

body.light-mode .hero-v2__title {
  color: #1A1A1A !important;
}

body.light-mode .hero-v2__subtitle {
  color: #4A5568 !important;
}

/* Hero tags - dark text, light border */
body.light-mode .hero-v2__tag {
  color: #1A1A1A !important;
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: #E2E8F0 !important;
}

body.light-mode .hero-v2__tag--teal {
  border-color: #00D9A5 !important;
  color: #00D9A5 !important;
}

body.light-mode .hero-v2__tag--blue {
  border-color: #38BDF8 !important;
  color: #38BDF8 !important;
}

body.light-mode .hero-v2__tag--green {
  border-color: #4ADE80 !important;
  color: #4ADE80 !important;
}

/* Hero CTA buttons - keep gradient, dark text */
body.light-mode .hero-v2__cta-primary {
  color: #000000 !important;
}

body.light-mode .hero-v2__cta-secondary {
  color: #1A1A1A !important;
}

body.light-mode .hero-v2__cta-secondary:hover {
  color: #00D9A5 !important;
}

/* Store buttons */
body.light-mode .hero-v2__store-btn {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: #E2E8F0 !important;
}

body.light-mode .hero-v2__store-btn:hover {
  background: rgba(0, 217, 165, 0.1) !important;
  border-color: #00D9A5 !important;
}

body.light-mode .hero-v2__store-icon {
  color: #1A1A1A !important;
}

body.light-mode .hero-v2__store-label {
  color: #718096 !important;
}

body.light-mode .hero-v2__store-name {
  color: #1A1A1A !important;
}

/* CTA Form - WHITE card with shadow */
body.light-mode .hero-v2__cta-form {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .hero-v2__cta-form-title {
  color: #1A1A1A !important;
}

body.light-mode .hero-v2__form-input {
  color: #1A1A1A !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
}

body.light-mode .hero-v2__form-input::placeholder {
  color: #A0AEC0 !important;
}

body.light-mode .hero-v2__form-input:focus {
  border-color: #00D9A5 !important;
  background: #FFFFFF !important;
}

body.light-mode .hero-v2__gender-btn {
  color: #4A5568 !important;
  background: #F8F9FA !important;
  border-color: #E2E8F0 !important;
}

body.light-mode .hero-v2__gender-option input:checked + .hero-v2__gender-btn {
  color: #000000 !important;
  background: rgba(0, 217, 165, 0.15) !important;
  border-color: #00D9A5 !important;
}

/* Submit button - keep gradient, dark text */
body.light-mode .hero-v2__form-submit {
  color: #000000 !important;
}

/* Rotating text - dark on light */
body.light-mode .hero-v2__rotating-item {
  color: #1A1A1A !important;
  text-shadow: none !important;
}

/* Mobile hero content background */
@media (max-width: 768px) {
  body.light-mode .hero-v2__content {
    background: #FFFFFF !important;
  }

  body.light-mode .hero-v2__cta-form {
    background: rgba(255, 255, 255, 0.98) !important;
  }

  body.light-mode .header__mobile-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: #E2E8F0 !important;
  }

  body.light-mode .header__mobile-menu-link {
    color: #1A1A1A !important;
  }

  body.light-mode .header__mobile-menu-link:hover {
    background: rgba(0, 217, 165, 0.1) !important;
    color: #00D9A5 !important;
  }

  body.light-mode .header__hamburger span {
    background: #1A1A1A !important;
  }
}

/* ==================== LIGHT MODE - ANIMATED BG WRAPPER & SECTIONS ==================== */

body.light-mode .animated-bg-wrapper {
  background: #FFFFFF !important;
}

/* Feature Shadchan Section */
body.light-mode .feature-shadchan {
  background: #FFFFFF !important;
}

body.light-mode .feature-shadchan__label {
  color: #00D9A5 !important;
  background: rgba(0, 217, 165, 0.1) !important;
  border-color: rgba(0, 217, 165, 0.3) !important;
}

body.light-mode .feature-shadchan__heading {
  color: #1A1A1A !important;
}

body.light-mode .feature-shadchan__text {
  color: #4A5568 !important;
}

/* How It Works Section */
body.light-mode .how-it-works {
  background: #F8F9FA !important;
}

body.light-mode .how-it-works__heading {
  color: #1A1A1A !important;
}

body.light-mode .how-it-works__subheading {
  color: #4A5568 !important;
}

body.light-mode .how-it-works__step-item {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}

body.light-mode .how-it-works__step-item:hover {
  background: #FFFFFF !important;
  border-color: #00D9A5 !important;
}

body.light-mode .how-it-works__step-title {
  color: #1A1A1A !important;
}

body.light-mode .how-it-works__step-desc {
  color: #4A5568 !important;
}

/* Early Access Section */
body.light-mode .early-access {
  background: #FFFFFF !important;
}

body.light-mode .early-access__heading {
  color: #1A1A1A !important;
}

body.light-mode .early-access__text {
  color: #1A1A1A !important;
}

body.light-mode .early-access__description {
  color: #4A5568 !important;
}

body.light-mode .early-access__gender-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}

body.light-mode .early-access__gender-card:hover {
  background: #F8F9FA !important;
}

body.light-mode .early-access__gender-label {
  color: #1A1A1A !important;
}

/* Chat Feature Section */
body.light-mode .chat-feature {
  background: #F8F9FA !important;
}

body.light-mode .chat-feature__label {
  color: #38BDF8 !important;
  background: rgba(56, 189, 248, 0.1) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

body.light-mode .chat-feature__heading {
  color: #1A1A1A !important;
}

body.light-mode .chat-feature__text {
  color: #4A5568 !important;
}

body.light-mode .chat-feature__benefits li {
  color: #2D3748 !important;
  border-color: #E2E8F0 !important;
}

/* Feature Match Section */
body.light-mode .feature-match {
  background: #FFFFFF !important;
}

body.light-mode .feature-match__label {
  color: #4ADE80 !important;
  background: rgba(74, 222, 128, 0.1) !important;
  border-color: rgba(74, 222, 128, 0.3) !important;
}

body.light-mode .feature-match__heading {
  color: #1A1A1A !important;
}

body.light-mode .feature-match__text {
  color: #4A5568 !important;
}

/* Testimonials Section */
body.light-mode .testimonials {
  background: #F8F9FA !important;
}

body.light-mode .testimonials__heading {
  color: #1A1A1A !important;
}

body.light-mode .testimonials__card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}

body.light-mode .testimonials__card:hover {
  background: #FFFFFF !important;
}

body.light-mode .testimonials__quote {
  color: #2D3748 !important;
}

body.light-mode .testimonials__author {
  color: #00D9A5 !important;
}

/* ==================== ALL SECTION BUTTONS - SOLID TEAL ==================== */

/* All btn-layered buttons in light mode - solid teal with dark text */
body.light-mode .btn-layered {
  background: #00D9A5 !important;
  color: #000000 !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 20px rgba(0, 217, 165, 0.3) !important;
}

body.light-mode .btn-layered:hover {
  background: #00C495 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(0, 217, 165, 0.4) !important;
}

/* Hide the layered shadow effects in light mode - cleaner look */
body.light-mode .btn-layered-wrapper::before,
body.light-mode .btn-layered-wrapper::after {
  display: none !important;
}

/* ==================== HERO-V2 BUTTONS - SOLID TEAL (NO GRADIENT) ==================== */

/* Hero CTA primary button */
body.light-mode .hero-v2__cta-primary {
  background: #00D9A5 !important;
  color: #000000 !important;
}

body.light-mode .hero-v2__cta-primary:hover {
  background: #00C495 !important;
}

/* Hero form submit button */
body.light-mode .hero-v2__form-submit {
  background: #00D9A5 !important;
  color: #000000 !important;
}

body.light-mode .hero-v2__form-submit:hover {
  background: #00C495 !important;
}

/* Feature section buttons */
body.light-mode .feature-shadchan .btn-layered,
body.light-mode .testimonials .btn-layered {
  background: #00D9A5 !important;
  color: #000000 !important;
}

body.light-mode .feature-shadchan .btn-layered:hover,
body.light-mode .testimonials .btn-layered:hover {
  background: #00C495 !important;
}

/* Pre-registration popup submit */
body.light-mode .prereg-popup__submit {
  background: #00D9A5 !important;
  color: #000000 !important;
}

body.light-mode .prereg-popup__submit:hover {
  background: #00C495 !important;
}

/* Nav dropdown CTA button */
body.light-mode .hero-v2__nav-dropdown-cta {
  background: #00D9A5 !important;
  color: #000000 !important;
}

/* Pre-registration popup in light mode */
body.light-mode .prereg-popup__card {
  background: #FFFFFF !important;
}

body.light-mode .prereg-popup__layer--1 {
  background: #FFFFFF !important;
}

body.light-mode .prereg-popup__layer--2 {
  background: rgba(0, 217, 165, 0.05) !important;
}

body.light-mode .prereg-popup__title {
  color: #1A1A1A !important;
}

body.light-mode .prereg-popup__subtitle {
  color: #4A5568 !important;
}

body.light-mode .prereg-popup__input {
  color: #1A1A1A !important;
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}

body.light-mode .prereg-popup__input::placeholder {
  color: #A0AEC0 !important;
}

body.light-mode .prereg-popup__gender-btn {
  color: #4A5568 !important;
  background: #F8F9FA !important;
  border-color: #E2E8F0 !important;
}

body.light-mode .prereg-popup__gender-option input:checked + .prereg-popup__gender-btn {
  color: #000000 !important;
  background: rgba(0, 217, 165, 0.15) !important;
  border-color: #00D9A5 !important;
}

body.light-mode .prereg-popup__submit {
  color: #000000 !important;
}

body.light-mode .prereg-popup__note {
  color: #718096 !important;
}

body.light-mode .prereg-popup__close {
  background: rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .prereg-popup__close svg {
  stroke: #4A5568 !important;
}

/* ==================== COUNTDOWN TIMER ==================== */

.countdown-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

.countdown-timer__label {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.countdown-timer__display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.countdown-timer__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 80px;
}

.countdown-timer__number {
  font-family: 'Clash Display', 'Anton', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  background: linear-gradient(135deg, var(--v2-teal, #14B8A6) 0%, var(--v2-blue, #38BDF8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.countdown-timer__text {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.countdown-timer__separator {
  font-family: 'Clash Display', 'Anton', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  margin: 0 4px;
}

/* Light mode countdown timer */
body.light-mode .countdown-timer__label {
  color: #718096 !important;
}

body.light-mode .countdown-timer__unit {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: #E2E8F0 !important;
}

body.light-mode .countdown-timer__number {
  color: #1A1A1A;
  -webkit-text-fill-color: unset;
  background: none;
}

body.light-mode .countdown-timer__text {
  color: #718096 !important;
}

body.light-mode .countdown-timer__separator {
  color: #CBD5E0 !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .countdown-timer__unit {
    padding: 12px 14px;
    min-width: 60px;
  }

  .countdown-timer__number {
    font-size: 28px;
  }

  .countdown-timer__text {
    font-size: 10px;
  }

  .countdown-timer__separator {
    font-size: 24px;
    margin: 0 2px;
  }
}

@media (max-width: 480px) {
  .countdown-timer__display {
    gap: 4px;
  }

  .countdown-timer__unit {
    padding: 10px 10px;
    min-width: 50px;
  }

  .countdown-timer__number {
    font-size: 22px;
  }

  .countdown-timer__separator {
    font-size: 20px;
  }
}

/* ==================== WHATSAPP FLOATING BUTTON ==================== */
/* Defined in styles.css — kept here as fallback for pages loading only style.css */
