/* 
* Revitu Website Styles
* A modern, responsive design for the Revitu fitness app
*/

:root {
  /* Primary Colors - Orange/Red Theme */
  --primary-color: #ff4444;
  --primary-dark: #e63946;
  --primary-light: #ff6b6b;
  
  /* Secondary Colors */
  --secondary-color: #ff8500;
  --secondary-dark: #e67700;
  --secondary-light: #ffa500;
  
  /* Accent Colors */
  --accent-green: #2ec4b6;
  --accent-purple: #7209b7;
  --accent-orange: #ff4444;
  
  /* Neutrals */
  --dark: #1a1a2e;
  --gray-dark: #4a4a68;
  --gray-medium: #8a8aab;
  --gray-light: #d1d1e0;
  --light: #f8f9fa;
  
  /* Background Colors */
  --color-background-primary: #ffffff;
  --color-background-secondary: #f8f9fa;
  --color-background-tertiary: #ffffff;
  
  /* Text Colors */
  --color-text-primary: #1a1a2e;
  --color-text-secondary: #4a4a68;
  
  /* Border Colors */
  --color-border: #e9ecef;
  
  /* Fonts */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;    /* 4px */
  --space-sm: 0.5rem;     /* 8px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2.5rem;     /* 40px */
  --space-xxl: 4rem;      /* 64px */
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Border Radius (alternative naming used in tracker.css) */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
}


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

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-dark);
  margin-bottom: var(--space-xl);
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.167rem 1.25rem;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-decoration: none;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1;
  height: auto;
  min-height: unset;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #ffffff !important;
  box-shadow: 0 2px 8px 0 rgba(255, 68, 68, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-shadow: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px 0 rgba(255, 68, 68, 0.3);
}

.btn-primary:visited,
.btn-primary:focus,
.btn-primary:active {
  color: #ffffff !important;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px 0 rgba(255, 68, 68, 0.3);
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

/* Header */
header {
  background-color: white;
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 70px;
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.logo-image {
  height: 32px;
  width: 32px;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 var(--space-md);
  display: flex;
  align-items: center;
}

.nav-links a {
  color: var(--gray-dark);
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 var(--space-xs);
}

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

.nav-cta {
  margin-left: var(--space-md) !important;
  height: 60px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 500;
  color: white;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  line-height: 1;
  display: inline-flex; /* ✅ prevents full-height flex children */
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-height: 60px; /* ✅ cap height */
  align-self: flex-start; /* ✅ important if inside flex container */
}



.nav-cta:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  opacity: 0.9;
}


.cta-buttons {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  cursor: pointer;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  right: var(--space-md);
  z-index: 1000;
}

.menu-toggle:hover {
  background-color: rgba(255, 68, 68, 0.1);
  border-color: rgba(255, 68, 68, 0.3);
  transform: scale(1.05);
}

.menu-toggle span {
  height: 3px;
  width: 24px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: calc(var(--space-xxl) + 70px);
  padding-bottom: var(--space-xxl);
  background: linear-gradient(180deg, rgba(248,249,250,1) 0%, rgba(230,240,255,1) 100%);
  overflow: hidden;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xl);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-height: 600px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* Hero Content Styles */
.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.badge-icon {
  width: 20px;
  height: 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--dark);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(155, 89, 182, 0.1));
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(74, 144, 226, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.hero-subtitle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero-subtitle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(74, 144, 226, 0.3);
  border-color: var(--accent-purple);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-dark);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

/* Top row - perfectly centered */
.hero-features .hero-feature:nth-child(1) {
  grid-column: 1 / 2;
  justify-self: center;
}

.hero-features .hero-feature:nth-child(2) {
  grid-column: 3 / 4;
  justify-self: center;
}

.hero-features .hero-feature:nth-child(3) {
  grid-column: 5 / 6;
  justify-self: center;
}

/* Bottom row - perfectly centered */
.hero-features .hero-feature:nth-child(4) {
  grid-column: 2 / 3;
  grid-row: 2;
  justify-self: center;
}

.hero-features .hero-feature:nth-child(5) {
  grid-column: 4 / 5;
  grid-row: 2;
  justify-self: center;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
}

