/* ============================================ */
/* PRODUCTS HERO SECTION - MATCHING OTHER PAGES */
/* ============================================ */

.products-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #f8f6f2 0%, #ffffff 100%);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background Elements */
.products-hero-bg-gradient {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(194, 65, 12, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.products-hero-bg-shape-1 {
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 40%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(44, 110, 158, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
  border-radius: 50%;
}

.products-hero-bg-shape-2 {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(201, 168, 124, 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
}

/* Container */
.products-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Content - Centered on Desktop */
.products-hero-content {
  max-width: 800px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  animation: productsFadeInUp 0.8s ease forwards;
}

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

.products-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.products-hero-dot {
  width: 7px;
  height: 7px;
  background: var(--deluxe-red);
  border-radius: 50%;
}

.products-hero-badge {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-text);
}

.products-hero-title {
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--soft-black);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.products-hero-title span {
  color: var(--deluxe-red);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.products-hero-title span::before {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(194, 65, 12, 0.15);
  z-index: -1;
}

.products-hero-divider {
  width: 60px;
  height: 2px;
  background: var(--deluxe-red);
  margin: 0 auto 1.2rem;
  border-radius: 2px;
}

.products-hero-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-text);
  margin-bottom: 1.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Stats */
.products-hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  justify-content: center;
}

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

.products-hero-stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--deluxe-red);
  margin-bottom: 0.2rem;
  letter-spacing: -0.02em;
}

.products-hero-stat-label {
  font-size: 0.7rem;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Links */
.products-hero-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.products-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--deluxe-red);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
}

.products-hero-link svg {
  transition: transform 0.3s ease;
}

.products-hero-link:hover {
  gap: 0.75rem;
  border-bottom-color: var(--deluxe-red);
}

.products-hero-link:hover svg {
  transform: translateX(4px);
}

/* ============================================ */
/* DESKTOP RESPONSIVE */
/* ============================================ */

