/*
 * components/cf360.css — CF 360 platform band (BEM)
 *
 * Blocks: .cf360  .cf360-ring
 * Motion: ring rotates, core pulses every 3.6s (stopped for reduced motion).
 */

.cf360 {
    background-image: url("../../images/home/rings-platform.png"), var(--grad-band);
}

.cf360__container {
    display: grid;
    grid-template-columns: 625px 1fr;
    gap: 24px;
    align-items: center;
    min-height: 827px;
    padding-block: 150px 157px;
}

.cf360__tag { color: var(--clr-gold); }

.cf360__heading { color: var(--clr-white); }

.cf360__subheading {
    margin-top: 60px;
    font-size: 22px;
    font-weight: var(--fw-bold);
    line-height: 1.2;
    color: var(--clr-white);
}

.cf360__description {
    margin-top: 21px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--clr-on-dark);
}

/* ── Ring ──────────────────────────────────────────────── */

.cf360-ring {
    justify-self: end;
    width: 100%;
    max-width: 586px;
}

.cf360-ring__art {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Ring motion: nodes light up in turn around the ring, hub breathes.
   The ring itself stays still so labels remain readable. */
.cf360-ring__hub {
    transform-box: fill-box;
    transform-origin: center;
    animation: cf360-pulse var(--dur-pulse) var(--ease-in-out) infinite;
}

.cf360-ring__node {
    transform-box: fill-box;
    transform-origin: center;
    animation: cf360-node 4s var(--ease-in-out) infinite;
    animation-delay: calc(var(--i, 0) * 0.5s);
}

@keyframes cf360-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

@keyframes cf360-node {
    0%, 30%, 100% { transform: scale(1);    filter: none; }
    12%           { transform: scale(1.12); filter: drop-shadow(0 0 8px rgba(112, 185, 66, 0.9)); }
}

/* ── Tablet ────────────────────────────────────────────── */

@media (max-width: 1099.98px) {
    .cf360__container {
        grid-template-columns: 1fr;
        gap: 52px;
        min-height: 0;
        padding-block: 55px 76px;
    }

    .cf360__subheading { margin-top: 12px; font-size: 17px; }
    .cf360__description { margin-top: 15px; font-size: 15px; }

    .cf360-ring {
        justify-self: center;
        max-width: 313px;
    }
}
