/* =============================================
   HOMEPAGE STYLES
   ============================================= */

/* --- HERO SECTION --- */
.hero-section {
  background: linear-gradient(135deg, #F0F4FF 0%, #EBF1FF 50%, #F8FAFC 100%);
  padding: 80px 0 64px;
  overflow: hidden;
  position: relative;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(30,99,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30,99,255,0.08);
  border: 1px solid rgba(30,99,255,0.15);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.hero-headline { margin-bottom: 20px; }
.hero-headline span { color: var(--primary); }
.hero-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 480px;
}
.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}
.hero-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
}
.hero-bullet-dot {
  width: 8px; height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 32px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  width: fit-content;
}
.hero-trust-num { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); }
.hero-trust-text { font-size: 0.8rem; color: var(--text-muted); }

/* Hero Right: Health Check Cards */
.hero-right { position: relative; }
.health-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.health-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.health-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.health-card-icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.health-card-icon.green { background: rgba(29,191,115,0.1); }
.health-card-content { flex: 1; }
.health-card-content h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--text-dark); }
.health-card-content p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.health-card-arrow { color: var(--primary); font-size: 1.1rem; }

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.hero-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow);
}
.hero-stat-num { font-size: 1.3rem; font-weight: 800; color: var(--primary); display: block; }
.hero-stat-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* Trusted logos strip */
.trusted-strip {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trusted-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.trusted-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; white-space: nowrap; }
.trusted-logos { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.trusted-logo-item {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.7;
  transition: opacity var(--transition);
}
.trusted-logo-item:hover { opacity: 1; color: var(--text-dark); }

/* --- CHALLENGES vs SOLUTION --- */
.challenges-section { background: var(--bg-white); }
.challenges-section .section-header { text-align: center; margin-bottom: 48px; }
.challenges-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
}
.challenges-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
}
.vs-badge {
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.875rem;
  box-shadow: var(--shadow-blue);
}
.challenge-item, .solution-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  align-items: flex-start;
}
.challenge-item { background: #FFF5F5; border: 1px solid #FFE0E0; }
.challenge-icon { font-size: 1.2rem; }
.challenge-item h4 { font-size: 0.875rem; color: #C62828; margin-bottom: 4px; }
.challenge-item p  { font-size: 0.8rem; color: #B71C1C; margin: 0; }
.solution-item { background: #F0FFF4; border: 1px solid #C8E6C9; }
.solution-item h4 { font-size: 0.875rem; color: #1B5E20; margin-bottom: 4px; }
.solution-item p  { font-size: 0.8rem; color: #2E7D32; margin: 0; }

/* --- SERVICES GRID --- */
.services-section { background: var(--bg-light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.service-card-icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1rem; margin-bottom: 10px; }
.service-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 16px;
}

/* --- COMPARISON TABLE --- */
.comparison-section { background: var(--navy); }
.comparison-section .section-header { text-align: center; margin-bottom: 48px; }
.comparison-section h2 { color: #fff; }
.comparison-section .section-label { background: rgba(30,99,255,0.2); color: #7BA8FF; }
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.comparison-table th {
  background: rgba(255,255,255,0.06);
  padding: 16px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.comparison-table th.highlight { background: rgba(30,99,255,0.3); color: #fff; }
.comparison-table td {
  padding: 14px 20px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.comparison-table td.highlight { background: rgba(30,99,255,0.1); color: #fff; font-weight: 500; }
.comparison-table tr:last-child td { border-bottom: none; }
.check-yes { color: var(--accent-green); font-weight: 700; }
.check-no  { color: #EF5350; }
.check-partial { color: #FFB300; }

/* --- PACKAGES / PRICING --- */
.packages-section { background: var(--bg-light); }
.packages-section .section-header { text-align: center; margin-bottom: 48px; }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.package-card {
  background: #fff;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.package-card.featured {
  border-color: var(--primary);
  background: var(--navy);
  color: #fff;
}
.package-card.featured h3,
.package-card.featured p,
.package-card.featured li { color: rgba(255,255,255,0.85); }
.package-card.featured h3 { color: #fff; }
.package-featured-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.package-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.package-card.featured .package-icon { background: rgba(255,255,255,0.12); }
.package-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.package-for { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; }
.package-card.featured .package-for { color: rgba(255,255,255,0.6); }
.package-bullets { margin-bottom: 24px; flex: 1; }
.package-bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; margin-bottom: 10px;
  color: var(--text-body);
}
.package-bullets li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- TRUST STATS --- */
.trust-section { background: var(--bg-white); }
.trust-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-stat { padding: 32px 20px; }
.trust-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}
.trust-stat-label { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }

/* --- FINAL CTA SECTION --- */
.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.final-cta h2 { color: #fff; margin-bottom: 12px; }
.final-cta p  { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 32px; }

/* --- FAQ SECTION --- */
.faq-section { background: var(--bg-light); }
.faq-section .section-header { text-align: center; margin-bottom: 48px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-question:hover { color: var(--primary); }
.faq-icon { font-size: 1.2rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
