/* ==========================================================================
   Home Landing Page Styles
   ========================================================================== */

:root {
  --landing-primary: #3256A4;
  --landing-secondary: #ED7A39;
  --landing-dark: #0A1632;
  --landing-light-bg: #F8F9FA;
  --landing-white: #FFFFFF;
}

#move-to-top {
  background-color: var(--landing-secondary) !important;
}

/* ---------- Hero Section ---------- */

.landing-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height, 80px));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-dark) 100%);
  overflow: hidden;
}

.landing-hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.landing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 50, 0.55);
  z-index: 1;
}

.landing-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.landing-hero__title {
  font-family: 'Roboto', sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--landing-white);
  margin: 0 0 24px;
  letter-spacing: -1px;
}

.landing-hero__subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 40px;
}

.landing-hero__btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--landing-secondary);
  color: var(--landing-white);
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(237, 122, 57, 0.4);
  color: var(--landing-white);
  text-decoration: none;
}

.landing-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: landing-bounce 2s infinite;
}

.landing-hero__scroll i {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.6);
}

@keyframes landing-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

/* ---------- Features Section ---------- */

.landing-features {
  padding: 100px 24px;
  background: var(--landing-light-bg);
}

.landing-features__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-section-title {
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--landing-dark);
  text-align: center;
  margin: 0 0 16px;
}

.landing-section-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  color: #666;
  text-align: center;
  margin: 0 0 60px;
}

.landing-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.landing-feature-card {
  background: var(--landing-white);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.landing-feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(237, 122, 57, 0.1);
  margin-bottom: 24px;
}

.landing-feature-card__icon i {
  font-size: 32px;
  color: var(--landing-secondary);
}

.landing-feature-card__title {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--landing-dark);
  margin: 0 0 12px;
}

.landing-feature-card__desc {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* ---------- Products Section ---------- */

.landing-products {
  padding: 100px 24px;
  background: var(--landing-white);
}

.landing-products__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-gallery {
  overflow: hidden;
}

.landing-gallery__track {
  display: flex;
  width: max-content;
}

.landing-gallery__slide {
  flex: 0 0 auto;
  width: 33.333vw;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--landing-light-bg);
}

.landing-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.landing-gallery__slide:hover img {
  transform: scale(1.05);
}


.landing-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.landing-product-card {
  background: var(--landing-white);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  border: 1px solid #eee;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.landing-product-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(237, 122, 57, 0.1);
  margin-bottom: 24px;
}

.landing-product-card__icon i {
  font-size: 32px;
  color: var(--landing-secondary);
}

.landing-product-card__title {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--landing-dark);
  margin: 0 0 12px;
}

.landing-product-card__desc {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.landing-products__buy-visualizer-cta {
  text-align: center;
}

.landing-products__buy-visualizer-cta a {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid var(--landing-primary);
  color: var(--landing-primary);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-top: 40px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.landing-products__buy-visualizer-cta a:hover {
  background: var(--landing-primary);
  color: var(--landing-white);
  text-decoration: none;
}

/* ---------- CTA Section ---------- */

.landing-cta {
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-dark) 100%);
  text-align: center;
}

.landing-cta__inner {
  max-width: 700px;
  margin: 0 auto;
}

.landing-cta__title {
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--landing-white);
  margin: 0 0 16px;
}

.landing-cta__subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 40px;
}

.landing-cta__btn {
  display: inline-block;
  padding: 18px 48px;
  background: var(--landing-secondary);
  color: var(--landing-white);
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(237, 122, 57, 0.4);
  color: var(--landing-white);
  text-decoration: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .landing-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .landing-gallery__slide {
    width: 80vw;
  }

  .landing-hero__title {
    font-size: 40px;
  }

  .landing-hero__subtitle {
    font-size: 18px;
  }

  .landing-features__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .landing-section-title {
    font-size: 32px;
  }

  .landing-features {
    padding: 60px 24px;
  }

  .landing-products {
    padding: 60px 24px;
  }

  .landing-products__grid {
    grid-template-columns: 1fr;
  }

  .landing-cta {
    padding: 60px 24px;
  }

  .landing-cta__title {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .landing-hero__title {
    font-size: 32px;
  }

  .landing-hero__btn {
    padding: 14px 32px;
    font-size: 16px;
  }
}
