/* CSS Variables */
:root {
  /* Colors */
  --color-primary: #8A2BE2; /* BlueViolet */
  --color-secondary: #7A1CAD; /* Darker BlueViolet */
  --color-tertiary: #B45AFF; /* Lighter BlueViolet */
  --color-dark-blue: #090B1F;
  --color-dark: #151938;
  --color-light: #F9FAFB;
  --color-gray: #9CA3AF;
  --color-gray-dark: #4B5563;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #8A2BE2, #7A1CAD);
  --gradient-secondary: linear-gradient(135deg, #B45AFF, #7A1CAD);
  --gradient-tertiary: linear-gradient(135deg, #8A2BE2, #CCA1FF);
  --gradient-blue-purple: linear-gradient(135deg, #7A1CAD, #B45AFF);
  --gradient-cta: linear-gradient(135deg, #B45AFF, #8A2BE2, #7A1CAD);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-highlight: 0 0 15px rgba(138, 43, 226, 0.5);

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

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

  /* Animations */
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-very-slow: 1s ease;
  
  /* Z-index */
  --z-negative: -1;
  --z-low: 10;
  --z-mid: 50;
  --z-high: 100;
  --z-overlay: 1000;
  --z-modal: 2000;
}

/* Reset and base styles */
/* Root-level section flags for temporary launch hiding */
[data-show-stories="false"] [data-flag="stories"],
[data-show-pricing="false"] [data-flag="pricing"] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden; /* Prevent horizontal scrolling on entire page */
  scroll-padding-top: 80px; /* Account for fixed header */
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-4);
}

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

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

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
}

img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-4);
}

section {
  position: relative;
  padding: var(--spacing-20) 0;
}

.section-title {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: var(--spacing-8);
  z-index: 1;
}

.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.section-title:hover .highlight::after,
.highlight:hover::after {
  transform: scaleX(1);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--color-gray);
  max-width: 700px;
  margin: 0 auto var(--spacing-12);
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-dark-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: var(--z-overlay);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: var(--color-light);
  margin-bottom: var(--spacing-6);
  position: relative;
  animation: pulse 2s infinite;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.loader-progress {
  width: 200px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Custom cursor */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: var(--z-overlay);
  transition: width 0.3s, height 0.3s, background-color 0.3s;
  mix-blend-mode: difference;
}

.custom-cursor.enlarge {
  width: 50px;
  height: 50px;
  background-color: rgba(99, 102, 241, 0.1);
  backdrop-filter: blur(2px);
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-4) 0;
  z-index: var(--z-high);
  transition: var(--transition);
}

.main-nav.scrolled {
  background: rgba(9, 11, 31, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: var(--spacing-2) 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

@media (max-width: 768px) {
  .logo img {
    height: 35px;
  }
}

@media (max-width: 576px) {
  .logo img {
    height: 25px;
  }
}

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

.nav-links a {
  position: relative;
  font-weight: 500;
  padding: var(--spacing-2) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cta-button {
  background: var(--gradient-primary);
  color: var(--color-light);
  padding: var(--spacing-2) var(--spacing-5);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-highlight);
}

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

.cta-button:hover::before {
  transform: translateX(100%);
}

/* Menu toggle removed completely */

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  
  .custom-cursor {
    display: none;
  }
  
  /* Force the nav-content to properly align items when no burger menu */
  .nav-content {
    justify-content: space-between;
  }
  
  /* Make sure the CTA button stays on the right */
  .cta-button {
    margin-left: auto;
  }
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow-x: hidden; /* Explicitly prevent horizontal scrolling */
  overflow-y: auto; /* Allow vertical scrolling */
  padding: 0;
  width: 100%; /* Ensure the hero section is exactly 100% width */
  max-width: 100%; /* Prevent any potential overflow */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(20deg, var(--color-dark-blue) 0%, #151938 50%, #41205e 100%);
  z-index: var(--z-negative);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 30%),
                    radial-gradient(circle at 70% 70%, rgba(236, 72, 153, 0.2) 0%, transparent 30%);
  z-index: var(--z-negative);
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-10);
  overflow: visible; /* Ensure larger mockup doesn't get cut off */
}

