/* ==========================================
   TaskMutuals Landing Page Styles
   Brand Colors:
   - Forest Green: #2C4F41
   - Cream/Beige: #F5EDE4
   ========================================== */

/* Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2C4F41;
  --primary-dark: #1e3a2f;
  --primary-light: #3d6b5a;
  --primary-glow: rgba(44, 79, 65, 0.15);
  --cream: #F5EDE4;
  --cream-dark: #e8ddd2;
  --white: #ffffff;
  --gray-100: #f7f7f7;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-500: #737373;
  --gray-700: #404040;
  --gray-900: #171717;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(44, 79, 65, 0.2);
  --radius: 12px;
  --radius-lg: 20px;

  /* Animation timing functions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Page load animation */
body.loading * {
  animation: none !important;
  transition: none !important;
}

/* Smooth content reveal on page load */
@keyframes pageLoad {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  animation: pageLoad 0.5s ease-out;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.95);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  transition: color 0.3s var(--ease-out-expo);
}

.logo:hover .logo-text {
  color: var(--primary-dark);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s var(--ease-out-expo);
  border-radius: 2px;
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s var(--ease-out-expo), height 0.6s var(--ease-out-expo);
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(44, 79, 65, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 79, 65, 0.35);
}

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

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

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 79, 65, 0.25);
}

.btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 20px;
  box-shadow: 0 2px 10px rgba(44, 79, 65, 0.2);
}

.btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(44, 79, 65, 0.3);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  position: relative;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--gray-900);
  opacity: 0;
  animation: heroTextReveal 0.8s var(--ease-out-expo) 0.2s forwards;
}

@keyframes heroTextReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero .highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  z-index: -1;
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  animation: highlightReveal 0.6s var(--ease-out-expo) 0.8s forwards;
}

@keyframes highlightReveal {
  to {
    transform: scaleX(1);
  }
}

.hero-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  margin-bottom: 32px;
  max-width: 500px;
  opacity: 0;
  animation: heroTextReveal 0.8s var(--ease-out-expo) 0.4s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroTextReveal 0.8s var(--ease-out-expo) 0.6s forwards;
}

.hero-stats {
  display: flex;
  gap: 40px;
  opacity: 0;
  animation: heroTextReveal 0.8s var(--ease-out-expo) 0.8s forwards;
}

.stat {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 16px 20px;
  background: rgba(44, 79, 65, 0.03);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease-out-expo);
}

.stat:hover {
  background: rgba(44, 79, 65, 0.08);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.3s var(--ease-out-expo);
}

.stat:hover .stat-number {
  transform: scale(1.05);
}

.stat-label {
  font-size: 14px;
  color: var(--gray-500);
}

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

/* Phone Mockup */
.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1a1a1a 0%, var(--gray-900) 50%, #2a2a2a 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 -3px 10px rgba(255, 255, 255, 0.05) inset;
  position: relative;
  opacity: 0;
  animation: phoneFloat 1s var(--ease-out-expo) 0.5s forwards;
  will-change: transform;
}

@keyframes phoneFloat {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

/* Subtle floating animation */
.phone-mockup {
  animation: phoneFloat 1s var(--ease-out-expo) 0.5s forwards, phoneHover 6s ease-in-out 1.5s infinite;
}

@keyframes phoneHover {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: var(--gray-900);
  border-radius: 20px;
  z-index: 10;
}

/* Reflection effect */
.phone-mockup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--cream) 0%, #fff9f5 100%);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.app-preview {
  padding: 60px 16px 20px;
}

.preview-header {
  margin-bottom: 20px;
  opacity: 0;
  animation: previewFade 0.5s var(--ease-out-expo) 1s forwards;
}

@keyframes previewFade {
  to {
    opacity: 1;
  }
}

.preview-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.preview-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s var(--ease-out-expo);
}

