/**
 * @fileoverview Clean white theme for home pages
 * Simple, modern styling inspired by Samsara
 */

/* Override dark theme variables for white theme */
.home-light-theme {
  --primary-color: #000000;
  --accent-color: #000000;
  --accent-color-alt: #000000;
  --text-light: #ffffff;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #ffffff;
  --bg-gray: #f9fafb;
  --border-color: #e5e7eb;
}

.home-light-theme body {
  background: #ffffff;
  color: var(--text-dark);
}

.home-light-theme .hero {
  background: #ffffff;
  color: var(--text-dark);
  min-height: 70vh;
}

/* Container for consistent spacing */
.home-light-theme .home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  width: 100%;
  box-sizing: border-box;
}

.home-light-theme .hero-text-container {
  margin-top: clamp(4rem, 10vh, 8rem);
  margin-bottom: clamp(3rem, 8vh, 6rem);
  text-align: center;
}

.home-light-theme .cta-wrapper {
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 5vh, 4rem) 0;
}

.home-light-theme .hero::before {
  display: none;
}

.home-light-theme .tagline {
  color: var(--text-dark);
  text-shadow: none;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.home-light-theme .tagline-emphatic {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.4em;
  display: inline-block;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1e3a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
  transform: scale(1.1);
  margin: 0 0.15em;
  position: relative;
  animation: pulse-emphasis-once 0.8s ease-out;
  padding-bottom: 10px;
  padding-left: 10px;
}

@keyframes pulse-emphasis-once {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.home-light-theme .tagline-emphatic::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2563eb, transparent);
  border-radius: 2px;
  opacity: 0.6;
}

.home-light-theme .tagline-rotating-wrapper {
  display: inline-block;
  position: relative;
  min-width: 280px;
  text-align: left;
  vertical-align: bottom;
}

.home-light-theme .tagline-rotating {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
}

.home-light-theme .tagline-rotating.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.home-light-theme .description {
  color: var(--text-muted);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-top: 1rem;
}

.home-light-theme .text-muted {
  color: var(--text-muted) !important;
}

/* Feature Cards - White Theme */
.home-light-theme .feature-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.home-light-theme .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--border-color);
}

.home-light-theme .feature-card::before {
  display: none;
}

.home-light-theme .card-title {
  color: var(--text-dark);
}

.home-light-theme .card-icon {
  background: var(--text-dark);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-light-theme .benefit-text {
  color: var(--text-dark);
}

.home-light-theme .benefit-icon .accent-color {
  color: var(--text-dark);
}

/* Buttons - White Theme */
.home-light-theme .cta-button,
.home-light-theme .btn-primary {
  background: var(--text-dark);
  color: var(--text-light);
  border: 2px solid var(--text-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-light-theme .cta-button:hover,
.home-light-theme .btn-primary:hover {
  background: #000000;
  color: var(--text-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.home-light-theme .cta-button.bg-dark {
  background: var(--text-dark);
  color: white;
  border: 2px solid var(--text-dark);
}

.home-light-theme .cta-button.bg-dark:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Samsara-style Feature Cards */
.home-light-theme .feature-card-samsara {
  background: var(--bg-light);
  border: none;
  border-radius: 0;
  padding: 2rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-light-theme .feature-card-samsara:hover {
  transform: translateY(-4px);
}

.home-light-theme .feature-icon-samsara {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-light-theme .feature-icon-samsara svg {
  width: 100%;
  height: 100%;
}

.home-light-theme .feature-tagline {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.home-light-theme .feature-description {
  font-size: clamp(0.95rem, 2vw, 1rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

/* Section Heading */
.home-light-theme .section-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 6rem;
}

/* Large Vertical Feature Cards */
.home-light-theme .feature-card-large {
  background: var(--bg-light);
  border: none;
  border-radius: 0;
  padding: 0;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.home-light-theme .feature-card-large:hover {
  transform: translateY(-4px);
}

.home-light-theme .feature-image-large {
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 3 / 4;
}

.home-light-theme .feature-img-vertical {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.home-light-theme .feature-img-left {
  object-position: left center;
}

.home-light-theme .feature-card-large:hover .feature-img-vertical {
  transform: scale(1.05);
}

.home-light-theme .feature-headline-large {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.home-light-theme .feature-text-large {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .home-light-theme .hero {
    min-height: auto;
    padding: 2rem 0 clamp(3rem, 8vh, 5rem) 0;
  }

  .home-light-theme .hero-content {
    padding: 0;
    margin-bottom: clamp(2rem, 5vh, 3rem);
  }

  .home-light-theme .home-container {
    padding: 0 clamp(1rem, 5vw, 1.5rem);
  }

  .home-light-theme .hero-text-container {
    margin-top: clamp(2rem, 6vh, 4rem);
    margin-bottom: clamp(2rem, 6vh, 4rem);
  }

  /* Smaller tagline on mobile to prevent overflow */
  .home-light-theme .tagline {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .home-light-theme .tagline-rotating-wrapper {
    min-width: auto;
    max-width: 100%;
  }

  .home-light-theme .tagline-rotating {
    white-space: normal;
    word-wrap: break-word;
  }

  .home-light-theme .tagline-emphatic {
    font-size: 1.2em;
    transform: scale(1.05);
    padding-bottom: 5px;
    padding-left: 5px;
  }
  
  /* Smaller icons on mobile */
  .home-light-theme .feature-icon-samsara {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }

  .home-light-theme .feature-icon-samsara i {
    font-size: 1.5rem !important;
  }
  
  .home-light-theme .feature-card-samsara {
    padding: 1.5rem 1rem;
  }
  
  .home-light-theme .feature-description {
    max-width: 70%;
  }

  /* Smaller image height for large feature cards on mobile */
  .home-light-theme .feature-image-large {
    aspect-ratio: 2 / 3;
    margin-bottom: 1rem;
    max-height: 30vh;
  }

  .home-light-theme .feature-card-large {
    margin-bottom: 2rem;
  }

  .home-light-theme .section-heading {
    margin: clamp(2rem, 5vh, 3rem) 0;
  }
}

