/* =========================================================
   VanaaCred — home.css
   Styles unique to the Home page (index): hero, stats strip,
   benefits, feature grid, why-choose, testimonials.
   Loads after base.css (shared navbar/footer/cards/buttons/
   page-hero/cta-banner/faq system live there).
   ========================================================= */

/* =========================== Hero =========================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 132px;
  overflow: hidden;
  background: var(--white);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grad-mesh);
  z-index: 0;
}
.hero__aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__aurora span {
  position: absolute;
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: aurora-drift 22s ease-in-out infinite;
}
.hero__aurora span:nth-child(1) { top: -14%; left: -8%; background: var(--grad-aurora-1); animation-duration: 24s; }
.hero__aurora span:nth-child(2) { top: 8%; right: -12%; background: var(--grad-aurora-2); animation-duration: 19s; animation-delay: -6s; }
.hero__aurora span:nth-child(3) { bottom: -18%; left: 24%; background: var(--grad-aurora-3); animation-duration: 27s; animation-delay: -12s; }
@keyframes aurora-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4%, 6%) scale(1.08); }
  66% { transform: translate(-3%, -4%) scale(0.96); }
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero__copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  letter-spacing: -0.01em;
}
.hero__copy h1 .highlight { color: var(--orange-500); position: relative; display: inline-block; }
.hero__copy h1 .highlight::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px; height: 12px;
  background: linear-gradient(90deg, var(--orange-400), var(--orange-500));
  opacity: 0.22; border-radius: 6px; z-index: -1;
  animation: highlight-glow 3.2s ease-in-out infinite;
}
@keyframes highlight-glow { 0%, 100% { opacity: 0.16; } 50% { opacity: 0.34; } }
.hero__copy p.lead { margin-top: 22px; font-size: 1.15rem; color: var(--ink-500); line-height: 1.7; max-width: 540px; }
.hero__actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero__trust { display: flex; align-items: center; gap: 18px; margin-top: 44px; margin-bottom: 8px; flex-wrap: wrap; }
.hero__trust .trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--ink-500); }
.hero__trust .trust-item svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }

.hero__visual { position: relative; }
.hero__art {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--grad-primary);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero__art .glass-panel {
  background: rgba(255,255,255,0.94);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}
.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  animation: float 5.5s ease-in-out infinite;
}
.floating-card--a { top: -22px; left: -26px; animation-delay: 0s; }
.floating-card--b { bottom: -20px; right: -22px; animation-delay: 1.2s; }
.floating-card .icon-tile { margin: 0; width: 40px; height: 40px; }
.floating-card .icon-tile svg { width: 20px; height: 20px; }
.floating-card strong { display: block; font-size: 0.95rem; color: var(--blue-900); }
.floating-card small { color: var(--ink-500); font-size: 0.78rem; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Mock dashboard UI inside hero */
.mockui__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
/* Was inline style="font-family:var(--font-head);color:var(--blue-900);font-size:0.98rem;" */
.mockui__title { font-family: var(--font-head); color: var(--blue-900); font-size: 0.98rem; }
.mockui__bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; margin: 18px 0; }
.mockui__bars span { flex: 1; border-radius: 6px 6px 0 0; background: var(--blue-100); }
.mockui__bars span:nth-child(odd) { background: var(--orange-100); }
/* Mock bar-chart heights — previously inline style="height:NN%" per bar */
.mockui__bars span:nth-child(1) { height: 40%; }
.mockui__bars span:nth-child(2) { height: 65%; }
.mockui__bars span:nth-child(3) { height: 50%; }
.mockui__bars span:nth-child(4) { height: 85%; }
.mockui__bars span:nth-child(5) { height: 60%; }
.mockui__bars span:nth-child(6) { height: 92%; }
.mockui__bars span:nth-child(7) { height: 70%; }
.mockui__progress { height: 8px; border-radius: 6px; background: var(--ink-100); overflow: hidden; margin: 6px 0 14px; }
.mockui__progress span { display: block; height: 100%; background: var(--grad-cta); border-radius: 6px; }
/* Mock progress fill width — previously inline style="width:82%" */
.mockui__progress-fill { width: 82%; }
.mockui__list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.85rem; color: var(--ink-700); border-bottom: 1px dashed var(--ink-100); }
.mockui__list li:last-child { border-bottom: none; }
.mockui__badge { width: 22px; height: 22px; border-radius: 50%; background: var(--success); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mockui__badge svg { width: 12px; height: 12px; color: white; }

/* =========================== Stats =========================== */
.stats-strip {
  background: var(--grad-dark);
  border-radius: var(--r-xl);
  padding: 52px 40px;
  margin-top: -88px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}
.stats-strip .grid-4 { gap: 16px; }
.stat { text-align: center; padding: 12px; border-right: 1px solid rgba(255,255,255,0.12); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-head); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; color: var(--white); display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.stat .num .suffix { color: var(--orange-400); }
.stat .label { margin-top: 8px; font-size: 0.92rem; color: rgba(255,255,255,0.72); font-weight: 500; }
.section-after-stats { padding-top: 150px; }

/* =========================== Key benefits (intro text) =========================== */
/* Was inline style="color:var(--ink-500);font-size:1.05rem;line-height:1.7;" */
.benefits-intro-text { color: var(--ink-500); font-size: 1.05rem; line-height: 1.7; }

/* =========================== Feature grids =========================== */
.benefit-row { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--ink-100); }
.benefit-row:last-child { border-bottom: none; }
.benefit-row .icon-tile { margin-bottom: 0; flex-shrink: 0; }
.benefit-row h4 { font-size: 1.05rem; margin-bottom: 6px; }
.benefit-row p { color: var(--ink-500); font-size: 0.95rem; line-height: 1.6; }

.badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 700;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--orange-100); color: var(--orange-700);
}

/* =========================== Why choose =========================== */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-item .num { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--orange-500); width: 44px; flex-shrink: 0; }
.why-item h4 { font-size: 1.08rem; margin-bottom: 6px; }
.why-item p { color: var(--ink-500); font-size: 0.96rem; line-height: 1.6; }

.compliance-panel {
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-lg);
  padding: 36px;
}
/* Was inline style="color:var(--ink-500);line-height:1.65;" */
.compliance-panel__text { color: var(--ink-500); line-height: 1.65; }
.compliance-panel .chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  font-size: 0.85rem; font-weight: 700; color: var(--blue-800);
}
.chip svg { width: 16px; height: 16px; color: var(--blue-600); }

/* =========================== Testimonials =========================== */
.testimonial-card { display: flex; flex-direction: column; gap: 20px; }
.testimonial-card .stars { display: flex; gap: 4px; color: var(--orange-500); }
.testimonial-card .stars svg { width: 16px; height: 16px; }
.testimonial-card blockquote { font-size: 1.02rem; line-height: 1.7; color: var(--ink-700); font-style: normal; margin: 0; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-family: var(--font-head);
  flex-shrink: 0;
}
.testimonial-person strong { display: block; font-size: 0.95rem; color: var(--blue-900); }
.testimonial-person span { font-size: 0.82rem; color: var(--ink-500); }

/* =========================== Responsive =========================== */
@media (max-width: 1080px) {
  .stats-strip .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 20px; }
  .stat:nth-child(2n) { border-right: none; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; margin: 0 auto; }
  .stats-strip { margin-top: -56px; }
  .section-after-stats { padding-top: 120px; }
}

@media (max-width: 680px) {
  .stats-strip .grid-4 { grid-template-columns: 1fr 1fr; }
  .why-item { flex-direction: column; }
  .stats-strip { margin-top: -40px; padding: 40px 24px; }
  .section-after-stats { padding-top: 108px; }
  .hero { padding-bottom: 96px; }
  .hero__aurora span { width: 70vw; height: 70vw; }
}
