/* Home page only — uses tokens from style.css */

.stats-band { border-top: 1px solid var(--line-dark); background: var(--navy-950); }

/* Dashboard illustration (Why Kellton) */
.dash {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: var(--on-dark);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.dash::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(80px);
  opacity: 0.22;
  z-index: -1;
}
.dash__head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  font-family: var(--font-head);
  font-weight: 600;
}
.dash__dots { display: inline-flex; gap: 6px; }
.dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-dark); }
.dash__dots i:first-child { background: var(--accent); }

.dash__rows { display: grid; gap: var(--space-4); margin-bottom: var(--space-6); }
.dash__row {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--step--1);
  color: var(--on-dark-muted);
}
.dash__track {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  overflow: hidden;
}
.dash__track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease-out) 0.3s;
}
.dash.is-visible .dash__track i,
html:not(.js) .dash__track i { transform: scaleX(var(--w)); }

.dash__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-dark);
}
.dash__bars i {
  flex: 1;
  height: 100%;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(to top, var(--accent-2), var(--accent));
  opacity: 0.85;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1s var(--ease-out);
}
.dash__bars i { transition-delay: calc(0.5s + var(--i, 0) * 60ms); }
.dash.is-visible .dash__bars i,
html:not(.js) .dash__bars i { transform: scaleY(var(--h)); }

/* Industries grid */
.industry-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .industry-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
.industry { padding: var(--space-5); min-height: 168px; }
@media (max-width: 639px) {
  .industry { padding: var(--space-4); min-height: 140px; gap: var(--space-2); }
  .industry h3 { font-size: 0.95rem; }
  .industry .card__icon { width: 44px; height: 44px; }
}
.industry h3 { font-size: 1.05rem; }
.industry--more {
  justify-content: space-between;
  background: var(--grad-soft);
  border-color: rgba(34, 211, 238, 0.35);
}

/* Platforms */
.platforms {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 960px) { .platforms { grid-template-columns: 0.8fr 1.2fr; } }
.platforms__title { font-size: var(--step-2); margin: 0; }

/* Services bento: featured AI tile + full-width SAP tile */
.bento { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .card--feature,
  .bento .card--wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento .card--feature { grid-column: span 2; grid-row: span 2; }
  .bento .card--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: var(--space-6);
  }
  .bento .card--wide .card__icon { grid-row: span 2; margin: 0; }
  .bento .card--wide .link-arrow { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; }
}
.card--feature {
  background: var(--navy-900);
  padding: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  justify-content: flex-end;
  min-height: 340px;
}
.card--feature h3 { font-size: var(--step-2); }
.card--feature p { max-width: 46ch; }
.feature-chips { margin-top: var(--space-3); }
.feature-chips .chip { padding: 0.4rem 0.85rem; font-size: 0.85rem; }
.feature-orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.feature-orbs i {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
}
.feature-orbs i:nth-child(1) { width: 420px; height: 420px; top: -180px; right: -140px; background: radial-gradient(circle, var(--accent-soft), transparent 70%); }
.feature-orbs i:nth-child(2) { width: 260px; height: 260px; top: -100px; right: -60px; animation: spin 30s linear infinite; border-style: dashed; border-color: rgba(34, 211, 238, 0.35); }
.feature-orbs i:nth-child(3) { width: 12px; height: 12px; top: 64px; right: 150px; background: var(--accent); border: 0; box-shadow: 0 0 24px var(--accent); animation: float 5s var(--ease-in-out) infinite; }
.card--feature .link-arrow { margin-top: var(--space-3); }
