:root {
  /* Oria Studio Color Palette (Premium Dark) */
  --bg-dark: #050508;
  --bg-card: rgba(22, 22, 28, 0.45);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);

  /* Brand gradients - More vibrant & Deep */
  --premium-gradient: linear-gradient(135deg, #a770ef 0%, #cf8bf3 40%, #fd8d9b 100%);
  --glow-gradient: radial-gradient(circle at center, rgba(167, 112, 239, 0.15) 0%, transparent 70%);
  --accent-color: #a770ef;
  --health-green: #30d158;
  --warning-orange: #ff9f0a;

  /* Orb Colors */
  --orb-1: #a770ef;
  --orb-2: #fdb99b;
  --orb-3: #30d158;
  --orb-gradient-1: radial-gradient(circle, rgba(167, 112, 239, 0.32) 0%, rgba(167, 112, 239, 0) 62%);
  --orb-gradient-2: radial-gradient(circle, rgba(253, 185, 155, 0.26) 0%, rgba(253, 185, 155, 0) 65%);
  --orb-gradient-3: radial-gradient(circle, rgba(52, 199, 89, 0.22) 0%, rgba(52, 199, 89, 0) 60%);

  --spacing-base: 1rem;
  --border-radius-xl: 32px;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Supremely smooth iOS-like easing */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bouncy: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
  --shadow-strong: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-border-light: 1px solid rgba(255, 255, 255, 0.15);

  /* Narrative Themes Default (Dark) - Amplified */
  --discovery-bg: #050510;
  /* Deeper Blue/Purple */
  --discovery-accent: #a770ef;
  --interaction-bg: #120508;
  /* Darker Wine/Rose */
  --interaction-accent: #ff7eb3;
  --clarity-bg: #05120a;
  /* Darker Emerald Forest */
  --clarity-accent: #34c759;

  --discovery-glow: rgba(167, 112, 239, 0.08);
  --interaction-glow: rgba(255, 126, 179, 0.08);
  --clarity-glow: rgba(52, 199, 89, 0.08);

  /* Active Theme Variables (Dynamic) */
  --current-bg: var(--bg-dark);
  --current-accent: var(--accent-color);

  --transition-theme: background-color 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.8s ease,
    border-color 0.8s ease;
}

