/* Homepage — trust, stats, steps, testimonials, sticky CTA, scroll reveal */

.section-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .section-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero-copy .hero-trust {
  justify-content: flex-start;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 93, 255, 0.15);
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 65, 196, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-trust li:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 65, 196, 0.1);
}

.hero-trust-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
}

.hero-trust-icon--devices {
  background: linear-gradient(145deg, #dbeafe 0%, #93c5fd 100%);
  box-shadow: 0 4px 12px rgba(0, 93, 255, 0.18);
}

.hero-trust-icon--wallet {
  background: linear-gradient(145deg, #d1fae5 0%, #6ee7b7 100%);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.16);
}

.hero-trust-icon--shop {
  background: linear-gradient(145deg, #fef3c7 0%, var(--yellow) 100%);
  box-shadow: 0 4px 12px rgba(255, 195, 23, 0.28);
}

.hero-trust li:focus-within {
  outline: 2px solid rgba(0, 93, 255, 0.35);
  outline-offset: 2px;
}

.home-stats {
  padding: 28px 0;
  background: linear-gradient(90deg, rgba(0, 93, 255, 0.06) 0%, rgba(255, 195, 23, 0.12) 50%, rgba(0, 93, 255, 0.06) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.home-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-stat {
  position: relative;
  text-align: center;
  padding: 18px 12px 16px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 65, 196, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.home-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--yellow) 100%);
  opacity: 0.85;
}

.home-stat:nth-child(1)::before {
  background: linear-gradient(90deg, #005dff 0%, #93c5fd 100%);
}

.home-stat:nth-child(2)::before {
  background: linear-gradient(90deg, #7c3aed 0%, #c4b5fd 100%);
}

.home-stat:nth-child(3)::before {
  background: linear-gradient(90deg, #ea580c 0%, #fdba74 100%);
}

.home-stat:nth-child(4)::before {
  background: linear-gradient(90deg, var(--yellow) 0%, #fde68a 100%);
}

.home-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 65, 196, 0.1);
}

.home-stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
}

.home-stat-icon--categories {
  background: linear-gradient(145deg, #dbeafe 0%, #93c5fd 100%);
  box-shadow: 0 8px 20px rgba(0, 93, 255, 0.2);
}

.home-stat-icon--services {
  background: linear-gradient(145deg, #ede9fe 0%, #c4b5fd 100%);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.18);
}

.home-stat-icon--centers {
  background: linear-gradient(145deg, #ffedd5 0%, #fdba74 100%);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.16);
}

.home-stat-icon--app {
  background: linear-gradient(145deg, #fef3c7 0%, var(--yellow) 100%);
  box-shadow: 0 8px 20px rgba(255, 195, 23, 0.32);
}

.home-stat-value {
  display: block;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1.15;
  margin-bottom: 6px;
}

.home-stat-value--text {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-stat-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--muted);
}

.home-steps {
  padding: 56px 0;
  background: var(--white);
}

.home-steps-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.home-steps-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0e7490;
  background: rgba(8, 145, 178, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.home-steps-eyebrow::before {
  content: "⚡";
  font-size: 13px;
  line-height: 1;
}

.home-steps-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.home-steps-head p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.home-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 1025px) {
  .home-step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 52px;
    right: -20px;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 93, 255, 0.45) 0%, rgba(255, 195, 23, 0.5) 100%);
    border-radius: 2px;
    z-index: 2;
    pointer-events: none;
  }

  .home-step-card:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 49px;
    right: -23px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 2px var(--white), 0 2px 8px rgba(0, 93, 255, 0.25);
    z-index: 3;
    pointer-events: none;
  }
}

.home-step-card {
  position: relative;
  padding: 28px 22px 24px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(0, 93, 255, 0.07) 0, transparent 42px),
    linear-gradient(180deg, #f8fafc 0%, var(--white) 100%);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: 0 8px 28px rgba(0, 65, 196, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 65, 196, 0.1);
  border-color: rgba(0, 93, 255, 0.22);
}

.home-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.home-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
}

.home-step-icon--get {
  background: linear-gradient(145deg, #dbeafe 0%, #93c5fd 100%);
  box-shadow: 0 8px 20px rgba(0, 93, 255, 0.2);
}

.home-step-icon--book {
  background: linear-gradient(145deg, #fef3c7 0%, var(--yellow) 100%);
  box-shadow: 0 8px 20px rgba(255, 195, 23, 0.3);
}

.home-step-icon--track {
  background: linear-gradient(145deg, #cffafe 0%, #67e8f9 100%);
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.2);
}

.home-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 93, 255, 0.28);
}

.home-step-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin: 0 0 8px;
}

.home-step-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.home-testimonials {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
}

.home-testimonials-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 0% 50%, rgba(255, 195, 23, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 30%, rgba(0, 93, 255, 0.1) 0%, transparent 52%),
    linear-gradient(180deg, #fff 0%, #f5f7fc 100%);
  pointer-events: none;
}

.home-testimonials .container {
  position: relative;
  z-index: 1;
}

.home-testimonials-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.home-testimonials-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: rgba(255, 195, 23, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.home-testimonials-eyebrow::before {
  content: "💬";
  font-size: 13px;
  line-height: 1;
}

.home-testimonials-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.home-testimonials-head p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.home-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-quote-card {
  position: relative;
  margin: 0;
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(0, 65, 196, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.home-quote-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--yellow) 100%);
}

.home-quote-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 65, 196, 0.11);
}

