/* Mito Health Inspired Design System for True Standard */
/* Based on Inter font family and clean modern aesthetic */

/* Base Variables */
:root {
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-bg: #f9f8f6;
  --color-text: #242322;
  --color-text-muted: #64635f;
  --color-accent: #10C67A;
  --color-dark: #242322;
  --color-white: #ffffff;
  --color-border: #e2e0dd;
  --max-width: 1400px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;
  --spacing-2xl: 80px;
  --spacing-3xl: 120px;
  --border-radius: 10px;
  --border-radius-full: 100px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Container Utilities */
.landing-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

@media (max-width: 810px) {
  .landing-container {
    padding: 0 var(--spacing-md);
  }
}

@media (max-width: 390px) {
  .landing-container {
    padding: 0 var(--spacing-sm);
  }
}

/* Section Spacing */
.landing-section {
  padding: var(--spacing-2xl) 0;
}

.landing-section-large {
  padding: var(--spacing-3xl) 0;
}

@media (max-width: 810px) {
  .landing-section {
    padding: var(--spacing-xl) 0;
  }
  
  .landing-section-large {
    padding: var(--spacing-2xl) 0;
  }
}

/* Header Styles */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  z-index: 100;
  height: 80px;
  transition: background-color 0.3s ease;
}

.landing-header.scrolled {
  background-color: rgba(249, 248, 246, 0.95);
  backdrop-filter: blur(10px);
}

/* Analytes page always has dark header background */
.analytes-page .landing-header {
  background-color: var(--color-dark);
}

/* Analytes page header text should be white */
.analytes-page .landing-logo {
  color: white !important;
}

.analytes-page .landing-nav a {
  color: white !important;
}

.analytes-page .landing-btn-primary {
  background-color: #8B5CF6;
  color: white;
}

.analytes-page .landing-btn-primary:hover {
  background-color: white;
  color: #8B5CF6;
}

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

