/* ========================================
   NEHA - Home Page Styles
   Enhanced CSS with modern features
======================================== */

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* CSS Custom Properties */
:root {
  --primary-bg: #f8fafc;
  --secondary-bg: #f1f5f9;
  --tertiary-bg: #e2e8f0;
  --primary-text: #334155;
  --secondary-text: #64748b;
  --accent-primary: #7dd3fc;
  --accent-secondary: #a5f3fc;
  --accent-tertiary: #cffafe;
  --border-soft: #cbd5e1;
  --border-lighter: #e2e8f0;
  --shadow-soft: rgba(148, 163, 184, 0.1);
  --shadow-medium: rgba(148, 163, 184, 0.15);
  --gradient-primary: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  --gradient-secondary: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

[data-theme="dark-pastel"] {
  --primary-bg: #1e293b;
  --secondary-bg: #334155;
  --tertiary-bg: #475569;
  --primary-text: #f1f5f9;
  --secondary-text: #cbd5e1;
  --border-soft: #64748b;
  --border-lighter: #475569;
  --shadow-soft: rgba(0, 0, 0, 0.2);
  --shadow-medium: rgba(0, 0, 0, 0.3);
  --gradient-primary: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  --gradient-secondary: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand span,
.hero-super-headline {
  font-family: 'Merriweather', serif;
}

.hero-super-headline {
  text-transform: uppercase;
  font-weight: 900;
}

body {
  margin: 0;
  color: var(--primary-text);
  background: var(--gradient-primary);
}

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

/* Keyword Marquee */
.keyword-marquee-container {
  width: 100%;
  overflow: hidden;
  background: transparent;
  padding: 2px 0;
  margin-top: 2px;
  /* 2px below header as requested */
  white-space: nowrap;
  position: relative;
  z-index: 30;
  /* Mask for fading edges */
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.keyword-marquee {
  display: inline-block;
  animation: marqueeScroll 45s linear infinite;
}

.keyword-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-text);
  letter-spacing: 0.02em;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  margin: 0 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

[data-theme="dark-pastel"] .keyword-item {
  color: var(--primary-text);
}

.keyword-item:hover {
  transform: translateY(-3px) scale(1.02);
  color: #0284c7;
  /* Darker blue text on hover */
}

[data-theme="dark-pastel"] .keyword-item:hover {
  color: #7dd3fc;
  /* Light blue text */
}

/* Hide separators if using card style, or keep them?
   With cards, separators might look cluttery. Let's hide them. */
.keyword-separator {
  display: none;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.333%);
  }

  /* Adjust based on duplication */
}

/* Neural Canvas */
.neural-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  z-index: 1;
  /* Behind content (content is often z-10) */
  pointer-events: auto;
  /* Allow mouse interaction */
  opacity: 0.8;
  overflow: hidden;
}

/* Ensure hero content is above canvas */
.hero-super-content {
  position: relative;
  z-index: 10;
}

.hero-people-section {
  z-index: 5;
  /* Sit in front of canvas but maybe integrate with it? */
}

.keyword-marquee-container {
  z-index: 20;
}

/* Enhanced Focus States for Accessibility */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection Styling */
::selection {
  background: var(--accent-primary);
  color: var(--primary-text);
}

.container {
  width: 100%;
  max-width: min(1680px, 90vw);
  margin: 0 auto;
  padding-left: clamp(1rem, 2vw, 2rem);
  padding-right: clamp(1rem, 2vw, 2rem);
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: var(--secondary-bg);
  color: var(--primary-text);
  border: 1px solid var(--border-soft);
  border-radius: 0.5rem;
  z-index: 1000;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--primary-bg);
  border-bottom: 1px solid var(--border-lighter);
  box-shadow: 0 2px 8px var(--shadow-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.brand img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
}

.brand span {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.menu-toggle {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0.875rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  min-height: 44px;
}

.btn-primary {
  background: var(--gradient-secondary);
  color: var(--primary-text);
  box-shadow: 0 4px 12px var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px var(--shadow-medium);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--primary-text);
}

.btn-outline:hover {
  background: var(--secondary-bg);
}

/* Wireframe Geometries */
.wireframe-container {
  position: absolute;
  inset: 0;
  max-height: 100vh;
  /* Add horizontal padding to prevent 3D boxes from being clipped at edges */
  padding-left: 60px;
  padding-right: 60px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.wireframe-box {
  position: absolute;
  transform-style: preserve-3d;
  perspective: 800px;
}

.wireframe-box .face {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.wireframe-box-1 {
  width: 80px;
  height: 80px;
  top: 15%;
  left: 3%;
  /* Moved inward to account for container padding */
  animation: rotateWireframe1 18s linear infinite;
}

.wireframe-box-1 .face {
  width: 80px;
  height: 80px;
}

.wireframe-box-2 {
  width: 60px;
  height: 60px;
  top: 10%;
  left: 25%;
  animation: rotateWireframe2 22s linear infinite reverse;
}

.wireframe-box-2 .face {
  width: 60px;
  height: 60px;
}

.wireframe-box-3 {
  width: 100px;
  height: 100px;
  top: 25%;
  right: 5%;
  /* Moved inward to account for container padding */
  animation: rotateWireframe1 25s linear infinite;
}

.wireframe-box-3 .face {
  width: 100px;
  height: 100px;
}

.wireframe-box-4 {
  width: 50px;
  height: 50px;
  bottom: 30%;
  right: 25%;
  animation: rotateWireframe2 15s linear infinite;
}

.wireframe-box-4 .face {
  width: 50px;
  height: 50px;
}

.wireframe-box-5 {
  width: 70px;
  height: 70px;
  bottom: 15%;
  left: 35%;
  animation: rotateWireframe1 20s linear infinite reverse;
}

.wireframe-box-5 .face {
  width: 70px;
  height: 70px;
}

/* 3D cube faces */
.face-front {
  transform: translateZ(var(--half-size));
}

.face-back {
  transform: rotateY(180deg) translateZ(var(--half-size));
}

.face-right {
  transform: rotateY(90deg) translateZ(var(--half-size));
}

.face-left {
  transform: rotateY(-90deg) translateZ(var(--half-size));
}

.face-top {
  transform: rotateX(90deg) translateZ(var(--half-size));
}

.face-bottom {
  transform: rotateX(-90deg) translateZ(var(--half-size));
}

.wireframe-box-1 {
  --half-size: 40px;
}

.wireframe-box-2 {
  --half-size: 30px;
}

.wireframe-box-3 {
  --half-size: 50px;
}

.wireframe-box-4 {
  --half-size: 25px;
}

.wireframe-box-5 {
  --half-size: 35px;
}

@keyframes rotateWireframe1 {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(360deg) rotateY(360deg) rotateZ(0deg);
  }
}

@keyframes rotateWireframe2 {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(360deg) rotateY(0deg) rotateZ(360deg);
  }
}

/* Particle Canvas */
#particleCanvas {
  display: none;
  position: absolute;
  inset: 0;
  max-height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Glassmorphic Buttons */
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
  text-decoration: none;
}

.btn-glass-primary {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.btn-glass-primary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-glass-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-glass-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-glass svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-glass-primary:hover svg {
  transform: translateX(3px);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Parallax Container */
.parallax-layer {
  will-change: transform;
}



/* ========================================
   ENHANCED PARALLAX SYSTEM
======================================== */
.parallax-depth-1 {
  transform: translateZ(-1px) scale(2);
}

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

.parallax-depth-3 {
  transform: translateZ(-3px) scale(4);
}

.parallax-wrapper {
  perspective: 1px;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  perspective-origin: center center;
}

.parallax-section {
  position: relative;
  transform-style: preserve-3d;
}

/* ========================================
   3D ORGANIC WELLNESS HAND (Hyper-Improvised)
======================================== */
.wellness-hand-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  perspective: 1000px;
}

.organic-hand {
  position: relative;
  width: 320px;
  height: 480px;
  transform-style: preserve-3d;
  animation: handFloat 8s ease-in-out infinite;
}

/* Hand Base - Glassmorphic */
.hand-base {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  transform: rotateZ(-15deg);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.1),
    inset 0 0 40px rgba(255, 255, 255, 0.5);
}