.home-quote-stars {
  display: flex;
  gap: 2px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--yellow-dark, #d97706);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.home-quote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 12px;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
  background: linear-gradient(145deg, rgba(0, 93, 255, 0.12) 0%, rgba(255, 195, 23, 0.35) 100%);
  box-shadow: 0 6px 18px rgba(0, 93, 255, 0.12);
}

.home-quote-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 16px;
}

.home-quote-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dark);
}

.home-quote-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 65, 196, 0.18);
}

.home-quote-avatar--customer {
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
}

.home-quote-avatar--seller {
  background: linear-gradient(145deg, #ea580c 0%, #c2410c 100%);
}

.home-quote-avatar--rider {
  background: linear-gradient(145deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  color: var(--blue-dark);
}

.home-quote-meta {
  display: block;
  min-width: 0;
}

.home-quote-role {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.features-showcase-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0e7490;
  background: rgba(8, 145, 178, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.features-showcase-eyebrow::before {
  content: "✨";
  font-size: 13px;
  line-height: 1;
}

/* App features — 4×2 balanced grid */
.features-showcase .feature-grid--balanced {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin-inline: auto;
  padding: 0;
  list-style: none;
}

.features-showcase .feature-grid--balanced > li {
  display: flex;
  min-height: 100%;
}

.features-showcase .feature-grid--balanced .feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  min-height: 100%;
  padding: 26px 20px 24px;
  border-radius: 20px;
}

.features-showcase .feature-grid--balanced .feature-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  flex-shrink: 0;
}

.features-showcase .feature-grid--balanced .feature-card-icon img {
  width: 44px;
  height: 44px;
}

.features-showcase .feature-grid--balanced .feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.features-showcase .feature-grid--balanced .feature-card p {
  flex: 1;
  max-width: 18rem;
  margin: 0 auto;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .features-showcase .feature-grid--balanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(100%, 680px);
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .features-showcase .feature-grid--balanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(100%, 420px);
    gap: 12px;
  }

  .features-showcase .feature-grid--balanced .feature-card {
    padding: 20px 14px 18px;
  }

  .features-showcase .feature-grid--balanced .feature-card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }

  .features-showcase .feature-grid--balanced .feature-card-icon img,
  .features-showcase .feature-grid--balanced .feature-card-icon svg {
    width: 36px;
    height: 36px;
  }

  .features-showcase .feature-grid--balanced .feature-card h3 {
    font-size: 0.95rem;
  }

  .features-showcase .feature-grid--balanced .feature-card p {
    max-width: none;
    font-size: 12px;
    line-height: 1.45;
  }
}

