/* =============================================
   PRICING TIMELINE — Desktop (horizontal)
   ============================================= */

.pricing-timeline {
    padding: 35px 0 35px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-timeline-track {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

/* Horizontal connecting line behind the dots */
.pricing-timeline-track::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.pricing-timeline-milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}

/* Date — above the dot */
.pricing-timeline-date {
    font-family: var(--font-saygon-text), sans-serif;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

/* Dot */
.pricing-timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

/* Label — below the dot */
.pricing-timeline-label {
    font-family: var(--font-saygon-text), sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
    max-width: 160px;
}

/* Price — below the label */
.pricing-timeline-price {
    font-family: var(--font-saygon-text-bold), sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* =============================================
   ACTIVE milestone overrides
   ============================================= */

.pricing-timeline-milestone.active .pricing-timeline-date {
    color: #0afced;
    font-family: var(--font-saygon-text-bold), sans-serif;
}

.pricing-timeline-milestone.active .pricing-timeline-dot {
    background: #0afced;
    border-color: #0afced;
}

.pricing-timeline-milestone.active .pricing-timeline-label {
    color: #ffffff;
    font-family: var(--font-saygon-text-bold), sans-serif;
}

.pricing-timeline-milestone.active .pricing-timeline-price {
    color: #0afced;
}

/* =============================================
   MOBILE — Vertical layout (below 992px)
   ============================================= */

@media (max-width: 991px) {
    .pricing-timeline {
        padding: 15px 30px 25px;
    }

    .pricing-timeline-track {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }

    /* Vertical connecting line */
    .pricing-timeline-track::before {
        top: 0;
        bottom: 0;
        left: 27px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .pricing-timeline-milestone {
        flex-direction: row;
        align-items: center;
        text-align: left;
        margin-bottom: 20px;
    }

    .pricing-timeline-milestone:last-child {
        margin-bottom: 0;
    }

    .pricing-timeline-date {
        display: none;
    }

    .pricing-timeline-dot {
        flex-shrink: 0;
        margin-bottom: 0;
        margin-right: 16px;
    }

    .pricing-timeline-label {
        max-width: none;
    }

    /* Show date inline before label on mobile */
    .pricing-timeline-milestone .pricing-timeline-label::before {
        content: attr(data-date);
        display: block;
        font-family: var(--font-saygon-text), sans-serif;
        font-size: 11px;
        letter-spacing: 0.5px;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 2px;
    }

    .pricing-timeline-milestone.active .pricing-timeline-label::before {
        color: #0afced;
        font-family: var(--font-saygon-text-bold), sans-serif;
    }

    .pricing-timeline-price {
        margin-top: 0;
        margin-left: 8px;
        white-space: nowrap;
    }
}