/* Wrist */
.hand-wrist {
  position: absolute;
  width: 140px;
  height: 180px;
  bottom: -60px;
  left: 35%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(8px);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  transform: rotateZ(-15deg);
  z-index: -1;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* Fingers - Individual Glass Elements */
.hand-finger {
  position: absolute;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 60px;
  box-shadow:
    inset 0 0 15px rgba(255, 255, 255, 0.4),
    0 10px 20px rgba(0, 0, 0, 0.05);
  transform-origin: bottom center;
}

.finger-1 {
  width: 32px;
  height: 120px;
  top: -85px;
  left: 42%;
  transform: rotate(-8deg);
  z-index: 2;
}

.finger-2 {
  width: 30px;
  height: 145px;
  top: -110px;
  left: 54%;
  transform: rotate(2deg);
  z-index: 1;
}

.finger-3 {
  width: 28px;
  height: 140px;
  top: -105px;
  left: 66%;
  transform: rotate(8deg);
  z-index: 1;
}

.finger-4 {
  width: 26px;
  height: 110px;
  top: -75px;
  left: 78%;
  transform: rotate(15deg);
  z-index: 0;
}

.thumb {
  width: 36px;
  height: 90px;
  top: 30%;
  left: 5%;
  transform: rotate(-50deg);
  border-radius: 40px 40px 30px 30px;
  z-index: 3;
}

/* Energy Orb in Palm */
.energy-orb {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 30%;
  left: 45%;
  border-radius: 50%;
  background: radial-gradient(circle, #a5f3fc 0%, rgba(125, 211, 252, 0.4) 50%, transparent 80%);
  filter: blur(8px);
  box-shadow: 0 0 40px #7dd3fc, 0 0 80px rgba(165, 243, 252, 0.6);
  animation: orbPulse 4s ease-in-out infinite;
  z-index: 10;
}

.energy-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%) rotateX(70deg);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.ring-1 {
  width: 140px;
  height: 140px;
  animation: ringRotate 10s linear infinite;
  border-color: rgba(165, 243, 252, 0.4);
}

.ring-2 {
  width: 100px;
  height: 100px;
  animation: ringRotate 8s linear infinite reverse;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Enhanced Foliage */
.foliage-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.leaf {
  position: absolute;
  transform-origin: bottom center;
  animation: leafSway 5s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.leaf::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #86efac 0%, #4ade80 50%, #22c55e 100%);
  border-radius: 100% 0% 100% 0%;
  box-shadow: inset 4px 4px 10px rgba(255, 255, 255, 0.4);
}

.leaf-1 {
  width: 70px;
  height: 40px;
  top: -60px;
  left: 30%;
  animation-delay: 0s;
}

.leaf-2 {
  width: 90px;
  height: 50px;
  top: -100px;
  left: 45%;
  animation-delay: -1.5s;
  transform: rotate(-25deg);
}

.leaf-3 {
  width: 60px;
  height: 35px;
  top: -50px;
  left: 75%;
  animation-delay: -3s;
  transform: rotate(35deg);
}

.leaf-4 {
  width: 80px;
  height: 45px;
  top: -80px;
  left: 15%;
  animation-delay: -0.5s;
  transform: rotate(-45deg);
}

/* Enhanced Crystals */
.crystal-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

.crystal {
  position: absolute;
  animation: crystalFloat 4s ease-in-out infinite;
}

.crystal::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 30%, 80% 100%, 20% 100%, 0% 30%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(147, 197, 253, 0.8) 100%);
  box-shadow: 0 0 20px rgba(147, 197, 253, 0.6);
  backdrop-filter: blur(4px);
}

.crystal-1 {
  width: 30px;
  height: 50px;
  top: -40px;
  left: 35%;
  animation-delay: 0s;
}

.crystal-2 {
  width: 25px;
  height: 40px;
  top: 0;
  right: 15%;
  animation-delay: -1.2s;
  transform: rotate(15deg);
}

/* Amethyst */
.crystal-amethyst::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(192, 132, 252, 0.8) 100%);
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.6);
}

.crystal-3 {
  width: 35px;
  height: 60px;
  top: -70px;
  left: 60%;
  animation-delay: -2.5s;
}

.crystal-4 {
  width: 22px;
  height: 38px;
  bottom: 40%;
  right: 10%;
  animation-delay: -0.8s;
  transform: rotate(45deg);
}

/* Floating Particles */
.sparkle {
  position: absolute;
  background: white;
  border-radius: 50%;
  filter: blur(1px);
  animation: sparkleFloat 3s linear infinite;
}

@keyframes handFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes orbPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
    filter: blur(10px);
  }
}

@keyframes ringRotate {
  0% {
    transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg);
  }
}

@keyframes crystalFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes sparkleFloat {
  0% {
    transform: translateY(0) scale(0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(-40px) scale(0);
    opacity: 0;
  }
}

/* ========================================
   TWO-COLUMN NUMBERED CARD LAYOUT
======================================== */
.numbered-cards-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

[data-theme="dark-pastel"] .numbered-cards-section {
  background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

.numbered-cards-header {
  text-align: center;
  margin-bottom: 4rem;
}

.numbered-cards-header h2 {
  font-family: 'Georgia', serif;
  font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-text);
  margin: 0 0 1rem;
}

.numbered-cards-header p {
  font-size: 1.15rem;
  color: var(--secondary-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.numbered-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.numbered-card {
  position: relative;
  background: var(--primary-bg);
  border: 1px solid var(--border-lighter);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 40px var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.numbered-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #56CCF2, #2F80ED, #9333EA);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.numbered-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px var(--shadow-medium);
}

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

.card-number {
  font-family: 'Inter', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

[data-theme="dark-pastel"] .card-number {
  background: linear-gradient(135deg, #475569 0%, #64748b 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.numbered-card h3 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-text);
  margin: 0 0 1rem;
}

.numbered-card p {
  font-size: 1.05rem;
  color: var(--secondary-text);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  background: var(--secondary-bg);
  border: 1px solid var(--border-lighter);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--secondary-text);
  transition: all 0.2s ease;
}

.card-feature-tag:hover {
  background: var(--accent-tertiary);
  border-color: var(--accent-primary);
  color: var(--primary-text);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #56CCF2 0%, #2F80ED 100%);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(47, 128, 237, 0.25);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

/* Card accent variants */
.numbered-card.accent-purple .card-icon {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

.numbered-card.accent-green .card-icon {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
}

.numbered-card.accent-rose .card-icon {
  background: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%);
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.25);
}

.numbered-card.accent-amber .card-icon {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

/* Responsive numbered cards */
@media (max-width: 900px) {
  .numbered-cards-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .numbered-card {
    padding: 2rem;
  }

  .card-number {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .numbered-cards-section {
    padding: 3rem 0;
  }

  .numbered-card {
    padding: 1.5rem;
  }

  .card-number {
    font-size: 2.5rem;
  }

  .numbered-card h3 {
    font-size: 1.25rem;
  }
}

/* ========================================
   ENHANCED PARALLAX HERO EFFECTS
======================================== */
.hero-parallax-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.parallax-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.6) 0%, transparent 70%);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.5) 0%, transparent 70%);
  top: 30%;
  right: -5%;
  animation-delay: -5s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(134, 239, 172, 0.4) 0%, transparent 70%);
  bottom: -10%;
  left: 30%;
  animation-delay: -10s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -20px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 30px) scale(0.95);
  }

  75% {
    transform: translate(-30px, -10px) scale(1.02);
  }
}

/* Floating elements with different parallax speeds */
.floating-element {
  position: absolute;
  transition: transform 0.1s linear;
  will-change: transform;
}

.float-slow {
  animation: floatSlow 12s ease-in-out infinite;
}

.float-medium {
  animation: floatMedium 8s ease-in-out infinite;
}

.float-fast {
  animation: floatFast 5s ease-in-out infinite;
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-30px) translateX(15px);
  }
}

@keyframes floatMedium {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-20px) translateX(-10px);
  }
}

@keyframes floatFast {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-15px) translateX(8px);
  }
}

/* ========================================
   ENHANCED WELLNESS PARALLAX SYSTEM
   "Floating in Water" Spring Physics Ready
======================================== */

/* Sticky Parallax Container - locks section during scroll */
.parallax-sticky-hero {
  position: relative;
  height: 200vh;
  /* Double viewport for scroll range */
  /* Note: NO overflow:hidden - required for position:sticky to work */
  background: linear-gradient(165deg, #FDF6F0 0%, #E8F3F1 50%, #F0F7F5 100%);
}

[data-theme="dark-pastel"] .parallax-sticky-hero {
  background: linear-gradient(165deg, #1a2a2e 0%, #1e3a3a 50%, #1a2e2a 100%);
}

.parallax-sticky-section {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Parallax Layer System - 3 distinct depths */
.parallax-back-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  will-change: transform;
  pointer-events: none;
}

.parallax-mid-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-front-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Soft Organic Background Circle (Back Layer) */
.parallax-organic-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.organic-bg-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(134, 239, 172, 0.35) 0%, transparent 70%);
  top: 10%;
  left: 15%;
}