.supplement-product-shop-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin-top: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--blue-dark);
  background: rgba(0, 93, 255, 0.08);
  border: 1px solid rgba(0, 93, 255, 0.14);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.supplement-product-shop-hint::before {
  content: "🛒";
  font-size: 12px;
  line-height: 1;
}

.supplement-product-card:hover .supplement-product-shop-hint,
.supplement-product-card:focus-visible .supplement-product-shop-hint {
  opacity: 1;
  transform: none;
}

.mobile-sticky-cta {
  display: none;
  visibility: hidden;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--blue) 0%, var(--yellow) 100%) 1;
  box-shadow: 0 -8px 32px rgba(0, 65, 196, 0.12);
  gap: 10px;
  transform: translateY(110%);
  transition: transform 0.28s ease;
}

.mobile-sticky-cta.is-shown {
  transform: translateY(0);
  visibility: visible;
}

.mobile-sticky-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 65, 196, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-sticky-cta a:active {
  transform: scale(0.98);
}

.mobile-sticky-cta-icon {
  font-size: 15px;
  line-height: 1;
}

@media (max-width: 1024px) {
  .hero-copy .hero-trust {
    justify-content: center;
  }

  .hero-trust li {
    justify-content: center;
  }

  .home-stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(100%, 640px);
    margin-inline: auto;
  }

  .home-quote-card {
    text-align: center;
  }

  .home-quote-stars {
    justify-content: center;
  }

  .home-quote-icon {
    margin-inline: auto;
  }

  .home-quote-card footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .home-steps-grid,
  .home-testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .mobile-sticky-cta {
    display: flex;
    visibility: hidden;
  }

  .mobile-sticky-cta.is-shown {
    visibility: visible;
  }

  /* Reserve space for fixed bar on main only (not below footer) */
  body.home-has-sticky-cta.mobile-sticky-active main {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  .hero-trust {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-trust li {
    width: min(100%, 340px);
    justify-content: center;
    text-align: center;
  }

  .home-stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: min(100%, 400px);
  }

  .home-stat {
    padding: 12px 8px;
  }

  .home-stat-icon {
    margin-inline: auto;
  }

  .home-stat-label {
    font-size: 12px;
  }

  .home-step-badge {
    justify-content: center;
    width: 100%;
  }

  .supplement-product-shop-hint {
    margin-inline: auto;
  }
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: var(--header-h);
  left: 0;
  height: 3px;
  width: 0;
  z-index: 101;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--blue) 100%);
  box-shadow: 0 0 12px rgba(0, 93, 255, 0.35);
  pointer-events: none;
}

/* Hero ambient mesh */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 85%;
  background:
    radial-gradient(ellipse 55% 45% at 20% 30%, rgba(0, 93, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 75% 20%, rgba(255, 195, 23, 0.22), transparent 50%),
    radial-gradient(ellipse 40% 35% at 50% 80%, rgba(0, 93, 255, 0.1), transparent 55%);
  filter: blur(2px);
  animation: hero-mesh-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

@keyframes hero-mesh-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(3%, -2%) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mesh {
    animation: none;
  }
}

/* Hero banner — floating service icons */
.hero-photo-stage {
  position: relative;
  padding: 28px 20px 36px;
}

.hero-photo-stage .hero-photo-wrap {
  position: relative;
  z-index: 2;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.hero-orbit-glow {
  position: absolute;
  inset: 12% 8% 10%;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 55% at 30% 40%, rgba(0, 93, 255, 0.22), transparent 62%),
    radial-gradient(ellipse 55% 50% at 78% 55%, rgba(255, 195, 23, 0.28), transparent 58%);
  filter: blur(18px);
  opacity: 0.85;
  animation: hero-orbit-glow-pulse 6s ease-in-out infinite alternate;
}

.hero-orbit-ring {
  position: absolute;
  inset: 6% 4% 4%;
  border-radius: 24px;
  border: 1px solid rgba(0, 93, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45) inset,
    0 20px 48px rgba(0, 65, 196, 0.12);
  animation: hero-orbit-ring-breathe 5s ease-in-out infinite;
}

