/* ========================================
   HERO LANDING PAGE STYLES
   ======================================== */

/* 1. HERO SECTION - FULL WIDTH */
.hero-landing {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, 
    rgba(102, 126, 234, 0.1) 0%, 
    rgba(118, 75, 162, 0.1) 100%
  );
  border-radius: 24px;
  padding: 64px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease;
  position: relative;
  isolation: isolate;
}

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

/* 2. HERO CONTENT - TWO COLUMNS */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* 3. HERO TEXT CONTENT */
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 2;
  transform: translateZ(10px);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 107, 53, 0.1);
  color: var(--neon-orange, #ff6b35);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  background: linear-gradient(135deg, 
    var(--neon-blue, #667eea) 0%, 
    var(--neon-purple, #764ba2) 50%, 
    var(--neon-orange, #ff6b35) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text-secondary, #a0a0a0);
  margin: 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ff6b35, #667eea);
  color: #000;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 18px 36px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
}

.hero-cta-icon {
  font-size: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* 4. HERO IMAGES SECTION */
.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  position: relative;
  z-index: 1;
  transform: translateZ(0px);
}

.hero-image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.hero-image-card:hover {
  transform: translateY(-8px);
}

.hero-image-card.large {
  grid-column: 1 / -1;
  grid-row: 1;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-card.large img {
  height: 400px;
}

.hero-image-card:not(.large) img {
  height: 200px;
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 24px;
  color: #fff;
}

.hero-image-quote {
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
  margin: 0 0 8px 0;
}

.hero-image-author {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* 5. FEATURES SECTION */
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-orange, #ff6b35);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2);
}

.feature-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text-primary, #ffffff);
}

.feature-description {
  font-size: 0.95rem;
  color: var(--text-secondary, #a0a0a0);
  margin: 0;
  line-height: 1.5;
}

/* 6. STATS SECTION */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px 64px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  margin-bottom: 48px;
}

.stat-item-hero {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, 
    var(--neon-blue, #667eea) 0%, 
    var(--neon-orange, #ff6b35) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label-hero {
  font-size: 0.95rem;
  color: var(--text-secondary, #a0a0a0);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 7. QUOTES SECTION */
.quotes-section {
  padding: 48px 64px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
}

.quote-carousel {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.quote-text {
  font-size: 1.8rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-primary, #ffffff);
  margin: 0 0 16px 0;
  transition: opacity 0.3s ease;
}

.quote-author {
  font-size: 1.1rem;
  color: var(--text-secondary, #a0a0a0);
  display: block;
  margin-bottom: 24px;
  transition: opacity 0.3s ease;
}

.quote-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.quote-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.quote-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.quote-dot.active {
  background: var(--neon-orange, #ff6b35);
  width: 32px;
  border-radius: 6px;
}

/* 8. HIDE HERO WHEN WORKOUT GENERATED */
/* Use JavaScript to toggle .hidden class based on visible sections */
.hero-landing.hidden {
  display: none !important;
}

/* 9. RESPONSIVE - TABLET (768-1023px) */
@media (max-width: 1023px) {
  .hero-landing {
    padding: 48px 32px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-cta {
    font-size: 1.1rem;
    padding: 16px 32px;
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hero-stats {
    padding: 32px 24px;
    gap: 24px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .quotes-section {
    padding: 32px 24px;
  }

  .quote-text {
    font-size: 1.5rem;
  }

  .quote-author {
    font-size: 1rem;
  }
}

/* 10. RESPONSIVE - MOBILE (<768px) */
@media (max-width: 767px) {
  .hero-landing {
    padding: 32px 20px;
    margin-bottom: 24px;
  }

  .hero-content {
    gap: 24px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 16px 24px;
  }

  .hero-images {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .hero-image-card.large {
    grid-column: 1;
  }

  .hero-image-card.large img {
    height: 300px;
  }

  .hero-image-card:not(.large) img {
    height: 180px;
  }

  .hero-image-overlay {
    padding: 16px;
  }

  .hero-image-quote {
    font-size: 0.95rem;
  }

  .hero-image-author {
    font-size: 0.85rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }

  .feature-title {
    font-size: 1rem;
  }

  .feature-description {
    font-size: 0.9rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label-hero {
    font-size: 0.85rem;
  }

  .quotes-section {
    padding: 24px 20px;
  }

  .quote-text {
    font-size: 1.2rem;
  }

  .quote-author {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .quote-dot {
    width: 10px;
    height: 10px;
  }

  .quote-dot.active {
    width: 24px;
  }
}

/* 11. SMALL MOBILE (<480px) */
@media (max-width: 479px) {
  .hero-landing {
    padding: 24px 16px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 16px;
  }

  .hero-image-card.large img {
    height: 250px;
  }

  .hero-image-card:not(.large) img {
    height: 150px;
  }

  .quote-text {
    font-size: 1.1rem;
  }
}
