/* Main Styles for Saunafy Landing Page */

:root {
  /* Color scheme */
  --primary: #FF7D00; /* Saunafy orange */
  --primary-dark: #E06D00;
  --primary-light: #FF9A40;
  --secondary: #0088CC; /* Cool blue for contrast */
  --secondary-light: #33AAEE;
  --accent: #5856D6; /* Apple-style purple */
  --dark: #111111;
  --light: #FFFFFF;
  --gray-light: #F5F5F7;
  --gray: #86868B;
  --gray-dark: #424245;
  --gradient-warm: linear-gradient(135deg, #FF7D00, #FF5500);
  --gradient-cool: linear-gradient(135deg, #00C1DE, #0088CC);
  --gradient-vibrant: linear-gradient(135deg, #FF7D00, #FF5500, #FF9A40);
  
  /* Typography */
  --font-primary: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  
  /* Container width */
  --container-width: 1400px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.5;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

/* Container for large screens */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.8rem;
  margin-bottom: var(--spacing-md);
  text-align: center;
  position: relative;
  display: inline-block;
  padding: 0 20px;
}

h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--gradient-warm);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

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

ul {
  list-style: none;
}

section {
  padding: var(--spacing-lg) var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Add subtle background gradient to nav */
nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(255, 125, 0, 0.03) 0%, 
    rgba(255, 255, 255, 0) 30%, 
    rgba(0, 136, 204, 0.03) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Change nav on scroll */
body.scrolled nav {
  padding: var(--spacing-xs) var(--spacing-md);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.logo img {
  height: 45px;
  width: auto;
  border-radius: 50%;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.logo:hover img {
  transform: scale(1.05) rotate(5deg);
}

.logo-text {
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--primary);
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

/* Subtle heat effect on logo text */
.logo-text::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 125, 0, 0.2), rgba(255, 125, 0, 0));
  z-index: -1;
  border-radius: 2px;
  transition: height 0.3s ease;
}

.logo:hover .logo-text::after {
  height: 8px;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
}

.nav-links a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0.25rem;
  transition: all 0.3s ease;
}

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

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient-warm);
  transition: width 0.3s ease;
  border-radius: 1px;
}

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

/* Active nav link */
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active:after {
  width: 100%;
  opacity: 0.8;
}

.download-button {
  position: relative;
  z-index: 2;
}

.download-button .cta-button {
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.download-button .cta-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(255, 125, 0, 0.3);
}

/* Mobile menu styling */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--dark);
  margin: 6px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Mobile menu background */
body.menu-open::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 99;
  opacity: 1;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .nav-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
      rgba(255, 125, 0, 0.05) 0%, 
      rgba(255, 255, 255, 0) 30%, 
      rgba(0, 136, 204, 0.05) 100%);
    z-index: -1;
  }
  
  .nav-links a {
    padding: 0.8rem 2rem;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  /* Show icons on mobile */
  .nav-icon {
    display: inline-block;
    font-size: 1.2rem;
    margin-right: 12px;
    transition: transform 0.3s ease;
  }
  
  .nav-links a:hover .nav-icon {
    transform: scale(1.2);
  }
  
  .nav-links a:hover {
    background-color: rgba(255, 125, 0, 0.08);
  }
  
  body.menu-open .nav-links {
    right: 0;
  }
  
  body.menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  body.menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

.cta-button {
  display: inline-block;
  background: var(--gradient-vibrant);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(255, 125, 0, 0.2);
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  border: 2px solid transparent;
}

.cta-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s;
}

.cta-button:hover {
  box-shadow: 0 15px 30px rgba(255, 125, 0, 0.3);
  transform: translateY(-5px) scale(1.02);
}

.cta-button:hover:before {
  left: 100%;
}

.cta-button.pulse {
  animation: button-pulse 3s infinite;
}

@keyframes button-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 125, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 125, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 125, 0, 0);
  }
}