.organic-bg-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.3) 0%, transparent 70%);
  top: 40%;
  right: 10%;
}

.organic-bg-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.25) 0%, transparent 70%);
  bottom: 5%;
  left: 40%;
}

[data-theme="dark-pastel"] .organic-bg-1 {
  background: radial-gradient(circle, rgba(74, 222, 128, 0.2) 0%, transparent 70%);
}

[data-theme="dark-pastel"] .organic-bg-2 {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.18) 0%, transparent 70%);
}

[data-theme="dark-pastel"] .organic-bg-3 {
  background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, transparent 70%);
}

/* Enhanced Wellness Section with Parallax Text */
.wellness-parallax-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Front Layer - Floating Text */
.wellness-parallax-text {
  position: absolute;
  text-align: center;
  z-index: 30;
  pointer-events: none;
}

.wellness-main-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(3rem, 2.5rem + 3vw, 5rem);
  font-weight: 700;
  color: #064e3b;
  margin: 0 0 1rem;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.6);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

[data-theme="dark-pastel"] .wellness-main-title {
  color: #86efac;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.wellness-subtitle {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.1rem);
  font-weight: 500;
  color: #047857;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin: 0;
  opacity: 0.85;
}

[data-theme="dark-pastel"] .wellness-subtitle {
  color: #6ee7b7;
}

/* Scroll Indicator for Parallax Section */
.parallax-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.parallax-scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #047857;
}

[data-theme="dark-pastel"] .scroll-indicator-text {
  color: #6ee7b7;
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #047857, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

[data-theme="dark-pastel"] .scroll-indicator-line {
  background: linear-gradient(to bottom, #6ee7b7, transparent);
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

/* Responsive adjustments for parallax section */
@media (max-width: 768px) {
  .parallax-sticky-hero {
    height: 150vh;
  }

  .wellness-main-title {
    font-size: clamp(2rem, 1.8rem + 2vw, 3rem);
  }

  .organic-bg-1,
  .organic-bg-2,
  .organic-bg-3 {
    transform: scale(0.6);
  }

  .parallax-scroll-indicator {
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .wellness-main-title {
    font-size: 1.75rem;
  }

  .wellness-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }
}

/* ========================================
   BREATHING EXERCISE COMPONENT
   Scroll-based breathing guide
======================================== */

.breathing-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.breathing-circle {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Inner ring - solid core */
.breathing-inner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(134, 239, 172, 0.6) 0%, rgba(74, 222, 128, 0.4) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 0 40px rgba(255, 255, 255, 0.3),
    0 10px 40px rgba(74, 222, 128, 0.2);
}

/* Outer ring - pulsing halo */
.breathing-outer-ring {
  position: absolute;
  width: 130%;
  height: 130%;
  border-radius: 50%;
  border: 1px solid rgba(134, 239, 172, 0.3);
  opacity: 0.7;
  transition: all 0.3s ease;
}

/* Glow effect */
.breathing-glow {
  position: absolute;
  width: 180%;
  height: 180%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134, 239, 172, 0.15) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

/* Breathing states */
.breathing-circle.inhale {
  transform: scale(1.5);
}

.breathing-circle.inhale .breathing-outer-ring {
  width: 150%;
  height: 150%;
  opacity: 1;
}

.breathing-circle.hold {
  transform: scale(1.5);
}

.breathing-circle.exhale {
  transform: scale(1);
}

.breathing-circle.exhale .breathing-outer-ring {
  width: 120%;
  height: 120%;
  opacity: 0.5;
}

/* Breathing instruction text */
.breathing-instruction {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #047857;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 0.5rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

[data-theme="dark-pastel"] .breathing-instruction {
  color: #6ee7b7;
}

/* Progress bar */
.breathing-progress {
  width: 200px;
  height: 4px;
  background: rgba(4, 120, 87, 0.15);
  border-radius: 2px;
  margin: 1.5rem auto;
  overflow: hidden;
}

.breathing-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4ade80, #22c55e);
  border-radius: 2px;
  transition: width 0.1s linear;
}

[data-theme="dark-pastel"] .breathing-progress {
  background: rgba(110, 231, 183, 0.15);
}

[data-theme="dark-pastel"] .breathing-progress-bar {
  background: linear-gradient(90deg, #6ee7b7, #4ade80);
}

/* Breathing phase colors */
.breathing-circle.inhale .breathing-inner-ring {
  background: linear-gradient(135deg, rgba(134, 239, 172, 0.7) 0%, rgba(74, 222, 128, 0.5) 100%);
  box-shadow:
    inset 0 0 50px rgba(255, 255, 255, 0.4),
    0 15px 60px rgba(74, 222, 128, 0.35);
}

.breathing-circle.hold .breathing-inner-ring {
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.7) 0%, rgba(96, 165, 250, 0.5) 100%);
  box-shadow:
    inset 0 0 50px rgba(255, 255, 255, 0.4),
    0 15px 60px rgba(96, 165, 250, 0.35);
}

.breathing-circle.exhale .breathing-inner-ring {
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.6) 0%, rgba(167, 139, 250, 0.4) 100%);
  box-shadow:
    inset 0 0 40px rgba(255, 255, 255, 0.3),
    0 10px 40px rgba(167, 139, 250, 0.25);
}

/* Responsive breathing circle */
@media (max-width: 768px) {
  .breathing-circle {
    width: 150px;
    height: 150px;
  }

  .breathing-progress {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .breathing-circle {
    width: 120px;
    height: 120px;
  }

  .breathing-instruction {
    font-size: 0.85rem;
  }

  .breathing-progress {
    width: 120px;
  }
}

/* ========================================
   MANTRA HEALTH-INSPIRED HERO STYLES
======================================== */

/* Container with fixed width and bottom border */
.container-fixed {
  display: flex;
  align-items: flex-end;
  gap: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Basic content wrapper */
.basic-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Subhead - small label above main headline */
.subhead {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Emphasized text in headline - italic gradient */
.hero-headline em {
  font-style: italic;
  background: linear-gradient(135deg, #ffd700 0%, #ffc107 50%, #fff9c4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

/* CTA Button Wrapper */
.basic-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Site Button Base */
.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 48px;
  border: none;
}

/* Primary Button - Strong CTA */
.site-button.primary {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  color: #1e40af;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(255, 255, 255, 0.2) inset;
}

.site-button.primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.2),
    0 6px 16px rgba(255, 255, 255, 0.3) inset;
}

.site-button.primary svg {
  transition: transform 0.2s ease;
}

.site-button.primary:hover svg {
  transform: translateX(4px);
}

/* Secondary Button - Outlined style */
.site-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Tertiary Button - Text-like with arrow */
.site-button.tertiary {
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  padding: 0.875rem 0.5rem;
  border: none;
}

.site-button.tertiary:hover {
  color: #ffffff;
}

.site-button.tertiary svg {
  transition: transform 0.2s ease;
}

.site-button.tertiary:hover svg {
  transform: translateX(4px);
}

/* Dark theme adjustments */
[data-theme="dark-pastel"] .subhead {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark-pastel"] .site-button.primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
}

/* Hero Banner - Split Layout with Sky Blue Background */
.hero {
  position: relative;
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  height: 100vh;
  max-height: 100vh;
  width: 100%;
  max-width: 100vw;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  padding: 0 clamp(1rem, 3vw, 4rem);
}

/* Subtle noise texture overlay for depth */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* White transition at bottom - straight horizontal line */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark-pastel"] .hero {
  background: linear-gradient(180deg, #1a3a4a, #0d2537);
}

[data-theme="dark-pastel"] .hero::after {
  background: linear-gradient(165deg, transparent 48%, var(--primary-bg) 48%);
}

.hero-split-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  min-height: calc(100vh - 80px);
  height: 100%;
  padding: 0 clamp(1rem, 3vw, 4rem) 0;
  margin: 0 auto;
  z-index: 1;
}

/* Override container-fixed display for hero-split-container */
.hero-split-container.container-fixed {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0;
}

/* Left side - Text content */
.hero-content {
  flex: 1 1 45%;
  position: relative;
  padding: 3rem 0;
  display: flex;
  align-self: stretch;
  align-items: center;
  animation: heroContentFadeIn 0.8s ease-out forwards;
  min-width: 360px;
}

.hero-content p {
  font-size: 1.125rem;
}

.hero-headline {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  letter-spacing: -0.02em;
}

/* Gradient text accent for brand emphasis */
.hero-headline .accent {
  background: linear-gradient(135deg, #ffd700 0%, #ffc107 50%, #fff9c4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

.hero-subheadline {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  max-width: 500px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

/* Trust indicator badge */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: fit-content;
}

.trust-badge-number {
  font-family: 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.trust-badge-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.3;
}

/* Right side - Image container (like hero-img in Mantra) */
.hero-image-container {
  flex: 1 1 45%;
  position: relative;
  min-width: 360px;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: flex-end;
  animation: heroImageFadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
  opacity: 0;
  z-index: 1;
}

/* Subtle glow behind image */
.hero-image-container::before {
  content: '';
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

.hero-people-image {
  display: block;
  position: relative;
  height: auto;
  max-height: 100%;
  width: auto;
  min-width: 280px;
  max-width: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: none;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hero Stats Ribbon - Glassmorphic bar with key metrics */
.hero-stats-ribbon {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 1.75rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  margin-top: 0.5rem;
  width: fit-content;
  animation: statsSlideIn 0.8s ease-out 0.5s forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes statsSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.stat-number {
  font-family: 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
}


/* Floating decorative orbs - now visible with enhanced glow */
.hero-orb {
  display: block;
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 70%);
  top: -5%;
  right: 5%;
  animation: float 10s ease-in-out infinite;
  filter: blur(2px);
}

.hero-orb-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 45%, transparent 70%);
  bottom: 15%;
  left: 3%;
  animation: float 8s ease-in-out infinite reverse;
  filter: blur(1px);
}

.hero-orb-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 35%, transparent 70%);
  top: 35%;
  left: 15%;
  animation: float 7s ease-in-out infinite 1.5s;
}

.hero-orb-4 {
  display: block;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.03) 50%, transparent 70%);
  bottom: 40%;
  right: 15%;
  animation: float 9s ease-in-out infinite 0.5s;
  filter: blur(1px);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-25px) scale(1.05);
  }
}