.hero-text {
  flex: 1;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: var(--spacing-6);
}

.title-line {
  font-size: 3.5rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important; /* Slightly increased line height for better spacing with <br> */
}

.title-line .highlight {
  font-size: 3.5rem !important;
  font-weight: 700 !important;
  display: inline !important;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: inherit; /* Inherit line height from parent */
}

/* Removed duplicate style as this is now covered by .title-line .highlight */

/* Animation removed as requested */
/* .animate-text {
  will-change: transform;
  animation: float 6s ease-in-out infinite;
} */

.hero-text p {
  font-size: 1.125rem;
  color: var(--color-light);
  max-width: 500px;
  margin-bottom: var(--spacing-8);
}

@media (max-width: 576px) {
  .hero-text p {
    font-size: 14px;
  }
}

.app-buttons {
  display: flex;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-8);
}

.app-buttons a {
  display: flex;
  align-items: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  transform: translateY(0);
}

.app-buttons a:hover {
  transform: translateY(-3px);
}

.app-store-img, .play-store-img {
  height: 56px; /* Increased by 25% from 45px (45 * 1.25 = 56.25) */
  width: auto;
  display: block;
}

/* Increase app buttons by 25% on mobile */
@media (max-width: 768px) {
  .app-store-img, .play-store-img {
    height: 70px; /* Increased by 25% from 56px (56 * 1.25 = 70) */
  }
}

.app-store-btn, .play-store-btn {
  background: none;
  border: none;
  padding: 0;
  transition: var(--transition);
}

.app-store-btn:hover, .play-store-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-highlight);
}

.app-buttons a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-md);
}

.hero-stats {
  display: flex;
  gap: var(--spacing-6);
}

@media (max-width: 576px) {
  .hero-stats {
    gap: var(--spacing-3);
  }
  
  .stat .number {
    font-size: 1.5rem;
  }
  
  .stat .label {
    font-size: 0.75rem;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat .number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-light);
  margin-bottom: var(--spacing-1);
}

.stat .label {
  font-size: 0.875rem;
  color: var(--color-gray);
}

.hero-image {
  flex: 1.5; /* More space for the larger phone mockup */
  position: relative;
  height: 650px; /* Increased height to accommodate larger mockup */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

@media (max-width: 992px) {
  .hero-image {
    flex: 1.2;
    height: 550px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .hero-image {
    height: 550px; /* Increased height for larger mockup */
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .hero-image {
    height: 550px; /* Increased height for larger mockup */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
  }
}

.phone-mockup {
  position: relative;
  width: 531px; /* Reduced by 15% from 625px (625 * 0.85) */
  perspective: 1000px;
  z-index: 3;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .phone-mockup {
    width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .phone-mockup {
    width: 500px; /* Increased significantly for better mobile visibility */
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .phone-mockup {
    width: 480px !important; /* Reduced by 18% from 583px for better fit */
    margin: 0 auto !important;
    max-width: 85vw; /* Ensure it doesn't overflow viewport */
  }
  
  .phone-mockup img {
    width: 100% !important;
    height: auto !important;
    transform: none !important; /* Remove 3D transform on mobile for better visibility */
  }
}

.phone-mockup img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
  object-fit: contain;
}

.hero-image .phone-mockup img {
  border-radius: 0;
  box-shadow: none;
}

.phone-mockup:hover img {
  transform: rotateY(0) rotateX(0);
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden; /* Prevent shapes from causing overflow */
}

.shape {
  position: absolute;
  border-radius: var(--radius-full);
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 20%;
  left: 10%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0) 70%);
  animation: float 7s ease-in-out infinite;
  pointer-events: none;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: 0; /* Changed from -5% to 0 to prevent overflow */
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(236, 72, 153, 0) 70%);
  animation: float 9s ease-in-out infinite reverse;
  pointer-events: none;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 30%;
  background: radial-gradient(circle, rgba(59, 217, 179, 0.2) 0%, rgba(59, 217, 179, 0) 70%);
  animation: float 11s ease-in-out infinite;
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  overflow: hidden;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 70px;
}

/* Features section */
.features-section {
  text-align: center;
  background-color: var(--color-dark);
  transform: translateY(-1px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-6);
  margin-top: var(--spacing-12);
}

.feature-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--spacing-6);
  text-align: left;
  transition: var(--transition);
  overflow: hidden;
  transform: translateY(50px);
  opacity: 0;
}