/* Light Mode Overrides - Apple-Style Purity */
html.light-theme {
  --bg-dark: #FDFCF9;
  /* Warm Cream Ivory */
  --bg-card: rgba(255, 255, 255, 0.75);
  --text-primary: #1A1612;
  /* Slightly darker for better contrast */
  --text-secondary: #5C4F45;
  /* Darker secondary */
  --text-muted: #8F8177;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(167, 112, 239, 0.2);
  --accent-color: #904ED9;
  /* Slightly deeper purple for light mode a11y */
  --premium-gradient: linear-gradient(135deg, #904ED9, #F97BB0);
  /* Deeper contrast */
  --orb-gradient-1: radial-gradient(circle, rgba(167, 112, 239, 0.2) 0%, rgba(255, 255, 255, 0) 60%);
  --orb-gradient-2: radial-gradient(circle, rgba(253, 185, 155, 0.15) 0%, rgba(255, 255, 255, 0) 65%);
  --orb-gradient-3: radial-gradient(circle, rgba(52, 199, 89, 0.12) 0%, rgba(255, 255, 255, 0) 50%);

  /* Narrative Themes Light Overrides - Amplified */
  --discovery-bg: #E8E5F0;
  --interaction-bg: #F5E8EB;
  --clarity-bg: #E8F0EA;

  --discovery-glow: rgba(167, 112, 239, 0.04);
  --interaction-glow: rgba(255, 126, 179, 0.04);
  --clarity-glow: rgba(52, 199, 89, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Atmosphere Glow Overlay */
.atmosphere-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, var(--current-glow) 0%, transparent 70%);
  transition: background 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-discovery {
  --current-bg: var(--discovery-bg);
  --current-accent: var(--discovery-accent);
  --current-glow: var(--discovery-glow);
}

.theme-interaction {
  --current-bg: var(--interaction-bg);
  --current-accent: var(--interaction-accent);
  --current-glow: var(--interaction-glow);
}

.theme-clarity {
  --current-bg: var(--clarity-bg);
  --current-accent: var(--clarity-accent);
  --current-glow: var(--clarity-glow);
}

body {
  font-family: var(--font-main);
  background-color: var(--current-bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: var(--transition-theme);
}

/* Page Transitions */
.page-transition {
  opacity: 1;
  animation: pageFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-transition {
    animation: none;
    opacity: 1;
  }

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

/* Dynamic Scroll Reveal System */
.reveal {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-down {
  transform: translateY(-40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.95);
}

.reveal.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Shimmer Effect */
.shimmer-card {
  position: relative;
  overflow: hidden;
}

.shimmer-card::after {
  content: "";
  position: absolute;
  top: -150%;
  left: -150%;
  width: 300%;
  height: 300%;
  background: linear-gradient(45deg,
      transparent 45%,
      rgba(255, 255, 255, 0.05) 48%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.05) 52%,
      transparent 55%);
  transform: rotate(0deg);
  pointer-events: none;
  transition: transform 0.8s ease;
}

.shimmer-card.active::after {
  animation: shimmerSweep 3s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes shimmerSweep {
  0% {
    transform: translate(-30%, -30%) rotate(0deg);
  }

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

/* Hyper-Wow: Iridescent & Holographic Effects */
.glass-card.iridescent {
  position: relative;
  overflow: hidden;
  transition: transform 0.1s ease-out;
  /* Smooth tilt */
  transform-style: preserve-3d;
}

.glass-card.iridescent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(255, 255, 255, 0.1) 0%,
      rgba(167, 112, 239, 0.05) 25%,
      rgba(179, 132, 255, 0.05) 50%,
      transparent 80%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

.glass-card.iridescent:hover::before {
  opacity: 1;
}

.glass-card.iridescent::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.02) 40%,
      rgba(167, 112, 239, 0.1) 50%,
      rgba(255, 255, 255, 0.02) 60%,
      rgba(255, 255, 255, 0) 100%);
  transform: translate(var(--shimmer-x, -50%), var(--shimmer-y, -50%));
  pointer-events: none;
  z-index: 1;
}

/* 3D Content Depth */
.tilt-inner {
  transform: translateZ(20px);
}

/* Cascade Text Animation */
.text-cascade {
  overflow: hidden;
  display: block;
}

.text-cascade .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.text-cascade.active .word {
  transform: translateY(0);
  opacity: 1;
}

/* Shimmer Sweep Animation (Enhanced) */
@keyframes iridescentGlow {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(360deg);
  }
}

.shimmer-card.active::after {
  animation: shimmerSweep 4s cubic-bezier(0.16, 1, 0.3, 1) infinite, iridescentGlow 10s linear infinite;
}

/* Typography Elements */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3.5rem;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.gradient-text {
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-green {
  color: var(--health-green);
}

/* Elite Glassmorphism - Clear & Sharp */
.glass-hero,
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
  transition: var(--transition-theme);
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-strong), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
}

html.light-theme .glass-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html.light-theme .glass-card:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Navigation - Floating Island Style */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1200px;
  padding: 0.8rem 2rem;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border-radius: 100px;
  border: var(--glass-border);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  top: 0.8rem;
  background: rgba(5, 5, 8, 0.8);
  width: calc(100% - 2rem);
  padding: 0.6rem 2rem;
}

html.light-theme .navbar {
  background: rgba(248, 249, 250, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo h1 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--text-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 12px var(--accent-color);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-color);
  box-shadow: 0 0 12px var(--accent-color);
}

