/* ============================================ */
/* BENEFIT DETAIL PAGE STYLES */
/* ============================================ */

:root {
  --primary-green: #6DE75D;
  --primary-brown: #8B6F47;
  --light-cream: #F5E6D3;
  --dark-brown: #4A3C2A;
  --text-dark: #2C2416;
  --text-medium: #6B5744;
  --white: #FFFFFF;
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */

.detail-hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, #5BC44D 100%);
  padding: 180px 5% 100px;
  position: relative;
  overflow: hidden;
}

.detail-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 30px 30px;
  opacity: 0.3;
}

.detail-hero-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.hero-breadcrumb span:last-child {
  font-weight: 600;
  color: var(--white);
}

.detail-hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-hero-description {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
}

/* ============================================ */
/* MAIN CONTENT SECTIONS */
/* ============================================ */

.detail-main {
  background: var(--white);
}

.detail-section {
  padding: 120px 5%;
  position: relative;
}

.detail-section-light {
  background: var(--white);
}

.detail-section-dark {
  background: linear-gradient(135deg, var(--light-cream) 0%, #E8D5B7 100%);
}

.detail-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.detail-container-reverse {
  direction: rtl;
}

.detail-container-reverse > * {
  direction: ltr;
}

/* ============================================ */
/* CONTENT STYLES */
/* ============================================ */

.detail-content {
  padding: 20px 0;
}

.detail-section-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 25px;
  line-height: 1.3;
}

.detail-section-text {
  font-size: 1.15rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 25px;
}

/* ============================================ */
/* FEATURE LIST */
/* ============================================ */

.detail-feature-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0 0;
}

.detail-feature-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(109, 231, 93, 0.3);
}

.detail-feature-list li div {
  flex: 1;
}

.detail-feature-list li strong {
  display: block;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.detail-feature-list li p {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin: 0;
}

/* ============================================ */
/* STATS GRID */
/* ============================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.stat-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(139, 111, 71, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(139, 111, 71, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-medium);
  font-weight: 500;
}

/* ============================================ */
/* VISUAL SECTION */
/* ============================================ */

.detail-visual {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.6s ease;
}

.detail-image:hover {
  transform: scale(1.03);
}

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

.detail-cta {
  background: linear-gradient(135deg, var(--primary-brown) 0%, #A0826D 100%);
  padding: 100px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.detail-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 40px 40px;
  opacity: 0.4;
}

.detail-cta-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.detail-cta-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.detail-cta-text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.7;
}

.detail-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(109, 231, 93, 0.3);
}

.btn-primary:hover {
  background: #5BC44D;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(109, 231, 93, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-brown);
  transform: translateY(-3px);
}

/* ============================================ */
/* SCROLL REVEAL ANIMATIONS */
/* ============================================ */

.reveal-fade,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-fade {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-fade.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */

@media screen and (max-width: 1200px) {
  .detail-hero-title {
    font-size: 3.5rem;
  }
  
  .detail-section-title {
    font-size: 2.5rem;
  }
  
  .detail-container {
    gap: 60px;
  }
}

@media screen and (max-width: 968px) {
  .detail-hero {
    padding: 150px 5% 80px;
  }
  
  .detail-hero-title {
    font-size: 2.75rem;
  }
  
  .detail-hero-description {
    font-size: 1.15rem;
  }
  
  .detail-section {
    padding: 80px 5%;
  }
  
  .detail-container,
  .detail-container-reverse {
    grid-template-columns: 1fr;
    gap: 50px;
    direction: ltr;
  }
  
  .detail-section-title {
    font-size: 2.25rem;
  }
  
  .detail-section-text {
    font-size: 1.05rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .detail-cta-title {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 640px) {
  .detail-hero {
    padding: 130px 5% 60px;
  }
  
  .detail-hero-title {
    font-size: 2rem;
  }
  
  .detail-hero-description {
    font-size: 1rem;
  }
  
  .detail-section {
    padding: 60px 5%;
  }
  
  .detail-section-title {
    font-size: 1.85rem;
  }
  
  .detail-section-text {
    font-size: 1rem;
  }
  
  .detail-feature-list li {
    gap: 15px;
  }
  
  .feature-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .detail-feature-list li strong {
    font-size: 1.1rem;
  }
  
  .detail-visual {
    min-height: 300px;
  }
  
  .detail-cta {
    padding: 60px 5%;
  }
  
  .detail-cta-title {
    font-size: 1.85rem;
  }
  
  .detail-cta-text {
    font-size: 1.05rem;
  }
  
  .detail-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

/* ============================================ */
/* ACCESSIBILITY */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .reveal-fade,
  .reveal-left,
  .reveal-right,
  .detail-image,
  .stat-card {
    transition: none;
  }
  
  .detail-image:hover,
  .stat-card:hover {
    transform: none;
  }
}