.feature-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

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

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  margin-bottom: var(--spacing-4);
  font-size: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(10deg);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-3);
}

.feature-card p {
  color: var(--color-gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Increase font size on mobile for feature card descriptions and titles */
@media (max-width: 576px) {
  .features-section .feature-card p {
    font-size: 12px;
  }
  
  .features-section .feature-card h3 {
    font-size: 15px;
  }
}

/* Benefits section */
.benefits-section {
  padding-top: var(--spacing-24);
  padding-bottom: var(--spacing-24);
  position: relative;
  overflow: hidden;
}

.benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  z-index: var(--z-negative);
}

.benefits-content {
  text-align: center;
}

.benefits-wrapper {
  display: flex;
  align-items: center;
  gap: var(--spacing-12);
  margin-top: var(--spacing-12);
}

.benefits-list {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-4);
}

.benefit-item {
  display: flex;
  align-items: center;
  padding: var(--spacing-4) var(--spacing-5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 500;
  transition: var(--transition);
  transform: scale(0.95);
  opacity: 0;
}

.benefit-item.visible {
  transform: scale(1);
  opacity: 1;
}

.benefit-item i {
  font-size: 1.25rem;
  margin-right: var(--spacing-3);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefit-item:hover i {
  transform: scale(1.2);
}

/* Colorful benefit lozenges */
.benefit-focus {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}
.benefit-focus i {
  color: var(--color-success);
}

.benefit-energy {
  background: rgba(250, 204, 21, 0.1);
  border-color: rgba(250, 204, 21, 0.3);
}
.benefit-energy i {
  color: #facc15;
}

.benefit-relationships {
  background: rgba(255, 0, 255, 0.1);
  border-color: rgba(255, 0, 255, 0.3);
}
.benefit-relationships i {
  color: #FF00FF;
}

.benefit-self-esteem {
  background: rgba(250, 204, 21, 0.1);
  border-color: rgba(250, 204, 21, 0.3);
}
.benefit-self-esteem i {
  color: #facc15;
}

.benefit-control {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}
.benefit-control i {
  color: #3b82f6;
}

.benefit-motivation {
  background: rgba(180, 90, 255, 0.1);
  border-color: rgba(180, 90, 255, 0.3);
}
.benefit-motivation i {
  color: var(--color-tertiary);
}

.benefit-money {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}
.benefit-money i {
  color: var(--color-success);
}

.benefit-anxiety {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}
.benefit-anxiety i {
  color: #3b82f6;
}

.benefits-image {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-content {
  padding: var(--spacing-8);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  max-width: 90%;
}

.text-content h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-4);
  color: var(--color-light);
}

.text-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-gray);
}

.benefits-image:hover .text-content {
  transform: translateY(-5px);
  box-shadow: var(--shadow-highlight);
}

/* Legacy image styles kept for reference */
.image-wrapper {
  position: relative;
  width: 52%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(10deg) rotateX(5deg);
  transition: var(--transition);
  display: none; /* Hidden */
}

.image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(236, 72, 153, 0.5));
  mix-blend-mode: overlay;
  z-index: 1;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 1s ease;
}

/* =================================================================
   PATH TO SOBRIETY SECTION
   ================================================================= */

.path-to-sobriety-section {
  padding-top: var(--spacing-24);
  padding-bottom: var(--spacing-24);
  background-color: var(--color-dark);
  position: relative;
  text-align: center;
}

.path-grid {
  margin-top: var(--spacing-16);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
}

.path-step {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-12);
  text-align: left;
}