/* Hero section - Orange gradient style matching Apple Watch section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff4757 100%);
  height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 100%, rgba(255, 149, 0, 0.2) 0%, transparent 50%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 149, 0, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  animation: float 20s ease-in-out infinite;
}

/* Add floating orbs for visual interest */
.hero-container::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  animation: float-reverse 15s ease-in-out infinite;
  animation-delay: -7s;
}

.hero-container::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  animation: pulse-float 12s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes float-reverse {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(-30px, 40px) scale(1.1) rotate(90deg); }
  50% { transform: translate(20px, 60px) scale(0.9) rotate(180deg); }
  75% { transform: translate(-40px, 20px) scale(1.05) rotate(270deg); }
}

@keyframes pulse-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  33% { transform: translate(25px, -30px) scale(1.2); opacity: 0.8; }
  66% { transform: translate(-15px, -50px) scale(0.8); opacity: 0.4; }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -50px) scale(1.1); }
  50% { transform: translate(-20px, -80px) scale(0.9); }
  75% { transform: translate(50px, -30px) scale(1.05); }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px 60px;
}

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

.hero-badge,
.hero-headline,
.hero-description,
.hero-cta-group {
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-headline {
  animation-delay: 0.2s;
}

.hero-description {
  animation-delay: 0.4s;
}

.hero-cta-group {
  animation-delay: 0.6s;
}

.hero-features {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.8s;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--spacing-lg) var(--spacing-lg);
  z-index: 10;
  position: relative;
}

.hero-badge {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 30%, #ff4757 70%, #ff6b35 100%);
  background-size: 200% 200%;
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: var(--spacing-md);
  width: fit-content;
  box-shadow: 
    0 10px 40px rgba(255, 107, 53, 0.4),
    0 6px 20px rgba(255, 71, 87, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 20px rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  animation: badge-pulse 6s ease-in-out infinite;
  transform: translateZ(0);
}

@keyframes badge-pulse {
  0%, 100% { 
    background-position: 0% 50%;
    transform: scale(1);
    box-shadow: 
      0 10px 40px rgba(255, 107, 53, 0.4),
      0 6px 20px rgba(255, 71, 87, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 20px rgba(255, 255, 255, 0.1);
  }
  50% { 
    background-position: 100% 50%;
    transform: scale(1.02);
    box-shadow: 
      0 15px 50px rgba(255, 107, 53, 0.6),
      0 8px 25px rgba(255, 71, 87, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.4),
      0 0 30px rgba(255, 255, 255, 0.2);
  }
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.hero-badge:hover::before {
  left: 100%;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-sm);
  color: white;
  letter-spacing: -0.025em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  text-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-highlight {
  background: linear-gradient(135deg, #ffffff 0%, #ffe0b3 30%, #fff5e6 50%, #ffe0b3 70%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  animation: highlight-glow 4s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

@keyframes highlight-glow {
  0%, 100% { 
    background-position: 0% 50%; 
    filter: brightness(1);
  }
  50% { 
    background-position: 100% 50%; 
    filter: brightness(1.2);
  }
}

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #ff6b35, #0088cc);
  border-radius: 2px;
  opacity: 0.4;
  z-index: -1;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-md);
  max-width: 90%;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-primary-btn {
  animation: fadeInUp 1s ease-out 1s both;
}

.hero-secondary-btn {
  animation: fadeInUp 1s ease-out 1.1s both;
}

.hero-primary-btn {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 18px 36px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 
    0 12px 40px rgba(255, 255, 255, 0.1),
    0 6px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.4);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
}

.hero-primary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.8s ease;
  z-index: 1;
}

.hero-primary-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: shimmer 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%) rotate(45deg); }
  50% { transform: translateX(100%) rotate(45deg); }
}

.hero-primary-btn:hover::before {
  left: 100%;
}

.hero-primary-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 18px 50px rgba(255, 255, 255, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 25px rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
}

.hero-primary-btn:active {
  transform: translateY(-1px) scale(1.01);
}

.hero-secondary-btn {
  color: white;
  padding: 18px 36px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 12px 40px rgba(255, 255, 255, 0.1),
    0 6px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-secondary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.05), transparent);
  transition: left 0.6s ease;
}

