/* ============================================================
   PRODUCTS.CSS — Products Page Styles
   Section-wise styling for hero, grid, why section, and CTA
   ============================================================ */

/* ── SECTION 1: HERO SECTION ────────────────────────────────── */
.prod-hero {
  position: relative;
  background: var(--color-primary);
  padding: 140px 0 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.prod-hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,51,74,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,51,74,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.prod-orb-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,51,74,0.18) 0%, transparent 70%);
  top: -100px;
  left: -150px;
  border-radius: 50%;
  pointer-events: none;
}

.prod-orb-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,51,74,0.10) 0%, transparent 70%);
  bottom: -80px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.prod-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.prod-hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 20px;
}

.prod-accent {
  color: var(--color-accent);
}

.prod-hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 40px;
}

.prod-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.prod-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.prod-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  flex: 1;
  min-width: 120px;
}

.prod-stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.prod-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  line-height: 1.4;
}

.prod-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ── SECTION 2: PRODUCTS GRID ──────────────────────────────── */
.prod-grid-section {
  background: var(--color-white);
  padding: 96px 0;
}

.prod-grid-header {
  text-align: center;
  margin-bottom: 60px;
}

.prod-grid-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.prod-grid-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.prod-grid-subtitle {
  font-size: 16px;
  color: var(--color-gray);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.prod-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.prod-card {
  background: var(--color-white);
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.prod-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.prod-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: rgba(232,51,74,0.2);
}

.prod-card:hover::before {
  transform: scaleX(1);
}

.prod-card--featured {
  background: linear-gradient(135deg, rgba(232,51,74,0.05), rgba(232,51,74,0.02));
  border-color: rgba(232,51,74,0.3);
}

.prod-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(232,51,74,0.1), rgba(232,51,74,0.05));
  border: 1px solid rgba(232,51,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 24px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.prod-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.prod-card-desc {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.prod-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prod-card-features li {
  font-size: 13px;
  color: var(--color-primary);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.prod-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.prod-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
  margin-top: auto;
}

.prod-card-link:hover {
  gap: 12px;
  color: #c0202f;
}

/* ── SECTION 3: WHY CHOOSE US ──────────────────────────────── */
.prod-why-section {
  position: relative;
  background: var(--color-primary);
  padding: 96px 0;
  overflow: hidden;
}

.prod-why-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,51,74,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,51,74,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.prod-why-orb-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,51,74,0.15) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  border-radius: 50%;
  pointer-events: none;
}

.prod-why-orb-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,51,74,0.08) 0%, transparent 70%);
  bottom: -80px;
  left: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.prod-why-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.prod-why-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.prod-why-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.prod-why-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.prod-why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.prod-why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  text-align: center;
}

.prod-why-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(232,51,74,0.3);
  transform: translateY(-4px);
}

.prod-why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(232,51,74,0.15);
  border: 1px solid rgba(232,51,74,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 24px;
  margin: 0 auto 16px;
  flex-shrink: 0;
}

.prod-why-card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}

.prod-why-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
}

/* ── SECTION 4: CTA BAND ────────────────────────────────────── */
.prod-cta-section {
  background: linear-gradient(135deg, var(--color-primary), #0f0f0f);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.prod-cta-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,51,74,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,51,74,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.prod-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.prod-cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.prod-cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 40px;
}

.prod-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .prod-hero {
    padding: 120px 0 64px;
    min-height: auto;
  }

  .prod-hero-heading {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .prod-hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .prod-stat-divider {
    display: none;
  }

  .prod-hero-stat {
    padding: 0;
  }

  .prod-grid-section {
    padding: 80px 0;
  }

  .prod-why-section {
    padding: 80px 0;
  }

  .prod-cta-section {
    padding: 60px 0;
  }
}

@media (max-width: 767px) {
  .prod-hero {
    padding: 100px 0 48px;
  }

  .prod-hero-btns {
    flex-direction: column;
    gap: 12px;
  }

  .prod-hero-btns a {
    width: 100%;
  }

  .prod-grid-section {
    padding: 64px 0;
  }

  .prod-cards-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .prod-card {
    padding: 24px 20px;
  }

  .prod-why-section {
    padding: 64px 0;
  }

  .prod-why-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }

  .prod-why-card {
    padding: 20px 16px;
  }

  .prod-cta-section {
    padding: 48px 0;
  }

  .prod-cta-heading {
    font-size: clamp(1.6rem, 3vw, 2rem);
  }

  .prod-cta-btns {
    flex-direction: column;
    gap: 12px;
  }

  .prod-cta-btns a {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .prod-hero {
    padding: 80px 0 40px;
  }

  .prod-hero-heading {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    margin-bottom: 16px;
  }

  .prod-hero-desc {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .prod-hero-stats {
    padding-top: 24px;
  }

  .prod-stat-num {
    font-size: 24px;
  }

  .prod-hero-stat {
    padding: 0 12px;
    min-width: 100px;
  }

  .prod-grid-section {
    padding: 48px 0;
  }

  .prod-grid-title {
    font-size: clamp(1.6rem, 3vw, 2rem);
  }

  .prod-why-section {
    padding: 48px 0;
  }

  .prod-why-title {
    font-size: clamp(1.6rem, 3vw, 2rem);
  }

  .prod-cta-section {
    padding: 40px 0;
  }
}
