/* ============================================================
   Block: activation-timeline
   ============================================================ */

.activation-timeline-section {
    padding: 75px 0;
    background-color: rgba(17, 158, 219, 0.1);
    color: var(--wp--preset--color--foreground);
}

.at-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--wp--preset--color--secondary) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}

.at-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--secondary);
    flex-shrink: 0;
    display: none;
}

.at-heading {
    margin: 0 0 14px;
    color: var(--wp--preset--color--foreground);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
    max-width: 960px;
}

.at-heading-accent { color: var(--wp--preset--color--primary); }

.at-sub {
    margin: 0 0 40px;
    color: var(--wp--preset--color--foreground);
    font-size: 18px;
    line-height: 1.5;
    opacity: 0.9;
}

.at-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 56px;
}

.at-phase {
    background-color: var(--wp--preset--color--background);
    border: 1px solid var(--wp--preset--color--grey, #efefef);
    border-top: 8px solid var(--wp--preset--color--primary);
    border-radius: 12px;
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
}

.at-pnum {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    margin: 0 0 10px;
    border-radius: 999px;
    background-color: var(--wp--preset--color--lightgrey, #f7f7f7);
    color: var(--wp--preset--color--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
}

.at-when {
    margin: 0 0 8px;
    color: var(--wp--preset--color--foreground);
    font-size: 13px;
    font-weight: 600;
    opacity: 0.7;
}

.at-phase-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--wp--preset--color--foreground);
}

.at-phase-list {
    margin: 0;
    padding: 0;
    color: var(--wp--preset--color--foreground);
    font-size: 16px;
    line-height: 1.5;
}

.at-phase-list li { margin: 4px 0; }

.at-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Stat cards — same glass recipe as .ct-card (translucent white
   veil + primary→#2f8af0 blue gradient + 4-side rim insets + drop
   shadow + ::before radial glow), scaled for the stat-card size,
   with text centered inside each card. */
.at-stat {
    position: relative;
    overflow: hidden;        /* clip ::before glow to rounded corners */
    z-index: 0;
    padding: 28px 22px 30px;
    border-radius: 16px;
    text-align: center;
    color: var(--wp--preset--color--background);

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.10) 0%,
            rgba(255, 255, 255, 0.02) 100%
        ),
        /* Gradient flipped: darker blue first, lighter blue second. */
        linear-gradient(
            to right,
            #2f8af0 0%,
            var(--wp--preset--color--primary) 100%
        );

    border: 1px solid rgba(255, 255, 255, 0.20);

    box-shadow:
        0 14px 32px -12px rgba(5, 22, 60, 0.40),
        inset 0  1px 0 0 rgba(255, 255, 255, 0.55),
        inset 1px 0  0 0 rgba(255, 255, 255, 0.30),
        inset -1px 0 0 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
}

/* White radial light catch in the upper-right corner. */
.at-stat::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    pointer-events: none;
    z-index: 0;
}

/* Lift the real content above the glow. */
.at-stat > * {
    position: relative;
    z-index: 1;
}

.at-stat-num {
    margin: 0 0 8px;
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
    color: var(--wp--preset--color--background);
    letter-spacing: -0.02em;
}

.at-stat-num-accent { color: var(--wp--preset--color--light-pink, #f2dbee); }

.at-stat-lbl {
    color: var(--wp--preset--color--background);
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.92;
    max-width: 280px;
    margin: 0 auto;          /* center the max-width box under the centered number */
}

.activation-timeline-section.alignfull,
.wp-block-pixacore-activation-timeline.alignfull {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 900px) {
    .at-timeline, .at-stats { grid-template-columns: 1fr; gap: 16px; }
    .at-stats { margin-top: 12px; }
}

@media (max-width: 600px) {
    .activation-timeline-section { padding: 64px 0; }
    .at-stat-num { font-size: 30px; }
}