@keyframes heroContentFadeIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroImageFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   Device-optimized breakpoints with smooth animations
======================================== */

/* Large Screens (1920x1080 and up) */
@media (min-width: 1920px) {
  .hero-split-container {
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    padding: 0 8rem 10rem;
    max-width: 1800px;
    margin: 0 auto;
  }

  .hero-content {
    padding-top: 0;
    padding-left: 6rem;
  }

  .hero-headline {
    font-size: 1.5rem;
  }

  .hero-subheadline {
    font-size: 1.5rem;
    max-width: 650px;
  }

  .hero-image-container {
    width: 50%;
    right: 5%;
  }
}

/* Standard Desktop (1440x900) */
@media (min-width: 1440px) and (max-width: 1919px) {
  .hero-split-container {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    padding: 0 6rem 8rem;
  }

  .hero-content {
    padding-top: 0;
    padding-left: 4rem;
  }

  .hero-headline {
    font-size: 4.5rem;
  }

  .hero-image-container {
    width: 45%;
    right: 2%;
  }
}

/* Laptop (1366x768) */
@media (min-width: 1280px) and (max-width: 1439px) {
  .hero-split-container {
    padding: 0 4rem 6rem;
    gap: 3rem;
    min-height: calc(100vh - 70px);
  }

  .hero-content {
    padding-top: 0;
    padding-left: 2rem;
  }

  .hero-headline {
    font-size: 3.5rem;
  }

  .hero-subheadline {
    font-size: 1.2rem;
    max-width: 500px;
  }

  .hero-image-container {
    width: 38%;
    right: 0;
  }

  .hero-people-image {
    height: 85%;
  }
}

/* Tablet Portrait / Large Tablet (1024x1366) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero {
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
  }

  .hero-split-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0 3rem 6rem;
  }

  .hero-content {
    padding-top: 0;
    padding-left: 2rem;
  }

  .hero-headline {
    font-size: 3rem;
  }

  .hero-image-container {
    width: 45%;
  }

  .hero-people-image {
    max-height: 70vh;
    right: 0;
  }
}

/* Tablet (768x1024) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    align-items: flex-start;
    padding-top: 0;
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
    padding-bottom: 0;
    overflow: hidden;
  }

  /* Header fixes for tablet crowding - prevent button wrapping */
  .nav-inner {
    flex-wrap: nowrap;
  }

  .nav-links {
    gap: 0.35rem;
    flex-wrap: nowrap;
  }

  .nav-links a,
  .nav-links button {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem !important;
    white-space: nowrap !important;
    min-width: auto;
  }

  nav .btn {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    min-width: auto;
  }

  /* Shorter brand at tablet */
  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand span {
    font-size: 1.2rem;
  }

  .hero-split-container {
    display: flex;
    flex-direction: column;
    padding: 0 3rem 0;
    gap: 1.25rem;
    text-align: center;
    align-items: center;
    justify-content: space-between;
    position: relative;
    top: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
    min-height: calc(100vh - 80px);
  }

  .hero-content {
    align-items: center;
    padding: 0;
    max-width: 85%;
    min-width: auto;
    margin: 0 auto;
    order: 1;
    top: 0;
    transform: none !important;
    padding-top: 0;
  }

  .basic-content {
    align-items: center;
    text-align: center;
  }

  .basic-cta-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-headline {
    font-size: 2.6rem;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.15;
    max-width: 100%;
  }

  .hero::after {
    height: 0;
  }

  /* Hide forced line break on tablet to allow natural text flow */
  .hero-headline br {
    display: none;
  }

  .hero-subheadline {
    font-size: 1rem;
    margin: 0.75rem auto 0;
    max-width: 540px;
    line-height: 1.6;
  }

  /* Image hidden on tablet vertical */
  .hero-image-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 360px;
    max-height: 600px;
    min-width: auto;
    right: auto;
    bottom: auto;
    order: 2;
    margin: 0 auto;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 1;
    animation: none;
  }

  .hero-image-container img {
    max-width: 100%;
    width: auto;
    filter: none;
  }

  .hero-people-image {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-width: 300px;
    max-height: 550px;
    max-width: 100%;
    object-fit: cover;
    object-position: center bottom;
    right: auto;
    bottom: auto;
    margin-bottom: 0;
    filter: none;
  }

  .hero-parallax-bg {
    display: none;
  }

  .hero-buttons {
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }

  /* Hide floating orbs that might overlap */
  .hero-orb {
    opacity: 0.3;
  }
}

