/* ══════════════════════════════════════════════════════════════
   Finhanced Inc. — Service Page Styles
   Shared CSS for all 8 service detail pages
   ══════════════════════════════════════════════════════════════ */

/* ── SERVICE HERO (overrides) ── */
.hero {
  min-height: 60vh;
  padding-top: 80px;
}
.hero-stats {
  position: static;
  flex-direction: row;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(125,219,192,0.15);
  flex-wrap: wrap;
}
.hero-stat-value {
  font-size: 2rem;
}
.hero-stat-label {
  margin-top: 4px;
}

/* ── PROCESS STEPS ── */
.process-section {
  padding: 80px 0;
  background: var(--gray-100);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  counter-reset: step;
}
.process-step {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 24px;
  position: relative;
  border-top: 3px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  counter-increment: step;
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: rgba(125,219,192,0.18);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── FEATURES GRID ── */
.features-section {
  padding: 80px 0;
  background: var(--navy);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.feature-card {
  background: #2d2d2d;
  border-radius: 10px;
  padding: 36px 28px;
  border: 1px solid rgba(125,219,192,0.12);
  transition: border-color 0.3s;
}
.feature-card:hover {
  border-color: var(--gold);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(125,219,192,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ── USE CASES ── */
.use-cases-section {
  padding: 80px 0;
  background: var(--white);
}
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.use-case-card {
  background: var(--gray-100);
  border-radius: 10px;
  padding: 28px 24px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.use-case-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.use-case-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── FAQ ACCORDION ── */
.faq-section {
  padding: 80px 0;
  background: var(--gray-100);
}
.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
}
.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-question::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-question::after {
  transform: rotate(-135deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 100px 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(125,219,192,0.07), transparent);
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
}
.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── LIGHT MODE SERVICE OVERRIDES ── */
[data-theme="light"] .process-section { background: #f0f7f4; }
[data-theme="light"] .process-step { background: #fff; }
[data-theme="light"] .use-cases-section { background: #f8faf9; }
[data-theme="light"] .use-case-card { background: #fff; border-color: #dce4e1; border-left-color: var(--gold); }
[data-theme="light"] .faq-section { background: #f0f7f4; }
[data-theme="light"] .faq-item { background: #fff; }

/* ── LIGHT MODE ── */
/* Features section has dark bg — keep it dark */
[data-theme="light"] .features-section { background: #1a1a1a; }
[data-theme="light"] .cta-section { background: #1a1a1a; }
[data-theme="light"] .cta-section h2 { color: #ffffff; }
[data-theme="light"] .cta-section p { color: rgba(255,255,255,0.6); }
[data-theme="light"] .use-cases-section { background: #f8faf9; }
[data-theme="light"] .use-case-card { background: #f0f7f4; border-color: #dce4e1; }
[data-theme="light"] .faq-section { background: #f0f7f4; }
[data-theme="light"] .faq-item { background: #fff; border-color: #dce4e1; }

/* ── SERVICE PAGE RESPONSIVE ── */
@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}