.hero-secondary-btn:hover::before {
  left: 100%;
}

.hero-secondary-btn:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 18px 50px rgba(255, 255, 255, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 25px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.hero-features {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: white;
  font-weight: 500;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(255, 149, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-feature:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 30px rgba(26, 29, 41, 0.1),
    0 4px 15px rgba(255, 107, 53, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-feature-icon {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff4757 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  box-shadow: 
    0 4px 12px rgba(255, 107, 53, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--spacing-md);
  z-index: 5;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  background: 
    radial-gradient(ellipse at center, rgba(255, 107, 53, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 136, 204, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}

.hero-visual::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 15%;
  width: 300px;
  height: 300px;
  background: 
    conic-gradient(from 45deg, rgba(255, 107, 53, 0.08), rgba(0, 136, 204, 0.08), rgba(255, 107, 53, 0.08));
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  animation: rotate-gradient 20s linear infinite;
}

@keyframes rotate-gradient {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-device-container {
  position: relative;
  z-index: 10;
  transform: scale(1.1) perspective(1000px) rotateY(-5deg) rotateX(2deg);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3));
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: deviceEntrance 1.5s ease-out 1.2s both;
}

@keyframes deviceEntrance {
  0% { 
    opacity: 0;
    transform: scale(0.7) perspective(1000px) rotateY(-15deg) rotateX(10deg) translateY(100px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
  }
  50% { 
    opacity: 0.8;
    transform: scale(1.15) perspective(1000px) rotateY(-3deg) rotateX(1deg) translateY(-10px);
    filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.4));
  }
  100% { 
    opacity: 1;
    transform: scale(1.1) perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0px);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3));
  }
}

.hero-device-container:hover {
  transform: scale(0.95) perspective(1000px) rotateY(-3deg) rotateX(1deg);
  filter: drop-shadow(0 35px 70px rgba(26, 29, 41, 0.2));
}

/* Device mockup positioning */
.device-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  perspective: 1200px;
  height: 650px;
  filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.3));
  z-index: 1;
  pointer-events: none;
}

.device-mockup::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  animation: deviceGlow 3s ease-out 1.2s forwards;
  z-index: -1;
}

@keyframes deviceGlow {
  0% { 
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  50% { 
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% { 
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* iPhone device mockup */
.iphone-device {
  position: relative;
  width: 300px;
  height: 620px;
  background: #111;
  border-radius: 42px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 15px 40px rgba(0, 0, 0, 0.3);
  border: 10px solid #1a1a1a;
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) rotate(0deg) translate3d(0, 0, 0);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  margin-right: 40px;
  z-index: 3;
  overflow: hidden;
  animation: float-phone 6s ease-in-out infinite, iphoneEntrance 1.8s ease-out 1.4s both;
  pointer-events: none;
}

@keyframes iphoneEntrance {
  0% { 
    opacity: 0;
    transform: perspective(1200px) rotateY(-20deg) rotateX(15deg) rotate(-5deg) translate3d(-100px, 80px, -50px) scale(0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  30% { 
    opacity: 0.6;
    transform: perspective(1200px) rotateY(5deg) rotateX(-2deg) rotate(1deg) translate3d(20px, -20px, 20px) scale(1.05);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5), 0 20px 50px rgba(0, 0, 0, 0.4);
  }
  70% { 
    opacity: 0.9;
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) rotate(0deg) translate3d(-10px, 10px, 10px) scale(1.02);
    box-shadow: 0 45px 90px rgba(0, 0, 0, 0.45), 0 18px 45px rgba(0, 0, 0, 0.35);
  }
  100% { 
    opacity: 1;
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) rotate(0deg) translate3d(0, 0, 0) scale(1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 15px 40px rgba(0, 0, 0, 0.3);
  }
}

@keyframes float-phone {
  0%, 100% { transform: perspective(1200px) rotateY(0deg) rotateX(0deg) rotate(0deg) translate3d(0, 0px, 0); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.2); }
  50% { transform: perspective(1200px) rotateY(2deg) rotateX(1deg) rotate(0deg) translate3d(0, -15px, 10px); box-shadow: 0 50px 90px rgba(0, 0, 0, 0.4), 0 15px 40px rgba(0, 0, 0, 0.2); }
}

.iphone-device:hover {
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) rotate(0deg) translate3d(0, -5px, 10px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4), 0 15px 40px rgba(0, 0, 0, 0.2);
}

.iphone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 25px;
  background: #000;
  border-radius: 20px;
  z-index: 3;
}

