/* why-arth.css - Why Arth Data Solutions */

#why-arth {
  background-color: #F8FAFC;
  padding: 96px 16px;
  overflow: hidden;
  position: relative;
}

/* Dot grid background */
#why-arth::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #2563EB 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.06;
  pointer-events: none;
}

/* Header */
.why-arth-header {
  position: relative;
  z-index: 10;
  max-width: 768px;
  margin: 0 auto 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-arth-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-600);
  margin-bottom: 8px;
}

.why-arth-label-line {
  width: 40px;
  height: 2px;
  border-radius: 9999px;
  background-color: var(--blue-600);
  margin-bottom: 16px;
}

.why-arth-heading {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #07133D;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .why-arth-heading {
    font-size: 48px;
  }
}

.why-arth-heading .accent {
  font-style: italic;
  color: var(--blue-600);
}

.why-arth-desc {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-500);
}

@media (min-width: 768px) {
  .why-arth-desc {
    font-size: 18px;
  }
}

/* DESKTOP CARD DECK */
.why-arth-desktop {
  display: none;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .why-arth-desktop {
    display: block;
  }
}

.why-arth-deck-container {
  position: relative;
  height: 480px;
  perspective: 1400px;
}

/* Individual card in deck */
.why-card {
  position: absolute;
  width: 220px;
  height: 390px;
  border-radius: 24px;
  border: 1px solid;
  padding: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  left: 50%;
  bottom: 40px;
  transform-origin: bottom center;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.9s ,
              box-shadow 0.9s ease;
}

.why-card.highlighted {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  ring: 1px solid rgba(0, 0, 0, 0.05);
}

/* Decorative number */
.why-card-num {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
}

/* Card icon */
.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, var(--icon-from), var(--icon-to));
  flex-shrink: 0;
}

/* Card title */
.why-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #07133D;
  margin-bottom: 8px;
}

/* Card divider */
.why-card-divider {
  height: 2px;
  width: 24px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

/* Card description */
.why-card-desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--slate-500);
}