.hero-orbit-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 68px;
  padding: 8px 10px 10px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 252, 245, 0.88) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 10px 28px rgba(0, 93, 255, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.85),
    0 0 0 1px rgba(0, 93, 255, 0.08);
  transform-origin: center center;
  will-change: transform;
}

.hero-orbit-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(0, 93, 255, 0.08) 0%, rgba(255, 195, 23, 0.14) 100%);
  box-shadow: 0 4px 12px rgba(0, 93, 255, 0.12);
}

.hero-orbit-chip-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.hero-orbit-chip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue-dark, #003db8);
  line-height: 1.2;
  text-align: center;
}

.hero-orbit-chip--food {
  top: 2%;
  left: -2%;
  animation: hero-chip-dance-a 4.2s ease-in-out infinite;
}

.hero-orbit-chip--grocery {
  top: 14%;
  right: -4%;
  animation: hero-chip-dance-b 3.8s ease-in-out infinite 0.35s;
}

.hero-orbit-chip--taxi {
  top: 46%;
  right: -6%;
  animation: hero-chip-dance-c 4.6s ease-in-out infinite 0.7s;
}

.hero-orbit-chip--parcel {
  bottom: 18%;
  left: -5%;
  animation: hero-chip-dance-d 4s ease-in-out infinite 1.1s;
}

.hero-orbit-chip--shop {
  bottom: 4%;
  right: 2%;
  animation: hero-chip-dance-e 3.6s ease-in-out infinite 0.55s;
}

@keyframes hero-orbit-glow-pulse {
  0% {
    opacity: 0.65;
    transform: scale(0.98);
  }
  100% {
    opacity: 0.95;
    transform: scale(1.03);
  }
}

@keyframes hero-orbit-ring-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.015);
    opacity: 1;
  }
}

@keyframes hero-chip-dance-a {
  0%,
  100% {
    transform: translate(0, 0) rotate(-2deg) scale(1);
  }
  25% {
    transform: translate(6px, -10px) rotate(3deg) scale(1.04);
  }
  50% {
    transform: translate(-4px, -6px) rotate(-1deg) scale(1.02);
  }
  75% {
    transform: translate(8px, 4px) rotate(2deg) scale(1.05);
  }
}

@keyframes hero-chip-dance-b {
  0%,
  100% {
    transform: translate(0, 0) rotate(2deg) scale(1);
  }
  33% {
    transform: translate(-8px, 8px) rotate(-3deg) scale(1.06);
  }
  66% {
    transform: translate(5px, -12px) rotate(4deg) scale(1.03);
  }
}

@keyframes hero-chip-dance-c {
  0%,
  100% {
    transform: translate(0, 0) rotate(-1deg) scale(1);
  }
  20% {
    transform: translate(-10px, -6px) rotate(3deg) scale(1.05);
  }
  55% {
    transform: translate(6px, 10px) rotate(-4deg) scale(1.02);
  }
  80% {
    transform: translate(-4px, -8px) rotate(2deg) scale(1.06);
  }
}

@keyframes hero-chip-dance-d {
  0%,
  100% {
    transform: translate(0, 0) rotate(1deg) scale(1);
  }
  40% {
    transform: translate(10px, -8px) rotate(-3deg) scale(1.04);
  }
  70% {
    transform: translate(-6px, 6px) rotate(4deg) scale(1.07);
  }
}

@keyframes hero-chip-dance-e {
  0%,
  100% {
    transform: translate(0, 0) rotate(-2deg) scale(1);
  }
  30% {
    transform: translate(-7px, -10px) rotate(3deg) scale(1.05);
  }
  60% {
    transform: translate(9px, 5px) rotate(-2deg) scale(1.03);
  }
}