.feature-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.hero-feature span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xxl);
}

.btn-large {
  padding: var(--space-lg) var(--space-xl);
  font-size: 1.125rem;
  font-weight: 600;
}

.btn-icon {
  width: 20px;
  height: 20px;
  margin-right: var(--space-sm);
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  justify-content: center;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

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

/* Hero Visual Styles */
.hero-visual {
  flex: 0 0 500px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual {
  margin-top: var(--space-xl);
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #f8f9fa, #ffffff);
  border-radius: 30px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-screenshot {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.preview-stats {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.preview-stat {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}

.stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

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

.stat-value {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
  line-height: 1;
}

.stat-name {
  font-size: 0.875rem;
  color: var(--gray-dark);
  margin-top: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* Container and spacing improvements */
  .hero .container {
    padding: var(--space-lg) var(--space-md);
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  /* Hero section improvements */
  .hero {
    padding: var(--space-xxl) 0;
    min-height: auto;
  }
  
  .hero-content {
    text-align: center;
    padding: var(--space-lg) 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    line-height: 1.6;
  }
  

  /* Hero features mobile layout */
  .hero-features {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    max-width: 100%;
  }
  
  /* Reset all grid positioning for mobile */
  .hero-features .hero-feature:nth-child(1),
  .hero-features .hero-feature:nth-child(2),
  .hero-features .hero-feature:nth-child(3),
  .hero-features .hero-feature:nth-child(4),
  .hero-features .hero-feature:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
  }
  
  .hero-feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xs);
  }
  
  .feature-icon {
    width: 24px;
    height: 24px;
  }
  
  /* Hero buttons mobile layout */
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-xl);
  }
  
  .btn-large {
    width: 100%;
    max-width: 280px;
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
  }
  
  /* Hero stats mobile layout */
  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
  }
  
  .stat {
    text-align: center;
  }
  
  /* Phone mockup adjustments */
  .phone-mockup {
    width: 240px;
    height: 480px;
  }
  
  .preview-stats {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  
  .preview-stat {
    width: 100%;
    max-width: 280px;
  }
  
  /* Section spacing */
  section {
    padding: var(--space-xxl) 0;
  }
  
  /* Footer responsive */
  .footer-columns {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .footer-column {
    min-width: auto;
    text-align: center;
  }
  
  /* Hide QR code on mobile */
  .download-image {
    display: none;
  }
}

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

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Background */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: -1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
  opacity: 0.1;
  animation: pulse-orb 8s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
  animation-delay: 3s;
}

.orb-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 20%;
  animation-delay: 6s;
}

@keyframes pulse-orb {
  0%, 100% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.2;
  }
}

/* Features Section */
.features {
  text-align: center;
  background-color: white;
}