.preview-card:nth-child(1) { animation: cardSlideIn 0.5s var(--ease-out-expo) 1.1s forwards; }
.preview-card:nth-child(2) { animation: cardSlideIn 0.5s var(--ease-out-expo) 1.2s forwards; }
.preview-card:nth-child(3) { animation: cardSlideIn 0.5s var(--ease-out-expo) 1.3s forwards; }

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

.preview-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.preview-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.preview-card-meta {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

/* ==========================================
   Section Common Styles
   ========================================== */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 2px;
  transition: transform 0.6s var(--ease-out-expo);
}

.section-header.active h2::after {
  transform: translateX(-50%) scaleX(1);
}

.section-header p {
  font-size: 18px;
  color: var(--gray-500);
}

/* ==========================================
   Features Section
   ========================================== */
.features {
  background: linear-gradient(180deg, var(--cream) 0%, #faf6f1 100%);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(44, 79, 65, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

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

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(44, 79, 65, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  transition: all 0.4s var(--ease-out-expo);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(44, 79, 65, 0.3);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gray-900);
  transition: color 0.3s ease;
}

.feature-card:hover h3 {
  color: var(--primary);
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ==========================================
   How It Works Section
   ========================================== */
.how-it-works {
  background: var(--white);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 280px;
  padding: 0 20px;
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 15px rgba(44, 79, 65, 0.3);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  transition: all 0.4s var(--ease-out-expo);
}

.step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(44, 79, 65, 0.4);
}

.step:hover .step-number::after {
  opacity: 0.3;
  inset: -8px;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gray-900);
  transition: color 0.3s ease;
}

.step:hover .step-content h3 {
  color: var(--primary);
}

.step-content p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
}

.step-connector {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  margin-top: 32px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.step-connector::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 2s infinite;
}

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

/* ==========================================
   Categories Section
   ========================================== */
.categories {
  background: linear-gradient(180deg, #faf6f1 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

.categories::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(44, 79, 65, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--white);
  padding: 24px 16px;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}

.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 30px rgba(44, 79, 65, 0.2);
  border-color: var(--primary);
}

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

.category-card:hover span {
  color: var(--white);
}

.category-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
  transition: transform 0.4s var(--ease-out-back);
  position: relative;
  z-index: 1;
}

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

.category-card span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

/* "Other" category card - dashed border to indicate more options */
.category-card-other {
  border: 2px dashed var(--gray-300);
  background: transparent;
}

.category-card-other::before {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.category-card-other .category-icon {
  font-size: 28px;
}

.category-card-other:hover {
  border-color: var(--primary);
}

/* ==========================================
   For Providers Section
   ========================================== */
.for-providers {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #1a3329 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.for-providers::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.for-providers::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(245, 237, 228, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.provider-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.provider-text {
  flex: 1;
  max-width: 500px;
}

.provider-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 20px;
}

.provider-text > p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.provider-benefits {
  list-style: none;
  margin-bottom: 32px;
}

.provider-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  margin-bottom: 16px;
}

.provider-benefits svg {
  color: var(--cream);
  flex-shrink: 0;
}

.for-providers .btn-primary {
  background: var(--cream);
  color: var(--primary);
}

.for-providers .btn-primary:hover {
  background: var(--white);
}

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

.provider-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  min-width: 320px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.provider-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 79, 65, 0.02) 0%, transparent 100%);
}

.provider-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.provider-avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(44, 79, 65, 0.3);
  transition: transform 0.4s var(--ease-out-expo);
}

.provider-card:hover .provider-avatar {
  transform: scale(1.1);
}

.provider-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.provider-info > p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.provider-info {
  position: relative;
  z-index: 1;
}

.provider-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-700);
}

.provider-rating .stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

/* ==========================================
   Download Section
   ========================================== */
.download {
  background: var(--cream);
  text-align: center;
}

.download {
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(44, 79, 65, 0.08) 0%, transparent 50%);
  animation: gradientMove 20s ease-in-out infinite;
  pointer-events: none;
}