.path-step-text,
.path-step-image {
  flex: 1;
  min-width: 300px;
}

.path-step-text {
  position: relative;
  padding-left: 60px;
}

.path-step .step-number {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.path-step h3 {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-4);
}

.path-step p {
  color: var(--color-gray);
  font-size: 1.1rem;
  max-width: 500px;
}

.path-step-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.path-step-image img {
  max-width: 80%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.path-step-image img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-highlight);
}

/* --- DESKTOP ZIGZAG LOGIC --- */
@media (min-width: 993px) {
  .path-step.reverse {
    flex-direction: row-reverse;
  }
}

/* --- MOBILE STACKING LOGIC --- */
@media (max-width: 992px) {
  .path-step,
  .path-step.reverse {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-8);
  }

  .path-step-text {
    order: 2;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .path-step-image {
    order: 1;
  }

  .path-step .step-number {
    position: static;
    margin-bottom: var(--spacing-4);
  }
}

.phone-container:hover img {
  transform: translate(-50%, -50%) perspective(1000px) rotateY(0) rotateX(0);
}

.floating-element {
  position: absolute;
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-md);
  z-index: 10;
}

@media (max-width: 768px) {
  .floating-element {
    padding: var(--spacing-2) var(--spacing-3);
    font-size: 0.875rem;
  }
  
  .floating-element i {
    font-size: 1rem;
  }
  
  .phone-container {
    padding-bottom: 60%;
  }
  
  .phone-container img {
    width: 40%;
  }
}

@media (max-width: 576px) {
  .phone-container {
    padding-bottom: 50%;
  }
  
  .phone-container img {
    width: 35%;
  }
  
  .floating-element {
    display: none; /* Hide floating elements on mobile */
  }
}

/* Additional rule to ensure floating elements are hidden on all mobile devices */
@media (max-width: 768px) {
  .floating-element {
    display: none !important;
  }
}

.floating-element i {
  margin-right: var(--spacing-2);
  font-size: 1.25rem;
  color: var(--color-primary);
}

.float-1 {
  top: 20%;
  right: 5%;
  animation: float 7s ease-in-out infinite;
}

.float-2 {
  bottom: 25%;
  left: 0;
  animation: float 8s ease-in-out 1s infinite;
}

.float-3 {
  top: 60%;
  right: 10%;
  animation: float 6s ease-in-out 0.5s infinite;
}

.how-works-steps {
  flex: 1;
}

.step {
  margin-bottom: var(--spacing-8);
  position: relative;
  padding-left: var(--spacing-16);
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
}

.step.visible {
  opacity: 1;
  transform: translateX(0);
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-2);
}

.step p {
  color: var(--color-gray);
  font-size: 0.95rem;
}

.step::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 60px;
  width: 1px;
  height: calc(100% - 40px);
  background: linear-gradient(to bottom, var(--color-primary), transparent);
}

/* Testimonials section */
.testimonials {
  padding-top: var(--spacing-24);
  padding-bottom: var(--spacing-24);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  z-index: var(--z-negative);
}

.testimonials-header {
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.testimonials-slider {
  display: flex;
  justify-content: center;
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-8);
  position: relative;
  flex-wrap: wrap;
}

.testimonial-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--spacing-6);
  position: relative;
  transition: var(--transition);
  transform: scale(0.95);
  opacity: 0;
  margin-bottom: var(--spacing-4);
}

.testimonial-card.visible {
  transform: scale(1);
  opacity: 1;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-gray);
  margin-bottom: var(--spacing-6);
  position: relative;
  z-index: 2;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--color-primary);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fix for mobile testimonials */
@media (max-width: 768px) {
  .author-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
  }
  
  .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
  }
}

.author-info {
  flex: 1;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-1);
  color: var(--color-light);
}

.user-descriptor {
  font-size: 0.875rem;
  color: var(--color-gray);
  margin: 0;
}

/* Testimonial dots removed */



/* Stats Section */
.stats-section {
  padding-top: var(--spacing-24);
  padding-bottom: var(--spacing-24);
  background-color: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.stats-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-16);
}

