/* ==========================================================================
   Homepage-specific styles
   ========================================================================== */

/* ------------------------------- Hero ----------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  padding: clamp(60px, 9vw, 120px) 0 clamp(70px, 9vw, 120px);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(820px 440px at 88% 8%, rgba(79,157,46,0.30), transparent 60%),
    radial-gradient(720px 460px at 4% 96%, rgba(47,125,184,0.34), transparent 60%),
    linear-gradient(180deg, #112437, #0c1b2b);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.hero-content .eyebrow { color: var(--green-light); }
.hero-content h1 { color: #fff; margin-bottom: 22px; }
.hero-content .lead { color: #c0d0df; max-width: 56ch; margin-bottom: 30px; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.34); }
.hero .btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.06); }

.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: #aebfd0; }
.hero-trust svg { color: var(--green-light); }

/* Hero visual */
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.hero-panel {
  position: relative;
  width: 100%; max-width: 380px; aspect-ratio: 1;
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
}
.hero-logo { width: 46%; height: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,0.45)); }

/* Capability chips — a consistent wrapped cluster below the logo on ALL screens */
.hero-chips {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-top: 28px; max-width: 460px;
}
.hero-chip {
  display: flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
  padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  will-change: transform;
}
.hero-chip svg { width: 19px; height: 19px; color: var(--blue); flex: none; }
.hero-chip span { white-space: nowrap; }
.chip-1 svg { color: var(--green); }
.chip-2 svg { color: var(--blue); }
.chip-3 svg { color: var(--blue-deep); }
.chip-4 svg { color: var(--green-deep); }
.chip-5 svg { color: var(--green); }

/* ------------------------------ Stats ----------------------------------- */
.stats-band { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 48px 0;
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ink); line-height: 1;
}
.stat-value span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: 10px; color: var(--muted); font-size: 0.96rem; }

/* --------------------------- Capabilities ------------------------------- */
.capability-section { padding-top: 0; }
.capability-head { text-align: center; max-width: 700px; margin: 0 auto 36px; }
.capability-chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cap-chip {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; transition: var(--transition);
}
.cap-chip:hover { border-color: var(--blue-light); box-shadow: var(--shadow-sm); }
.cap-abbr {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--grad); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
}
.cap-name { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.cap-count { color: var(--muted); font-size: 0.85rem; }

/* ----------------------------- Process ---------------------------------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.process-step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
}
.process-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  color: var(--green); letter-spacing: 0.05em; margin-bottom: 12px;
}
.process-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: grid; place-items: center; background: var(--grad-soft);
  color: var(--blue-deep); margin-bottom: 16px;
}
.process-step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.process-step p { margin: 0; font-size: 0.96rem; }

/* --------------------------- Responsive --------------------------------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-panel { max-width: 340px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ---------------------- Hero page-load entrance ------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { opacity: 0; animation: biz-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-content .eyebrow   { animation-delay: 0.15s; }
  .hero-content h1         { animation-delay: 0.28s; }
  .hero-content .lead      { animation-delay: 0.44s; }
  .hero-content .hero-cta  { animation-delay: 0.58s; }
  .hero-content .hero-trust{ animation-delay: 0.72s; }

  .hero-visual { opacity: 0; animation: biz-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s both; }
  .hero-bg     { opacity: 0; animation: biz-fade 1.2s ease both; }

  /* Gentle, staggered bounce on the capability chips */
  .hero-chip { animation: biz-chip-bounce 2.6s ease-in-out infinite; }
  .chip-1 { animation-delay: 0s; }
  .chip-2 { animation-delay: 0.2s; }
  .chip-3 { animation-delay: 0.4s; }
  .chip-4 { animation-delay: 0.6s; }
  .chip-5 { animation-delay: 0.8s; }
}

@keyframes biz-chip-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