/* Features Carousel */
.features-carousel-container {
  position: relative;
  margin-top: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.feature-slide {
  display: none;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease-in-out;
}

.feature-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.feature-slide.prev {
  transform: translateX(-100%);
}

.feature-card {
  background-color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.feature-icon {
  background-color: rgba(67, 97, 238, 0.1);
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.feature-icon img {
  width: 40px;
  height: 40px;
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(67, 97, 238, 0.2);
  border-radius: var(--radius-full);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: var(--primary-color);
}

.carousel-nav:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
  left: -25px;
}

.carousel-nav.next {
  right: -25px;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(67, 97, 238, 0.3);
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover,
.dot.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.2);
}

/* Feature Highlight Badge */
.feature-highlight {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.feature-card.featured {
  position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
  .features-carousel-container {
    max-width: 90%;
  }
  
  .carousel-nav {
    width: 40px;
    height: 40px;
  }
  
  .carousel-nav.prev {
    left: -20px;
  }
  
  .carousel-nav.next {
    right: -20px;
  }
  
  .feature-card {
    padding: var(--space-lg);
    min-height: 280px;
  }
}

/* Screenshots Section */
.screenshots {
  background-color: #f0f4ff;
  text-align: center;
}

.screenshots-carousel {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  overflow-x: auto;
  padding: var(--space-md);
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.screenshots-carousel::-webkit-scrollbar {
  display: none;
}

.screenshot {
  flex: 0 0 240px;
  scroll-snap-align: start;
}

.screenshot img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 240px;
  height: auto;
  margin-bottom: var(--space-sm);
}

.screenshot p {
  font-weight: 500;
  color: var(--gray-dark);
}

/* Testimonials Section */
.testimonials {
  background-color: white;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.testimonial-card {
  background-color: white;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: left;
  border: 1px solid var(--gray-light);
}

.testimonial-rating {
  color: var(--accent-orange);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-dark);
}

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

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  margin-right: var(--space-md);
}

.testimonial-author h4 {
  margin-bottom: 0;
}

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

/* FAQ Section */
.faq {
  background-color: #f0f4ff;
}

.faq-accordion {
  max-width: 800px;
  margin: var(--space-xl) auto 0;
}

.faq-item {
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  background-color: white;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: var(--space-lg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.125rem;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

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

/* Download Section */
.download {
  background: linear-gradient(45deg, var(--primary-color) 0%, var(--accent-purple) 100%);
  color: white;
}

.download .container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.download-content {
  flex: 1;
}

.download-content h2,
.download-content p {
  color: white;
}

.app-store-button {
  display: inline-block;
  margin-top: var(--space-lg);
}

.app-store-button img {
  height: 50px;
}

.download-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.download-image img {
  max-height: 500px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 3fr 1.5fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo img {
  height: 40px;
  margin-bottom: var(--space-md);
}

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

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h4 {
  color: white;
  margin-bottom: var(--space-md);
}

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

.footer-column li {
  margin-bottom: var(--space-sm);
}

.footer-column a {
  color: var(--gray-light);
  transition: color 0.2s;
}

.footer-column a:hover {
  color: white;
}

.footer-social h4 {
  color: white;
  margin-bottom: var(--space-md);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: white;
  transition: background-color 0.2s;
}

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

.footer-bottom {
  padding-top: var(--space-md);
  text-align: center;
}

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

/* How It Works Section */
.how-it-works {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.steps-container {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-xxl);
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
}

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

.step-icon-container {
  position: relative;
  margin-bottom: var(--space-lg);
  display: inline-block;
}

.step-icon {
  width: 100px;
  height: 100px;
  background: white;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 6px 16px rgba(0, 0, 0, 0.08);
}

.step-number {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--secondary-light) 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3), 0 2px 6px rgba(255, 68, 68, 0.2);
  border: 2px solid white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.025em;
}

.step-icon-container:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(255, 68, 68, 0.4), 0 3px 8px rgba(255, 68, 68, 0.25);
}

.step-icon img {
  width: 48px;
  height: 48px;
}

.step-content h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: var(--space-md);
  text-align: center;
}

.step-content p {
  color: var(--gray-dark);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
  text-align: center;
  max-width: 280px;
}

.step-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.feature-tag {
  background: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
}

/* AI Showcase */
.ai-showcase {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xxl);
  box-shadow: var(--shadow-lg);
}

.ai-showcase-content {
  display: flex;
  align-items: center;
  gap: var(--space-xxl);
}

.ai-showcase-text {
  flex: 1;
}

.ai-showcase-text h3 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: var(--space-lg);
}

.ai-showcase-text > p {
  color: var(--gray-dark);
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.ai-feature {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.ai-feature img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.ai-feature h4 {
  font-size: 1.125rem;
  color: var(--dark);
  margin-bottom: var(--space-xs);
}

.ai-feature p {
  color: var(--gray-dark);
  font-size: 0.875rem;
  margin: 0;
}

.ai-showcase-visual {
  flex: 0 0 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-brain {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-brain img {
  width: 120px;
  height: 120px;
  z-index: 2;
  position: relative;
}

.ai-connections {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.connection-line {
  position: absolute;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-purple));
  border-radius: 2px;
  opacity: 0.6;
  animation: pulse 2s infinite;
}

.connection-line.line-1 {
  width: 60px;
  height: 2px;
  top: 30%;
  left: -20px;
  transform: rotate(45deg);
  animation-delay: 0s;
}

.connection-line.line-2 {
  width: 80px;
  height: 2px;
  top: 50%;
  right: -30px;
  transform: rotate(-30deg);
  animation-delay: 0.5s;
}

.connection-line.line-3 {
  width: 50px;
  height: 2px;
  bottom: 30%;
  left: -15px;
  transform: rotate(-45deg);
  animation-delay: 1s;
}

.connection-line.line-4 {
  width: 70px;
  height: 2px;
  bottom: 40%;
  right: -25px;
  transform: rotate(60deg);
  animation-delay: 1.5s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1) rotate(var(--rotation, 0deg));
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1) rotate(var(--rotation, 0deg));
  }
}