.download-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  position: relative;
}

.download-content > p {
  font-size: 18px;
  color: var(--gray-500);
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #2d2d2d 0%, var(--gray-900) 100%);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.store-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s var(--ease-out-expo);
}

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

.store-btn:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(44, 79, 65, 0.3);
}

.store-btn.coming-soon {
  opacity: 0.5;
  cursor: not-allowed;
}

.store-btn.coming-soon:hover {
  background: linear-gradient(135deg, #2d2d2d 0%, var(--gray-900) 100%);
  transform: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.store-btn.coming-soon:hover::before {
  left: -100%;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-label {
  font-size: 11px;
  opacity: 0.8;
}

.store-name {
  font-size: 18px;
  font-weight: 600;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background: linear-gradient(180deg, var(--gray-900) 0%, #0a0a0a 100%);
  color: var(--white);
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(44, 79, 65, 0.5), transparent);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  /* App icon image - no background needed */
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s var(--ease-out-expo);
  display: inline-block;
  position: relative;
}

.footer-column a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cream);
  transition: width 0.3s var(--ease-out-expo);
}

.footer-column a:hover {
  color: var(--white);
  transform: translateX(4px);
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--gray-700);
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--gray-500);
}

/* ==========================================
   Responsive Styles
   ========================================== */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
  }

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

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

  .provider-content {
    flex-direction: column;
    text-align: center;
  }

  .provider-text {
    max-width: 100%;
  }

  .provider-benefits {
    display: inline-block;
    text-align: left;
  }

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

  .footer-brand {
    max-width: 100%;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 0 20px;
    gap: 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
  }

  .nav-links.active {
    max-height: 400px;
    padding: 20px;
    gap: 16px;
    opacity: 1;
  }

  .nav-links a {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s var(--ease-out-expo);
  }

  .nav-links.active a {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s var(--ease-out-expo);
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn span {
    transition: all 0.3s var(--ease-out-expo);
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .scroll-indicator {
    display: none;
  }

  .steps {
    flex-direction: column;
    gap: 40px;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

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

  .btn {
    width: 100%;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .provider-card {
    min-width: auto;
    flex-direction: column;
    text-align: center;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s var(--ease-out-expo) forwards;
}

/* Scroll reveal classes - added via JS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for grid items */
.reveal-stagger {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.6s var(--ease-out-expo);
}

.reveal-stagger.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slide in from left/right */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Scale reveal */
.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s var(--ease-out-back);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Blur reveal */
.reveal-blur {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(20px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-blur.active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Gradient background animation for sections */
.animated-bg {
  position: relative;
  overflow: hidden;
}

.animated-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 50%);
  animation: gradientMove 15s ease-in-out infinite;
  opacity: 0.5;
  pointer-events: none;
}

@keyframes gradientMove {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(10%, 10%);
  }
  50% {
    transform: translate(0, 20%);
  }
  75% {
    transform: translate(-10%, 10%);
  }
}

/* Pulse animation for important elements */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(44, 79, 65, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(44, 79, 65, 0);
  }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Smooth scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 46px;
  border: 2px solid var(--primary);
  border-radius: 25px;
  opacity: 0;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  animation: scrollIndicatorFade 1s var(--ease-out-expo) 1.5s forwards;
}

@keyframes scrollIndicatorFade {
  to {
    opacity: 0.6;
  }
}

.scroll-indicator:hover {
  opacity: 1;
  border-color: var(--primary-dark);
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 4px;
  transform: translateX(-50%);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(16px);
    opacity: 0.3;
  }
}

/* Hide scroll indicator when scrolled */
body.scrolled .scroll-indicator {
  opacity: 0;
  pointer-events: none;
}

/* Logo animation */
.logo-icon {
  transition: transform 0.4s var(--ease-out-expo);
}

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

/* Text gradient animation */
@keyframes gradientText {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--primary));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 3s ease infinite;
}

/* ==========================================
   Legal Pages (Privacy, Terms)
   ========================================== */
