@charset "UTF-8";
/* ============================================================
 * HOME IMPROVEMENTS — bankda-a-php
 * Layers on top of design-system.css and homeStyle.css
 * Focus: Icon alignment, section polish, spacing consistency
 * ============================================================ */

/* ============================================================
 * 1. SVG Icon Utilities
 * ============================================================ */
.ds-icon-sm {
  vertical-align: -3px;
  /* margin-right: 4px; */
  flex-shrink: 0;
}

/* Section badge icon alignment */
.ds-home-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ds-color-primary-soft, #EBF1F8);
  color: var(--ds-color-primary, #0F3B5E);
}

/* Feature card icon container */
.ds-home-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--ds-radius-lg, 12px);
  background: var(--ds-color-primary-soft, #EBF1F8);
  color: var(--ds-color-primary, #0F3B5E);
  margin-bottom: var(--ds-space-4, 16px);
  transition: background 0.2s ease, color 0.2s ease;
}

.ds-home-feature-card:hover .ds-home-feature-icon {
  background: var(--ds-color-primary, #0F3B5E);
  color: #fff;
}

/* Solution card icon container */
.ds-home-solution__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--ds-radius-xl, 16px);
  background: var(--ds-color-primary-soft, #EBF1F8);
  color: var(--ds-color-primary, #0F3B5E);
  margin-bottom: var(--ds-space-4, 16px);
}

/* Service2 orbit card icons */
.ds-home-service2__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--ds-radius-lg, 12px);
  color: var(--ds-color-primary, #0F3B5E);
  flex-shrink: 0;
}

.ds-home-service2__icon--a {
  background: rgba(15, 59, 94, 0.08);
}

.ds-home-service2__icon--b {
  background: rgba(5, 150, 105, 0.08);
  color: var(--ds-color-accent, #059669);
}

.ds-home-service2__icon--c {
  background: rgba(37, 99, 235, 0.08);
  color: var(--ds-color-secondary, #2563EB);
}

.ds-home-service2__icon--d {
  background: rgba(15, 59, 94, 0.08);
}

.ds-home-service2__icon--e {
  background: rgba(139, 92, 246, 0.08);
  color: #7C3AED;
}

/* Channel group icons */
.ds-home-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--ds-radius-lg, 12px);
  color: var(--ds-color-primary, #0F3B5E);
  flex-shrink: 0;
}

.ds-home-channel-icon--auto {
  background: rgba(15, 59, 94, 0.08);
}

.ds-home-channel-icon--bank {
  background: rgba(5, 150, 105, 0.08);
  color: var(--ds-color-accent, #059669);
}

.ds-home-channel-icon--partner {
  background: rgba(37, 99, 235, 0.08);
  color: var(--ds-color-secondary, #2563EB);
}

/* Quick nav icon */
.ds-home-quick-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
 * 2. Hero Section Enhancements
 * ============================================================ */

/* Stats cards — light background with subtle border */
.ds-home-stat-card {
  /* background: rgba(255, 255, 255, 0.92); */
  /* backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 59, 94, 0.08);
  border-radius: var(--ds-radius-xl, 16px);
  padding: 20px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease; */
}

.ds-home-stat-card:hover {
  /* transform: translateY(-2px);
  box-shadow: var(--ds-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08)); */
}

/* Hero tag dot */
.ds-home-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(15, 59, 94, 0.06);
  border-radius: var(--ds-radius-full, 9999px);
  font-size: var(--ds-font-size-sm, 14px);
  font-weight: var(--ds-font-weight-medium, 500);
  color: var(--ds-color-primary, #0F3B5E);
}

.ds-home-hero-tag-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ds-color-accent, #059669);
  animation: ds-pulse-dot 2s ease-in-out infinite;
}

@keyframes ds-pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

/* Hero stat value — number emphasis */
.ds-home-hero-stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--ds-color-primary, #0F3B5E);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ds-home-hero-stat-value span {
  font-size: 18px;
  font-weight: 600;
  opacity: 0.7;
}

.ds-home-hero-stat-value--text {
  font-size: 22px !important;
  font-weight: 800 !important;
}

/* ============================================================
 * 3. Pain Points Section
 * ============================================================ */
.ds-home-pain__item {
  position: relative;
  background: #fff;
  border: 1px solid var(--ds-color-border, #E2E8F0);
  border-radius: var(--ds-radius-xl, 16px);
  padding: 28px 24px 24px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.ds-home-pain__item:hover {
  box-shadow: var(--ds-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));
  border-color: var(--ds-color-primary, #0F3B5E);
}

/* Replace "!" with a proper icon style */
.ds-home-pain__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--ds-radius-full, 9999px);
  background: rgba(220, 38, 38, 0.08);
  color: #DC2626;
  font-weight: 700;
  font-size: 16px;
  /* margin-bottom: 12px; */
}

/* ============================================================
 * 4. Feature Cards Polish
 * ============================================================ */
.ds-home-feature-card {
  background: #fff;
  border: 1px solid var(--ds-color-border, #E2E8F0);
  border-radius: var(--ds-radius-xl, 16px);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.ds-home-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow-lg, 0 10px 25px rgba(0, 0, 0, 0.1));
  border-color: var(--ds-color-primary, #0F3B5E);
}

.ds-home-features-number {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 48px;
  font-weight: 800;
  color: rgba(15, 59, 94, 0.07);
  line-height: 1;
  pointer-events: none;
}

[data-theme="dark"] .ds-home-features-number {
  color: rgba(255, 255, 255, 0.05);
}

/* ============================================================
 * 5. Solution Cards Polish
 * ============================================================ */
.ds-home-solution__card {
  background: #fff;
  border: 1px solid var(--ds-color-border, #E2E8F0);
  border-radius: var(--ds-radius-2xl, 20px);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ds-home-solution__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow-lg, 0 10px 25px rgba(0, 0, 0, 0.1));
}

/* ============================================================
 * 6. Three Steps Section
 * ============================================================ */
.ds-home-how__step {
  background: #fff;
  border: 1px solid var(--ds-color-border, #E2E8F0);
  border-radius: var(--ds-radius-2xl, 20px);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ds-home-how__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));
}

.ds-home-how__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--ds-radius-full, 9999px);
  background: var(--ds-color-primary, #0F3B5E);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 16px;
}

/* ============================================================
 * 7. FAQ Polish
 * ============================================================ */
.ds-home-faq-item {
  background: #fff;
  border: 1px solid var(--ds-color-border, #E2E8F0);
  border-radius: var(--ds-radius-lg, 12px);
  margin-bottom: 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ds-home-faq-item:hover {
  border-color: var(--ds-color-primary, #0F3B5E);
}

.ds-home-faq-item.active {
  border-color: var(--ds-color-primary, #0F3B5E);
  box-shadow: 0 0 0 3px rgba(15, 59, 94, 0.08);
}

.ds-home-faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ds-color-neutral-800, #334155);
}

.ds-home-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0;
}

.ds-home-faq-item.active .ds-home-faq-answer {
  max-height: 600px;
  opacity: 1;
}

.ds-home-faq-item.active .ds-home-faq-answer-inner {
  padding-top: 30px;
}

.ds-home-faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--ds-color-neutral-600, #64748B);
  line-height: var(--ds-line-height-normal, 1.5);
  transition: .3s;
}

.ds-home-faq-cat-badge {
  padding: 3px 10px;
  border-radius: var(--ds-radius-full, 9999px);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.ds-home-faq-cat-badge--service {
  background: rgba(15, 59, 94, 0.08);
  color: var(--ds-color-primary, #0F3B5E);
}

.ds-home-faq-cat-badge--tech {
  background: rgba(5, 150, 105, 0.08);
  color: var(--ds-color-accent, #059669);
}

/* ============================================================
 * 8. Section Headers — Consistent Vertical Rhythm
 * ============================================================ */
.ds-home-section-header {
  text-align: center;
  margin-bottom: var(--ds-space-12, 48px);
}

.ds-home-section-title {
  font-size: var(--ds-font-size-2xl, 32px);
  font-weight: 800;
  color: var(--ds-color-neutral-900, #0F172A);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-top: var(--ds-space-4, 16px);
  margin-bottom: var(--ds-space-4, 16px);
}

.ds-home-section-subtitle {
  font-size: var(--ds-font-size-md, 16px);
  color: var(--ds-color-neutral-600, #64748B);
  line-height: var(--ds-line-height-normal, 1.5);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
 * 9. CTA Banner Polish
 * ============================================================ */
.ds-home-cta-banner {
  background: linear-gradient(135deg, var(--ds-color-primary, #0F3B5E) 0%, #1A5F8A 100%);
  border-radius: var(--ds-radius-2xl, 20px);
  padding: 56px 40px;
  text-align: center;
  margin: var(--ds-space-16, 64px) auto;
  max-width: 1200px;
  box-sizing: border-box;
}

.ds-home-cta-banner-title {
  font-size: var(--ds-font-size-2xl, 32px);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--ds-space-3, 12px);
}

.ds-home-cta-banner-subtitle {
  font-size: var(--ds-font-size-md, 16px);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--ds-space-8, 32px);
}

.ds-home-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #fff;
  color: var(--ds-color-primary, #0F3B5E);
  font-weight: 700;
  font-size: var(--ds-font-size-md, 16px);
  border-radius: var(--ds-radius-full, 9999px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.ds-home-cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ds-home-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: var(--ds-font-size-md, 16px);
  border-radius: var(--ds-radius-full, 9999px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.ds-home-cta-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
 * 10. Responsive Refinements
 * ============================================================ */
@media (max-width: 768px) {
  .ds-home-section-title {
    font-size: 24px;
  }

  .ds-home-section-subtitle {
    font-size: 15px;
  }

  .ds-home-cta-banner {
    border-radius: var(--ds-radius-xl, 16px);
    padding: 40px 24px;
    margin: var(--ds-space-10, 40px) var(--ds-space-4, 16px);
  }

  .ds-home-cta-banner-title {
    font-size: 24px;
  }

  .ds-home-feature-card {
    padding: 24px 20px;
  }

  .ds-home-features-number {
    font-size: 36px;
    top: 8px;
    right: 12px;
  }

  .ds-home-cta-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}