.icon-button {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-button:hover {
  background: rgba(160, 160, 168, 0.1);
  transform: scale(1.1);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

html.light-theme .form-group label {
  color: var(--text-primary);
}

.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(160, 160, 168, 0.2);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(167, 112, 239, 0.15);
}

html.light-theme .form-input {
  background: rgba(0, 0, 0, 0.02);
}

.auth-form {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.auth-input {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.auth-input:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(167, 112, 239, 0.15);
}

/* Buttons & Badges */
.badge-modern {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(160, 160, 168, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

/* Base Buttons */
.cta-button {
  padding: 1rem 2.2rem;
  border-radius: 30px;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-bouncy);
  text-decoration: none;
  display: inline-block;
  transform: translateZ(0);
  /* Hardware perf */
}

.cta-button.primary {
  background: var(--premium-gradient);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 8px 24px rgba(167, 112, 239, 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 30px rgba(167, 112, 239, 0.5);
  background-position: right center;
}

.cta-button.primary:active {
  transform: scale(0.97);
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary:active {
  transform: scale(0.97);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10rem 2rem 4rem;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 650px;
  text-align: left;
}

.hero-title {
  font-size: 4.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.02;
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 500px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Hero Visual Styling */
.hero-visual-wrapper {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.hero-orb-asset {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 50px rgba(167, 112, 239, 0.3));
  animation: floatOrbAsset 10s ease-in-out infinite alternate;
}

.blob-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--premium-gradient);
  filter: blur(100px);
  opacity: 0.3;
  z-index: -1;
  animation: glowPulse 8s ease-in-out infinite alternate;
}

.floating-stat-card {
  position: absolute;
  bottom: 10%;
  right: 0%;
  background: rgba(255, 255, 255, 0.08);
  /* Slightly more opaque */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--glass-border-light);
  border-radius: 20px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-strong);
  animation: floatStat 6s ease-in-out infinite alternate;
  z-index: 15;
}

html.light-theme .floating-stat-card {
  background: rgba(255, 255, 255, 0.85);
  /* Much lighter for clarity */
  border-color: rgba(167, 112, 239, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-icon {
  font-size: 0.8rem;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-value,
.light-text-fix {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

html.light-theme .stat-value,
html.light-theme .light-text-fix {
  color: var(--text-primary);
}

@keyframes floatOrbAsset {
  from {
    transform: translateY(0) scale(1) rotate(0);
  }

  to {
    transform: translateY(-30px) scale(1.05) rotate(5deg);
  }
}

@keyframes glowPulse {
  from {
    opacity: 0.2;
    transform: scale(1);
  }

  to {
    opacity: 0.4;
    transform: scale(1.2);
  }
}

@keyframes floatStat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-15px);
  }
}

.feature-visual-mini {
  width: 100%;
  height: 120px;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  border: var(--glass-border);
}

.feature-visual-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-visual-mini img {
  transform: scale(1.1);
}

/* Fluid Orbs */
.hero-orb-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: floatOrb 15s infinite ease-in-out alternate;
  mix-blend-mode: screen;
}

html.light-theme .orb {
  mix-blend-mode: multiply;
}

.orb-1 {
  width: 70vw;
  height: 70vw;
  background: var(--orb-gradient-1);
  top: -25%;
  right: -15%;
}

.orb-2 {
  width: 60vw;
  height: 60vw;
  background: var(--orb-gradient-2);
  bottom: -20%;
  left: -20%;
  animation-delay: -5s;
  animation-duration: 18s;
}

.orb-3 {
  width: 50vw;
  height: 50vw;
  background: var(--orb-gradient-3);
  top: 30%;
  left: 30%;
  animation-duration: 22s;
  opacity: 0.6;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(3%, 5%) scale(1.05);
  }

  66% {
    transform: translate(-2%, 4%) scale(0.98);
  }

  100% {
    transform: translate(-4%, -2%) scale(1.02);
  }
}

/* The Oria Studio CSS Mockup (Interactive feel) */
.app-mockup-wrapper {
  position: absolute;
  right: 6%;
  top: 52%;
  transform: translateY(-50%) rotate(-4deg) scale(1.05);
  z-index: 10;
  perspective: 1500px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-mockup-wrapper:hover {
  transform: translateY(-55%) rotate(0deg) scale(1.1);
}

.app-mockup {
  width: 340px;
  height: 700px;
  background: #000;
  border-radius: 50px;
  border: 14px solid #1a1a1a;
  box-shadow:
    -20px 40px 100px -20px rgba(167, 112, 239, 0.3),
    inset 0 0 15px rgba(255, 255, 255, 0.4),
    inset 0 0 2px 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  animation: levitateApp 7s ease-in-out infinite alternate;
  transition: box-shadow 0.6s ease;
}

.app-mockup-wrapper:hover .app-mockup {
  box-shadow:
    -30px 50px 120px -20px rgba(167, 112, 239, 0.5),
    inset 0 0 15px rgba(255, 255, 255, 0.4),
    inset 0 0 2px 1px rgba(255, 255, 255, 0.1);
  animation-play-state: paused;
}

html.light-theme .app-mockup {
  background: #fff;
  border-color: #f0f0f5;
  box-shadow: -20px 40px 100px -20px rgba(167, 112, 239, 0.15), inset 0 0 15px rgba(0, 0, 0, 0.05);
}

.mockup-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 32px;
  background: #1a1a1a;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 20;
}

html.light-theme .mockup-notch {
  background: #000;
}

.mockup-screen {
  background: #080808;
  height: 100%;
  width: 100%;
  padding: 3.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

html.light-theme .mockup-screen {
  background: #fafafa;
}

.mockup-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
  border-radius: 36px;
  pointer-events: none;
}

html.light-theme .mockup-screen::after {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, transparent 40%);
}

