/* =========================================
   SECTION: PACKAGES & PRICING
========================================= */

.velo-pricing {
    position: relative;
    overflow: hidden;
    padding: clamp(82px, 8vw, 126px) 24px;
    background:
        radial-gradient(circle at 50% 0%, rgba(69, 217, 255, 0.1), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    color: #07101f;
}

.velo-pricing__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(48px, 5vw, 70px);
    text-align: center;
}

.velo-pricing__heading h2 {
    margin: 0;
    font-family: "Jura", Arial, sans-serif;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #07101f;
}

.velo-pricing__heading > span {
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(0, 124, 255, 0),
        #007cff,
        #45d9ff,
        rgba(69, 217, 255, 0)
    );
    box-shadow:
        0 0 8px rgba(0, 140, 255, 0.4),
        0 0 18px rgba(69, 217, 255, 0.24);
}

/* =========================================
   GRID
========================================= */

.velo-pricing__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(14px, 1.4vw, 24px);
    align-items: stretch;
}

/* =========================================
   CARD
========================================= */

.velo-pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 570px;
    padding: 38px 24px 26px;
    border: 1px solid rgba(7, 16, 31, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 18px 50px rgba(7, 16, 31, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.velo-pricing-card:hover {
    transform: translateY(-7px);
    border-color: rgba(69, 217, 255, 0.42);
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 24px 58px rgba(7, 16, 31, 0.1),
        0 0 34px rgba(69, 217, 255, 0.14);
}

/* =========================================
   POPULAR CARD
========================================= */

.velo-pricing-card--popular {
    border-color: rgba(0, 140, 255, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 22px 56px rgba(0, 124, 255, 0.12),
        0 0 28px rgba(69, 217, 255, 0.16);
}

.velo-pricing-card__badge {
    position: absolute;
    top: -1px;
    left: 50%;
    min-width: 140px;
    padding: 8px 16px;
    transform: translate(-50%, -50%);
    clip-path: polygon(
        8px 0,
        calc(100% - 8px) 0,
        100% 50%,
        calc(100% - 8px) 100%,
        8px 100%,
        0 50%
    );
    font-family: "Jura", Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #007cff, #00b8ff);
    box-shadow: 0 10px 26px rgba(0, 124, 255, 0.26);
}

/* =========================================
   ICON
========================================= */

.velo-pricing-card__icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2f97ff;
}

.velo-pricing-card__icon svg {
    width: 46px;
    height: 46px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================
   CONTENT
========================================= */

.velo-pricing-card h3 {
    margin: 0;
    font-family: "Bai Jamjuree", Arial, sans-serif;
    font-size: clamp(1rem, 1.05vw, 1.18rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: #07101f;
}

.velo-pricing-card__description {
    min-height: 68px;
    margin: 12px 0 0;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.55;
    text-align: center;
    color: rgba(28, 49, 72, 0.66);
}

.velo-pricing-card__price {
    margin-top: 24px;
    text-align: center;
}

.velo-pricing-card__price span {
    display: block;
    margin-bottom: 8px;
    font-family: "Jura", Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(28, 49, 72, 0.6);
}

.velo-pricing-card__price strong {
    display: block;
    font-family: "Jura", Arial, sans-serif;
    font-size: clamp(1.8rem, 2vw, 2.45rem);
    font-weight: 800;
    line-height: 1;
    color: #07101f;
}

/* =========================================
   FEATURES
========================================= */

.velo-pricing-card__features {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 28px 0 30px;
    list-style: none;
}

.velo-pricing-card__features li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 8px;
    align-items: start;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(28, 49, 72, 0.7);
}

.velo-pricing-card__features li span {
    color: #168fff;
    font-weight: 800;
}

/* =========================================
   BUTTON
========================================= */

.velo-pricing-card__button {
    width: 100%;
    min-height: 48px;
    margin-top: auto;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 140, 255, 0.42);
    border-radius: 5px;
    font-family: "Jura", Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #07101f;
    background: #ffffff;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.velo-pricing-card__button:hover {
    transform: translateY(-2px);
    color: #ffffff;
    border-color: #008fe8;
    background: linear-gradient(135deg, #007cff, #00b8ff);
    box-shadow:
        0 14px 30px rgba(0, 124, 255, 0.2),
        0 0 24px rgba(69, 217, 255, 0.2);
}

.velo-pricing-card--popular .velo-pricing-card__button {
    color: #ffffff;
    border-color: #00b8ff;
    background: #00b8ff;
    box-shadow:
        0 14px 30px rgba(7, 16, 31, 0.22),
        0 0 20px rgba(69, 217, 255, 0.12);
}

.velo-pricing-card--popular .velo-pricing-card__button:hover {
    color: #07101f;
    border-color: #45d9ff;
    background: #45d9ff;
}

/* =========================================
   NOTE
========================================= */

.velo-pricing__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 28px 0 0;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    color: rgba(28, 49, 72, 0.62);
}

.velo-pricing__note > span {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 140, 255, 0.55);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #168fff;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1180px) {
    .velo-pricing__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .velo-pricing-card {
        min-height: 520px;
    }

    .velo-pricing-card:last-child {
        grid-column: 1 / -1;
        width: min(100%, 520px);
        justify-self: center;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 680px) {
    .velo-pricing {
        padding: 72px 18px;
    }

    .velo-pricing__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .velo-pricing-card,
    .velo-pricing-card:last-child {
        grid-column: auto;
        width: 100%;
        min-height: auto;
        padding: 38px 24px 24px;
    }

    .velo-pricing-card__description {
        min-height: 0;
    }

    .velo-pricing-card__features {
        margin-bottom: 26px;
    }

    .velo-pricing__note {
        align-items: flex-start;
        text-align: left;
    }
}


/* =========================================
   SECTION: BEFORE / AFTER COMPARISON
========================================= */

.velo-comparison {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    padding: clamp(82px, 8vw, 130px) 24px;

    background:
        radial-gradient(
            circle at 50% 12%,
            rgba(69, 217, 255, 0.12),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5faff 100%
        );

    color: #07101f;
}

.velo-comparison::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.72),
            transparent 54%
        ),
        linear-gradient(
            35deg,
            rgba(69, 217, 255, 0.045) 1px,
            transparent 1px
        );

    background-size:
        auto,
        180px 180px;
}