.iphone-button {
  position: absolute;
  right: -12px;
  top: 120px;
  width: 3px;
  height: 30px;
  background: #1a1a1a;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  z-index: 3;
}

.iphone-button:before {
  content: '';
  position: absolute;
  right: 0;
  top: 70px;
  width: 3px;
  height: 60px;
  background: #1a1a1a;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

.iphone-button:after {
  content: '';
  position: absolute;
  left: -12px;
  top: 70px;
  width: 3px;
  height: 40px;
  background: #1a1a1a;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.iphone-speaker {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #1a1a1a;
  border-radius: 3px;
  z-index: 4;
}

.iphone-camera {
  position: absolute;
  top: 12px;
  right: 46%;
  width: 12px;
  height: 12px;
  background: #1a1a1a;
  border-radius: 50%;
  z-index: 4;
}

.iphone-camera:before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 6px;
  height: 6px;
  background: #111;
  border-radius: 50%;
}

.iphone-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  z-index: 1;
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

.iphone-screen:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  z-index: 2;
  pointer-events: none;
}

/* Apple Watch device mockup */
.apple-watch-device {
  position: absolute;
  width: 200px;
  height: 240px;
  right: -140px;
  top: 15%;
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) rotate(0deg) translate3d(0, 0, 50px);
  z-index: 5;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  animation: float-watch 8s ease-in-out infinite, watchEntrance 2s ease-out 1.6s both;
  animation-delay: 0.5s, 1.6s;
  filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

@keyframes watchEntrance {
  0% { 
    opacity: 0;
    transform: perspective(1000px) rotateY(30deg) rotateX(-20deg) rotate(10deg) translate3d(150px, -100px, -100px) scale(0.6);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
  }
  25% { 
    opacity: 0.4;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) rotate(-2deg) translate3d(-30px, 50px, 80px) scale(1.2);
    filter: drop-shadow(0 45px 90px rgba(0, 0, 0, 0.6));
  }
  60% { 
    opacity: 0.8;
    transform: perspective(1000px) rotateY(5deg) rotateX(-3deg) rotate(1deg) translate3d(20px, -20px, 60px) scale(1.1);
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.55));
  }
  100% { 
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) rotate(0deg) translate3d(0, 0, 50px) scale(1);
    filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.5));
  }
}

@keyframes float-watch {
  0%, 100% { transform: perspective(1000px) rotateY(0deg) rotateX(0deg) rotate(0deg) translate3d(0, 0px, 50px); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4)); }
  50% { transform: perspective(1000px) rotateY(3deg) rotateX(2deg) rotate(0deg) translate3d(0, -20px, 60px); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5)); }
}

.apple-watch-device:hover {
  transform: perspective(1000px) rotateY(-1deg) rotateX(1deg) rotate(0deg) translate3d(0, -10px, 60px);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
}

.watch-case {
  position: relative;
  width: 190px;
  height: 220px;
  margin: 0 auto;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.3);
  border-radius: 45px;
  overflow: hidden;
  background: #343434;
}

.watch-case:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  z-index: 4;
  pointer-events: none;
  border-radius: 38px;
}

.watch-screen {
  position: relative;
  width: 190px;
  height: 220px;
  background: #000;
  border-radius: 43px;
  overflow: hidden;
  border: 10px solid #343434;
  margin: 0 auto;
}

.watch-screen:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.1) 0%, rgba(255,255,255,0.05) 100%);
  z-index: 3;
  pointer-events: none;
}