.stats-text {
  flex: 1;
}

.stats-text p {
  color: var(--color-gray);
  margin-bottom: var(--spacing-8);
}

.stats-counters {
  display: flex;
  gap: var(--spacing-8);
  flex-wrap: wrap;
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: var(--spacing-3);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .counter-circle {
    width: 100px;
    height: 100px;
  }
  
  .counter-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .counter-circle {
    width: 100px;
    height: 100px;
  }
  
  .counter-circle svg {
    width: 100px;
    height: 100px;
  }
  
  .stats-counters {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-6);
  }
}

.counter-circle svg {
  position: absolute;
  top: 0;
  left: 0;
}

.progress-ring {
  transform-origin: center;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 2s ease;
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
}

.counter-item p {
  color: var(--color-gray);
  font-size: 0.875rem;
  margin: 0;
}

.stats-visual {
  flex: 1;
}

.graph-container {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.graph-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.graph-dots .dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.2);
}

.graph-dots .dot:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: pulse 3s infinite;
}

.graph-dots .dot:nth-child(2) {
  top: 70%;
  left: 30%;
  animation: pulse 4s 0.5s infinite;
}

.graph-dots .dot:nth-child(3) {
  top: 40%;
  right: 20%;
  animation: pulse 3.5s 1s infinite;
}

.graph-dots .dot:nth-child(4) {
  bottom: 20%;
  right: 10%;
  animation: pulse 4s 1.5s infinite;
}

.graph-dots .dot:nth-child(5) {
  top: 30%;
  left: 80%;
  animation: pulse 3s 2s infinite;
}

.stats-graph-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

/* Pricing Section */
.pricing-section {
  padding-top: var(--spacing-24);
  padding-bottom: var(--spacing-24);
  position: relative;
  overflow: hidden;
  background-color: var(--color-dark);
}

/* Pricing Button Styles */
.pricing-btn {
  display: inline-block;
  margin-top: var(--spacing-4);
  padding: var(--spacing-3) var(--spacing-6);
  width: 100%;
  border: none;
  border-radius: var(--radius);
  background: var(--gradient-primary);
  color: var(--color-light);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-size: 1rem;
}

.pricing-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pricing-btn.premium {
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
}

.pricing-btn.premium::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: 0.5s;
}

.pricing-btn.premium:hover::before {
  left: 100%;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 70% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  z-index: var(--z-negative);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.pricing-grid {
  display: flex;
  gap: var(--spacing-6);
  justify-content: center;
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  .pricing-grid {
    flex-wrap: nowrap;
  }
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: var(--spacing-8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  transition: all 0.5s ease;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  opacity: 0;
  animation: pricing-card-appear 0.6s forwards;
}

@keyframes pricing-card-appear {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.pricing-card:nth-child(2) {
  animation-delay: 0.2s;
}

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

.pricing-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.pricing-card.best-value {
  border: 1px solid var(--color-primary);
  background: linear-gradient(145deg, rgba(138, 43, 226, 0.2), rgba(99, 102, 241, 0.1));
  z-index: 1;
  transform: translateY(0) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.pricing-card.best-value:hover {
  transform: translateY(-10px) scale(1.08);
  box-shadow: 0 15px 30px rgba(138, 43, 226, 0.3);
}

.best-value-badge {
  position: absolute;
  top: 0;
  right: var(--spacing-6);
  transform: translateY(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
  z-index: 2;
  transition: all 0.3s ease;
}

.best-value-badge.pulse {
  animation: badge-pulse 1s;
}

@keyframes badge-pulse {
  0% {
    transform: translateY(-50%) scale(1);
    box-shadow: var(--shadow);
  }
  50% {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.6);
  }
  100% {
    transform: translateY(-50%) scale(1);
    box-shadow: var(--shadow);
  }
}

/* Pricing CTA Section */
.pricing-cta {
  text-align: center;
  margin-top: var(--spacing-6);
  padding-top: var(--spacing-4);
}

.cta-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-6);
}

.download-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-4);
  flex-wrap: wrap;
}

