/**
 * Landing Page Styles - Complete External CSS
 * CSP-compliant: All styles in external file
 */

body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.landing-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 30px;
  position: relative;
  overflow: hidden;
}

.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 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.15;
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

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

.hero-video-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  padding-bottom: 94.83%; /* Increased by 2/3 for taller shorts */
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 4px solid rgba(255,255,255,0.2);
}

.hero-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 36px;
  opacity: 0.95;
  font-weight: 300;
  line-height: 1.6;
  max-width: 550px;
}

.christmas-badge {
  display: inline-block;
  background: #ff6b6b;
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 32px;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  line-height: 1.5;
  text-align: center;
}

.christmas-badge .occasion-cycling {
  color: white;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

/* Sticky CTA Button */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
  z-index: 1000;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: slideInRight 0.5s ease-out;
}

.sticky-cta:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
  color: white;
}

.sticky-cta.hidden {
  display: none;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero-cta {
  display: inline-block;
  padding: 16px 40px;
  background: white;
  color: #667eea;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.3);
  color: #667eea;
}

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

/* CTA Section */
.cta-section {
  padding: 100px 30px;
  background: #2d3748;
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 36px;
  opacity: 0.9;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 18px 50px;
  background: #ff6b6b;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 30px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
  color: white;
}

/* Image Carousel */
.carousel-section {
  padding: 80px 30px;
  background: white;
  overflow: hidden;
}

.carousel-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #2d3748;
  line-height: 1.3;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  animation: scroll 40s linear infinite;
  will-change: transform;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-image {
  flex: 0 0 auto;
  width: 300px;
  height: 400px;
  margin: 0 15px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.carousel-image:hover {
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-300px * 12 - 180px));
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .sticky-cta {
    bottom: 15px;
    right: 15px;
    left: 15px;
    text-align: center;
    font-size: 1rem;
    padding: 14px 24px;
  }

  .hero-section {
    padding: 40px 20px 50px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    order: 1;
  }

  /* HIDE VIDEO ON MOBILE - Critical for above-the-fold CTA */
  .hero-video {
    display: none;
  }

  .hero-video-container {
    max-width: 280px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
    margin-top: 20px;
    max-width: 100%;
    opacity: 0.85;
  }

  .christmas-badge {
    font-size: 0.85rem;
    padding: 8px 18px;
    margin-bottom: 20px;
  }

  /* MAKE CTA PROMINENT - Above the fold on mobile */
  .hero-cta {
    font-size: 1.15rem;
    padding: 16px 40px;
    margin-top: 24px;
    margin-bottom: 24px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  }

  .carousel-section {
    padding: 60px 24px;
  }

  .carousel-title {
    font-size: 1.6rem;
    margin-bottom: 40px;
    line-height: 1.3;
  }

  .cta-section {
    padding: 70px 24px;
  }

  .cta-title {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 20px;
  }

  .cta-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 28px;
  }

  .cta-button {
    padding: 16px 40px;
    font-size: 1.1rem;
  }

  .carousel-image {
    width: 250px;
    height: 330px;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-250px * 12 - 180px));
    }
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .hero-section {
    padding: 30px 15px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-video-container {
    max-width: 240px;
  }

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

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

  .hero-cta {
    font-size: 1rem;
    padding: 12px 30px;
  }

  .carousel-image {
    width: 200px;
    height: 265px;
    margin: 0 10px;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-200px * 12 - 120px));
    }
  }
}