@media (max-width: 900px) {
  .hero-photo-stage {
    padding: 20px 12px 28px;
  }

  .hero-orbit-chip {
    min-width: 58px;
    padding: 6px 8px 8px;
    border-radius: 14px;
  }

  .hero-orbit-chip-icon {
    width: 38px;
    height: 38px;
  }

  .hero-orbit-chip-icon img {
    width: 30px;
    height: 30px;
  }

  .hero-orbit-chip-label {
    font-size: 10px;
  }

  .hero-orbit-chip--food {
    left: 0;
    top: 0;
  }

  .hero-orbit-chip--grocery {
    right: -1%;
    top: 10%;
  }

  .hero-orbit-chip--taxi {
    right: 0;
  }

  .hero-orbit-chip--parcel {
    left: 0;
    bottom: 14%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit-glow,
  .hero-orbit-ring,
  .hero-orbit-chip {
    animation: none !important;
  }
}

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-platform-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-platform-btn--stores {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 93, 255, 0.28);
}

.hero-platform-btn--stores:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 93, 255, 0.35);
}

.hero-platform-btn--web {
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue-dark);
  border: 1px solid rgba(0, 93, 255, 0.2);
}

.hero-platform-btn--web:hover {
  background: var(--white);
  transform: translateY(-2px);
}

/* Why Richlance */
.home-why {
  padding: 56px 0;
  background: var(--white);
}

.home-why-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  padding-inline: 4px;
}

.home-why-head h2,
.home-why-head p {
  margin-inline: auto;
  text-align: center;
}

.home-why-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.home-why-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.home-why-head p {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
}

.home-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1120px;
  justify-items: stretch;
}

.home-why-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--white) 0%, rgba(0, 93, 255, 0.03) 100%);
  box-shadow: 0 8px 28px rgba(0, 65, 196, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 65, 196, 0.1);
}

.home-why-icon {
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.95) 0%, rgba(255, 251, 235, 0.9) 100%);
  border: 1px solid rgba(0, 93, 255, 0.1);
  box-shadow: 0 6px 18px rgba(0, 65, 196, 0.08);
}

.home-why-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--blue-dark);
  width: 100%;
  text-align: center;
}

.home-why-card p {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: 16rem;
  text-align: center;
}

/* Ecosystem — balanced four-card grid */
.home-ecosystem {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
}

.home-ecosystem-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(255, 195, 23, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 45% at 0% 100%, rgba(0, 93, 255, 0.1), transparent 50%),
    linear-gradient(180deg, rgba(0, 93, 255, 0.04) 0%, var(--white) 100%);
  pointer-events: none;
}

.home-ecosystem .container {
  position: relative;
  z-index: 1;
}

.home-ecosystem-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}

.home-ecosystem-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0e7490;
  background: rgba(8, 145, 178, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.home-ecosystem-eyebrow::before {
  content: "◆";
  font-size: 8px;
  line-height: 1;
  opacity: 0.85;
}

.home-ecosystem-head h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: var(--blue-dark);
}

.home-ecosystem-head p {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

.home-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.home-ecosystem-grid > li {
  display: flex;
  min-height: 100%;
}

.eco-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  width: 100%;
  min-height: 100%;
  padding: 26px 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(0, 93, 255, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 32px rgba(0, 65, 196, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}

.eco-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  opacity: 1;
}

.eco-tile--app::before {
  background: linear-gradient(90deg, var(--blue), #60a5fa);
}

.eco-tile--web::before {
  background: linear-gradient(90deg, #0891b2, #22d3ee);
}

.eco-tile--shop::before {
  background: linear-gradient(90deg, #059669, #34d399);
}

.eco-tile--coin::before {
  background: linear-gradient(90deg, var(--yellow), #fde68a);
}

.eco-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 65, 196, 0.12);
  border-color: rgba(0, 93, 255, 0.25);
}

.eco-tile-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.eco-tile-icon svg {
  display: block;
}

.eco-tile--app .eco-tile-icon {
  color: var(--white);
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow: 0 10px 28px rgba(0, 93, 255, 0.32);
}

.eco-tile--web .eco-tile-icon {
  background: linear-gradient(145deg, #dbeafe 0%, #93c5fd 100%);
  box-shadow: 0 8px 22px rgba(0, 93, 255, 0.2);
}

.eco-tile--shop .eco-tile-icon {
  color: #047857;
  background: linear-gradient(145deg, #d1fae5 0%, #6ee7b7 100%);
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.18);
}

.eco-tile--coin .eco-tile-icon {
  color: #b45309;
  background: linear-gradient(145deg, #fef3c7 0%, var(--yellow) 100%);
  box-shadow: 0 8px 22px rgba(255, 195, 23, 0.3);
}

.eco-tile-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.eco-tile--shop .eco-tile-kicker {
  color: #047857;
}

.eco-tile--coin .eco-tile-kicker {
  color: #b45309;
}

.eco-tile-title {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-dark);
  margin-bottom: 8px;
  line-height: 1.25;
}

.eco-tile-desc {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 18px;
  flex: 1;
  max-width: 22rem;
}

.eco-tile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 93, 255, 0.07);
  border: 1px solid rgba(0, 93, 255, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.eco-tile:hover .eco-tile-link {
  background: rgba(0, 93, 255, 0.12);
  border-color: rgba(0, 93, 255, 0.22);
}

.eco-tile--shop .eco-tile-link {
  color: #047857;
  background: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.15);
}

.eco-tile--coin .eco-tile-link {
  color: #b45309;
  background: rgba(255, 195, 23, 0.2);
  border-color: rgba(255, 195, 23, 0.45);
}

/* Final CTA band */
.home-final-cta {
  position: relative;
  padding: 56px 0;
  overflow: hidden;
}

.home-final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, var(--blue-dark) 0%, var(--blue) 45%, #0e7490 100%);
  pointer-events: none;
}

.home-final-cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 90% 20%, rgba(255, 195, 23, 0.25), transparent 55%);
}

