/* ========================================
   LANDING PAGE SPECIFIC STYLES
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  background: var(--primary-gradient);
  color: var(--white);
  padding: var(--spacing-3xl) 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-tight);
  color: var(--white);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
  line-height: var(--line-height-relaxed);
  color: var(--white);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
}

.hero-image {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-image-icon {
  font-size: 15rem;
  opacity: 0.2;
  color: var(--white);
}

/* ========================================
   HERO BUTTONS
   ======================================== */

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  border-radius: var(--border-radius-lg);
  transition: var(--transition-normal);
  min-height: 52px;
  border: 2px solid transparent;
}

.btn-hero:focus {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.btn-hero-primary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-hero-primary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-primary);
}

.features-section .container {
  max-width: 1200px;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-2xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: none;
  transition: var(--transition-normal);
  height: 100%;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg) auto;
  color: var(--white);
  font-size: var(--font-size-2xl);
}

.feature-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
  margin-bottom: var(--spacing-lg);
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-700) 100%);
  color: var(--white);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-lg);
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--white);
  margin-bottom: var(--spacing-sm);
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-weight-medium);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  padding: var(--spacing-3xl) 0;
  background: var(--primary-gradient);
  color: var(--white);
  text-align: center;
}

.cta-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-lg);
  color: var(--white);
}

.cta-description {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
  color: var(--white);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   ANIMATIONS
   ======================================== */

.animate-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
  .hero-section {
    padding: var(--spacing-xl) 0;
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
  }
  
  .btn-hero {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .hero-image-icon {
    font-size: 8rem;
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .section-subtitle {
    font-size: var(--font-size-base);
  }
  
  .feature-card {
    padding: var(--spacing-lg);
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: var(--font-size-xl);
  }
  
  .feature-title {
    font-size: var(--font-size-lg);
  }
  
  .stat-number {
    font-size: var(--font-size-3xl);
  }
  
  .stat-label {
    font-size: var(--font-size-base);
  }
  
  .cta-title {
    font-size: var(--font-size-2xl);
  }
  
  .cta-description {
    font-size: var(--font-size-lg);
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: var(--spacing-lg) 0;
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: var(--font-size-2xl);
    line-height: var(--line-height-tight);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
  }
  
  .hero-image-icon {
    font-size: 6rem;
  }
  
  .feature-card {
    padding: var(--spacing-md);
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: var(--font-size-lg);
  }
  
  .stat-item {
    padding: var(--spacing-md);
  }
  
  .stat-number {
    font-size: var(--font-size-2xl);
  }
  
  .stat-label {
    font-size: var(--font-size-sm);
  }
  
  .cta-title {
    font-size: var(--font-size-xl);
  }
  
  .cta-description {
    font-size: var(--font-size-base);
  }
}

/* ========================================
   LANDING PAGE SPECIFIC NAVBAR
   ======================================== */

.landing-page .navbar {
  background: rgba(102, 126, 234, 0.95);
  backdrop-filter: blur(10px);
}

.landing-page .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition-fast);
}

.landing-page .navbar-nav .nav-link:hover {
  color: var(--white);
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

.hero-section:focus-within {
  outline: 2px solid var(--white);
  outline-offset: -2px;
}

.feature-card:focus-within {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn-hero:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .hero-section,
  .stats-section,
  .cta-section {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
  }
  
  .hero-title,
  .cta-title,
  .stat-number {
    color: var(--text-primary) !important;
  }
  
  .btn-hero {
    border: 1px solid var(--gray-300) !important;
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
  }
}
