/* =========================================================
   Linkstonic — Homepage grid + integrations orbit
   Generated by scripts/build-home-grid-css.mjs — do not edit by hand
   ========================================================= */

.home-int-stage-wrap.reveal {
  transform: none;
}
.home-int-stage-wrap.reveal.visible {
  transform: none;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ── Homepage: Integrations orbital section (reference-inspired: grid, dual orbit, navy accents) ── */
.home-int-section {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}
.home-int-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226, 232, 240, 0.65) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.65) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 75% 65% at 55% 38%, black 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 55% 38%, black 15%, transparent 72%);
}
.home-int-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(40%, 220px);
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 78%);
  z-index: 1;
}
.home-int-copy {
  position: relative;
  z-index: 2;
}
@media (min-width: 1024px) {
  .home-int-status-wrap {
    position: relative;
    padding-top: 8px;
  }
  .home-int-status-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: min(100%, 420px);
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(0, 39, 80, 0) 0%,
      rgba(0, 39, 80, 0.06) 35%,
      rgba(0, 39, 80, 0.08) 55%,
      rgba(0, 39, 80, 0) 100%
    );
    border-radius: 999px;
  }
}
.home-int-stage-wrap {
  position: relative;
  z-index: 2;
}
.home-int-stage {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  margin-left: auto;
  margin-right: auto;
  isolation: isolate;
  container-type: inline-size;
  container-name: home-int-stage;
}
@media (min-width: 1024px) {
  .home-int-stage {
    width: min(100%, 520px);
  }
}
.home-int-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92%;
  height: 92%;
  margin-left: -46%;
  margin-top: -46%;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}
.home-int-ring--inner {
  width: 58%;
  height: 58%;
  margin-left: -29%;
  margin-top: -29%;
  border-style: solid;
  border-color: rgba(226, 232, 240, 0.9);
  opacity: 0.85;
}
.home-int-orbit-spin {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  will-change: transform;
  animation: home-int-orbit-rotate 48s linear infinite;
}
.home-int-orbit-spin--rev {
  animation: home-int-orbit-rotate-rev 64s linear infinite;
}
@keyframes home-int-orbit-rotate {
  to { transform: rotate(360deg); }
}
@keyframes home-int-orbit-rotate-rev {
  to { transform: rotate(-360deg); }
}
.home-int-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--home-int-s, 52px);
  height: var(--home-int-s, 52px);
  margin: calc(-0.5 * var(--home-int-s, 52px)) 0 0 calc(-0.5 * var(--home-int-s, 52px));
  /* Fallback when container queries unavailable */
  --home-int-r: min(36vw, 154px);
  transform: rotate(var(--home-int-a, 0deg)) translateY(calc(-1 * var(--home-int-r)));
  transform-origin: center center;
}
.home-int-node--sm {
  --home-int-s: 46px;
}
.home-int-node--md {
  --home-int-s: 52px;
}
.home-int-node--lg {
  --home-int-s: 60px;
}
.home-int-orbit-spin--rev .home-int-node {
  --home-int-r: min(28vw, 108px);
}
/* Orbit radius = ring midline: outer ring 92%ø → 0.46×width; inner solid 58%ø → 0.29×width */
@supports (width: 1cqw) {
  .home-int-node {
    --home-int-r: calc(0.46 * 100cqw);
  }
  .home-int-orbit-spin--rev .home-int-node {
    --home-int-r: calc(0.29 * 100cqw);
  }
}
@supports not (width: 1cqw) {
  @media (min-width: 480px) {
    .home-int-node {
      --home-int-r: 162px;
    }
    .home-int-orbit-spin--rev .home-int-node {
      --home-int-r: 118px;
    }
  }
  @media (min-width: 1024px) {
    .home-int-node {
      --home-int-r: 176px;
    }
    .home-int-orbit-spin--rev .home-int-node {
      --home-int-r: 128px;
    }
  }
}
.home-int-node-face {
  width: var(--home-int-s, 52px);
  height: var(--home-int-s, 52px);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid rgba(226, 232, 240, 0.98);
  box-shadow:
    0 12px 32px rgba(15, 23, 42, 0.09),
    0 2px 8px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(calc(-1 * var(--home-int-a, 0deg)));
  animation: home-int-node-counter 48s linear infinite;
}
.home-int-node-face svg,
.home-int-brand-icon {
  width: 55%;
  height: 55%;
  max-width: 28px;
  max-height: 28px;
}
.home-int-brand-icon {
  object-fit: contain;
}
.home-int-node--lg .home-int-node-face svg,
.home-int-node--lg .home-int-brand-icon {
  max-width: 32px;
  max-height: 32px;
}
.home-int-orbit-spin--rev .home-int-node-face {
  animation: home-int-node-counter-rev 64s linear infinite;
}
@keyframes home-int-node-counter {
  to {
    transform: rotate(calc(-1 * var(--home-int-a, 0deg) - 360deg));
  }
}
@keyframes home-int-node-counter-rev {
  to {
    transform: rotate(calc(-1 * var(--home-int-a, 0deg) + 360deg));
  }
}
.home-int-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112px;
  height: 112px;
  margin: -56px 0 0 -56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 20px 48px rgba(15, 23, 42, 0.11),
    0 4px 14px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