/* History Section */
.history-section {
  padding: 6rem 2rem;
  /* Reduced base padding for tighter narrative */
  background: radial-gradient(circle at center, rgba(167, 112, 239, 0.03), transparent);
}

.history-section:first-of-type {
  padding-top: 10rem;
}

.visual-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.history-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
}

.history-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.history-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

html.light-theme .stat-value {
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.story-card {
  padding: 4rem;
  text-align: center;
  position: relative;
}

.story-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 8rem;
  font-family: serif;
  opacity: 0.1;
  color: var(--accent-color);
}

.quote {
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.author {
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
  opacity: 0.8;
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 4rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.stat-pill {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.app-greeting {
  font-size: 1.35rem;
  font-weight: 600;
  color: white;
  letter-spacing: -0.5px;
}

html.light-theme .app-greeting {
  color: #1a1a1c;
}

.app-profile {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--premium-gradient);
  box-shadow: 0 4px 15px rgba(167, 112, 239, 0.4);
}

.app-score-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-xl);
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
}

html.light-theme .app-score-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.app-score-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top, rgba(52, 199, 89, 0.1) 0%, transparent 60%);
  z-index: 0;
}

.app-score-card>* {
  z-index: 1;
}

.score-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 6px solid rgba(52, 199, 89, 0.15);
  border-top-color: var(--health-green);
  border-right-color: var(--health-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  box-shadow: inset 0 0 20px rgba(52, 199, 89, 0.1), 0 0 30px rgba(52, 199, 89, 0.2);
  transform: rotate(45deg);
  animation: ringFill 2s ease-out forwards;
}

.score-ring .score-number {
  transform: rotate(-45deg);
}

@keyframes ringFill {
  from {
    transform: rotate(-90deg);
    opacity: 0;
  }

  to {
    transform: rotate(45deg);
    opacity: 1;
  }
}

.score-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: -1px;
}

html.light-theme .score-number {
  color: #1a1a1c;
}

.app-score-card p {
  color: #a0a0a0;
  font-size: 0.95rem;
  font-weight: 500;
}