/* Small Tablet / Large Phone (600x960) */
@media (min-width: 600px) and (max-width: 767px) {
  .hero {
    min-height: auto;
  }

  .hero-split-container {
    display: flex;
    flex-direction: column;
    padding: 3rem 1.5rem 2rem;
    gap: 1.5rem;
    text-align: center;
  }

  .hero-parallax-bg {
    display: none;
  }

  .hero-content {
    align-items: center;
    padding: 0;
    order: 1;
    min-width: auto;
  }

  .basic-content {
    align-items: center;
    text-align: center;
  }

  .basic-cta-wrapper {
    justify-content: center;
  }

  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-image-container {
    position: relative;
    width: 90%;
    height: auto;
    min-width: auto;
    min-height: 300px;
    max-height: 400px;
    right: auto;
    bottom: auto;
    order: 2;
    margin: 0 auto;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 1;
    animation: none;
  }

  .hero-people-image {
    position: relative;
    width: 100%;
    height: auto;
    min-width: 280px;
    max-height: 380px;
    max-width: 100%;
    object-fit: cover;
    object-position: center bottom;
  }

  .hero-trust-badge {
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-scroll-cta {
    display: none;
  }
}

@media (max-width: 599px) {
  .hero {
    min-height: 100vh !important;
    height: 100vh !important;
    max-height: 100vh !important;
    padding-bottom: 0;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero::after {
    height: 40px;
  }

  .hero-split-container {
    display: flex;
    flex-direction: column;
    padding: 0 1rem 0rem !important;
    /* Cut upper blue height */
    gap: 1.25rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: 100%;
  }

  .hero-content {
    align-items: center;
    padding: 0 0.75rem;
    gap: 1rem;
    order: 1;
    width: 100%;
    z-index: 10;
    margin: 0 auto;
    padding-top: 0;
    text-align: center;
  }

  .basic-content {
    align-items: center;
    text-align: center;
  }

  .hero-headline {
    font-size: 1.65rem;
    /* readable on small screens */
    line-height: 1.2;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-subheadline {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-trust-badge {
    padding: 0.5rem 1rem;
    margin: 0 auto;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
    gap: 0.75rem;
  }

  .btn-glass {
    width: 100%;
  }

  /* Specific image handling for mobile */
  .hero-image-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 280px;
    max-height: 400px;
    right: auto;
    bottom: 0;
    left: 0;
    margin-top: auto;
    /* Push to bottom */
    order: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
    opacity: 1;
    animation: none;
  }

  .hero-people-image {
    position: relative;
    width: 100%;
    height: auto;
    min-width: 240px;
    max-height: 380px;
    max-width: 100%;
    object-fit: cover;
    object-position: center bottom;
    transform: none !important;
    /* Disable hover effects */
  }

  .hero-parallax-bg {
    display: none;
  }

  /* Hide complex decorations */
  .hero-orb,
  .wireframe-container,
  .hero-scroll-cta {
    display: none;
  }
}

/* Small Mobile Specific Tweaks (360px) */
@media (max-width: 389px) {
  .hero-headline {
    font-size: 1.5rem;
  }

  .hero-image-container {
    height: 250px;
  }
}

/* Very Small Mobile (320px - 350px) */
@media (max-width: 360px) {
  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
  }

  .hero-split-container {
    padding: 0 0.75rem 0 !important;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .hero-content {
    align-items: center;
    text-align: center;
    padding: 0 0.5rem;
    margin: 0 auto;
    width: 100%;
  }

  .basic-content {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-headline {
    font-size: 1.2rem;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-subheadline {
    font-size: 0.85rem;
    text-align: center;
    margin: 0 auto;
    padding: 0 0.25rem;
    max-width: 100%;
  }

  .basic-cta-wrapper {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .site-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .subhead {
    margin: 0 auto;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn-glass:active {
    transform: scale(0.97);
  }

  .hero-buttons {
    gap: 0.85rem;
  }

  .btn-glass {
    min-height: 48px;
  }
}

/* Sections */
.section {
  padding: clamp(2rem, 1.5rem + 2vw, 4rem) 0;
}

.section h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2.5rem);
  margin: 0 0 1.5rem;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(0.75rem, 0.5rem + 1vw, 2rem);
}

.card {
  background: var(--primary-bg);
  border: 1px solid var(--border-lighter);
  border-radius: 1rem;
  padding: clamp(1rem, 0.75rem + 1vw, 1.75rem);
  box-shadow: 0 4px 12px var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card h3 {
  margin: 0 0 .5rem;
  font-size: 1.1rem;
}

.muted {
  color: var(--secondary-text);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px var(--shadow-medium);
}

/* Auth */
.auth {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

.label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 2px solid var(--border-lighter);
  background: var(--secondary-bg);
  color: var(--primary-text);
  transition: border-color .2s ease;
}

.input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, .12);
  background: var(--primary-bg);
}

.helper {
  font-size: .9rem;
  color: var(--secondary-text);
}

.error {
  color: #b91c1c;
  font-size: .9rem;
  margin-top: .25rem;
}

.success {
  color: #065f46;
  font-size: .95rem;
  margin-top: .25rem;
}

/* Enhanced Footer Styles */
.footer {
  background: var(--secondary-bg);
  border-top: 1px solid var(--border-soft);
  color: var(--primary-text);
  padding: 0;
  margin-top: clamp(2rem, 1.5rem + 2vw, 4rem);
}

.footer-main {
  padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0 clamp(1.5rem, 1rem + 1vw, 2.5rem) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  margin-bottom: 2.5rem;
}

.footer-section h4 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--primary-text);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.65rem;
}

.footer-section a {
  color: var(--secondary-text);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.95rem;
  display: inline-block;
}

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

.footer-brand {
  grid-column: 1;
}

.footer-brand p {
  color: var(--secondary-text);
  margin: 0.75rem 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  background: var(--tertiary-bg);
  color: var(--primary-text);
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-lighter);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--secondary-text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--accent-primary);
}

.footer-copyright {
  color: var(--secondary-text);
  font-size: 0.9rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: var(--tertiary-bg);
  border-radius: 0.5rem;
  font-size: 0.85rem;
  color: var(--secondary-text);
  margin-top: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--secondary-text);
  font-size: 0.95rem;
}

.contact-icon {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .container {
    padding-left: 0.1rem;
    padding-right: 0.1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-bottom-links {
    justify-content: center;
  }
}


/* CTA row */
.cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Values (Hope / Recover / Trust) media cards */
/* ========================================
   VALUES SECTION - PARALLAX & ANIMATIONS
   Enhanced with depth, floating elements, and 3D effects
======================================== */
.values {
  position: relative;
  background: linear-gradient(180deg, var(--primary-bg) 0%, rgba(134, 239, 172, 0.05) 50%, var(--primary-bg) 100%);
  overflow: hidden;
  padding: 6rem 0 8rem;
}

[data-theme="dark-pastel"] .values {
  background: linear-gradient(180deg, var(--primary-bg) 0%, rgba(74, 222, 128, 0.08) 50%, var(--primary-bg) 100%);
}

/* Floating parallax orbs for values section */
.values-parallax-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.values-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  will-change: transform;
  transition: transform 0.3s ease-out;
}

.values-orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(134, 239, 172, 0.5) 0%, transparent 70%);
  top: -15%;
  left: -10%;
  animation: valuesFloatOrb1 20s ease-in-out infinite;
}

.values-orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.45) 0%, transparent 70%);
  top: 40%;
  right: -8%;
  animation: valuesFloatOrb2 18s ease-in-out infinite;
  animation-delay: -6s;
}

.values-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.4) 0%, transparent 70%);
  bottom: -10%;
  left: 30%;
  animation: valuesFloatOrb3 22s ease-in-out infinite;
  animation-delay: -12s;
}

.values-orb-4 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.35) 0%, transparent 70%);
  top: 20%;
  left: 50%;
  animation: valuesFloatOrb4 15s ease-in-out infinite;
  animation-delay: -4s;
}

[data-theme="dark-pastel"] .values-orb-1 {
  background: radial-gradient(circle, rgba(74, 222, 128, 0.25) 0%, transparent 70%);
}

[data-theme="dark-pastel"] .values-orb-2 {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.22) 0%, transparent 70%);
}

[data-theme="dark-pastel"] .values-orb-3 {
  background: radial-gradient(circle, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
}

[data-theme="dark-pastel"] .values-orb-4 {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.18) 0%, transparent 70%);
}

@keyframes valuesFloatOrb1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(40px, 30px) scale(1.08);
  }

  50% {
    transform: translate(-20px, 50px) scale(0.95);
  }

  75% {
    transform: translate(30px, -20px) scale(1.05);
  }
}

@keyframes valuesFloatOrb2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-35px, 25px) scale(1.1);
  }

  66% {
    transform: translate(25px, -30px) scale(0.92);
  }
}

@keyframes valuesFloatOrb3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(45px, -35px) scale(1.12);
  }
}

@keyframes valuesFloatOrb4 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(-30px, 40px) rotate(10deg) scale(1.15);
  }
}

/* Values section header with parallax */
.values .container {
  position: relative;
  z-index: 1;
}

.values-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(40px);
  animation: valuesFadeInUp 0.8s ease forwards;
}

.values-header h2 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(2rem, 1.6rem + 2vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-text);
  margin: 0 0 1rem;
  background: linear-gradient(135deg, var(--primary-text) 0%, #4ade80 50%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark-pastel"] .values-header h2 {
  background: linear-gradient(135deg, #ffffff 0%, #86efac 50%, #4ade80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.values-intro {
  max-width: 70ch;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: var(--secondary-text);
  font-size: 1.15rem;
  line-height: 1.8;
}

@keyframes valuesFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Values grid with enhanced layout */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.5rem, 1.5rem + 1.5vw, 2.5rem);
  perspective: 1200px;
}

/* Enhanced 3D media cards with parallax hover */
.media-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--secondary-bg);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  isolation: isolate;
  transition:
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Staggered reveal animation */
.media-card.reveal {
  opacity: 0;
  transform: translateY(60px) rotateX(8deg);
}

.media-card.reveal:nth-child(1) {
  animation-delay: 0.1s;
}

.media-card.reveal:nth-child(2) {
  animation-delay: 0.25s;
}

.media-card.reveal:nth-child(3) {
  animation-delay: 0.4s;
}

.media-card.reveal.in {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 3D hover effect */
.media-card:hover {
  transform: translateY(-12px) rotateX(4deg) scale(1.02);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.15),
    0 15px 30px rgba(74, 222, 128, 0.12),
    0 0 0 1px rgba(74, 222, 128, 0.1);
}

[data-theme="dark-pastel"] .media-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

[data-theme="dark-pastel"] .media-card:hover {
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.3),
    0 15px 30px rgba(74, 222, 128, 0.08),
    0 0 0 1px rgba(74, 222, 128, 0.15);
}