.watch-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watch-crown {
  position: absolute;
  width: 14px;
  height: 28px;
  background: linear-gradient(to right, #343434, #5a5a5a);
  right: -14px;
  top: 45px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.watch-crown:after {
  content: '';
  position: absolute;
  width: 8px;
  height: 16px;
  background: #222;
  border-radius: 50%;
  left: 3px;
  top: 6px;
}

.watch-button {
  position: absolute;
  width: 10px;
  height: 20px;
  background: linear-gradient(to right, #343434, #5a5a5a);
  right: -10px;
  top: 85px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.watch-band {
  position: relative;
  width: 130px;
  height: 50px;
  margin: 0 auto;
  background: #333;
  top: 0;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 10px 15px -5px rgba(0,0,0,0.3);
}

.watch-band:before {
  content: '';
  position: absolute;
  width: 130px;
  height: 50px;
  background: #333;
  left: 0;
  bottom: calc(100% + 145px);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  box-shadow: 0 -10px 15px -5px rgba(0,0,0,0.3);
}

.watch-band:after {
  content: '';
  position: absolute;
  width: 30px;
  height: 145px;
  background: #333;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100%;
  z-index: -1;
}

.watch-band-connector {
  position: absolute;
  width: 40px;
  height: 10px;
  background: #444;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% - 5px);
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 2;
}

.watch-band-connector:before {
  content: '';
  position: absolute;
  width: 40px;
  height: 10px;
  background: #444;
  left: 50%;
  transform: translateX(-50%);
  top: calc(5px + 145px);
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.app-interface {
  position: absolute;
  top: 80px;
  width: 85%;
  height: 75%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 3;
}

.app-interface:before {
  content: 'Saunafy';
  position: absolute;
  top: -45px;
  left: 0;
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
}

.app-interface:after {
  content: 'Quick Start';
  position: absolute;
  top: -20px;
  left: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.app-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 20px;
  padding: 20px;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  height: 80px;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 25px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.card-icon {
  margin-right: 15px;
  font-size: 1.5rem;
}

.status {
  position: absolute;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.status:before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  margin-right: 5px;
  display: inline-block;
}

.app-card.sauna {
  background: linear-gradient(135deg, #FF6B00, #FF4D00);
}

.app-card.cold {
  background: linear-gradient(135deg, #00A3FF, #0077FF);
}

.app-card.steam {
  background: linear-gradient(135deg, #FF9500, #FF5E3A);
}

.hero-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 125, 0, 0.15), transparent 40%);
  z-index: 0;
  opacity: 0.8;
  animation: pulse-gradient 4s infinite alternate;
}

@keyframes pulse-gradient {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF7D00' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

/* Features section */
.features {
  background-color: var(--light);
}

.feature-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.feature-card {
  background-color: var(--gray-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-xs);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2);
}

/* Watch feature section */
.watch-feature {
  background: var(--gradient-cool);
  color: var(--light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin: var(--spacing-lg) var(--spacing-md);
  position: relative;
  overflow: hidden;
}

.watch-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-lg);
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.watch-feature:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 136, 204, 0.3), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0, 193, 222, 0.3), transparent 40%);
  opacity: 0.3;
  z-index: 0;
  animation: pulse-gradient 15s infinite alternate;
}

.section-content {
  flex: 1;
  position: relative;
  z-index: 1;
  max-width: 45%;
}

.section-content h2 {
  text-align: left;
  color: var(--light);
}

.watch-features-list {
  margin-top: var(--spacing-md);
}

.watch-features-list li {
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: flex-start;
}

.watch-features-list li i {
  color: var(--light);
  margin-right: 10px;
  font-size: 0.9rem;
  min-width: 16px;
}

/* 3D Model Viewer */
.watch-3d-model {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 450px;
  position: relative;
  z-index: 1;
  margin-left: var(--spacing-md);
}

model-viewer {
  width: 100%;
  height: 450px;
  --poster-color: transparent;
  background-color: transparent;
  --progress-bar-color: var(--primary);
  --focus-ring-color: var(--primary);
  --ar-button-border-radius: var(--radius-md);
  --ar-button-background-color: var(--primary);
  --camera-orbit: "30deg 75deg 105%";
  --min-camera-orbit: "auto auto 50%";
  --max-camera-orbit: "auto auto 200%";
}

/* Optional camera controls styling */
model-viewer::part(default-progress-bar) {
  height: 4px;
  background-color: var(--primary);
}

model-viewer::part(default-ar-button) {
  background-color: var(--primary);
  border-radius: var(--radius-md);
}

/* Enhanced glow effect for the watch section */
.watch-feature:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 15%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at center, rgba(0, 193, 222, 0.4), transparent 70%);
  transform: translate(0, -50%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  animation: pulse-watch 8s infinite alternate;
}

@keyframes pulse-watch {
  0% { 
    opacity: 0.3;
    transform: translate(0, -50%) scale(0.9);
  }
  100% { 
    opacity: 0.5;
    transform: translate(0, -50%) scale(1.1);
  }
}

/* Use the existing watch-image class as fallback */
.watch-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.watch-image img {
  max-width: 250px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* Media queries for the 3D model viewer and section layout */
@media (max-width: 1024px) {
  .section-content {
    max-width: 50%;
  }
  
  .watch-3d-model {
    min-height: 350px;
  }
  
  model-viewer {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .watch-row {
    flex-direction: column;
    padding: 0;
  }
  
  .section-content {
    max-width: 100%;
    text-align: center;
  }
  
  .section-content h2 {
    text-align: center;
  }
  
  .watch-features-list li {
    justify-content: center;
  }
  
  .watch-3d-model {
    width: 100%;
    min-height: 300px;
    margin-top: var(--spacing-md);
    margin-left: 0;
  }
  
  model-viewer {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-3d-model {
    min-height: 250px;
  }
  
  model-viewer {
    height: 250px;
  }
}

/* Recovery insights section */
.recovery-insights {
  background-color: var(--gray-light);
  border-radius: var(--radius-lg);
  margin: 0 var(--spacing-md);
  padding: var(--spacing-lg);
}

.insights-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.insight-card {
  background-color: var(--light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
}

.insight-card:hover {
  box-shadow: var(--shadow-md);
}

.insight-card img {
  width: 100%;
  height: auto;
  margin-top: var(--spacing-sm);
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: center;
  /* Crop out the iPhone bezels/status bars */
  clip-path: inset(60px 15px 30px 15px);
  /* Alternative approach: scale and crop with overflow hidden */
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Testimonials section */
.testimonials {
  text-align: center;
}

.testimonial-slider {
  display: flex;
  gap: var(--spacing-md);
  overflow-x: auto;
  padding: var(--spacing-sm);
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* For Firefox */
}

.testimonial-slider::-webkit-scrollbar {
  display: none; /* For Chrome, Safari and Opera */
}

.testimonial-card {
  flex: 0 0 auto;
  width: 350px;
  background-color: var(--gray-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  text-align: left;
  scroll-snap-align: center;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: var(--spacing-sm);
}

.testimonial-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: var(--spacing-xs);
}

/* Pricing section */
.pricing {
  text-align: center;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  flex-wrap: wrap;
}

.pricing-card {
  background-color: var(--gray-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  width: 300px;
  position: relative;
  transition: all 0.3s ease;
}

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

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray);
}

.pricing-card ul {
  text-align: left;
  margin: var(--spacing-md) 0;
}

.pricing-card li {
  margin-bottom: var(--spacing-xs);
  position: relative;
  padding-left: 1.5rem;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.pricing-card.highlighted {
  background: var(--light);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-button {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  width: 100%;
  transition: all 0.3s ease;
}

.pricing-card.highlighted .pricing-button {
  background: var(--gradient-warm);
}

.pricing-button:hover {
  background-color: var(--primary-dark);
  color: white;
}

.pricing-card.annual .savings {
  display: inline-block;
  background-color: rgba(0, 200, 0, 0.1);
  color: green;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

/* FAQ section */
.faq {
  background-color: var(--gray-light);
  border-radius: var(--radius-lg);
  margin: 0 var(--spacing-md);
  padding: var(--spacing-lg);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-md);
}

.faq-item {
  background-color: var(--light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Download CTA section */
.download-cta {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  background: var(--gradient-warm);
  color: var(--light);
  border-radius: var(--radius-lg);
  margin: var(--spacing-lg) var(--spacing-md);
}

.download-cta h2 {
  color: var(--light);
}

.download-cta .cta-button {
  background: var(--light);
  color: var(--primary);
  margin-bottom: var(--spacing-md);
}

.download-cta .cta-button:hover {
  background: var(--gray-light);
}

.app-store-badge img {
  height: 60px;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--light);
  padding: var(--spacing-lg) var(--spacing-md);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-logo {
  display: flex;
  flex-direction: column;
}

.logo-with-text {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--spacing-xs);
}

.footer-logo img {
  height: 45px;
  width: auto;
  border-radius: 50%;
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: var(--spacing-lg);
}

.link-group h4 {
  margin-bottom: var(--spacing-sm);
  color: var(--gray);
}

.link-group ul li {
  margin-bottom: var(--spacing-xs);
}

.link-group a {
  color: var(--light);
}

.link-group a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--gray-dark);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.social-links img {
  width: 20px;
  height: 20px;
}

/* Responsive styles */
@media (max-width: 1400px) {
  :root {
    --container-width: 1200px;
  }
  
  .hero-headline {
    font-size: clamp(2rem, 4.2vw, 3.5rem);
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-device-container {
    transform: scale(0.95) perspective(1000px) rotateY(-4deg) rotateX(1deg);
  }
}

@media (max-width: 1200px) {
  :root {
    --container-width: 1024px;
  }
  
  .hero-headline {
    font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  }
  
  .hero-description {
    font-size: 1.05rem;
  }
  
  .hero-container {
    gap: var(--spacing-md);
  }
  
  .hero-device-container {
    transform: scale(0.9) perspective(1000px) rotateY(-3deg) rotateX(1deg);
  }
  
  .hero-primary-btn,
  .hero-secondary-btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {
  :root {
    --container-width: 100%;
  }
  
  .hero-container {
    gap: var(--spacing-sm);
  }
  
  .hero-headline {
    font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-primary-btn,
  .hero-secondary-btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
  
  .hero-device-container {
    transform: scale(0.8) perspective(1000px) rotateY(-2deg) rotateX(1deg);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 100vh;
    height: auto;
    max-height: none;
    padding: var(--spacing-lg) 0;
    /* Keep the original gradient background on mobile */
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff4757 100%);
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-md);
  }
  
  .hero-content {
    text-align: center;
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .hero-headline {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
    margin-bottom: var(--spacing-md);
  }
  
  .hero-description {
    font-size: 1.15rem;
    max-width: 100%;
    text-align: center;
    margin-bottom: var(--spacing-lg);
  }
  
  .hero-cta-group {
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
  }
  
  .hero-primary-btn,
  .hero-secondary-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-features {
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
  }
  
  .hero-visual {
    order: -1;
    padding: var(--spacing-md);
  }
  
  .hero-device-container {
    transform: scale(0.8) perspective(1000px) rotateY(-2deg) rotateX(1deg);
  }
  
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 350px;
    margin-bottom: var(--spacing-md);
  }
  
  .pricing-card.highlighted {
    transform: none;
  }
}

@media (max-width: 768px) {
  nav {
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  .nav-links {
    display: none;
  }
  
  .logo img {
    height: 35px;
    width: 35px;
  }
  
  .logo-text {
    font-size: 1.3rem;
  }
  
  .hero {
    padding: var(--spacing-lg) var(--spacing-sm);
    min-height: 100vh;
  }
  
  .hero-container {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .hero-badge {
    font-size: 0.85rem;
    padding: 10px 20px;
    margin-bottom: var(--spacing-md);
  }
  
  .hero-headline {
    font-size: clamp(2rem, 9vw, 3rem);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
  }
  
  .hero-description {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
  }
  
  .hero-cta-group {
    margin-bottom: var(--spacing-lg);
    gap: var(--spacing-md);
    flex-direction: column;
  }
  
  .hero-primary-btn,
  .hero-secondary-btn {
    padding: 16px 32px;
    font-size: 1.05rem;
    width: 100%;
    max-width: 300px;
  }
  
  .hero-features {
    flex-direction: row;
    gap: var(--spacing-sm);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero-feature {
    flex: 1;
    min-width: 140px;
    max-width: 160px;
  }
  
  .hero-device-container {
    transform: scale(0.85) perspective(1000px) rotateY(-1deg) rotateX(0deg);
  }
  
  .watch-feature,
  .recovery-insights,
  .faq,
  .download-cta {
    margin: var(--spacing-md) 0;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
  }
  
  .watch-feature {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .insights-showcase {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .hero-container {
    padding: var(--spacing-sm);
    gap: var(--spacing-md);
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 8px 16px;
    margin-bottom: var(--spacing-md);
  }
  
  .hero-headline {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
  }
  
  .hero-description {
    font-size: 1.05rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
  }
  
  .hero-cta-group {
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
  }
  
  .hero-primary-btn,
  .hero-secondary-btn {
    padding: 14px 28px;
    font-size: 1rem;
    max-width: 260px;
  }
  
  .hero-features {
    gap: var(--spacing-sm);
    flex-direction: column;
    align-items: center;
  }
  
  .hero-feature {
    font-size: 0.95rem;
    width: 100%;
    max-width: 240px;
  }
  
  .hero-device-container {
    transform: scale(0.75) perspective(1000px) rotateY(0deg) rotateX(0deg);
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .social-links {
    margin-top: var(--spacing-md);
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.1rem;
  }
  
  .hero {
    padding: var(--spacing-md) var(--spacing-sm);
    min-height: 100vh;
  }
  
  .hero-container {
    padding: var(--spacing-sm);
    gap: var(--spacing-sm);
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-headline {
    font-size: clamp(1.6rem, 12vw, 2.4rem);
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
  }
  
  .hero-description {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
  }
  
  .hero-cta-group {
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-primary-btn,
  .hero-secondary-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    max-width: 240px;
  }
  
  .hero-features {
    gap: var(--spacing-xs);
    flex-direction: column;
  }
  
  .hero-feature {
    font-size: 0.9rem;
    padding: 8px 14px;
    width: 100%;
    max-width: 220px;
  }
  
  .hero-feature-icon {
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
  }
  
  .hero-device-container {
    transform: scale(0.65) perspective(1000px) rotateY(0deg) rotateX(0deg);
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 360px) {
  .device-mockup {
    transform: scale(0.6);
    height: 350px;
    margin-left: -20%;
  }
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--dark);
  margin: 6px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Remove scroll indicator animation CSS */

/* Animated section transitions */
.animate-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Section container enhancements */
.section-container {
    text-align: center;
  margin-bottom: var(--spacing-md);
}

/* Remove old decoration - not needed for new design */

/* Device mockup positioning */
.device-mockup {
  position: relative;
  z-index: 2;
} 

/* Style for the navigation icons */
.nav-icon {
  display: none; /* Hidden on desktop */
  margin-right: 8px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.nav-icon i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

/* Badge icons styling */
.badge .icon i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* Feature card icons styling */
.feature-icon i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
  transform: scale(1.2);
  color: var(--primary-dark);
}

/* Watch features list styling */
.watch-features-list li {
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: flex-start;
}

.watch-features-list li i {
  color: var(--light);
  margin-right: 10px;
  font-size: 0.9rem;
  min-width: 16px;
}

@media (max-width: 768px) {
  /* Show icons on mobile */
  .nav-icon {
    display: inline-block;
    font-size: 1.2rem;
    margin-right: 12px;
    transition: transform 0.3s ease;
  }
  
  .nav-links a:hover .nav-icon i {
    transform: scale(1.2);
  }
}