/* Desktop Large (1400px and above) */
@media (min-width: 1400px) {
  .products-hero-container {
    max-width: 1400px;
    padding: 0 4rem;
  }

  .products-hero-title {
    font-size: 3.8rem;
  }

  .products-hero-description {
    font-size: 1.05rem;
    max-width: 700px;
  }

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

/* Desktop Standard (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .products-hero-container {
    max-width: 1100px;
    padding: 0 2rem;
  }

  .products-hero-title {
    font-size: 2.8rem;
  }
}

/* Desktop Small (1025px - 1199px) */
@media (min-width: 1025px) and (max-width: 1199px) {
  .products-hero-container {
    max-width: 1000px;
    padding: 0 2rem;
  }

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

  .products-hero-description {
    font-size: 0.9rem;
  }

  .products-hero-stat-number {
    font-size: 1.6rem;
  }
}

/* Tablet (769px - 1024px) - Keep Centered */
@media (min-width: 769px) and (max-width: 1024px) {
  .products-hero {
    height: auto;
    min-height: 100vh;
  }

  .products-hero-container {
    padding: 4rem 2rem;
    height: auto;
    min-height: 100vh;
    align-items: center;
  }

  .products-hero-content {
    max-width: 100%;
    text-align: center;
  }

  .products-hero-badge {
    justify-content: center;
  }

  .products-hero-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .products-hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .products-hero-stats {
    justify-content: center;
  }

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

  .products-hero-links {
    justify-content: center;
  }
}

/* Mobile (768px and below) - Single Scroll */
@media (max-width: 768px) {
  .products-hero,
  .products-cta {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .products-hero {
    height: auto;
    min-height: 100vh;
  }

  .products-hero-container {
    padding: 2rem 1rem;
    height: auto;
    min-height: 100vh;
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .products-hero-content {
    max-width: 100%;
    text-align: center;
    padding: 0;
  }

  .products-hero-badge {
    justify-content: center;
    font-size: 0.6rem;
    margin-bottom: 0.8rem;
  }

  .products-hero-dot {
    width: 6px;
    height: 6px;
  }

  .products-hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .products-hero-title span::before {
    bottom: 4px;
    height: 5px;
  }

  .products-hero-divider {
    width: 50px;
    margin: 0 auto 0.8rem;
  }

  .products-hero-description {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .products-hero-stats {
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }

  .products-hero-stat {
    text-align: center;
    min-width: 80px;
  }

  .products-hero-stat-number {
    font-size: 1.3rem;
  }

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

  .products-hero-links {
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
  }

  .products-hero-link {
    font-size: 0.75rem;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .products-hero-container {
    padding: 1.5rem 1rem;
  }

  .products-hero-title {
    font-size: 1.5rem;
  }

  .products-hero-description {
    font-size: 0.8rem;
  }

  .products-hero-stat-number {
    font-size: 1.1rem;
  }

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

  .products-hero-link {
    font-size: 0.7rem;
  }
}

/* Extra Small Mobile (380px and below) */
@media (max-width: 380px) {
  .products-hero-container {
    padding: 1rem 0.8rem;
  }

  .products-hero-title {
    font-size: 1.3rem;
  }

  .products-hero-description {
    font-size: 0.75rem;
  }

  .products-hero-stat-number {
    font-size: 1rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .products-hero-content {
    animation: none;
  }

  .products-hero-link svg {
    transition: none;
  }
}

/* RTL Support */
html[dir="rtl"] .products-hero-title span::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .products-hero-link svg {
  transform: rotate(180deg);
}

html[dir="rtl"] .products-hero-link:hover svg {
  transform: rotate(180deg) translateX(-4px);
}

@media (max-width: 768px) {
  html[dir="rtl"] .products-hero-title {
    text-align: center;
  }

  html[dir="rtl"] .products-hero-description {
    text-align: center;
  }
}

/* ============================================ */
/* CALL TO ACTION SECTION - Full Screen */
/* ============================================ */

.products-cta {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f2 100%);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background Elements */
.products-cta::before {
  content: "";
  position: absolute;
  top: 20%;
  right: -5%;
  width: 50%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(194, 65, 12, 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.products-cta::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 40%;
  height: 50%;
  background: radial-gradient(
    circle,
    rgba(44, 110, 158, 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
  border-radius: 50%;
}

.products-cta-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.products-cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease forwards;
}

.products-cta-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--soft-black);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.products-cta-subtitle {
  font-size: 1rem;
  color: var(--gray-text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Buttons */
.products-cta-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.products-cta-btn-primary {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--deluxe-red);
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 2px;
  border: 1px solid transparent;
}

.products-cta-btn-primary:hover {
  background: #a3340a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(194, 65, 12, 0.3);
}

.products-cta-btn-secondary {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: var(--soft-black);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1.5px solid var(--gray-medium);
  border-radius: 2px;
}

.products-cta-btn-secondary:hover {
  border-color: var(--deluxe-red);
  color: var(--deluxe-red);
  transform: translateY(-2px);
}

/* ============================================ */
/* CTA SECTION RESPONSIVE */
/* ============================================ */

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .products-cta {
    height: 100vh;
  }

  .products-cta-title {
    font-size: 1.6rem;
  }

  .products-cta-subtitle {
    font-size: 0.85rem;
  }

  .products-cta-buttons {
    gap: 1rem;
  }

  .products-cta-btn-primary,
  .products-cta-btn-secondary {
    padding: 0.75rem 1.6rem;
    font-size: 0.85rem;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .products-cta {
    height: 100vh;
    display: flex;
    align-items: center;
  }

  .products-cta-container {
    padding: 0 1rem;
    width: 100%;
  }

  .products-cta-title {
    font-size: 1.4rem;
  }

  .products-cta-subtitle {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .products-cta-buttons {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }

  .products-cta-btn-primary,
  .products-cta-btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .products-cta-title {
    font-size: 1.3rem;
  }

  .products-cta-subtitle {
    font-size: 0.75rem;
  }
}

/* Extra Small Mobile (380px and below) */
@media (max-width: 380px) {
  .products-cta-title {
    font-size: 1.2rem;
  }
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .products-cta-btn-primary:hover,
  .products-cta-btn-secondary:hover {
    transform: none;
  }
}