/* Glowing accent line on hover */
.media-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4ade80, #22c55e, #10b981);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 10;
}

.media-card:hover::before {
  transform: scaleX(1);
}

.media-card picture,
.media-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.media-card img {
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transform: scale(1.15);
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s ease, box-shadow 0.5s ease;
  filter: brightness(1.05) contrast(1.08) saturate(1.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.media-card:hover img {
  transform: scale(1.0);
  filter: brightness(1.1) contrast(1.12) saturate(1.15);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 60px rgba(74, 222, 128, 0.15);
}

/* Enhanced gradient overlay */
.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.02) 30%,
      rgba(0, 0, 0, 0.4) 70%,
      rgba(0, 0, 0, 0.7) 100%);
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.media-card:hover::after {
  opacity: 0.95;
}

/* Animated media overlay */
.media-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.25rem, 1.4rem + 0.6vw, 2rem);
  color: #ffffff;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 5;
}

.media-card:hover .media-overlay {
  transform: translateY(-8px);
}

/* Value icon badge */
.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.value-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.value-icon.hope {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.9) 0%, rgba(34, 197, 94, 0.8) 100%);
  box-shadow: 0 8px 24px rgba(74, 222, 128, 0.35);
}

.value-icon.recover {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.9) 0%, rgba(59, 130, 246, 0.8) 100%);
  box-shadow: 0 8px 24px rgba(96, 165, 250, 0.35);
}

.value-icon.trust {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.9) 0%, rgba(139, 92, 246, 0.8) 100%);
  box-shadow: 0 8px 24px rgba(167, 139, 250, 0.35);
}

.media-card:hover .value-icon {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 30px rgba(74, 222, 128, 0.45);
}

/* ========================================
   ENHANCED MOUSE POINTER INTERACTIONS
   Cursor glow, spotlight tracking, and hover features
======================================== */

/* Custom cursor pointer styling */
.media-card {
  cursor: pointer;
}

/* Mouse spotlight glow effect container */
.media-card .pointer-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
  overflow: hidden;
  border-radius: inherit;
}

.media-card:hover .pointer-spotlight {
  opacity: 1;
}

/* Radial gradient that follows mouse position (set via JS) */
.media-card .pointer-spotlight::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.25) 0%, rgba(74, 222, 128, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  left: var(--mouse-x, 50%);
  top: var(--mouse-y, 50%);
  transition: left 0.08s ease-out, top 0.08s ease-out;
}

/* Specific spotlight colors per card type */
.media-card:nth-child(1) .pointer-spotlight::before {
  background: radial-gradient(circle, rgba(74, 222, 128, 0.3) 0%, rgba(34, 197, 94, 0.15) 40%, transparent 70%);
}

.media-card:nth-child(2) .pointer-spotlight::before {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.3) 0%, rgba(59, 130, 246, 0.15) 40%, transparent 70%);
}

.media-card:nth-child(3) .pointer-spotlight::before {
  background: radial-gradient(circle, rgba(167, 139, 250, 0.3) 0%, rgba(139, 92, 246, 0.15) 40%, transparent 70%);
}

/* Ripple effect on mouse enter */
.media-card .pointer-ripple {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.3);
  z-index: 3;
  animation: pointerRipple 0.6s ease-out forwards;
}

@keyframes pointerRipple {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }

  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* Enhanced cursor trail effect */
.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.02) 30%,
      rgba(0, 0, 0, 0.4) 70%,
      rgba(0, 0, 0, 0.7) 100%);
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.4s ease, background 0.4s ease;
}

/* Hover state highlights edges with glow */
.media-card:hover::after {
  opacity: 0.9;
  background:
    linear-gradient(180deg,
      rgba(74, 222, 128, 0.05) 0%,
      rgba(0, 0, 0, 0.02) 30%,
      rgba(0, 0, 0, 0.4) 70%,
      rgba(0, 0, 0, 0.75) 100%);
}

/* Feature tags that reveal on hover */
.media-overlay .value-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.media-card:hover .value-features {
  opacity: 1;
  max-height: 100px;
  transform: translateY(0);
}

.value-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.value-feature-tag:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Feature tag icons */
.value-feature-tag svg {
  width: 14px;
  height: 14px;
  opacity: 0.9;
}

/* Card-specific feature tag colors on hover */
.media-card:nth-child(1) .value-feature-tag:hover {
  background: rgba(74, 222, 128, 0.35);
  border-color: rgba(74, 222, 128, 0.5);
}

.media-card:nth-child(2) .value-feature-tag:hover {
  background: rgba(96, 165, 250, 0.35);
  border-color: rgba(96, 165, 250, 0.5);
}

.media-card:nth-child(3) .value-feature-tag:hover {
  background: rgba(167, 139, 250, 0.35);
  border-color: rgba(167, 139, 250, 0.5);
}

/* Interactive hover pulse on icon */
.media-card:hover .value-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 2px solid currentColor;
  opacity: 0.4;
  animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* Card tilt effect on mouse move */
.media-card.tilt-active {
  transition: transform 0.1s ease-out;
}

/* Edge glow on hover */
.media-card .edge-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-card:hover .edge-glow {
  opacity: 1;
}

.media-card:nth-child(1) .edge-glow {
  box-shadow: inset 0 0 30px rgba(74, 222, 128, 0.15);
}

.media-card:nth-child(2) .edge-glow {
  box-shadow: inset 0 0 30px rgba(96, 165, 250, 0.15);
}

.media-card:nth-child(3) .edge-glow {
  box-shadow: inset 0 0 30px rgba(167, 139, 250, 0.15);
}

/* Arrow indicator on hover */
.media-overlay .hover-arrow {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.media-overlay .hover-arrow svg {
  width: 20px;
  height: 20px;
  color: white;
  transition: transform 0.3s ease;
}

.media-card:hover .hover-arrow {
  opacity: 1;
  transform: translateX(0);
}

.media-card:hover .hover-arrow:hover svg {
  transform: translateX(4px);
}

.media-overlay h3 {
  margin: 0 0 0.5rem;
  font-family: 'Georgia', serif;
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.media-overlay p {
  margin: 0;
  font-size: clamp(0.95rem, 0.88rem + 0.35vw, 1.1rem);
  opacity: 0.92;
  line-height: 1.6;
  max-width: 90%;
}

/* Floating sparkle particles */
.values-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0;
  animation: sparkleFloat 4s ease-in-out infinite;
}

.sparkle:nth-child(1) {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.sparkle:nth-child(2) {
  top: 45%;
  left: 85%;
  animation-delay: -1s;
  width: 4px;
  height: 4px;
}

.sparkle:nth-child(3) {
  top: 75%;
  left: 25%;
  animation-delay: -2s;
  width: 5px;
  height: 5px;
}

.sparkle:nth-child(4) {
  top: 30%;
  left: 70%;
  animation-delay: -3s;
  width: 3px;
  height: 3px;
}

.sparkle:nth-child(5) {
  top: 60%;
  left: 55%;
  animation-delay: -1.5s;
}

@keyframes sparkleFloat {

  0%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }

  25% {
    opacity: 0.8;
    transform: translateY(-20px) scale(1);
  }

  50% {
    opacity: 0.5;
    transform: translateY(-40px) scale(0.8);
  }

  75% {
    opacity: 0.3;
    transform: translateY(-60px) scale(0.6);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .values {
    padding: 4rem 0 5rem;
  }

  .values-header {
    margin-bottom: 2.5rem;
  }

  .media-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .media-card:hover {
    transform: translateY(-8px) scale(1.01);
  }

  .values-orb {
    transform: scale(0.6);
    opacity: 0.25;
  }
}

@media (max-width: 480px) {
  .values {
    padding: 3rem 0 4rem;
  }

  .values-header h2 {
    font-size: 1.75rem;
  }

  .values-intro {
    font-size: 1rem;
  }

  .media-card {
    border-radius: 1rem;
  }
}

/* Parallax scroll data attributes */
[data-parallax-values] {
  will-change: transform;
  transition: transform 0.15s ease-out;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Responsive tweaks */
@media (min-width: 1200px) {
  .hero-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(1rem, 2vw, 3rem);
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: min(1840px, 88vw);
  }

  .hero h1 {
    font-size: clamp(2rem, 1.4rem + 1.8vw, 3.25rem);
  }

  .hero p {
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.35rem);
  }
}

@media (min-width: 1800px) {
  .container {
    max-width: min(2048px, 85vw);
  }

  .hero-inner {
    grid-template-columns: 1.15fr 1fr;
  }
}

@media (min-width: 2200px) {
  .container {
    max-width: min(2280px, 80vw);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2rem;
  }
}

/* Landscape small-height comfort */
@media (max-height: 700px) and (orientation: landscape) {
  .hero {
    padding: 1.5rem 0;
  }

  .image-frame {
    max-width: clamp(260px, 36vw, 420px);
  }
}

/* Mobile navigation */
@media (max-width: 720px) {
  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand span {
    font-size: 1.3rem;
  }

  .menu-toggle {
    display: inline-flex !important;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    background: var(--primary-bg);
    border: 1px solid var(--border-lighter);
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 12px 24px var(--shadow-medium);
  }

  .nav-links.open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.75rem;
  }
}