/* =========================================
   SECTION INTRO
========================================= */

.velo-comparison__intro {
    width: min(100%, 760px);
    margin: 0 auto clamp(42px, 5vw, 68px);

    text-align: center;
}

.velo-comparison__kicker {
    position: relative;

    width: fit-content;
    margin: 0 auto 24px;
    padding-bottom: 16px;

    font-family: "Jura", Arial, sans-serif;
    font-size: clamp(2rem, 2.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.24em;
    text-transform: uppercase;

    color: #008fe8;
}

.velo-comparison__kicker::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 110px;
    height: 3px;

    transform: translateX(-50%);
    border-radius: 999px;

    background: linear-gradient(
        90deg,
        rgba(0, 124, 255, 0),
        #007cff,
        #45d9ff,
        rgba(69, 217, 255, 0)
    );

    box-shadow:
        0 0 8px rgba(0, 140, 255, 0.36),
        0 0 18px rgba(69, 217, 255, 0.2);
}

.velo-comparison__intro h2 {
    margin: 0;

    font-family: "Jura", Arial, sans-serif;
    font-size: clamp(2.5rem, 4.6vw, 5.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.035em;

    color: #07101f;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.96),
        0 12px 32px rgba(7, 16, 31, 0.08);
}

.velo-comparison__intro > p:last-child {
    max-width: 650px;
    margin: 24px auto 0;

    font-size: clamp(0.98rem, 1.05vw, 1.14rem);
    font-weight: 500;
    line-height: 1.75;

    color: rgba(28, 49, 72, 0.72);
}

/* =========================================
   COMPARISON SLIDER
========================================= */

.velo-comparison__slider {
    --comparison-position: 50%;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: min(100%, 1280px);
    aspect-ratio: 16 / 8.5;
    margin: 0 auto;

    border: 1px solid rgba(208, 230, 246, 0.96);
    border-radius: 18px;

    background: #eaf4fa;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 30px 80px rgba(7, 16, 31, 0.13),
        0 0 42px rgba(69, 217, 255, 0.12);
}

/* Corner-cut luxury shape */
.velo-comparison__slider {
    clip-path: polygon(
        22px 0,
        calc(100% - 22px) 0,
        100% 22px,
        100% calc(100% - 22px),
        calc(100% - 22px) 100%,
        22px 100%,
        0 calc(100% - 22px),
        0 22px
    );
}

.velo-comparison__image {
    position: absolute;
    inset: 0;
}

.velo-comparison__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
    user-select: none;
    pointer-events: none;
}

