/* ============================================
   HOMEPAGE - COHESIVE, LOW-COUPLING STYLES
   Depends only on shared tokens (colors, font) from styles.css
   ============================================ */

/* ============================================
   TRUST & RISK REMOVAL SECTION
   ============================================ */

.trust-section {
  background-color: #F9F9F9;
  border-top: 1px solid #E5E5E5;
  border-bottom: 1px solid #E5E5E5;
}

.trust-item {
  text-align: center;
}

.trust-item .trust-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}

.trust-item h5 {
  font-size: 17px;
  color: #0E1D36;
  margin-bottom: 8px;
  font-weight: 600;
}

.trust-item p {
  font-size: 15px;
  color: #666666;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================
   PRICING PREVIEW SECTION
   ============================================ */

.pricing-preview-section {
  background-color: #ffffff;
}

.pricing-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-preview-card {
  background-color: #F9F9F9;
  border: 2px solid #E5E5E5;
  padding: 28px;
  border-radius: 6px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-preview-card:hover {
  border-color: #3A4F7A;
  box-shadow: 0 4px 12px rgba(58, 79, 122, 0.08);
  transform: translateY(-2px);
}

.pricing-preview-card.featured {
  border-color: #3A4F7A;
  background-color: #F0F4F9;
  transform: scale(1.03);
}

.badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #3A4F7A;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.pricing-preview-card h4 {
  font-size: 19px;
  font-weight: 600;
  color: #0E1D36;
  margin-bottom: 12px;
}

.pricing-preview-card .pricing-range {
  font-size: 22px;
  font-weight: 700;
  color: #3A4F7A;
  margin-bottom: 12px;
}

.pricing-preview-card .pricing-desc {
  font-size: 14px;
  color: #666666;
  margin-bottom: 16px;
  line-height: 1.5;
}

.pricing-preview-card .btn-link {
  color: #3A4F7A;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.pricing-preview-card .btn-link:hover {
  color: #2a3a52;
}

@media (max-width: 1024px) {
  .pricing-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pricing-preview-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .pricing-preview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-preview-card {
    padding: 20px;
  }

  .badge-popular {
    top: -8px;
    padding: 4px 10px;
    font-size: 10px;
  }

  .pricing-preview-card h4 {
    font-size: 17px;
  }

  .pricing-preview-card .pricing-range {
    font-size: 18px;
  }
}

/* ============================================
   TESTIMONIAL PREVIEW SECTION
   ============================================ */

.testimonial-preview-section {
  background-color: #F9F9F9;
}

.testimonial-featured {
  background-color: #ffffff;
  border-left: 4px solid #3A4F7A;
  padding: 40px;
  border-radius: 4px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-content {
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 16px;
  color: #555555;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-byline {
  text-align: left;
}

.testimonial-byline strong {
  display: block;
  color: #0E1D36;
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial-byline p {
  font-size: 13px;
  color: #999999;
  margin-bottom: 0;
}

.testimonial-cta {
  text-align: center;
  font-size: 14px;
  margin-bottom: 0;
}

.testimonial-cta a {
  color: #3A4F7A;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.testimonial-cta a:hover {
  color: #2a3a52;
}

@media (max-width: 768px) {
  .testimonial-featured {
    padding: 24px;
  }

  .testimonial-quote {
    font-size: 15px;
  }
}

/* ============================================
   PORTFOLIO PREVIEW SECTION
   ============================================ */

.portfolio-preview-section {
  background-color: #ffffff;
}

.portfolio-preview-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background-color: #000000;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.portfolio-preview-item .portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio-preview-item:hover .portfolio-img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-preview-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-label {
  text-align: left;
}

.portfolio-label h5 {
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: 600;
}

.portfolio-label small {
  font-size: 13px;
  color: #CCCCCC;
}

@media (max-width: 768px) {
  .portfolio-overlay {
    padding: 24px;
  }

  .portfolio-label h5 {
    font-size: 16px;
  }
}