.download-badge {
  display: inline-block;
  transition: transform 0.3s ease;
}

.download-badge:hover {
  transform: scale(1.05);
}

.download-badge img {
  display: block;
  border-radius: var(--radius);
}

.pricing-header-card {
  text-align: center;
  margin-bottom: var(--spacing-6);
  padding-bottom: var(--spacing-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-header-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-2);
  color: var(--color-light);
}

.price {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-1);
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 0.5rem;
  color: var(--color-light);
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-light);
  font-family: var(--font-heading);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: var(--transition);
}

.pricing-card:hover .amount {
  transform: scale(1.05);
}

.period {
  font-size: 1rem;
  color: var(--color-gray);
  align-self: flex-end;
  margin-bottom: 0.75rem;
}

.price-note {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: var(--spacing-1);
}

.pricing-features {
  flex: 1;
  margin-bottom: var(--spacing-6);
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-3);
  transition: transform 0.3s ease;
}

.pricing-card:hover .feature-item {
  transform: translateX(5px);
}

.feature-item i {
  color: var(--color-primary);
  margin-right: var(--spacing-3);
  font-size: 0.9rem;
}

.feature-item span {
  color: var(--color-gray);
  font-size: 0.95rem;
}

.pricing-btn {
  width: 100%;
  padding: var(--spacing-3) 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-light);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.pricing-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
}

.pricing-btn:hover::before {
  animation: btn-shine 1.5s;
}

.pricing-btn.premium {
  background: var(--gradient-primary);
  border: none;
  box-shadow: var(--shadow);
}

.pricing-btn.premium:hover {
  box-shadow: var(--shadow-highlight);
  transform: translateY(-3px);
}

@keyframes btn-shine {
  100% {
    transform: translateX(100%);
  }
}

/* FAQ Section */
.faq-section {
  padding-top: var(--spacing-24);
  padding-bottom: 5.1rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  z-index: var(--z-negative);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.faq-item {
  margin-bottom: var(--spacing-4);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.faq-question {
  padding: var(--spacing-4) var(--spacing-6);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  text-align: left;
}

@media (max-width: 768px) {
  .faq-question {
    padding: var(--spacing-3) var(--spacing-4);
    font-size: 0.95rem;
  }
  
  .faq-answer p {
    padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
    font-size: 0.9rem;
  }
  
  .faq-section {
    padding-bottom: 3.5rem;
  }
  
  .cta-section {
    padding-top: 3rem;
  }
}

.faq-question i {
  font-size: 1rem;
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
  padding: 0 var(--spacing-6) var(--spacing-4) var(--spacing-6);
  color: var(--color-gray);
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  padding-top: 4.25rem;
  padding-bottom: var(--spacing-20);
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.cta-content .section-title {
  line-height: 1.4;
  margin-bottom: var(--spacing-6);
}

.cta-buttons {
  display: flex;
  flex-direction: row; /* Ensure horizontal alignment */
  justify-content: center;
  align-items: center;
  gap: var(--spacing-8);
  margin-top: var(--spacing-8);
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  background: var(--gradient-cta);
  color: var(--color-light);
  padding: var(--spacing-3) var(--spacing-6);
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.primary-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
}

.primary-button:hover {
  box-shadow: var(--shadow-highlight);
  transform: translateY(-3px);
}

.primary-button:hover::before {
  animation: shimmer 2s 1;
}

.primary-button i {
  transition: transform 0.3s ease;
}

.primary-button:hover i {
  transform: translateX(3px);
}

.secondary-button {
  display: inline-block;
  padding: var(--spacing-3) var(--spacing-6);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  color: var(--color-light);
  font-weight: 500;
  transition: var(--transition);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cta-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

.cta-bg-shapes .shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
}

.cta-bg-shapes .shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  right: -50px;
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
}

.cta-bg-shapes .shape-3 {
  width: 200px;
  height: 200px;
  bottom: 30%;
  left: 30%;
  background: radial-gradient(circle, var(--color-tertiary) 0%, transparent 70%);
}

/* Footer */
footer {
  padding: var(--spacing-12) 0 var(--spacing-8);
  background-color: var(--color-dark);
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-12);
}

.footer-logo {
  flex: 1;
  max-width: 300px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: var(--spacing-4);
}

.footer-logo p {
  font-size: 0.875rem;
  color: var(--color-gray);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex: 2;
  gap: var(--spacing-12);
}

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: var(--spacing-4);
  color: var(--color-light);
}

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