.connection-line.line-1 {
  --rotation: 45deg;
}

.connection-line.line-2 {
  --rotation: -30deg;
}

.connection-line.line-3 {
  --rotation: -45deg;
}

.connection-line.line-4 {
  --rotation: 60deg;
}

/* Responsive Styles */

@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero .container,
  .download .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content,
  .download-content {
    order: 1;
  }
  
  .hero-image,
  .download-image {
    order: 0;
    margin-bottom: var(--space-xl);
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-logo,
  .footer-social {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .cta-buttons {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  
  .menu-open .nav-links li {
    margin: var(--space-md) 0;
    opacity: 1;
  }
  
  .menu-open .menu-toggle {
    background-color: rgba(255, 68, 68, 0.15);
    border-color: rgba(255, 68, 68, 0.4);
  }
  
  .menu-open .menu-toggle span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
  }
  
  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }
  
  .menu-open .menu-toggle span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
  }
  
  /* Steps section mobile improvements */
  .steps-container {
    flex-direction: column;
    gap: var(--space-xxl);
  }
  
  .step-item {
    max-width: 320px;
    margin: 0 auto;
  }
  
  .step-icon {
    width: 80px;
    height: 80px;
  }
  
  .step-number {
    width: 36px;
    height: 36px;
    top: -10px;
    right: -10px;
    font-size: 0.75rem;
  }
  
  .step-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
  }
  
  .step-content p {
    font-size: 0.9rem;
    max-width: 100%;
  }
  
  .step-features {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
  }
  
  .feature-tag {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
  }
  
  /* Grid layouts */
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  /* Header mobile improvements */
  .logo-image {
    width: 32px;
    height: 32px;
  }
  
  .logo-text {
    font-size: 1.25rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  /* How It Works Section - Mobile */
  .steps-container {
    flex-direction: column;
    gap: var(--space-xl);
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    position: relative;
    margin-bottom: var(--space-lg);
  }
  
  .step-number::after {
    display: none;
  }
  
  .ai-showcase-content {
    flex-direction: column;
    gap: var(--space-xl);
  }
  
  .ai-features {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

/* Privacy Policy Styles */
.privacy-policy {
  padding: var(--space-xxl) 0;
  background-color: white;
  min-height: 100vh;
}

.privacy-header {
  text-align: center;
  margin-bottom: var(--space-xxl);
  padding-top: 70px; /* Account for fixed header */
}

.privacy-header h1 {
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: var(--space-md);
}

.last-updated {
  font-size: 1rem;
  color: var(--gray-dark);
  font-style: italic;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.privacy-section {
  margin-bottom: var(--space-xxl);
}

.privacy-section h2 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--gray-light);
}

.privacy-section h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.privacy-section p {
  margin-bottom: var(--space-md);
  color: var(--gray-dark);
}

.privacy-section ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.privacy-section li {
  margin-bottom: var(--space-sm);
  color: var(--gray-dark);
}

.privacy-section li strong {
  color: var(--dark);
  font-weight: 600;
}

.contact-info {
  background-color: var(--light);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
  margin-top: var(--space-md);
}

.contact-info p {
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

.contact-info p:last-child {
  margin-bottom: 0;
}

/* Privacy Policy Mobile Styles */
@media (max-width: 768px) {
  .privacy-header h1 {
    font-size: 2.25rem;
  }
  
  .privacy-content {
    padding: 0 var(--space-md);
  }
  
  .privacy-section h2 {
    font-size: 1.5rem;
  }
  
  .privacy-section h3 {
    font-size: 1.125rem;
  }
  
  .contact-info {
    padding: var(--space-md);
  }
}