@media (min-width: 1024px) {
  .home-int-hub {
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
  }
}
.home-int-hub-logo {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
  border-radius: 10px;
}
@media (min-width: 1024px) {
  .home-int-hub-logo {
    width: 48px;
    height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-int-orbit-spin,
  .home-int-orbit-spin--rev,
  .home-int-node-face,
  .home-int-orbit-spin--rev .home-int-node-face {
    animation: none !important;
  }
}

/* ── Homepage feature grid (2 top + 3 bottom) ── */
.home-fgrid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}
.home-fgrid-card {
  grid-column: span 12;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.home-fgrid-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.home-fgrid-visual {
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
  border-bottom: 1px solid #eef0f2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
  box-sizing: border-box;
}
.home-fgrid-body {
  padding: 1.5rem 1.75rem 1.75rem;
}
.home-fgrid-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.home-fgrid-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
}
@media (min-width: 768px) {
  .home-fgrid-card--5 { grid-column: span 5; }
  .home-fgrid-card--7 { grid-column: span 7; }
  .home-fgrid-card--4 { grid-column: span 4; }
}

/* Card 1 — integrations */
.home-fgrid-art--integrations {
  width: 100%;
  max-width: 320px;
}
.home-fgrid-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  position: relative;
}
.home-fgrid-pills::before {
  content: "";
  position: absolute;
  inset: 50% 10% auto;
  height: 1px;
  background: #e2e8f0;
  transform: translateY(-50%);
  z-index: 0;
}
.home-fgrid-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  white-space: nowrap;
}
.home-fgrid-pill img {
  width: 0.75rem;
  height: 0.75rem;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.home-fgrid-pill--connect {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}
.home-fgrid-chat {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
.home-fgrid-chat p {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  line-height: 1.5;
  color: #64748b;
}
.home-fgrid-avatars {
  display: flex;
  gap: 0.35rem;
}
.home-fgrid-avatar {
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  flex-shrink: 0;
}
.home-fgrid-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Card 2 — dashboard */
.home-fgrid-art--dashboard {
  width: 100%;
  max-width: 420px;
}
.home-fgrid-dash {
  width: 100%;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 0.875rem;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}
.home-fgrid-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #334155;
}
.home-fgrid-dash-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #22c55e;
}
.home-fgrid-dash-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}
.home-fgrid-dash-metric {
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.home-fgrid-dash-metric span {
  font-size: 0.6rem;
  color: #94a3b8;
}
.home-fgrid-dash-metric strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
}
.home-fgrid-dash-metric em {
  font-style: normal;
  font-size: 0.6rem;
  color: #16a34a;
  font-weight: 600;
}
.home-fgrid-dash-chart {
  flex: 1;
  min-height: 3.5rem;
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, transparent 60%, rgba(22, 163, 74, 0.08) 100%),
    repeating-linear-gradient(90deg, #f1f5f9 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, #f1f5f9 0 1px, transparent 1px 16px);
  position: relative;
  overflow: hidden;
}
.home-fgrid-dash-chart::after {
  content: "";
  position: absolute;
  inset: 20% 8% 18% 8%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 45 L40 38 L80 42 L120 22 L160 28 L200 12' fill='none' stroke='%2316a34a' stroke-width='2.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.home-fgrid-dash-bars {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.home-fgrid-bar {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  color: #64748b;
}
.home-fgrid-bar i {
  display: block;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
}
.home-fgrid-bar b {
  font-size: 0.6rem;
  color: #334155;
}

/* Card 3 — collaboration hub */
.home-fgrid-art--collab {
  width: 100%;
  max-width: 180px;
  height: 170px;
}
.home-fgrid-hub {
  position: relative;
  width: 100%;
  height: 100%;
}
.home-fgrid-hub-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(22, 163, 74, 0.15);
  transform: translate(-50%, -50%);
}
.home-fgrid-hub-ring--1 { width: 55%; height: 55%; }
.home-fgrid-hub-ring--2 { width: 85%; height: 85%; }
.home-fgrid-hub-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
}
.home-fgrid-hub-node {
  position: absolute;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.home-fgrid-hub-node::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bbf7d0, #4ade80);
}
.home-fgrid-hub-node--1 { top: 8%; left: 50%; transform: translateX(-50%); }
.home-fgrid-hub-node--2 { top: 25%; right: 8%; }
.home-fgrid-hub-node--3 { bottom: 25%; right: 8%; }
.home-fgrid-hub-node--4 { bottom: 8%; left: 50%; transform: translateX(-50%); }
.home-fgrid-hub-node--5 { bottom: 25%; left: 8%; }
.home-fgrid-hub-node--6 { top: 25%; left: 8%; }

