:root {
    --plans-bg: #f3f7fc;
    --plans-navy: #061528;
    --plans-navy-light: #0b2342;
    --plans-blue: #0d73f6;
    --plans-cyan: #00afea;
    --plans-text: #0b1728;
    --plans-muted: #66758c;
    --plans-border: #dce5f0;
    --plans-white: #ffffff;
    --plans-success: #047857;
    --plans-danger: #b42318;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--plans-text);
    background: var(--plans-bg);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
a {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.plans-navbar {
    position: relative;
    z-index: 10;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(22px, 6vw, 92px);
    color: #ffffff;
    background: #061528;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.plans-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 23px;
    font-weight: 850;
}

.plans-brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--plans-blue),
            var(--plans-cyan)
        );
    box-shadow: 0 10px 25px rgba(13, 115, 246, .28);
}

.plans-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 750;
}

.plans-navigation a {
    opacity: .9;
}

.premium-access {
    padding: 11px 18px;
    border-radius: 10px;
    color: #ffffff;
    background:
        linear-gradient(
            120deg,
            var(--plans-blue),
            var(--plans-cyan)
        );
    box-shadow: 0 10px 24px rgba(0, 126, 246, .24);
}

.plans-hero {
    position: relative;
    min-height: 390px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
    align-items: center;
    gap: 40px;
    overflow: hidden;
    padding:
        62px
        clamp(22px, 7vw, 110px)
        76px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 82% 30%,
            rgba(15, 127, 241, .3),
            transparent 34%
        ),
        radial-gradient(
            circle at 18% 90%,
            rgba(0, 174, 234, .13),
            transparent 31%
        ),
        linear-gradient(
            125deg,
            #061528 0%,
            #081d37 52%,
            #092a50 100%
        );
}

.plans-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, .025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .025) 1px,
            transparent 1px
        );
    background-size: 44px 44px;
    mask-image:
        linear-gradient(
            to right,
            transparent,
            #000
        );
}

.plans-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 8px 14px;
    border: 1px solid rgba(71, 174, 255, .32);
    border-radius: 999px;
    color: #68c7ff;
    background: rgba(14, 84, 151, .22);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

.plans-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(38px, 4.6vw, 69px);
    line-height: 1.02;
    letter-spacing: -.052em;
}

.plans-hero h1 span {
    color: #1da1ff;
}

.plans-hero p {
    max-width: 620px;
    margin: 24px 0 0;
    color: #bdcce0;
    font-size: 18px;
    line-height: 1.65;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 29px;
    color: #d8e5f4;
    font-size: 14px;
    font-weight: 720;
}

.hero-benefits span::first-letter {
    color: #24c5ef;
}

.hero-visual {
    position: relative;
    z-index: 2;
    height: 270px;
}

.hero-grid {
    position: absolute;
    inset: 10% 4% 0;
    border: 1px solid rgba(72, 171, 255, .16);
    border-radius: 26px;
    background:
        linear-gradient(
            135deg,
            rgba(15, 108, 213, .16),
            rgba(2, 13, 31, .22)
        );
    box-shadow:
        inset 0 0 70px rgba(18, 122, 234, .1),
        0 30px 70px rgba(0, 0, 0, .26);
    transform: perspective(700px) rotateY(-9deg);
}

.sport-orb {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(23, 113, 221, .78),
            rgba(4, 21, 46, .94)
        );
    box-shadow:
        0 30px 55px rgba(0, 0, 0, .35),
        inset 0 1px 0 rgba(255, 255, 255, .18);
    backdrop-filter: blur(12px);
}

.sport-orb-football {
    width: 170px;
    height: 190px;
    left: 2%;
    top: 21%;
    font-size: 95px;
    transform: rotate(-7deg);
}

.sport-orb-basketball {
    width: 145px;
    height: 160px;
    right: 2%;
    top: 0;
    font-size: 81px;
    transform: rotate(7deg);
}

.pricing-section {
    padding:
        76px
        clamp(18px, 5vw, 74px)
        82px;
}