/* Safe area insets for notches */
@supports (padding: env(safe-area-inset-left)) {
  .container {
    padding-left: max(clamp(1rem, 2vw, 2rem), env(safe-area-inset-left));
    padding-right: max(clamp(1rem, 2vw, 2rem), env(safe-area-inset-right));
  }

  .nav-inner {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }
}

/* Reduced motion comfort */
@media (prefers-reduced-motion: reduce) {

  .btn,
  .card,
  .media-card img,
  .reveal {
    transition: none;
  }

  .btn-primary:hover,
  .card:hover,
  .media-card:hover img {
    transform: none;
  }
}

/* ========================================
   ADDITIONAL RESPONSIVE FIXES
======================================== */

/* Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .hero-headline {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .hero-subheadline {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }

  .hero-buttons {
    padding: 0 0.5rem;
  }

  .btn-glass {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .hero-trust-badge {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  .trust-badge-number {
    font-size: 1.25rem;
  }

  .section h2 {
    font-size: 1.35rem;
  }

  .card {
    padding: 1rem;
  }

  .card h3 {
    font-size: 1rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-section h4 {
    font-size: 1rem;
  }
}

/* Small Tablet Fix (720px-768px) */
@media (min-width: 720px) and (max-width: 768px) {
  .nav-links {
    display: flex;
    gap: 0.5rem;
  }

  .menu-toggle {
    display: none !important;
  }

  .nav-links .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .hero-split-container {
    padding: 2rem 1.5rem 0;
    min-height: calc(100vh - 80px);
    justify-content: space-between;
  }

  .hero-headline {
    font-size: 2.2rem;
  }
}

/* Ultra-wide Screen Optimization (2560px+) */
@media (min-width: 2560px) {
  .container {
    max-width: min(2400px, 75vw);
  }

  .hero-split-container {
    max-width: 2200px;
    margin: 0 auto;
  }

  .hero-headline {
    font-size: 6rem;
  }

  .hero-subheadline {
    font-size: 1.75rem;
    max-width: 750px;
  }

  .hero-image-container {
    overflow: visible;
    min-width: 500px;
    max-width: 60%;
  }

  .hero-people-image {
    max-height: 90vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
  }

  .section h2 {
    font-size: 3.5rem;
  }

  .card {
    padding: 2.5rem;
  }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .wireframe-box .face {
    border-width: 0.5px;
  }

  .btn-glass {
    border-width: 0.5px;
  }
}

/* Print Styles */
@media print {

  .nav,
  .hero-orb,
  .wireframe-container,
  .parallax-orb,
  .values-orb {
    display: none !important;
  }

  .hero {
    background: #3b82f6 !important;
    min-height: auto;
    padding: 2rem 0;
  }

  .footer {
    background: #f1f5f9 !important;
  }

  body {
    background: white !important;
    color: #334155 !important;
  }
}

/* Landscape Phone Fix */
@media (max-width: 896px) and (max-height: 450px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    height: auto;
    padding: 1rem 0;
  }

  .hero-split-container {
    flex-direction: row;
    min-height: auto;
    padding: 1rem;
  }

  .hero-content {
    order: 1;
    max-width: 60%;
  }

  .hero-image-container {
    order: 2;
    max-width: 40%;
    min-height: 200px;
  }

  .hero-headline {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: row;
  }
}

/* ========================================
   SUPERMEMORY-INSPIRED HERO SECTION
   Modern centered layout with gradients
======================================== */

/* Main Hero Container - Light Theme - Updated to Blue Gradient */
.hero-super {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  /* Radiant Blue Background matching reference */
  background: radial-gradient(circle at 0% 0%, #60a5fa 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, #3b82f6 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, #2563eb 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, #60a5fa 0%, transparent 50%),
    linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  padding: 80px 1.5rem 0;
}

/* Dark Theme Background - keep consistent or slightly deeper */
[data-theme="dark-pastel"] .hero-super {
  background: radial-gradient(circle at 0% 0%, #3b82f6 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, #2563eb 0%, transparent 50%),
    linear-gradient(135deg, #1e40af 0%, #172554 100%);
}

/* Background glow container - lighter to add subtle highlights */
.hero-glow-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Glowing orbs - Light Theme */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-glow-1 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation: glowFloat 15s infinite alternate;
}

.hero-glow-2 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.3) 0%, transparent 70%);
  bottom: -5%;
  right: -5%;
  animation: glowFloat 12s infinite alternate-reverse;
}

.hero-glow-3 {
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, rgba(191, 219, 254, 0.2) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation: glowFloat 18s infinite alternate;
}

@keyframes glowFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -30px) scale(1.1);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(-40px, -20px) scale(1.05);
  }
}

/* Grid background - Removed per user request */
.hero-grid-bg {
  display: none;
}

/* Hero content wrapper */
.hero-super-content {
  position: relative;
  z-index: 10;
  text-align: left;
  max-width: 550px;
  padding: 2rem 0 2rem 5%;
  animation: heroFadeIn 1s ease-out;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Trust pill badge - updated for blue background */
.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #eff6ff;
  margin-bottom: 1.5rem;
  animation: heroFadeIn 0.8s ease-out 0.2s both;
}

[data-theme="dark-pastel"] .hero-trust-pill {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
}

.trust-pill-icon {
  font-size: 1rem;
}

/* Main headline - White for contrast */
.hero-super-headline {
  font-family: 'Inter', 'Nunito', sans-serif;
  font-size: clamp(2.5rem, 2rem + 4vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 1.5rem;
  letter-spacing: -0.03em;
  animation: heroFadeIn 0.8s ease-out 0.3s both;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="dark-pastel"] .hero-super-headline {
  color: #f8fafc;
}

/* Gradient text effect - Removed or made solid white */
.hero-gradient-text {
  display: none;
  background: none;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
  position: relative;
}

/* Subheadline - White/Off-white */
.hero-super-subheadline {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #eff6ff;
  margin-bottom: 2.5rem;
  max-width: 480px;
  animation: heroFadeIn 0.8s ease-out 0.4s both;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

[data-theme="dark-pastel"] .hero-super-subheadline {
  color: #cbd5e1;
}

/* CTA Buttons container */
.hero-super-cta {
  display: flex;
  gap: 1rem;
  animation: heroFadeIn 0.8s ease-out 0.5s both;
}

/* Buttons - Updated for blue background */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
}

/* Primary Button - Transparent/Glass style or solid? 
   Reference shows transparent pill with border. Let's do Glass pill. */
.hero-btn.primary {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-radius: 50px;
  /* Pill shape */
}

.hero-btn.primary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-btn.primary svg {
  transition: transform 0.2s ease;
}

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

/* Secondary Button - Keep consistent */
.hero-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 50px;
}

.hero-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

[data-theme="dark-pastel"] .hero-btn.primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

[data-theme="dark-pastel"] .hero-btn.secondary {
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.4);
}

[data-theme="dark-pastel"] .hero-btn.secondary:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(167, 139, 250, 0.6);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-indicator:hover {
  opacity: 1;
}

.hero-scroll-indicator span {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
}

[data-theme="dark-pastel"] .hero-scroll-indicator span {
  color: #94a3b8;
}

.scroll-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-arrow svg {
  width: 24px;
  height: 24px;
  stroke: #3b82f6;
}