.home-final-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.home-final-cta-copy {
  flex: 1 1 280px;
  max-width: 560px;
  color: var(--white);
}

.home-final-cta-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}

.home-final-cta-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.home-final-cta-copy p {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.home-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1 1 260px;
  justify-content: flex-end;
}

/* Final CTA — mobile (must follow base rules above) */
@media (max-width: 1024px) {
  .home-final-cta {
    padding: 36px 0;
  }

  .home-final-cta-inner {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 16px;
  }

  .home-final-cta-copy {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .home-final-cta-actions {
    flex: none;
    width: 100%;
    max-width: 320px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
  }

  .home-final-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.btn--cta-lg {
  padding: 14px 22px;
  font-size: 15px;
}

.btn--ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
}

/* Stagger service tiles on reveal */
.services-showcase.is-visible .service-tile {
  animation: home-tile-in 0.5s ease backwards;
}

.services-showcase.is-visible .service-tile:nth-child(1) { animation-delay: 0.04s; }
.services-showcase.is-visible .service-tile:nth-child(2) { animation-delay: 0.08s; }
.services-showcase.is-visible .service-tile:nth-child(3) { animation-delay: 0.12s; }
.services-showcase.is-visible .service-tile:nth-child(4) { animation-delay: 0.16s; }
.services-showcase.is-visible .service-tile:nth-child(5) { animation-delay: 0.2s; }
.services-showcase.is-visible .service-tile:nth-child(6) { animation-delay: 0.24s; }

@keyframes home-tile-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-showcase.is-visible .service-tile {
    animation: none;
  }
}

@media (max-width: 1024px) {
  .home-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(100%, 680px);
    margin-inline: auto;
  }

  .home-ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: min(100%, 640px);
  }

  .hero-copy .hero-platforms {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .home-why-grid {
    grid-template-columns: 1fr;
    max-width: min(100%, 420px);
    margin-inline: auto;
  }

  .home-ecosystem-grid {
    grid-template-columns: 1fr;
    max-width: min(100%, 400px);
    gap: 14px;
  }

  .eco-tile {
    padding: 24px 20px 20px;
  }

  .eco-tile-desc {
    max-width: none;
  }

  .home-final-cta {
    padding: 28px 0;
  }

  .home-final-cta-inner {
    gap: 12px;
  }

  .home-final-cta-copy h2 {
    margin-bottom: 6px;
  }

  .home-final-cta-eyebrow {
    margin-bottom: 6px;
  }

  .hero-platform-btn {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .hero-copy .hero-platforms {
    flex-direction: column;
    align-items: center;
  }
}
