﻿/* ===== Pricing components ===== */
.page-hero {
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    background: var(--band)
}

    .page-hero h1 {
        font-weight: 800;
        margin: 0 0 8px
    }

    .page-hero p {
        color: var(--muted);
        margin: 0
    }

.pricing {
    padding: 56px 0
}

.price-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
    padding: 24px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .price-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 48px rgba(0,0,0,.35);
        border-color: #5169a2
    }

.ribbon {
    position: absolute;
    top: 16px;
    left: -34px;
    transform: rotate(-35deg);
    background: linear-gradient(90deg,#f5b301,#ffd466);
    color: #1c1600;
    font-weight: 800;
    font-size: .8rem;
    padding: 6px 48px;
    box-shadow: 0 8px 24px rgba(0,0,0,.25)
}

.plan-name {
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 6px
}

.plan-desc {
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 16px
}

.price {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin: 8px 0 14px
}

    .price .value {
        font-size: 2.4rem;
        font-weight: 800;
        line-height: 1
    }

    .price .period {
        color: var(--muted);
        font-size: .95rem
    }

.features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px
}

    .features li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
        border-bottom: 1px dashed rgba(255,255,255,.08)
    }

        .features li:last-child {
            border-bottom: none
        }

.ico {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex: 0 0 22px
}

    .ico.good {
        background: rgba(40,209,124,.12);
        border: 1px solid rgba(40,209,124,.45);
        color: #28d17c;
        animation: pop .6s ease
    }

    .ico.bad {
        background: rgba(255,93,108,.12);
        border: 1px solid rgba(255,93,108,.45);
        color: #ff5d6c
    }

@keyframes pop {
    0% {
        transform: scale(.7);
        opacity: .6
    }

    70% {
        transform: scale(1.15)
    }

    100% {
        transform: scale(1);
        opacity: 1
    }
}

.btn-buy {
    margin-top: 18px;
    width: 100%;
    border-radius: 999px;
    padding: .65rem 1rem;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform .2s, box-shadow .2s
}

    .btn-buy:hover {
        transform: translateY(-2px)
    }

.btn-free {
    background: #283456;
    color: #fff;
    border-color: #435789
}

    .btn-free:hover {
        box-shadow: 0 10px 26px rgba(67,87,137,.35)
    }

.btn-pro {
    background: linear-gradient(135deg,#1e90ff,#06c6d4);
    color: #041016
}

    .btn-pro:hover {
        box-shadow: 0 10px 26px rgba(6,198,212,.35)
    }

.btn-ult {
    background: linear-gradient(135deg,#f5b301,#ffd466);
    color: #261b00
}

    .btn-ult:hover {
        box-shadow: 0 10px 26px rgba(245,179,1,.35)
    }

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: reveal .6s ease forwards
}

    .reveal.delay-1 {
        animation-delay: .08s
    }

    .reveal.delay-2 {
        animation-delay: .16s
    }

    .reveal.delay-3 {
        animation-delay: .24s
    }

@keyframes reveal {
    to {
        opacity: 1;
        transform: none
    }
}