[data-theme="dark-pastel"] .scroll-arrow svg {
  stroke: #8b5cf6;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ========================================
   HERO RESPONSIVE STYLES
======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .floating-card-left {
    top: 15%;
    left: 2%;
  }

  .floating-card-right {
    top: 20%;
    right: 2%;
  }

  .floating-card-bottom {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-super {
    min-height: 100vh;
    padding: 100px 1rem 2rem;
  }

  .hero-super-content {
    padding: 1rem;
  }

  .hero-super-headline {
    font-size: clamp(2rem, 1.5rem + 3vw, 3rem);
  }

  .hero-super-subheadline {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-super-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
  }

  .trusted-logos {
    gap: 1.5rem;
  }

  .floating-card {
    display: none;
  }

  .hero-glow {
    opacity: 0.3;
  }
}

@media (max-width: 480px) {
  .hero-super {
    padding: 90px 1rem 1.5rem;
  }

  .hero-trust-pill {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .hero-super-headline {
    font-size: 1.75rem;
  }

  .hero-super-subheadline {
    font-size: 0.9rem;
  }

  .hero-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .trusted-logo.nvidia svg {
    height: 18px;
  }

  .trusted-logo.iit-ropar .iit-text {
    font-size: 0.95rem;
  }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-super {
    min-height: auto;
    padding: 80px 2rem 1.5rem;
  }

  .hero-super-headline {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .hero-super-subheadline {
    margin-bottom: 1.5rem;
  }

  .hero-super-cta {
    flex-direction: row;
    margin-bottom: 1.5rem;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

/* Large screens */
@media (min-width: 1440px) {
  .hero-super-headline {
    font-size: 5.5rem;
  }

  .hero-super-subheadline {
    font-size: 1.35rem;
    max-width: 750px;
  }

  .floating-card {
    padding: 1.25rem 1.5rem;
  }

  .floating-card-left {
    left: 5%;
    top: 60%;
  }

  .floating-card-right {
    right: 5%;
    top: 75%;
  }

  .floating-card-bottom {
    left: 40%;
    bottom: 5%;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {

  .hero-glow,
  .floating-card,
  .hero-scroll-indicator {
    animation: none;
  }

  .hero-super-content,
  .hero-trust-pill,
  .hero-super-headline,
  .hero-super-subheadline,
  .hero-super-cta,
  .hero-trusted-by {
    animation: none;
  }
}

/* ========================================
   HERO PEOPLE IMAGE SECTION
========================================*/
/* People image section - positioned on the right */
.hero-people-section {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  width: 55%;
  max-width: 700px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  animation: peopleFadeUp 1s ease-out 0.7s both;
}

@keyframes peopleFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-people-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-people-section:hover .hero-people-img {
  transform: scale(1.02);
}

/* No extra bottom padding needed with side layout */
.hero-super {
  padding-bottom: 0;
}

/* Old media queries removed to prevent conflicts with new responsive section */

/* Dark theme adjustments for people image */
[data-theme="dark-pastel"] .hero-people-img {
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-people-section {
    animation: none;
  }

  .hero-people-section:hover .hero-people-img {
    transform: none;
  }
}

/* ========================================
   IMPROVED RESPONSIVE HERO LAYOUT
   Better image positioning across breakpoints
======================================== */

/* Large Desktop (1440px+) - Prima facie layout */
@media (min-width: 1440px) {
  .hero-super-content {
    max-width: 600px;
    padding-left: 8%;
  }

  .hero-people-section {
    max-width: 55%;
    right: 0;
  }

  .hero-people-img {
    max-height: 85vh;
    object-position: center top;
  }
}

/* Ultra-wide screens (2560px+) - Prevent image cut-off */
@media (min-width: 2560px) {
  .hero-super-content {
    max-width: 700px;
    padding-left: 10%;
  }

  .hero-people-section {
    width: 50%;
    max-width: 1000px;
    right: 2%;
  }

  .hero-people-img {
    max-height: 90vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
  }
}

/* Standard Desktop (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .hero-super {
    flex-direction: row;
    padding: 100px 2rem 3rem;
  }

  .hero-super-content {
    flex: 0 0 45%;
    max-width: 500px;
    text-align: left;
    align-items: flex-start;
    padding-left: 5%;
  }

  .hero-people-section {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    max-width: 700px;
  }

  .hero-people-img {
    object-fit: contain;
    object-position: right bottom;
    max-height: 80vh;
  }

  /* Hide floating cards on smaller desktop */
  .hero-floating-cards {
    display: none;
  }
}

/* Tablet (768px - 1023px) - Stacked layout */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-super {
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 2rem 0;
    min-height: auto;
    overflow: visible;
  }

  .hero-super-content {
    text-align: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
    z-index: 5;
  }

  .hero-super-headline {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-super-subheadline {
    font-size: 1rem;
    max-width: 500px;
  }

  .hero-people-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    right: auto;
    bottom: auto;
  }

  .hero-people-img {
    max-width: 90%;
    max-height: 40vh;
    object-fit: contain;
    object-position: center bottom;
  }

  .hero-floating-cards {
    display: none;
  }

  .hero-trusted-by {
    justify-content: center;
  }
}

/* Mobile Landscape (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
  .hero-super {
    flex-direction: column;
    padding: 90px 1.5rem 0;
    min-height: auto;
  }

  .hero-super-content {
    text-align: center;
    align-items: center;
    padding: 0 0.5rem;
    margin-bottom: 2rem;
  }

  .hero-super-headline {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero-super-subheadline {
    font-size: 0.95rem;
  }

  .hero-super-cta {
    flex-direction: row;
    gap: 0.75rem;
  }

  .hero-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .hero-people-section {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    right: auto;
    bottom: auto;
  }

  .hero-people-img {
    max-width: 100%;
    max-height: 40vh;
    object-fit: contain;
    object-position: center bottom;
  }
}

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
  .hero-super {
    padding: 85px 1rem 0;
    min-height: auto;
    flex-direction: column;
  }

  .hero-super-content {
    text-align: center;
    align-items: center;
    padding: 0 0.25rem;
    margin-bottom: 2rem;
  }

  .hero-trust-pill {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }

  .hero-super-headline {
    font-size: 1.65rem;
    line-height: 1.3;
    word-wrap: break-word;
  }

  .hero-super-subheadline {
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 0 0.5rem;
  }

  .hero-super-cta {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    align-items: center;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 0.85rem 1.5rem;
  }

  .hero-people-section {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-top: 2rem;
    right: auto;
    bottom: auto;
  }

  .hero-people-img {
    max-width: 100%;
    max-height: 35vh;
    object-fit: contain;
    object-position: center bottom;
  }

  .hero-trusted-by {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .trusted-logos {
    gap: 1rem;
  }
}

/* ========================================
   COOKIE CONSENT BANNER
   Small, thin, fixed to bottom
   Device responsive
======================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-consent-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent-banner.hide {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-consent-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  flex: 1;
  min-width: 200px;
}

.cookie-policy-link {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.cookie-policy-link:hover {
  color: var(--accent-secondary);
}

.cookie-consent-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  min-height: 36px;
  white-space: nowrap;
}

.cookie-btn-primary {
  background: var(--accent-primary);
  color: #1e293b;
}

.cookie-btn-primary:hover {
  background: var(--accent-secondary);
  transform: translateY(-1px);
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 1);
}

/* Light mode support */
[data-theme="light"] .cookie-consent-banner,
:root:not([data-theme]) .cookie-consent-banner {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .cookie-consent-text,
:root:not([data-theme]) .cookie-consent-text {
  color: var(--primary-text);
}

[data-theme="light"] .cookie-btn-secondary,
:root:not([data-theme]) .cookie-btn-secondary {
  background: rgba(0, 0, 0, 0.05);
  color: var(--primary-text);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .cookie-btn-secondary:hover,
:root:not([data-theme]) .cookie-btn-secondary:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* Tablet responsive (768px - 1023px) */
@media (max-width: 1023px) {
  .cookie-consent-banner {
    padding: 0.75rem 1rem;
  }

  .cookie-consent-content {
    justify-content: center;
    text-align: center;
  }

  .cookie-consent-text {
    width: 100%;
    text-align: center;
    margin-bottom: 0.25rem;
  }
}

/* Mobile responsive (480px - 767px) */
@media (max-width: 767px) {
  .cookie-consent-banner {
    padding: 0.625rem 0.75rem;
  }

  .cookie-consent-content {
    flex-direction: column;
    gap: 0.625rem;
    text-align: center;
  }

  .cookie-consent-text {
    font-size: 0.8rem;
    min-width: unset;
  }

  .cookie-consent-actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    min-height: 32px;
  }
}

/* Small mobile (< 480px) */
@media (max-width: 479px) {
  .cookie-consent-banner {
    padding: 0.5rem 0.625rem;
  }

  .cookie-consent-text {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .cookie-consent-actions {
    gap: 0.375rem;
  }

  .cookie-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
    min-height: 28px;
    border-radius: 4px;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .cookie-consent-banner {
    transition: opacity 0.2s ease;
    transform: translateY(0);
  }

  .cookie-consent-banner:not(.show) {
    display: none;
  }
}