.footer-col ul li {
  margin-bottom: var(--spacing-2);
}

.footer-col ul li a {
  color: var(--color-gray);
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-light);
  transform: translateX(3px);
  display: inline-block;
}

/* Privacy Policy Page Styles */
.privacy-policy-section {
  padding-top: calc(var(--spacing-24) + 80px);
  padding-bottom: var(--spacing-24);
}

.policy-header {
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.terms-section {
  padding-top: calc(var(--spacing-24) + 80px);
  padding-bottom: var(--spacing-24);
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-lg);
  padding: var(--spacing-8);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.policy-item {
  margin-bottom: var(--spacing-8);
}

.policy-item h2 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-4);
  color: var(--color-primary);
}

.policy-item p {
  margin-bottom: var(--spacing-4);
  color: var(--color-gray);
}

.policy-item ul {
  list-style-type: disc;
  padding-left: var(--spacing-6);
  margin-bottom: var(--spacing-4);
}

.policy-item ul li {
  margin-bottom: var(--spacing-2);
  color: var(--color-gray);
}

.policy-item strong {
  color: var(--color-light);
  font-weight: 600;
}

.policy-footer {
  margin-top: var(--spacing-12);
  display: flex;
  justify-content: center;
}

.back-to-home {
  text-align: center;
}

.back-to-home .secondary-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
}

.back-to-home .secondary-button i {
  font-size: 0.9rem;
}

.app-download-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-8);
  margin-top: var(--spacing-8);
  width: 100%;
}

