/* ═══════════════════════════════════════════════════════════════════════
   DESIGN SYSTEM CSS
   Supplements styles.css with design tokens, utilities, and new components
   ═════════════════════════════════════════════════════════════════════════ */

/* ─── 1. NEW COLOR TOKENS ─── */
:root {
  --success: #16a34a;
  --error:   #dc2626;
}

/* ─── 2. TYPOGRAPHY SCALE ─── */
:root {
  --text-xs:   0.72rem;
  --text-sm:   0.85rem;
  --text-base: 1rem;
  --text-lg:   1.12rem;
  --text-xl:   1.4rem;
  --text-2xl:  2rem;
  --text-3xl:  2.4rem;
  --text-4xl:  3.2rem;
}

/* ─── 3. SPACING SCALE (4px base unit) ─── */
:root {
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
}

/* ─── 4. LAYOUT UTILITIES ─── */
.ds-container {
  max-width: 1100px;
  margin: 0 auto;
}

.ds-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ─── 5. BREADCRUMB COMPONENT ─── */
.breadcrumb-bar {
  background: rgba(26, 111, 255, 0.035);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 3rem;
  position: relative;
}

.breadcrumb-bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--blue-grad);
}

.breadcrumb {
  /* reset global nav selector bleed */
  background: transparent;
  border-bottom: none;
  height: auto;
  padding: 0;
  position: static;
  z-index: auto;

  /* breadcrumb layout */
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  font-size: var(--text-sm);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb .sep {
  color: rgba(26, 111, 255, 0.4);
  font-size: 0.78rem;
}

.breadcrumb .current {
  color: var(--white);
  font-weight: 600;
  background: var(--blue-grad);
  padding: 0.18rem 0.7rem;
  border-radius: 20px;
  font-size: var(--text-xs);
  letter-spacing: 0.015em;
  box-shadow: 0 2px 8px rgba(26, 111, 255, 0.28);
}

/* ─── 6. PAGE HERO COMPONENT ─── */
.page-hero {
  background: var(--bg);
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,111,255,0.09) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 640px;
}

.page-hero h1 em {
  font-style: normal;
  background: var(--blue-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 540px;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.page-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── 7. PROCESS STEPS COMPONENT ─── */
.process-steps {
  display: flex;
  flex-direction: column;
}

.process-step {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--border);
}

.process-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--blue-grad);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(26,111,255,0.3);
  flex-shrink: 0;
}

.process-step h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
}

/* ─── 8. CTA BANNER COMPONENT ─── */
.cta-banner {
  background: var(--blue-grad);
  border-radius: 16px;
  padding: 3.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.cta-banner h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.82);
  max-width: 460px;
  margin: 0 auto 2rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--blue);
  font-size: var(--text-base);
  font-weight: 700;
  padding: 0.78rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  z-index: 1;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* ─── 9. FAQ ACCORDION COMPONENT ─── */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: 1rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--blue-grad);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  flex-shrink: 0;
}

.faq-icon::after {
  content: '+';
}

.faq-item.open .faq-icon::after {
  content: '−';
}

.faq-a {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.8;
  padding-bottom: 1.1rem;
  display: none;
}

.faq-item.open .faq-a {
  display: block;
}

/* ─── 10. WHY CARD REFINEMENT ─── */
.why-card {
  padding: 1.6rem 1.8rem;
}

.why-card .svc-icon {
  margin: 0 0 1rem 0;
}

.why-card h3 {
  font-size: var(--text-base);
  margin-bottom: 0.45rem;
}

.why-card p {
  font-size: var(--text-sm);
  line-height: 1.65;
}

/* ─── 11. RESPONSIVE BREAKPOINTS ─── */
@media (max-width: 900px) {
  .ds-two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .breadcrumb-bar {
    padding: 0.8rem 1.5rem;
  }

  .page-hero {
    padding: 3rem 1.5rem;
  }

  .page-hero h1 {
    font-size: var(--text-3xl);
  }

  .cta-banner {
    padding: 2.5rem 1.5rem;
  }
}