/* Card 4 — automation flow */
.home-fgrid-art--automation {
  width: 100%;
  max-width: 300px;
  height: 170px;
}
.home-fgrid-flow {
  position: relative;
  width: 100%;
  height: 100%;
}
.home-fgrid-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, #e2e8f0 2px, transparent 2px),
    radial-gradient(circle at 80% 55%, #e2e8f0 2px, transparent 2px),
    radial-gradient(circle at 50% 80%, #e2e8f0 2px, transparent 2px);
  background-size: 100% 100%;
  opacity: 0.6;
}
.home-fgrid-node {
  position: absolute;
  padding: 0.4rem 0.65rem;
  font-size: 0.6rem;
  font-weight: 600;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  white-space: nowrap;
}
.home-fgrid-node--active {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
.home-fgrid-node--1 { top: 0; left: 0; }
.home-fgrid-node--2 { top: 0; right: 0; }
.home-fgrid-node--3 { top: 38%; left: 50%; transform: translateX(-50%); }
.home-fgrid-node--4 { bottom: 12%; left: 8%; }
.home-fgrid-node--5 { bottom: 12%; right: 8%; }

/* Card 5 — AI keyword tracking */
.home-fgrid-art--tracking {
  width: 100%;
  max-width: 280px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-fgrid-track {
  width: 100%;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}
.home-fgrid-track-keyword {
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f1f5f9;
}
.home-fgrid-track-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}
.home-fgrid-track-keyword strong {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.home-fgrid-track-rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.home-fgrid-track-row {
  display: grid;
  grid-template-columns: 1.25rem 1fr 2rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.15rem 0.25rem;
  border-radius: 0.375rem;
}
.home-fgrid-track-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
}
.home-fgrid-track-logo img {
  width: 0.875rem;
  height: 0.875rem;
  display: block;
}
.home-fgrid-track-bar {
  display: block;
  height: 0.35rem;
  border-radius: 999px;
  background: #f1f5f9;
  overflow: hidden;
}
.home-fgrid-track-bar i {
  display: block;
  height: 100%;
  width: var(--pct, 50%);
  border-radius: 999px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
}
.home-fgrid-track-pct {
  font-size: 0.6rem;
  font-weight: 700;
  color: #334155;
  text-align: right;
}

/* ── Home feature grid animations ── */
@keyframes home-fgrid-ring-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes home-fgrid-ring-spin-rev {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}
@keyframes home-fgrid-hub-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 36px rgba(22, 163, 74, 0.5);
  }
}
@keyframes home-fgrid-hub-node-a {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
  50% { transform: translateX(-50%) scale(1.14); opacity: 0.92; }
}
@keyframes home-fgrid-hub-node-b {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.14); opacity: 0.92; }
}
@keyframes home-fgrid-node-float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes home-fgrid-node-float-b {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}
@keyframes home-fgrid-node-glow {
  0%, 18%, 100% {
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    color: #475569;
  }
  8% {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
    color: #15803d;
  }
}
@keyframes home-fgrid-track-bar-fill {
  0% { width: 0; opacity: 0.6; }
  100% { width: var(--pct, 50%); opacity: 1; }
}
@keyframes home-fgrid-track-row-scan {
  0%, 20%, 100% {
    background: transparent;
    box-shadow: none;
  }
  8% {
    background: rgba(22, 163, 74, 0.06);
    box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.12);
  }
}
@keyframes home-fgrid-track-keyword-glow {
  0%, 100% { color: #0f172a; }
  50% { color: #15803d; }
}
@keyframes home-fgrid-connect-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(15, 23, 42, 0.2); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08); }
}
@keyframes home-fgrid-pill-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes home-fgrid-avatar-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
@keyframes home-fgrid-chat-in {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-2px); opacity: 0.96; }
}
@keyframes home-fgrid-chart-line {
  0%, 100% { opacity: 0.75; clip-path: inset(0 0 0 0); }
  50% { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes home-fgrid-bar-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}
@keyframes home-fgrid-metric-tick {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes home-fgrid-flow-dot {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.75; }
}

/* Card 1 — integrations */
.home-fgrid-pill:not(.home-fgrid-pill--connect) {
  animation: home-fgrid-pill-float 3.2s ease-in-out infinite;
}
.home-fgrid-pills .home-fgrid-pill:nth-child(1) { animation-delay: 0s; }
.home-fgrid-pills .home-fgrid-pill:nth-child(2) { animation-delay: 0.4s; }
.home-fgrid-pills .home-fgrid-pill:nth-child(4) { animation-delay: 0.8s; }
.home-fgrid-pills .home-fgrid-pill:nth-child(5) { animation-delay: 1.2s; }
.home-fgrid-pill--connect {
  animation: home-fgrid-connect-pulse 2.4s ease-in-out infinite;
}
.home-fgrid-chat {
  animation: home-fgrid-chat-in 4s ease-in-out infinite;
}
.home-fgrid-avatars .home-fgrid-avatar {
  animation: home-fgrid-avatar-pop 2.8s ease-in-out infinite;
}
.home-fgrid-avatars .home-fgrid-avatar:nth-child(1) { animation-delay: 0s; }
.home-fgrid-avatars .home-fgrid-avatar:nth-child(2) { animation-delay: 0.25s; }
.home-fgrid-avatars .home-fgrid-avatar:nth-child(3) { animation-delay: 0.5s; }
.home-fgrid-avatars .home-fgrid-avatar:nth-child(4) { animation-delay: 0.75s; }
.home-fgrid-avatars .home-fgrid-avatar:nth-child(5) { animation-delay: 1s; }

/* Card 2 — dashboard */
.home-fgrid-dash-dot {
  animation: pulse-dot 2s ease-in-out infinite;
}
.home-fgrid-dash-metric strong {
  display: inline-block;
  animation: home-fgrid-metric-tick 3s ease-in-out infinite;
}
.home-fgrid-dash-chart::after {
  animation: home-fgrid-chart-line 3s ease-in-out infinite;
}
.home-fgrid-bar i {
  animation: home-fgrid-bar-pulse 2.5s ease-in-out infinite;
}
.home-fgrid-bar:nth-child(1) i { animation-delay: 0s; }
.home-fgrid-bar:nth-child(2) i { animation-delay: 0.6s; }

/* Card 3 — collaboration hub */
.home-fgrid-hub-ring--1 {
  animation: home-fgrid-ring-spin 24s linear infinite;
}
.home-fgrid-hub-ring--2 {
  animation: home-fgrid-ring-spin-rev 32s linear infinite;
}
.home-fgrid-hub-core {
  animation: home-fgrid-hub-pulse 2.8s ease-in-out infinite;
}
.home-fgrid-hub-node--1,
.home-fgrid-hub-node--4 {
  animation: home-fgrid-hub-node-a 2.6s ease-in-out infinite;
}
.home-fgrid-hub-node--2,
.home-fgrid-hub-node--3,
.home-fgrid-hub-node--5,
.home-fgrid-hub-node--6 {
  animation: home-fgrid-hub-node-b 2.6s ease-in-out infinite;
}
.home-fgrid-hub-node--1 { animation-delay: 0s; }
.home-fgrid-hub-node--2 { animation-delay: 0.35s; }
.home-fgrid-hub-node--3 { animation-delay: 0.7s; }
.home-fgrid-hub-node--4 { animation-delay: 1.05s; }
.home-fgrid-hub-node--5 { animation-delay: 1.4s; }
.home-fgrid-hub-node--6 { animation-delay: 1.75s; }

/* Card 4 — automation flow */
.home-fgrid-flow::before {
  animation: home-fgrid-flow-dot 2.4s ease-in-out infinite;
}
.home-fgrid-node--1 { animation: home-fgrid-node-float-a 3s ease-in-out infinite, home-fgrid-node-glow 12s ease-in-out infinite 0s; }
.home-fgrid-node--2 { animation: home-fgrid-node-float-a 3.4s ease-in-out infinite 0.3s, home-fgrid-node-glow 12s ease-in-out infinite 2.4s; }
.home-fgrid-node--3 { animation: home-fgrid-node-float-b 3.2s ease-in-out infinite 0.6s, home-fgrid-node-glow 12s ease-in-out infinite 4.8s; }
.home-fgrid-node--4 { animation: home-fgrid-node-float-a 3.6s ease-in-out infinite 0.9s, home-fgrid-node-glow 12s ease-in-out infinite 7.2s; }
.home-fgrid-node--5 { animation: home-fgrid-node-float-a 3.1s ease-in-out infinite 1.2s, home-fgrid-node-glow 12s ease-in-out infinite 9.6s; }

/* Card 5 — AI keyword tracking */
.home-fgrid-track-keyword strong {
  display: inline-block;
  animation: home-fgrid-track-keyword-glow 4s ease-in-out infinite;
}
.home-fgrid-track-row--1 { animation: home-fgrid-track-row-scan 8s ease-in-out infinite 0s; }
.home-fgrid-track-row--2 { animation: home-fgrid-track-row-scan 8s ease-in-out infinite 2s; }
.home-fgrid-track-row--3 { animation: home-fgrid-track-row-scan 8s ease-in-out infinite 4s; }
.home-fgrid-track-row--4 { animation: home-fgrid-track-row-scan 8s ease-in-out infinite 6s; }
.home-fgrid-track-bar i {
  animation: home-fgrid-track-bar-fill 1.2s ease-out forwards;
}
.home-fgrid-track-row--1 .home-fgrid-track-bar i { animation-delay: 0.1s; }
.home-fgrid-track-row--2 .home-fgrid-track-bar i { animation-delay: 0.25s; }
.home-fgrid-track-row--3 .home-fgrid-track-bar i { animation-delay: 0.4s; }
.home-fgrid-track-row--4 .home-fgrid-track-bar i { animation-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .home-fgrid-pill,
  .home-fgrid-pill--connect,
  .home-fgrid-chat,
  .home-fgrid-avatars .home-fgrid-avatar,
  .home-fgrid-dash-dot,
  .home-fgrid-dash-metric strong,
  .home-fgrid-dash-chart::after,
  .home-fgrid-bar i,
  .home-fgrid-hub-ring,
  .home-fgrid-hub-core,
  .home-fgrid-hub-node,
  .home-fgrid-flow::before,
  .home-fgrid-node,
  .home-fgrid-track-keyword strong,
  .home-fgrid-track-row,
  .home-fgrid-track-bar i {
    animation: none !important;
  }
}