.section-heading {
    max-width: 750px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading > span {
    color: var(--plans-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .17em;
}

.section-heading h2 {
    margin: 14px 0 0;
    color: #09182c;
    font-size: clamp(30px, 3vw, 45px);
    line-height: 1.12;
    letter-spacing: -.04em;
}

.section-heading p {
    max-width: 630px;
    margin: 17px auto 0;
    color: var(--plans-muted);
    font-size: 16px;
    line-height: 1.65;
}

.checkout-message {
    max-width: 760px;
    margin: 0 auto 28px;
    padding: 14px 18px;
    border: 1px solid #fecdca;
    border-radius: 11px;
    color: var(--plans-danger);
    background: #fff3f2;
    font-size: 14px;
    font-weight: 650;
}

.checkout-message[hidden] {
    display: none;
}

.plans-grid {
    width: min(100%, 1320px);
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0 auto;
    align-items: stretch;
}

.plan-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 32px 27px 28px;
    border: 1px solid var(--plans-border);
    border-radius: 22px;
    background:
        linear-gradient(
            160deg,
            #ffffff,
            #f9fbfe
        );
    box-shadow:
        0 17px 42px rgba(25, 48, 80, .08);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.plan-card:hover {
    transform: translateY(-7px);
    border-color: #9cc8ff;
    box-shadow:
        0 26px 56px rgba(25, 75, 139, .16);
}

.plan-card.is-featured {
    border: 2px solid #1581fa;
    box-shadow:
        0 26px 62px rgba(16, 115, 239, .2);
}

.featured-label {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 162px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    background:
        linear-gradient(
            100deg,
            #075bea,
            #08a6ef
        );
    box-shadow: 0 10px 22px rgba(13, 115, 246, .27);
    text-align: center;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .09em;
}

.plan-badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 7px;
    color: #0871e7;
    background: #edf6ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.plan-card h3 {
    margin: 18px 0 6px;
    font-size: 25px;
    line-height: 1.15;
}

.plan-card-header p {
    margin: 0;
    color: var(--plans-muted);
    font-size: 13px;
}

.plan-price {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-top: 29px;
}

.plan-price .currency {
    padding-top: 9px;
    color: #33455f;
    font-size: 18px;
    font-weight: 800;
}

.plan-price strong {
    font-size: clamp(38px, 3.2vw, 50px);
    line-height: 1;
    letter-spacing: -.055em;
}

.plan-daily {
    margin-top: 8px;
    color: #78869a;
    font-size: 12px;
}

.plan-daily strong {
    color: #047a9f;
}

.plan-duration {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 25px 0 0;
    padding: 12px;
    border-radius: 10px;
    color: #43536b;
    background: #f0f5fb;
    font-size: 12px;
}

.plan-features {
    display: grid;
    gap: 12px;
    margin: 24px 0 28px;
    padding: 0;
    color: #33455c;
    list-style: none;
    font-size: 13px;
}

.plan-features li::first-letter {
    color: #08a3d7;
}

.btn-plan {
    width: 100%;
    height: 48px;
    margin-top: auto;
    border: 1px solid #0b72eb;
    border-radius: 10px;
    color: #0564d2;
    background: #ffffff;
    font-size: 15px;
    font-weight: 850;
    cursor: pointer;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease,
        color .18s ease;
}

.btn-plan:hover {
    transform: translateY(-2px);
    color: #ffffff;
    background: #0b72eb;
    box-shadow: 0 13px 25px rgba(11, 114, 235, .25);
}

.is-featured .btn-plan {
    color: #ffffff;
    border-color: transparent;
    background:
        linear-gradient(
            100deg,
            #0768f2,
            #08a8ed
        );
    box-shadow:
        0 13px 27px rgba(10, 116, 236, .24);
}

.btn-plan:disabled {
    cursor: wait;
    opacity: .68;
    transform: none;
}

.plans-empty {
    grid-column: 1 / -1;
    padding: 40px;
    border: 1px dashed #b8c5d6;
    border-radius: 18px;
    color: var(--plans-muted);
    text-align: center;
    background: #ffffff;
}

.platform-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding:
        72px
        clamp(22px, 7vw, 105px);
    color: #ffffff;
    background:
        linear-gradient(
            125deg,
            #061528,
            #08213e
        );
}

.platform-benefits article {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 17px;
    background: rgba(255, 255, 255, .035);
}

.platform-benefits article > span {
    font-size: 34px;
}

.platform-benefits h3 {
    margin: 17px 0 8px;
    font-size: 18px;
}

.platform-benefits p {
    margin: 0;
    color: #9fb0c7;
    font-size: 13px;
    line-height: 1.65;
}

.security-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding:
        28px
        clamp(22px, 7vw, 105px);
    color: #dce8f6;
    background: #030d1b;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.security-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #0d3260;
    font-size: 25px;
}

.security-strip > div:nth-child(2) {
    display: grid;
    gap: 4px;
}

.security-strip strong {
    color: #ffffff;
}

.security-strip span {
    color: #8da0b8;
    font-size: 13px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.payment-methods span {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 7px;
    color: #b6c5d8;
    background: rgba(255, 255, 255, .04);
    font-size: 11px;
    font-weight: 750;
}

.plans-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding:
        25px
        clamp(22px, 7vw, 105px);
    color: #7f91a8;
    background: #020914;
    font-size: 12px;
}

.plans-footer > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.plans-footer strong {
    color: #ffffff;
    font-size: 17px;
}

@media (max-width: 1100px) {
    .plans-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .platform-benefits {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .plans-navigation a:not(.premium-access) {
        display: none;
    }

    .plans-hero {
        grid-template-columns: 1fr;
        padding-bottom: 45px;
    }

    .hero-visual {
        display: none;
    }

    .security-strip {
        grid-template-columns: auto 1fr;
    }

    .payment-methods {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .plans-navbar {
        padding: 0 16px;
    }

    .plans-brand {
        font-size: 20px;
    }

    .premium-access {
        padding: 10px 12px;
        font-size: 12px;
    }

    .plans-hero {
        min-height: auto;
        padding:
            48px
            18px
            55px;
    }

    .plans-hero h1 {
        font-size: 41px;
    }

    .plans-hero p {
        font-size: 16px;
    }

    .plans-grid,
    .platform-benefits {
        grid-template-columns: 1fr;
    }

    .pricing-section {
        padding:
            56px
            14px
            65px;
    }

    .plan-card {
        padding: 30px 23px 25px;
    }

    .plans-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