.legal-page {
  padding: 140px 0 80px;
  min-height: 100vh;
}

.legal-header {
  text-align: center;
  margin-bottom: 48px;
}

.legal-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.legal-updated {
  font-size: 14px;
  color: var(--gray-500);
}

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

.legal-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-900);
  margin: 40px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-700);
  margin: 24px 0 12px;
}

.legal-content p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 8px;
}

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

.legal-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-box {
  background: var(--cream);
  padding: 24px;
  border-radius: var(--radius);
  margin-top: 24px;
}

.contact-box p {
  margin-bottom: 8px;
}

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

/* ==========================================
   About Page
   ========================================== */
.about-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  text-align: center;
}

.about-hero-content h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.about-hero-content p {
  font-size: 20px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.about-mission {
  padding: 80px 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.mission-card {
  text-align: center;
  padding: 40px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-out-expo);
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.mission-icon {
  width: 64px;
  height: 64px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary);
  transition: all 0.4s var(--ease-out-expo);
}

.mission-card:hover .mission-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.mission-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.mission-card p {
  color: var(--gray-500);
  line-height: 1.7;
}

.about-story {
  padding: 80px 0;
  background: var(--cream);
}

.story-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.story-text p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.story-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.story-stat {
  background: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s var(--ease-out-expo);
}

.story-stat:hover {
  transform: translateX(-8px);
  box-shadow: var(--shadow-lg);
}

.story-stat-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.story-stat-label {
  font-size: 14px;
  color: var(--gray-500);
}

.about-why {
  padding: 100px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.why-item {
  position: relative;
  padding-left: 80px;
}

.why-number {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 48px;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
}

.why-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.why-item p {
  color: var(--gray-500);
  line-height: 1.7;
}

.about-contact {
  padding: 80px 0;
  background: var(--primary);
}

.contact-cta {
  text-align: center;
  color: var(--white);
}

.contact-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-cta > p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
}

.contact-option:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.about-contact .btn-primary {
  background: var(--cream);
  color: var(--primary);
}

.about-contact .btn-primary:hover {
  background: var(--white);
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq {
  padding: 100px 0;
  background: var(--white);
}

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

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--primary);
  transition: transform 0.3s var(--ease-out-expo);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), padding 0.4s var(--ease-out-expo);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--gray-600);
  line-height: 1.7;
}

/* ==========================================
   Email Signup / Notify Section
   ========================================== */
.notify-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--gray-900) 0%, #1a2520 100%);
  position: relative;
  overflow: hidden;
}

.notify-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, rgba(44, 79, 65, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.notify-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.notify-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.notify-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.notify-content > p {
  font-size: 18px;
  color: var(--gray-300);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.notify-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.notify-form input[type="email"] {
  flex: 1;
  min-width: 250px;
  padding: 16px 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 16px;
  transition: all 0.3s ease;
}

.notify-form input[type="email"]::placeholder {
  color: var(--gray-500);
}

.notify-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.notify-form button {
  padding: 16px 32px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.notify-form button:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.notify-disclaimer {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 16px;
}

/* ==========================================
   Social Links
   ========================================== */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--gray-300);
  transition: all 0.3s var(--ease-out-expo);
}

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

/* ==========================================
   Responsive for new sections
   ========================================== */
@media (max-width: 768px) {
  .story-content {
    grid-template-columns: 1fr;
  }

  .story-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .story-stat {
    flex: 1;
    min-width: 140px;
  }

  .story-stat:hover {
    transform: translateY(-4px);
  }

  .why-item {
    padding-left: 0;
    text-align: center;
  }

  .why-number {
    position: static;
    margin-bottom: 12px;
  }

  .contact-options {
    flex-direction: column;
    align-items: center;
  }

  .notify-form {
    flex-direction: column;
  }

  .notify-form input[type="email"],
  .notify-form button {
    width: 100%;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .phone-mockup {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