/* Card color themes */
.why-card.card-blue {
  background: linear-gradient(135deg, #EFF6FF, rgba(219, 234, 254, 0.6));
  border-color: #BFDBFE;
}
.why-card.card-blue .why-card-num { color: #BFDBFE; }
.why-card.card-blue .why-card-divider { background-color: #3B82F6; }
.why-card.card-blue .why-card-icon { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }

.why-card.card-orange {
  background: linear-gradient(135deg, #FFF7ED, rgba(254, 215, 170, 0.6));
  border-color: #FED7AA;
}
.why-card.card-orange .why-card-num { color: #FED7AA; }
.why-card.card-orange .why-card-divider { background-color: #FB923C; }
.why-card.card-orange .why-card-icon { background: linear-gradient(135deg, #FB923C, #F97316); }

.why-card.card-teal {
  background: linear-gradient(135deg, #F0FDFA, rgba(153, 246, 228, 0.6));
  border-color: #99F6E4;
}
.why-card.card-teal .why-card-num { color: #99F6E4; }
.why-card.card-teal .why-card-divider { background-color: #2DD4BF; }
.why-card.card-teal .why-card-icon { background: linear-gradient(135deg, #2DD4BF, #14B8A6); }

.why-card.card-purple {
  background: linear-gradient(135deg, #F5F3FF, rgba(196, 181, 253, 0.6));
  border-color: #DDD6FE;
}
.why-card.card-purple .why-card-num { color: #DDD6FE; }
.why-card.card-purple .why-card-divider { background-color: #A78BFA; }
.why-card.card-purple .why-card-icon { background: linear-gradient(135deg, #A78BFA, #7C3AED); }

.why-card.card-sky {
  background: linear-gradient(135deg, #F0F9FF, rgba(186, 230, 253, 0.6));
  border-color: #BAE6FD;
}
.why-card.card-sky .why-card-num { color: #BAE6FD; }
.why-card.card-sky .why-card-divider { background-color: #38BDF8; }
.why-card.card-sky .why-card-icon { background: linear-gradient(135deg, #38BDF8, #0EA5E9); }

.why-card.card-green {
  background: linear-gradient(135deg, #F0FDF4, rgba(187, 247, 208, 0.6));
  border-color: #BBF7D0;
}
.why-card.card-green .why-card-num { color: #BBF7D0; }
.why-card.card-green .why-card-divider { background-color: #4ADE80; }
.why-card.card-green .why-card-icon { background: linear-gradient(135deg, #4ADE80, #16A34A); }

/* Dot indicators */
.why-arth-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.why-dot-btn {
  border: none;
  background: var(--slate-300);
  border-radius: 9999px;
  width: 8px;
  height: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.why-dot-btn:hover {
  background: var(--slate-400);
}

.why-dot-btn.active {
  width: 24px;
  height: 8px;
  background: var(--blue-600);
}

/* MOBILE GRID */
.why-arth-mobile {
  position: relative;
  z-index: 10;
  max-width: 448px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .why-arth-mobile {
    max-width: 576px;
  }
}

@media (min-width: 768px) {
  .why-arth-mobile {
    max-width: 896px;
  }
}

@media (min-width: 1024px) {
  .why-arth-mobile {
    display: none;
  }
}

.why-arth-mobile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .why-arth-mobile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile card */
.why-card-mobile {
  border-radius: 24px;
  border: 1px solid;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  min-height: 300px;
  position: relative;
}

.why-card-mobile .why-card-num {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
}

/* Mobile color themes */
.why-card-mobile.card-blue {
  background: linear-gradient(135deg, #EFF6FF, rgba(219, 234, 254, 0.6));
  border-color: #BFDBFE;
}
.why-card-mobile.card-blue .why-card-num { color: #BFDBFE; }
.why-card-mobile.card-blue .why-card-divider { background-color: #3B82F6; }
.why-card-mobile.card-blue .why-card-icon { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }

.why-card-mobile.card-orange {
  background: linear-gradient(135deg, #FFF7ED, rgba(254, 215, 170, 0.6));
  border-color: #FED7AA;
}
.why-card-mobile.card-orange .why-card-num { color: #FED7AA; }
.why-card-mobile.card-orange .why-card-divider { background-color: #FB923C; }
.why-card-mobile.card-orange .why-card-icon { background: linear-gradient(135deg, #FB923C, #F97316); }

.why-card-mobile.card-teal {
  background: linear-gradient(135deg, #F0FDFA, rgba(153, 246, 228, 0.6));
  border-color: #99F6E4;
}
.why-card-mobile.card-teal .why-card-num { color: #99F6E4; }
.why-card-mobile.card-teal .why-card-divider { background-color: #2DD4BF; }
.why-card-mobile.card-teal .why-card-icon { background: linear-gradient(135deg, #2DD4BF, #14B8A6); }

.why-card-mobile.card-purple {
  background: linear-gradient(135deg, #F5F3FF, rgba(196, 181, 253, 0.6));
  border-color: #DDD6FE;
}
.why-card-mobile.card-purple .why-card-num { color: #DDD6FE; }
.why-card-mobile.card-purple .why-card-divider { background-color: #A78BFA; }
.why-card-mobile.card-purple .why-card-icon { background: linear-gradient(135deg, #A78BFA, #7C3AED); }

.why-card-mobile.card-sky {
  background: linear-gradient(135deg, #F0F9FF, rgba(186, 230, 253, 0.6));
  border-color: #BAE6FD;
}
.why-card-mobile.card-sky .why-card-num { color: #BAE6FD; }
.why-card-mobile.card-sky .why-card-divider { background-color: #38BDF8; }
.why-card-mobile.card-sky .why-card-icon { background: linear-gradient(135deg, #38BDF8, #0EA5E9); }

.why-card-mobile.card-green {
  background: linear-gradient(135deg, #F0FDF4, rgba(187, 247, 208, 0.6));
  border-color: #BBF7D0;
}
.why-card-mobile.card-green .why-card-num { color: #BBF7D0; }
.why-card-mobile.card-green .why-card-divider { background-color: #4ADE80; }
.why-card-mobile.card-green .why-card-icon { background: linear-gradient(135deg, #4ADE80, #16A34A); }