.app-store-button, .play-store-button {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.app-store-button img, .play-store-button img {
  height: 40px;
  width: auto;
  display: block;
}

@media (max-width: 576px) {
  .app-download-buttons {
    flex-direction: row;
    gap: var(--spacing-6);
  }
  
  .app-store-button img, .play-store-button img {
    height: 36px;
  }
}

.app-download-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--spacing-4);
  margin-top: var(--spacing-8);
  width: 100%;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--color-gray);
  margin: 0;
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .hero-text h1 span {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .phone-mockup {
    width: 280px;
  }
  
  .how-works-content {
    flex-direction: column;
    gap: var(--spacing-16);
  }
  
  .phone-container {
    padding-bottom: 70%;
  }
  
  .phone-container img {
    width: 40%;
  }
  
  .stats-content {
    flex-direction: column;
    gap: var(--spacing-10);
  }
  
  .stats-text {
    text-align: center;
  }
  
  .stats-counters {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 14px;
  }
  
  .hero-content {
    flex-direction: column-reverse;
    gap: var(--spacing-8);
  }
  
  .hero-text {
    text-align: center;
    margin-bottom: 0;
  }
  
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .app-buttons, .hero-stats {
    justify-content: center;
  }
  
  .hero-image {
    height: 400px;
    margin-bottom: var(--spacing-6);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-wrapper {
    flex-direction: column;
  }
  
  .testimonials-slider {
    justify-content: center;
    gap: var(--spacing-4);
  }
  
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    flex: 0 0 calc(50% - var(--spacing-4));
  }
  
  .nav-links {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: calc(80px + var(--spacing-8));
    padding-bottom: var(--spacing-12);
    height: auto;
    min-height: auto;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
  }
  
  .hero-text h1 {
    font-size: 2.0rem;
    margin-bottom: var(--spacing-1);
    line-height: 1.1;
  }
  
  .hero-text h1 span {
    font-size: 2.0rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-6);
  }
  
  .app-buttons {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-5);
  }
  
  .app-store-img, .play-store-img {
    height: 46px; /* Increased by 25% from 37px (37 * 1.25 = 46.25) */
  }
  
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-5);
    margin-top: 0;
  }
  
  .hero-image {
    height: 300px;
    margin-top: var(--spacing-8);
    margin-bottom: 0;
    order: 2; /* Changed from -1 to 2 to show below text content */
  }
  
  .phone-mockup {
    width: 200px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-list {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--spacing-8);
  }
  
  .footer-logo {
    max-width: 100%;
    text-align: center;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
    gap: var(--spacing-4);
  }
  
  .cta-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-4);
    width: auto;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 13px; /* Changed from 12px to 13px as requested */
  }
  
  /* Increase footer text size on mobile */
  .footer-logo p,
  .footer-col ul li a,
  .footer-bottom p {
    font-size: 1rem; /* 13px at this breakpoint */
  }
  
  /* Increase CTA section paragraph text size */
  .cta-content p {
    font-size: 1.077rem; /* Increased by 1px - approximately 14px at 13px base font size */
  }
  
  .hero {
    height: auto;
    padding-top: calc(70px + var(--spacing-8));
    padding-bottom: var(--spacing-10);
  }
  
  .hero-content {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-4);
  }
  
  .hero-text {
    padding-bottom: 0;
    order: 1;
  }
  
  .title-line {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
  }
  
  .title-line .highlight {
    font-size: 2.2rem !important;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }
  
  .hero-text h1 span {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.65rem;
  }
  
  .section-desc {
    font-size: 1rem; /* Increased from 0.95rem to 1rem (13px at this breakpoint) */
    padding: 0 var(--spacing-2);
  }
  
  .hero-text p {
    font-size: 1.077rem; /* Increased by 1px - approximately 14px at 13px base font size */
    padding: 0 var(--spacing-2);
    margin-top: var(--spacing-4);
    margin-bottom: var(--spacing-5);
    color: var(--color-light);
  }
  
  .hero-image {
    height: 260px;
    margin-top: var(--spacing-4);
    order: 2;
    position: relative;
  }
  
  .phone-mockup {
    width: 140px;
    top: 0;
    position: relative;
    transform: translate(0, 0);
    margin: 0 auto;
  }
  
  .phone-mockup img {
    transform: rotateY(-5deg) rotateX(5deg);
  }
  
  .shape-1, .shape-2, .shape-3 {
    opacity: 0.5;
    transform: scale(0.7);
  }
  
  .hero-stats {
    gap: var(--spacing-4);
    margin-top: var(--spacing-3);
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .stat {
    margin: 0 var(--spacing-2);
  }
  
  .stat .number {
    font-size: 1.3rem;
  }
  
  .stat .label {
    font-size: 1rem; /* Increased from 0.7rem to 1rem (13px at this breakpoint) */
  }
  
  .app-buttons {
    flex-direction: row;
    justify-content: center;
    max-width: 100%;
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-4);
  }
  
  .app-store-img, .play-store-img {
    height: 32px;
  }
  
  .stats-counters {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-6);
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-6);
  }
  
  .footer-col {
    width: 100%;
  }
  
  .feature-card {
    padding: var(--spacing-4);
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
  }
  
  .feature-card p {
    font-size: 1rem; /* Increased from 0.85rem to 1rem (13px at this breakpoint) */
  }
  
  .testimonial-card {
    padding: var(--spacing-4);
    flex: 0 0 100%;
  }
  
  .testimonial-card p {
    font-size: 1rem; /* Increased from 0.9rem to 1rem (13px at this breakpoint) */
  }
  
  section {
    padding: var(--spacing-12) 0;
  }
  
  .container {
    padding: 0 var(--spacing-4);
  }
  
  .cta-buttons {
    gap: var(--spacing-6);
  }
  
  .primary-button,
  .secondary-button {
    padding: var(--spacing-2) var(--spacing-5);
    font-size: 1rem; /* Increased from 0.95rem to 1rem (13px at this breakpoint) */
  }
  
  .testimonials-slider {
    margin: 0 var(--spacing-3);
  }
  
  .how-works-content {
    gap: var(--spacing-8);
  }
}