html.light-theme .app-score-card p {
  color: #6e6e73;
}

.score-status {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(52, 199, 89, 0.15);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-top: 0.5rem;
}

.app-mood-grid {
  display: flex;
  gap: 1rem;
}

.app-mood-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

html.light-theme .app-mood-item {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.05);
  color: #1a1a1c;
}

.pulse-animation {
  animation: immersivePulse 4s infinite;
}

@keyframes immersivePulse {
  0% {
    transform: scale(1);
    border-color: rgba(160, 160, 168, 0.1);
  }

  50% {
    transform: scale(1.02);
    border-color: rgba(167, 112, 239, 0.4);
    box-shadow: 0 10px 30px rgba(167, 112, 239, 0.15);
  }

  100% {
    transform: scale(1);
    border-color: rgba(160, 160, 168, 0.1);
  }
}

@keyframes levitateApp {
  0% {
    transform: translateY(-50%) rotate(-4deg) scale(1.05);
  }

  100% {
    transform: translateY(-53%) rotate(-3deg) scale(1.05);
  }
}

/* Pricing Section (Oria+) */
.pricing-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pricing-card {
  flex: 1;
  min-width: 320px;
  max-width: 400px;
  padding: 3.5rem 2.5rem;
  border-radius: var(--border-radius-xl);
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-bouncy);
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.highlight-card {
  border-color: rgba(167, 112, 239, 0.4);
  box-shadow: 0 20px 50px rgba(167, 112, 239, 0.1);
  background: linear-gradient(to bottom, rgba(167, 112, 239, 0.05) 0%, rgba(15, 15, 18, 0.6) 50%);
}

html.light-theme .highlight-card {
  background: linear-gradient(to bottom, rgba(167, 112, 239, 0.05) 0%, rgba(255, 255, 255, 0.9) 50%);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--premium-gradient);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(167, 112, 239, 0.3);
}

.pricing-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.4;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-period {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.savings {
  color: var(--health-green);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-primary);
}

.pricing-features .icon {
  color: var(--health-green);
  font-style: normal;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Features Cards */
.features-section {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  padding: 3.5rem 2.5rem;
  border-radius: var(--border-radius-xl);
  transition: var(--transition-bouncy);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(160, 160, 168, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

html[data-theme='dark'] .feature-card:hover,
html:not(.light-theme) .feature-card:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 1rem;
  background: rgba(160, 160, 168, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(160, 160, 168, 0.1);
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Footer Focus */
/* Footer Focus - Sleek & Minimal Redesign */
.footer {
  padding: 4rem 2rem 3rem;
  /* Reduced padding from 8rem */
  background: linear-gradient(to bottom, transparent, rgba(167, 112, 239, 0.03));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

html.light-theme .footer {
  background: linear-gradient(to bottom, transparent, rgba(167, 112, 239, 0.02));
  border-top-color: rgba(0, 0, 0, 0.05);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 112, 239, 0.3), transparent);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-brand h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 300px;
}

.footer-column h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

html.light-theme .footer-column h4 {
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  opacity: 0.7;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--premium-gradient);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  opacity: 1;
  transform: translateX(4px);
}

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

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

.footer-special-link {
  color: var(--accent-color) !important;
  font-weight: 600;
}

.footer-bottom {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 1200px;
  margin: 4rem auto 0;
  opacity: 0.4;
}

html.light-theme .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.05);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .app-mockup-wrapper {
    top: auto;
    transform: none !important;
    margin: 4rem auto 0;
    animation: levitateApp 6s infinite alternate;
    grid-column: 1 / -1;
  }

  .hero {
    flex-direction: column;
    padding-top: 10rem;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-subtitle {
    margin: auto auto 2rem;
  }

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

  .hero-title {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .nav-links {
    display: none;
  }

  .pricing-container {
    flex-direction: column;
  }

  .pricing-card {
    max-width: 100%;
  }
}