.landing-logo {
  font-family: var(--font-inter);
  font-size: 28px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.landing-header.scrolled .landing-logo {
  color: var(--color-text);
}

.landing-nav {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-nav a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.2s ease;
  font-family: var(--font-inter);
}

.landing-header.scrolled .landing-nav a {
  color: var(--color-text);
}

.landing-nav a:hover {
  opacity: 0.7;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 101;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:focus {
  outline: none;
}

.mobile-menu-toggle:active {
  outline: none;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: white;
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.landing-header.scrolled .mobile-menu-toggle span {
  background-color: var(--color-text);
}

.analytes-page .mobile-menu-toggle span {
  background-color: white;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--color-text);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--color-text);
}

.analytes-page .mobile-menu-toggle.active span:nth-child(1),
.analytes-page .mobile-menu-toggle.active span:nth-child(3) {
  background-color: white;
}

@media (max-width: 810px) {
  .landing-header {
    height: 70px;
  }

  .landing-logo {
    font-size: 24px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .header-right .landing-btn-primary {
    display: none;
  }

  .landing-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: rgba(249, 248, 246, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 24px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .landing-nav.mobile-open {
    display: flex;
  }

  .landing-nav li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .landing-nav li:last-child {
    border-bottom: none;
  }

  .landing-nav a {
    display: block;
    padding: 16px 32px;
    color: var(--color-text);
    font-size: 18px;
  }

  .landing-nav a:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }

  /* Dark background for analytes page mobile menu */
  .analytes-page .landing-nav {
    background-color: rgba(36, 35, 34, 0.98);
  }

  .analytes-page .landing-nav a {
    color: white;
  }

  .analytes-page .landing-nav li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .analytes-page .landing-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

/* Ultra-Clean Button System */
/*
 * BUTTON DESIGN GUIDELINES:
 * - All buttons use 8px border radius (rounded-lg) for modern, professional feel
 * - Consistent 12px vertical, 24px horizontal padding
 * - Font weight 500 (medium) for readability
 * - -0.01em letter spacing for premium typography
 * - Smooth 0.3s transitions for color changes only
 * - NO shadows, NO borders, NO transform effects for ultra-clean aesthetic
 * - Color inversion on hover (background and text swap)
 *
 * BUTTON HIERARCHY:
 * .landing-btn-primary - Main CTA (purple background)
 * .landing-btn-secondary - Secondary CTA on dark backgrounds (transparent)
 * .landing-btn-dark - Primary CTA for light backgrounds (dark background)
 * .landing-btn-white - CTA for dark backgrounds (white background)
 * .landing-btn-light - Secondary CTA for light backgrounds (light gray)
 *
 * USAGE RULES:
 * - Use .landing-btn-primary or .landing-btn-dark on light backgrounds
 * - Use .landing-btn-white or .landing-btn-secondary on dark backgrounds
 * - Always pair with .landing-btn-arrow for CTAs with arrows
 * - Maintain consistent spacing between buttons (16px minimum)
 */

/* Primary Button - For main CTAs on light backgrounds */
.landing-btn-primary {
  background-color: #8B5CF6;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 15px;
  font-family: var(--font-inter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

/* Default hover for light backgrounds */
.landing-btn-primary:hover {
  background-color: #1F2937;
  color: white;
}

/* Hover for dark backgrounds (hero, CTA sections) */
.landing-hero .landing-btn-primary:hover,
.landing-cta-section .landing-btn-primary:hover,
.landing-how-it-works .landing-btn-primary:hover {
  background-color: white;
  color: #8B5CF6;
}

/* Header variant for transparent backgrounds */
.landing-header .landing-btn-primary {
  background-color: #8B5CF6;
  color: white;
}

.landing-header.scrolled .landing-btn-primary {
  background-color: #8B5CF6;
  color: white;
}

/* Header on dark hero: hover to white */
.landing-header .landing-btn-primary:hover {
  background-color: white;
  color: #8B5CF6;
}

/* Header scrolled on light bg: hover to dark gray */
.landing-header.scrolled .landing-btn-primary:hover {
  background-color: #1F2937;
  color: white;
}

/* Secondary Button - For secondary CTAs on dark backgrounds */
.landing-btn-secondary {
  background-color: transparent;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 15px;
  font-family: var(--font-inter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.landing-btn-secondary:hover {
  background-color: #1F2937;
  color: white;
}

/* Dark Button - Primary on light backgrounds (alias for consistency) */
.landing-btn-dark {
  background-color: var(--color-dark);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 15px;
  font-family: var(--font-inter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.landing-btn-dark:hover {
  background-color: #1F2937;
  color: white;
}

/* White Button - For CTAs on dark backgrounds */
.landing-btn-white {
  background-color: white;
  color: var(--color-text);
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: var(--font-inter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.landing-btn-white:hover {
  background-color: #1F2937;
  color: white;
}

/* Light Button - Secondary style for light backgrounds */
.landing-btn-light {
  background-color: #f8f9fa;
  color: var(--color-text);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 15px;
  font-family: var(--font-inter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.landing-btn-light:hover {
  background-color: #1F2937;
  color: white;
}

/* Button Arrow Animation */
.landing-btn-arrow::after {
  content: "→";
  transition: transform 0.2s ease;
}

.landing-btn-arrow:hover::after {
  transform: translateX(4px);
}

/* Hero Section */
.landing-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.landing-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.landing-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.landing-hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 120px;
  padding-bottom: 60px;
}

.landing-hero-upper {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-top: 40px;
}

.landing-hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 700px;
}

.landing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-full);
  padding: 8px 16px;
  margin-bottom: 32px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-inter);
}

.landing-hero-badge::before {
  content: "⚠";
  width: 16px;
  height: 16px;
  background: rgba(255, 193, 7, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.landing-hero h1 {
  /* Font family now controlled by Tailwind classes (font-serif/font-sans) */
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.landing-hero p {
  font-family: var(--font-inter);
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.5;
}

@media (max-width: 810px) {
  .landing-hero h1 {
    font-size: 48px;
  }
  
  .landing-hero p {
    font-size: 18px;
  }
}

@media (max-width: 390px) {
  .landing-hero h1 {
    font-size: 36px;
  }

  .landing-hero p {
    font-size: 16px;
  }

  .landing-hero-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Hero Benefits Grid - Aligned with CTA area at bottom */
.hero-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin-top: 0;
}

.hero-benefit-card {
  position: relative;
  padding-left: 16px;
  padding-right: 16px;
  min-width: 0;
}

.hero-benefit-card:first-child {
  padding-left: 0;
}

.hero-benefit-card:first-child .hero-benefit-divider {
  display: none;
}

.hero-benefit-divider {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

.hero-benefit-title {
  font-family: var(--font-inter);
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
  line-height: 1.2;
}

.hero-benefit-subtitle {
  font-family: var(--font-inter);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .hero-benefit-title {
    font-size: 16px;
  }

  .hero-benefit-subtitle {
    font-size: 12px;
  }
}

@media (max-width: 810px) {
  .landing-hero {
    height: auto;
    min-height: 100vh;
  }

  .landing-hero-container {
    padding-top: 70px;
    padding-bottom: 60px;
    justify-content: flex-start;
  }

  .landing-hero-upper {
    padding-top: 100px;
    flex: 0 0 auto;
  }

  .hero-benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 60px;
  }

  .hero-benefit-card {
    padding-left: 14px;
    padding-right: 0;
  }

  .hero-benefit-card:first-child {
    padding-left: 14px;
  }

  .hero-benefit-card:first-child .hero-benefit-divider {
    display: block;
  }

  .hero-benefit-title {
    font-size: 15px;
  }

  .hero-benefit-subtitle {
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .landing-header {
    height: 65px;
  }

  .landing-logo {
    font-size: 22px;
  }

  .landing-hero-container {
    padding-top: 65px;
    padding-bottom: 50px;
  }

  .landing-hero-upper {
    padding-top: 80px;
  }

  .landing-nav {
    top: 65px;
    max-height: calc(100vh - 65px);
  }

  .hero-benefits-grid {
    gap: 20px;
    margin-top: 50px;
  }

  .hero-benefit-title {
    font-size: 14px;
  }

  .hero-benefit-subtitle {
    font-size: 11px;
  }
}

/* Tests Overview Section */
.landing-tests-overview {
  background-color: var(--color-bg);
  padding: var(--spacing-3xl) 0;
  text-align: center;
  overflow: hidden;
}

.landing-tests-overview h2 {
  /* Font family now controlled by Tailwind classes (font-serif/font-sans) */
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.landing-tests-overview p {
  font-family: var(--font-inter);
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 800px;
  margin: 0 auto var(--spacing-2xl);
  line-height: 1.6;
}

@media (max-width: 390px) {
  .landing-tests-overview h2 {
    font-size: 36px;
  }
  
  .landing-tests-overview p {
    font-size: 16px;
  }
}

/* Chemical Image Carousel - Ultra Clean Design */
.landing-chemical-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  margin-bottom: 80px;
  padding: 60px 0;
  background: transparent;
}

.landing-chemical-track {
  display: flex;
  gap: 40px;
  animation: scrollCarousel 20s linear infinite;
  will-change: transform;
}

.landing-chemical-card-wrapper {
  flex-shrink: 0;
  position: relative;
  width: auto;
  height: auto;
}

.landing-chemical-card {
  display: block;
  width: auto;
  height: 680px;
  object-fit: contain;
  border-radius: 28px;
}

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

@media (max-width: 1440px) {
  .landing-chemical-card {
    height: 600px;
  }
}

@media (max-width: 1024px) {
  .landing-chemical-carousel {
    padding: 50px 0;
  }

  .landing-chemical-track {
    gap: 32px;
  }

  .landing-chemical-card {
    height: 520px;
    border-radius: 24px;
  }
}

@media (max-width: 768px) {
  .landing-chemical-carousel {
    margin-bottom: 60px;
    padding: 40px 0;
  }

  .landing-chemical-track {
    gap: 24px;
  }

  .landing-chemical-card {
    height: 460px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .landing-chemical-carousel {
    margin-bottom: 48px;
    padding: 32px 0;
  }

  .landing-chemical-track {
    gap: 20px;
    animation: scrollCarousel 20s linear infinite;
  }

  .landing-chemical-card {
    height: 380px;
    border-radius: 18px;
  }
}

/* Advanced Testing Cards */
.landing-advanced-testing {
  background-color: white;
  padding: var(--spacing-3xl) 0;
}

.landing-advanced-testing h2 {
  /* Font family now controlled by Tailwind classes (font-serif/font-sans) */
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 16px;
  text-align: center;
}

.landing-advanced-testing .subtitle {
  font-family: var(--font-inter);
  font-size: 18px;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.landing-cards-container {
  position: relative;
  overflow: hidden;
}

.landing-cards-wrapper {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 32px;
  margin: 0 -32px;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .landing-cards-wrapper {
    padding: 0 24px;
    margin: 0 -24px;
    gap: 16px;
  }
}

.landing-cards-wrapper::-webkit-scrollbar {
  display: none;
}

.landing-test-card {
  flex: 0 0 300px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.landing-test-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
  .landing-test-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 480px) {
  .landing-test-card {
    flex: 0 0 260px;
  }
}

/* Clean Card Style for Pricing and Other Sections */
.landing-card-clean {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(36, 35, 34, 0.1);
  transition: box-shadow 0.3s ease;
}

.landing-card-clean:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.landing-card-image {
  width: 100%;
  height: 200px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.landing-card-content {
  padding: 32px;
}

.landing-card-title {
  font-family: var(--font-inter);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.landing-card-description {
  font-family: var(--font-inter);
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.landing-learn-more {
  color: var(--color-text);
  text-decoration: underline;
  font-weight: 500;
  font-size: 16px;
  transition: opacity 0.2s ease;
  font-family: var(--font-inter);
}

.landing-learn-more:hover {
  opacity: 0.7;
}

@media (max-width: 390px) {
  .landing-advanced-testing h2 {
    font-size: 36px;
  }
  
  .landing-test-card {
    flex: 0 0 280px;
  }
  
  .landing-card-content {
    padding: 24px;
  }
}

/* How It Works (Dark) */
.landing-how-it-works {
  background-color: var(--color-dark);
  color: white;
  padding: var(--spacing-3xl) 0;
}

.landing-how-it-works h2 {
  /* Font family, size, weight, spacing now controlled by Tailwind classes */
  color: white;
}

.landing-steps-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  align-items: start;
}

.landing-steps-connector {
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--color-text-muted) 0px,
    var(--color-text-muted) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 1;
}

.landing-process-step {
  position: relative;
  z-index: 2;
}

.landing-step-number {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 32px;
  position: relative;
  font-family: var(--font-inter);
}

.landing-step-number.active {
  background-color: #8B7CF6;
  color: white;
}

.landing-step-number.inactive {
  background-color: var(--color-text-muted);
  color: white;
}

.landing-step-title {
  font-family: var(--font-inter);
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
  line-height: 1.3;
}

.landing-step-description {
  font-family: var(--font-inter);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .landing-steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .landing-steps-connector {
    display: none;
  }
}

@media (max-width: 810px) {
  .landing-how-it-works {
    padding: var(--spacing-2xl) 0;
  }
  
  .landing-how-it-works h2 {
    /* Font size and spacing now controlled by Tailwind classes */
    color: white;
  }
  
  .landing-steps-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Animation Utilities */
.landing-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

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

.landing-animate-delay-1 {
  animation-delay: 0.1s;
}

.landing-animate-delay-2 {
  animation-delay: 0.2s;
}

.landing-animate-delay-3 {
  animation-delay: 0.3s;
}

/* Card and Grid Layouts */
.landing-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.landing-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

/* Testimonial Cards */
.landing-testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 32px;
  height: 100%;
  position: relative;
}

.landing-testimonial-card blockquote {
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--color-text);
}

.landing-testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.landing-author-image {
  width: 48px;
  height: 48px;
  border-radius: 1000px;
  background-color: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--color-text-muted);
  font-family: var(--font-inter);
}

.landing-author-info h4 {
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
  margin: 0;
}

.landing-author-info p {
  font-family: var(--font-inter);
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* CTA Section */
.landing-cta-section {
  background-color: var(--color-dark);
  color: white;
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-lg);
  margin: 0;
}

.landing-cta-section h2 {
  /* Font family now controlled by Tailwind classes (font-serif/font-sans) */
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 16px;
}

.landing-cta-section p {
  font-family: var(--font-inter);
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.8;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Stats Section */
.landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.landing-stat-item h3 {
  font-family: var(--font-inter);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.landing-stat-item p {
  font-family: var(--font-inter);
  font-size: 16px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Footer */
.landing-footer {
  background-color: var(--color-dark);
  color: white;
  padding: 64px 0 32px;
}

.landing-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.landing-footer h4 {
  font-family: var(--font-inter);
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}

.landing-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-footer ul li {
  margin-bottom: 8px;
}

.landing-footer ul li a {
  font-family: var(--font-inter);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-footer ul li a:hover {
  color: var(--color-accent);
}

.landing-footer-bottom {
  border-top: 1px solid #404040;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.landing-footer-bottom p {
  font-family: var(--font-inter);
  color: var(--color-text-muted);
  font-size: 14px;
  margin: 0;
}

@media (max-width: 810px) {
  .landing-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .landing-cta-section {
    margin: 0 16px;
  }
}

/* Pricing Grid Responsive */
.landing-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 1024px) {
  .landing-pricing-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* Stats Grid Responsive */
@media (max-width: 768px) {
  .landing-stats-clean-grid {
    grid-template-columns: 1fr !important;
    gap: 60px !important;
  }
}

/* Analytes Page Styles */
.analytes-page {
  min-height: 100vh;
  background-color: var(--color-bg);
}

.analytes-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background-color: var(--color-dark);
}

.analytes-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.analytes-hero h1 {
  font-size: 64px;
  font-weight: 400;
  line-height: 1.1;
  color: white;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.analytes-hero h1 .accent {
  color: #8B5CF6; /* Purple primary color */
}

.analytes-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.analytes-legend {
  margin-bottom: 80px;
}

.analytes-legend-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-full);
  font-size: 13px;
  font-weight: 500;
  color: white;
}

.analytes-legend-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.analytes-categories {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 40px;
}

.analytes-category {
  margin-bottom: 80px;
}

.analytes-category-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.analytes-category-title-row {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.analytes-category-title {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin: 0;
  padding: 0;
}

.analytes-category-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: #8B5CF6; /* Purple primary color */
  color: white;
  border-radius: var(--border-radius-full);
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
}

.analytes-category-count {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.analytes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 768px) {
  .analytes-grid {
    grid-template-columns: 1fr;
  }
}

.analyte-card {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--color-white);
  transition: all 0.3s ease;
}

.analyte-card:hover {
  /* Removed shadow effect */
}

.analyte-card-header {
  padding: 20px 24px;
  background-color: var(--color-bg);
  transition: background-color 0.2s ease;
}

.analyte-card-header:focus {
  outline: none;
}

.analyte-card-header:hover {
  background-color: var(--color-white);
}

.analyte-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.analyte-card-description {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.analyte-card-icon {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.analyte-card-icon.rotate-45 {
  transform: rotate(90deg) !important;
}

.analyte-card-content {
  padding: 0 24px 24px 24px;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  transition: background-color 0.2s ease;
}

.analyte-card[data-accordion-expanded="true"]:hover .analyte-card-content {
  background-color: var(--color-bg);
}

.analyte-card-content-inner {
  padding-top: 20px;
}

.analyte-explanation {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.analyte-details {
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.analyte-detail-item {
  margin-bottom: 12px;
}

.analyte-detail-item:last-child {
  margin-bottom: 0;
}

.analyte-detail-label {
  font-weight: 600;
  color: var(--color-text);
  font-size: 13px;
}

.analyte-detail-value {
  color: var(--color-text-muted);
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.5;
}

.analytes-footer-note {
  max-width: 1000px;
  margin: 60px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.analytes-footer-text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .analytes-hero {
    padding-top: 140px;
    padding-bottom: 60px;
  }

  .analytes-hero h1 {
    font-size: 48px;
  }

  .analytes-category-title {
    font-size: 28px;
  }

  .analytes-category {
    margin-bottom: 60px;
  }

  .analytes-categories {
    padding-top: 60px;
  }
}

@media (max-width: 480px) {
  .analytes-hero {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .analytes-hero h1 {
    font-size: 36px;
  }

  .analytes-hero p {
    font-size: 16px;
  }

  .analytes-legend {
    flex-direction: column;
    gap: 12px;
  }

  .analytes-category {
    margin-bottom: 48px;
  }

  .analytes-categories {
    padding-top: 40px;
  }
}

/* Timeline Section - Three Simple Steps */
.timeline-section {
  background-color: white;
  padding: var(--spacing-3xl) 0;
}

.timeline-headline {
  text-align: center;
  margin-bottom: 80px;
}

.timeline-headline h2 {
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  color: #242322;
  letter-spacing: -0.02em;
}

.timeline-three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 80px;
}

.timeline-step {
  text-align: center;
  background-color: #F5F5F4;
  border-radius: 20px;
  padding: 48px 32px;
}

.timeline-step-number {
  font-size: 20px;
  font-weight: 500;
  color: #242322;
  line-height: 1;
  margin-bottom: 32px;
  font-family: var(--font-inter);
  letter-spacing: 0.05em;
}

.timeline-visual-mockup {
  margin-bottom: 40px;
  height: 340px;
  border-radius: 12px;
  background-color: #FEFEFE;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Calendar Mockup - Step 1 - Simplified Week View */
.calendar-mockup {
  width: 100%;
  max-width: 420px;
}

.calendar-week-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.calendar-day {
  text-align: center;
}

.calendar-day-label {
  font-size: 12px;
  font-weight: 500;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.calendar-day-number {
  width: 100%;
  aspect-ratio: 1;
  background-color: #F9FAFB;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  color: #6B7280;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}

.calendar-day-number.selected {
  background-color: #242322;
  color: white;
  border-color: #242322;
}

.calendar-day-number.today {
  border-color: #6B7280;
  color: #242322;
}

.calendar-time-slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.calendar-time-slot {
  background-color: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  text-align: center;
  transition: all 0.2s ease;
}

.calendar-time-slot.unavailable {
  opacity: 0.4;
  color: #D1D5DB;
}

.calendar-time-slot.selected {
  background-color: #242322;
  border-color: #242322;
  color: white;
}

/* Chart Mockup - Step 2 - Horizontal Bars + Line Chart */
.chart-mockup {
  width: 100%;
  max-width: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.chart-ranges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px;
  background-color: white;
}

.chart-range-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chart-range-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 100px;
  text-align: left;
}

.chart-range-label.above {
  color: #EF4444;
}

.chart-range-label.in-range {
  color: #9CA3AF;
}

.chart-range-label.below {
  color: #10B981;
}

.chart-range-bar-container {
  flex: 1;
  height: 8px;
  background-color: #F3F4F6;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.chart-range-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.chart-range-bar.above {
  background-color: #EF4444;
}

.chart-range-bar.in-range {
  background-color: #D1D5DB;
}

.chart-range-bar.below {
  background-color: #10B981;
}

.chart-range-value {
  font-size: 16px;
  font-weight: 600;
  color: #242322;
  min-width: 40px;
  text-align: right;
}

.chart-line-graph {
  width: 100%;
  height: 120px;
  position: relative;
  padding: 16px;
  background-color: white;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
}

.chart-line-svg {
  width: 100%;
  height: 100%;
}

.chart-line-path {
  fill: none;
  stroke: #6366F1;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line-dot {
  fill: #6366F1;
}

/* Action Cards Mockup - Step 3 - Priority-Based Action Items */
.action-cards-mockup {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-card {
  background-color: white;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid #E5E7EB;
  text-align: left;
  position: relative;
  transition: all 0.2s ease;
}

.action-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.action-card-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.action-card-number.high {
  background-color: #EF4444;
}

.action-card-number.medium {
  background-color: #F59E0B;
}

.action-card-number.low {
  background-color: #6B7280;
}

.action-card-content {
  flex: 1;
  padding-top: 2px;
}

.action-card-priority {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1;
  font-family: var(--font-inter);
}

.action-card-priority.high {
  color: #EF4444;
}

.action-card-priority.medium {
  color: #F59E0B;
}

.action-card-priority.low {
  color: #6B7280;
}

.action-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #242322;
  margin-bottom: 4px;
  line-height: 1.3;
  font-family: var(--font-inter);
}

.action-card-subtitle {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.4;
  font-family: var(--font-inter);
}

/* Timeline Step Text Content */
.timeline-step-title {
  font-size: 24px;
  font-weight: 600;
  color: #242322;
  margin-bottom: 12px;
  line-height: 1.3;
  font-family: var(--font-inter);
}

.timeline-step-description {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.6;
  font-family: var(--font-inter);
  max-width: 380px;
  margin: 0 auto;
}

/* Timeline CTA */
.timeline-cta-container {
  text-align: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .timeline-three-column-grid {
    gap: 32px;
  }

  .timeline-headline h2 {
    font-size: 48px;
  }

  .timeline-step {
    padding: 40px 28px;
  }

  .timeline-visual-mockup {
    height: 300px;
    padding: 24px;
  }

  .calendar-mockup {
    max-width: 360px;
  }

  .chart-mockup {
    max-width: 340px;
  }
}

@media (max-width: 768px) {
  .timeline-section {
    padding: var(--spacing-2xl) 0;
  }

  .timeline-headline {
    margin-bottom: 60px;
  }

  .timeline-headline h2 {
    font-size: 40px;
  }

  .timeline-three-column-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 60px;
  }

  .timeline-step {
    padding: 36px 24px;
  }

  .timeline-step-number {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .timeline-visual-mockup {
    height: 280px;
    margin-bottom: 32px;
    padding: 20px;
  }

  .calendar-mockup {
    max-width: 320px;
  }

  .calendar-week-row {
    gap: 6px;
  }

  .calendar-time-slots {
    gap: 6px;
  }

  .chart-mockup {
    max-width: 100%;
  }

  .action-cards-mockup {
    max-width: 320px;
  }

  .action-card {
    padding: 14px;
  }

  .action-card-number {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .timeline-headline h2 {
    font-size: 32px;
  }

  .timeline-step {
    padding: 32px 20px;
  }

  .timeline-step-number {
    font-size: 16px;
  }

  .timeline-step-title {
    font-size: 20px;
  }

  .timeline-step-description {
    font-size: 15px;
  }

  .timeline-visual-mockup {
    height: 260px;
    padding: 16px;
  }

  .calendar-mockup {
    max-width: 280px;
  }

  .calendar-week-row {
    gap: 4px;
  }

  .calendar-day-number {
    font-size: 14px;
  }

  .calendar-time-slots {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }

  .calendar-time-slot {
    padding: 8px 6px;
    font-size: 12px;
  }

  .chart-range-label {
    font-size: 10px;
    min-width: 85px;
  }

  .chart-range-value {
    font-size: 14px;
    min-width: 35px;
  }

  .chart-line-graph {
    height: 100px;
    padding: 12px;
  }

  .action-cards-mockup {
    max-width: 100%;
  }

  .action-card {
    padding: 12px 14px;
    gap: 10px;
  }

  .action-card-number {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .action-card-priority {
    font-size: 9px;
    margin-bottom: 4px;
  }

  .action-card-title {
    font-size: 13px;
    margin-bottom: 3px;
  }

  .action-card-subtitle {
    font-size: 11px;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Scrolling marquee animations for hazard pills */
.scrolling-row {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.scrolling-content {
  display: inline-flex;
  gap: 16px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Odd rows (1,3) scroll left to right - very slow speed, start immediately visible */
.scrolling-odd .scrolling-content {
  animation-name: scroll-left-to-right-immediate;
  animation-duration: 120s;
}

/* Even rows (2,4) scroll right to left - very slow speed, start immediately visible */
.scrolling-even .scrolling-content {
  animation-name: scroll-right-to-left-immediate;
  animation-duration: 120s;
}

@keyframes scroll-left-to-right {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes scroll-right-to-left {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes scroll-left-to-right-immediate {
  0% {
    transform: translateX(-33.33%);
  }

  100% {
    transform: translateX(0%);
  }
}

@keyframes scroll-right-to-left-immediate {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-33.33%);
  }
}

/* Pause animation on hover for better UX */
.scrolling-row:hover .scrolling-content {
  animation-play-state: paused;
}

/* Enhanced pill styling */
.hazard-pill {
  font-feature-settings: "kern" 1;
  letter-spacing: 0.01em;
}

.hazard-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hazard-pill:hover::before {
  opacity: 1;
}

/* Scroll Animation Styles */
.animate-on-scroll {
  will-change: opacity, transform, filter;
}

/* Enhanced scroll animations for modern feel */
@supports (will-change: transform) {
  .animate-on-scroll {
    backface-visibility: hidden;
    perspective: 1000px;
  }
}

/* Design System Animations */
.stagger-container {
  animation-delay: 0s;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

/* Hover effects for interactive elements */
.transition-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced button hover effects */
.btn-hover-effect {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-hover-effect::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: left 0.5s ease;
}

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

/* Card animations */
.card-enter {
  animation: cardEnter 0.5s ease-out;
}

@keyframes cardEnter {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Loading animations */
.loading-pulse {
  animation: loadingPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes loadingPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Skeleton loading animation */
.skeleton {
  animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
  0% {
    background-color: hsl(200, 20%, 80%);
  }
  100% {
    background-color: hsl(200, 20%, 95%);
  }
}

/* Fade transitions for route changes */
.page-transition-enter {
  opacity: 0;
  transform: translateY(10px);
}

.page-transition-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-transition-exit {
  opacity: 1;
  transform: translateY(0);
}

.page-transition-exit-active {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Reduced motion support - respect user preferences */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  [data-controller="scroll-animate"] [data-scroll-animate-target="animate"] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Smooth scrolling for the whole page */
html {
  scroll-behavior: smooth;
}

/* Enhanced focus styles for accessibility */
*:focus-visible {
  outline: 2px solid theme('colors.blue.500');
  outline-offset: 2px;
  border-radius: 4px;
}