/* Before image remains full width */
.velo-comparison__image--before {
    z-index: 1;
}

/* After image is revealed by the slider */
.velo-comparison__image--after {
    z-index: 2;

    clip-path: inset(
        0
        calc(100% - var(--comparison-position))
        0
        0
    );
}

/* =========================================
   LABELS
========================================= */

.velo-comparison__label {
    position: absolute;
    top: 24px;
    z-index: 4;

    min-width: 104px;
    padding: 11px 18px;

    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;

    font-family: "Jura", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;

    backdrop-filter: blur(14px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.74),
        0 12px 30px rgba(7, 16, 31, 0.14);
}

.velo-comparison__label--before {
    right: 24px;

    color: #ffffff;
    background: rgba(7, 16, 31, 0.66);
}

.velo-comparison__label--after {
    left: 24px;

    color: #07101f;
    background: rgba(255, 255, 255, 0.76);
}

/* =========================================
   DIVIDER AND HANDLE
========================================= */

.velo-comparison__divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--comparison-position);
    z-index: 5;

    width: 3px;

    transform: translateX(-50%);

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.46),
        #ffffff 14%,
        #45d9ff 50%,
        #ffffff 86%,
        rgba(255, 255, 255, 0.46)
    );

    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.8),
        0 0 24px rgba(69, 217, 255, 0.5);

    pointer-events: none;
}

.velo-comparison__handle {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 66px;
    height: 66px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border: 2px solid rgba(255, 255, 255, 0.94);
    border-radius: 50%;

    color: #ffffff;
    background: linear-gradient(
        135deg,
        #007cff,
        #00b8ff
    );

    box-shadow:
        0 16px 38px rgba(0, 124, 255, 0.28),
        0 0 32px rgba(69, 217, 255, 0.34);
}

.velo-comparison__handle svg {
    width: 38px;
    height: 38px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================
   RANGE INPUT
========================================= */

.velo-comparison__range {
    position: absolute;
    inset: 0;
    z-index: 10;

    width: 100%;
    height: 100%;
    margin: 0;

    cursor: ew-resize;
    opacity: 0;
}

/* =========================================
   INSTRUCTION
========================================= */

.velo-comparison__instruction {
    margin: 24px auto 0;

    font-family: "Bai Jamjuree", Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;

    color: rgba(28, 49, 72, 0.58);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {
    .velo-comparison__slider {
        aspect-ratio: 4 / 3;
    }

    .velo-comparison__handle {
        width: 60px;
        height: 60px;
    }

    .velo-comparison__handle svg {
        width: 34px;
        height: 34px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {
    .velo-comparison {
        padding: 72px 18px;
    }

    .velo-comparison__intro {
        margin-bottom: 38px;
    }

    .velo-comparison__intro h2 {
        font-size: clamp(2.2rem, 11vw, 3.35rem);
    }

    .velo-comparison__slider {
        aspect-ratio: 4 / 5;
        border-radius: 12px;

        clip-path: polygon(
            14px 0,
            calc(100% - 14px) 0,
            100% 14px,
            100% calc(100% - 14px),
            calc(100% - 14px) 100%,
            14px 100%,
            0 calc(100% - 14px),
            0 14px
        );
    }

    .velo-comparison__image img {
        object-position: center;
    }

    .velo-comparison__label {
        top: 16px;
        min-width: 82px;
        padding: 9px 13px;
        font-size: 0.64rem;
    }

    .velo-comparison__label--before {
        right: 16px;
    }

    .velo-comparison__label--after {
        left: 16px;
    }

    .velo-comparison__handle {
        width: 54px;
        height: 54px;
    }

    .velo-comparison__handle svg {
        width: 30px;
        height: 30px;
    }
}

