:root {
    --pricing-bg-0: #1c2133;
    --pricing-bg-1: #20263c;
    --pricing-surface-free: rgba(16, 21, 35, 0.96);
    --pricing-surface-premium: rgba(18, 20, 31, 0.98);
    --pricing-border: rgba(151, 171, 218, 0.2);
    --pricing-border-gold: rgba(240, 184, 92, 0.72);
    --pricing-text: #f2f5ff;
    --pricing-text-muted: #9fadcd;
    --pricing-accent: #5865f2;
    --pricing-accent-hover: #4d59dd;
    --pricing-gold: #f0b85c;
    --pricing-gold-soft: #f7d8a5;
    --pricing-check: #57f9a6;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--pricing-bg-0);
    color: var(--pricing-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(240, 184, 92, 0.18) 0%, transparent 35%),
        radial-gradient(circle at 18% 0%, rgba(88, 101, 242, 0.2) 0%, transparent 36%),
        linear-gradient(180deg, var(--pricing-bg-0) 0%, var(--pricing-bg-1) 100%);
}

/* Scrollbar (match landing/dashboard) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0d0f17;
}

::-webkit-scrollbar-thumb {
    background: #262b3d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #262b3d;
}

body::before,
body::after {
    content: '';
    position: fixed;
    width: 28rem;
    height: 28rem;
    border-radius: 999px;
    filter: blur(95px);
    z-index: 0;
    pointer-events: none;
}

body::before {
    left: -12rem;
    top: -11rem;
    background: rgba(88, 101, 242, 0.28);
}

body::after {
    right: -12rem;
    bottom: -12rem;
    background: rgba(240, 184, 92, 0.26);
}

@keyframes ambientDriftA {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(1.7rem, 1.1rem);
    }
}

@keyframes ambientDriftB {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-1.7rem, -1.1rem);
    }
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.pricing-page {
    padding: clamp(1.35rem, 2vw, 1.85rem) 0 4rem;
}

body.has-promo-banner .pricing-page {
    padding-top: calc(clamp(1.35rem, 2vw, 1.85rem) + var(--promo-banner-height));
}

.pricing-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2rem;
}

.pricing-eyebrow {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(240, 184, 92, 0.54);
    background: rgba(240, 184, 92, 0.16);
    color: var(--pricing-gold-soft);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pricing-eyebrow svg {
    width: 0.95rem;
    height: 0.95rem;
    fill: currentColor;
}

.pricing-header h1 {
    margin: 0.5rem 0 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.pricing-lead {
    margin: 1rem auto 0;
    font-size: clamp(1.04rem, 2.1vw, 1.22rem);
    line-height: 1.58;
    color: var(--pricing-text-muted);
}



.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    max-width: 1180px;
    margin: 0 auto;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 560px;
    scroll-margin-top: 6.5rem;
    border-radius: 14px;
    border: 1px solid var(--pricing-border);
    box-shadow: 0 20px 45px rgba(7, 10, 20, 0.45);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.plan-card-free {
    background: linear-gradient(170deg, rgba(25, 34, 57, 0.95) 0%, var(--pricing-surface-free) 70%);
    min-height: 500px;
}

.plan-card-premium {
    border-color: rgba(240, 184, 92, 0.4);
    background:
        radial-gradient(circle at top left, rgba(240, 184, 92, 0.25) 0%, transparent 50%),
        radial-gradient(circle at bottom right, rgba(240, 184, 92, 0.2) 0%, transparent 50%),
        linear-gradient(170deg, rgba(40, 32, 20, 0.95) 0%, var(--pricing-surface-premium) 100%);
    background-size: 200% 200%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(240, 184, 92, 0.15) inset, 0 0 45px rgba(240, 184, 92, 0.08);
    transform: scale(1.02);
    z-index: 5;
}

.plan-card-monthly {
    min-height: 520px;
    border-color: rgba(190, 158, 96, 0.24);
    background:
        radial-gradient(circle at top left, rgba(240, 184, 92, 0.08) 0%, transparent 42%),
        linear-gradient(170deg, rgba(27, 35, 58, 0.96) 0%, rgba(18, 23, 38, 0.98) 72%);
    box-shadow: 0 18px 34px rgba(6, 10, 20, 0.42), 0 0 0 1px rgba(240, 184, 92, 0.05) inset;
    transform: none;
    z-index: 2;
}

@keyframes premiumBgPan {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

.plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(5, 8, 18, 0.55);
}

.plan-card-premium:hover {
    border-color: rgba(240, 184, 92, 0.8);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.7), 0 0 40px rgba(240, 184, 92, 0.18), 0 0 0 1px rgba(240, 184, 92, 0.3) inset;
    transform: scale(1.035) translateY(-4px);
}

.plan-card-monthly:hover {
    border-color: rgba(214, 179, 112, 0.34);
    box-shadow: 0 22px 40px rgba(7, 12, 24, 0.48), 0 0 0 1px rgba(240, 184, 92, 0.08) inset;
    transform: translateY(-3px);
}

/* --- Yearly Plan Highlight --- */
.plan-card-yearly {
    min-height: 580px;
    transform: none;
    border-color: rgba(240, 184, 92, 1);
    background-image: 
        linear-gradient(115deg, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%, transparent 100%),
        radial-gradient(circle at top left, rgba(240, 184, 92, 0.25) 0%, transparent 50%),
        radial-gradient(circle at bottom right, rgba(240, 184, 92, 0.2) 0%, transparent 50%),
        linear-gradient(170deg, rgba(40, 32, 20, 0.98) 0%, var(--pricing-surface-premium) 100%);
    background-size: 300% 100%, 200% 200%, 200% 200%, 100% 100%;
    background-position: -200% 0, 0 0, 0 0, 0 0; 
    background-repeat: no-repeat;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.7), 
        0 0 30px rgba(240, 184, 92, 0.15),
        0 0 0 1px rgba(240, 184, 92, 0.3) inset;
    transition:
        box-shadow 0.4s ease, 
        border-color 0.4s ease,
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.3s ease;
    overflow: visible;
    will-change: auto;
}

.plan-card-yearly:hover {
    transform: none;
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.85), 
        0 0 45px rgba(240, 184, 92, 0.2),
        0 0 0 2px rgba(240, 184, 92, 0.4) inset;
}


/* Border Beam Effect */
.plan-card-yearly::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 232, 174, 0.7);
    opacity: 0.55;
    pointer-events: none;
    z-index: 3;
    will-change: auto;
}

/* Pulse Glow behind card */
.plan-card-yearly::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(240, 184, 92, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.62;
    will-change: auto;
}

/* Light Sweep / Sweep Shine Spacing Fix */
.plan-card-yearly .plan-card-badges {
    top: -16px;
    padding-top: 10px;
    margin-top: -10px;
}




@keyframes yearlySweep {
    0% { background-position: -200% 0, 0 0, 0 0, 0 0; }
    20% { background-position: 200% 0, 0 0, 0 0, 0 0; }
    100% { background-position: 200% 0, 0 0, 0 0, 0 0; }
}

@keyframes yearlyBorderGlow {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.82; }
}

@keyframes premiumGlowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.82; }
}

/* Savings Badge for Yearly - No scale animation */
.plan-card-yearly .savings-badge {
    animation: savingsPopSimple 0.5s ease-out forwards;
    transform-origin: center;
    will-change: auto;
}

@keyframes savingsPopSimple {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes savingsGlowPulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(87, 249, 166, 0.25); }
    50% { box-shadow: 0 5px 18px rgba(87, 249, 166, 0.4); }
}


/* Add a floating "BEST VALUE" text or similar in JS or CSS? */
/* Let's just make the existing badge more exciting */


.plan-card-top {
    padding: 1.3rem 1.3rem 1.05rem;
}

.plan-card-body {
    padding: 0 1.3rem 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.plan-card-badges {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    z-index: 10;
}

.popular-badge {
    position: relative;
    margin: 0;
    display: inline-flex;
    flex-shrink: 0;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #3b2800;
    background: linear-gradient(135deg, #fceb99 0%, #f0b85c 100%);
    box-shadow: 0 4px 14px rgba(240, 184, 92, 0.25);
    overflow: hidden;
    z-index: 10;
    white-space: nowrap;
}

.popular-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: none;
}

@keyframes badgeShimmer {

    0%,
    30% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.plan-label {
    margin: 0;
    color: #dce6ff;
    font-size: 1.24rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.plan-card-premium .plan-label {
    color: var(--pricing-gold);
    text-shadow: 0 0 18px rgba(240, 184, 92, 0.45);
}

.plan-card-monthly .plan-label {
    color: #efc97d;
    text-shadow: 0 0 8px rgba(239, 201, 125, 0.12);
}

.plan-card-yearly .plan-label {
    background: linear-gradient(90deg, #f0b85c 0%, #fffdf2 50%, #f0b85c 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(240, 184, 92, 0.3);
}

@keyframes goldShine {
    to { background-position: 200% center; }
}


.plan-price {
    margin: 0.72rem 0 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 3.9vw, 2.8rem);
    line-height: 1;
    color: #cbd6ea;
}

.plan-card-premium .plan-price {
    font-size: clamp(2.4rem, 4.4vw, 3.4rem);
    background: linear-gradient(180deg, #fffdf2 0%, #f0b85c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 14px rgba(240, 184, 92, 0.3));
}

.plan-card-monthly .plan-price {
    background: linear-gradient(180deg, #f1ddb0 0%, #ddb467 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(221, 180, 103, 0.12));
}

.price-currency {
    font-size: 0.42em;
    vertical-align: top;
    margin-right: 0.12rem;
}

.plan-note {
    margin: 0.58rem 0 1.2rem;
    color: var(--pricing-text-muted);
    font-size: 1.08rem;
    font-weight: 600;
}

.plan-billing-summary {
    margin: -0.7rem 0 1.2rem;
    min-height: 1.1rem;
    color: var(--pricing-text-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.plan-billing-compare {
    color: rgba(247, 216, 165, 0.7);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.savings-badge {
    position: relative;
    margin: 0;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #052814;
    background: linear-gradient(135deg, #9bffd1 0%, #57f9a6 100%);
    box-shadow: 0 4px 14px rgba(87, 249, 166, 0.25);
    overflow: hidden;
    z-index: 10;
    white-space: nowrap;
}

.savings-badge[hidden] {
    display: none;
}

.savings-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: badgeShimmer 3.5s infinite;
}

.plan-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.86rem;
}

.plan-list li {
    display: flex;
    align-items: center;
    gap: 0.68rem;
    font-size: 1.14rem;
    font-weight: 700;
    color: #f8fbff;
}

.plan-list li svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    stroke: var(--pricing-check);
    stroke-width: 3;
    fill: none;
    filter: drop-shadow(0 0 5px rgba(87, 249, 166, 0.42));
}

.plan-card-premium .plan-list li svg {
    stroke: var(--pricing-gold);
    filter: drop-shadow(0 0 5px rgba(240, 184, 92, 0.42));
}

.plan-card-monthly .plan-list li svg {
    stroke: #efc97d;
    filter: drop-shadow(0 0 4px rgba(239, 201, 125, 0.16));
}

.checkout-controls {
    margin-top: 1rem;
    margin-bottom: 0.85rem;
    display: grid;
    gap: 0.45rem;
}

.checkout-select-label {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #c7d3ee;
}

.checkout-select {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(173, 190, 222, 0.78);
    background: #111827;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%23d6e2ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75'/%3E%3C/svg%3E");
    background-position: right 0.85rem center;
    background-repeat: no-repeat;
    background-size: 0.8rem 0.55rem;
    color: #f8fbff;
    padding: 0.62rem 2.4rem 0.62rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 800;
    font-family: 'Outfit', 'Inter', sans-serif;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.checkout-select-wrap {
    position: relative;
}

.checkout-select-wrap.is-loading .checkout-select {
    padding-right: 3.9rem;
}

.checkout-select-loader {
    position: absolute;
    top: 50%;
    right: 2.1rem;
    width: 0.85rem;
    height: 0.85rem;
    margin-top: -0.425rem;
    border-radius: 999px;
    border: 2px solid rgba(191, 208, 247, 0.24);
    border-top-color: rgba(240, 184, 92, 0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.checkout-select-wrap.is-loading .checkout-select-loader {
    opacity: 1;
    animation: checkoutSelectSpin 0.8s linear infinite;
}

.checkout-select:focus {
    outline: none;
    border-color: #bfd0f7;
    box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.45), 0 10px 24px rgba(0, 0, 0, 0.34);
}

.checkout-select:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #0f1725;
}

.checkout-mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 36px;
    border-radius: 9px;
    border: 1px solid rgba(151, 171, 218, 0.35);
    background: rgba(9, 13, 22, 0.45);
    padding: 0.5rem 0.65rem;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #d8e4ff;
    user-select: none;
    cursor: pointer;
}

.checkout-mode-toggle input {
    width: 16px;
    height: 16px;
    accent-color: #f0b85c;
    margin: 0;
}

.checkout-mode-toggle span {
    line-height: 1;
}

.checkout-hint {
    margin: 0;
    font-size: 0.88rem;
    color: #95a7cd;
}

.checkout-hint.is-error {
    color: #ff9ba4;
}

.checkout-hint.is-success {
    color: #8ff0b8;
}

@keyframes checkoutSelectSpin {
    to {
        transform: rotate(360deg);
    }
}

.premium-server-picker {
    max-width: 1180px;
    margin: 1.1rem auto 0;
    padding: 1.1rem;
    border: 1px solid rgba(151, 171, 218, 0.28);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(17, 24, 40, 0.94) 0%, rgba(14, 20, 34, 0.94) 100%);
    box-shadow: 0 16px 36px rgba(6, 10, 20, 0.38);
}

.premium-server-picker-head h2 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.4rem, 3.8vw, 2rem);
    color: #ffffff;
}

.premium-server-picker-head p {
    margin: 0.35rem 0 0;
    color: #a8b7d8;
    font-size: 0.96rem;
    font-weight: 600;
}

.premium-server-state {
    margin: 0.85rem 0 0;
    color: #95a7cd;
    font-size: 0.92rem;
    font-weight: 600;
}

.premium-server-state.is-error {
    color: #ff9ba4;
}

.premium-server-state.is-success {
    color: #8ff0b8;
}

.premium-server-grid {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
}

.premium-server-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.82rem;
    border-radius: 12px;
    border: 1px solid rgba(151, 171, 218, 0.24);
    background: rgba(10, 15, 27, 0.7);
}

.premium-server-card-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.premium-server-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(88, 101, 242, 0.55) 0%, rgba(75, 89, 217, 0.36) 100%);
    color: #ecf2ff;
    font-weight: 800;
    font-size: 1rem;
    overflow: hidden;
}

.premium-server-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-server-meta {
    min-width: 0;
}

.premium-server-meta h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.premium-server-meta p {
    margin: 0.2rem 0 0;
    color: #9eb0d4;
    font-size: 0.84rem;
    font-weight: 700;
}

.premium-server-card-btn {
    width: 100%;
    min-height: 43px;
    border-radius: 10px;
    border: 1px solid #000000;
    background: linear-gradient(180deg, #f5d97a 0%, #e5b93d 100%);
    color: #201600;
    font-size: 0.95rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.premium-server-card-btn:hover {
    background: linear-gradient(180deg, #f9e39a 0%, #efc65a 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(229, 185, 61, 0.34);
}

.premium-server-card-btn:disabled {
    opacity: 0.72;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.plan-cta {
    margin-top: auto;
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #000000;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.plan-card-free .plan-cta {
    background: var(--pricing-accent);
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(88, 101, 242, 0.35);
}

.plan-card-free .plan-cta.plan-cta-subtle {
    background: rgba(88, 101, 242, 0.14);
    color: #d7e0ff;
    border-color: rgba(151, 171, 218, 0.34);
    box-shadow: 0 8px 18px rgba(7, 12, 26, 0.24);
}

.plan-card-free .plan-cta:hover {
    background: var(--pricing-accent-hover);
}

.plan-card-free .plan-cta.plan-cta-subtle:hover {
    background: rgba(88, 101, 242, 0.22);
    color: #eef3ff;
}

.plan-cta-gold {
    background: linear-gradient(135deg, #f5d97a, #e5b93d, #f5d97a);
    background-size: 200% auto;
    color: #221800;
    box-shadow: 0 10px 26px rgba(240, 184, 92, 0.33), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.plan-cta-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
}

.plan-cta-gold:hover {
    background: linear-gradient(135deg, #f9e39a 0%, #efc65a 100%);
    color: #120d00;
    box-shadow: 0 12px 30px rgba(240, 184, 92, 0.45);
}

.plan-cta-gold:hover::after {
    animation: ctaShimmer 1s infinite;
}

.plan-card-yearly .plan-cta-gold {
    background: linear-gradient(135deg, #fceb99, #f0b85c, #fceb99);
    background-size: 200% auto;
    box-shadow: 0 15px 35px rgba(240, 184, 92, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.plan-card-monthly .plan-cta-gold {
    background: rgba(88, 101, 242, 0.14);
    color: #d7e0ff;
    border-color: rgba(151, 171, 218, 0.34);
    box-shadow: 0 8px 18px rgba(7, 12, 26, 0.24);
}

.plan-card-monthly .plan-cta-gold::after {
    display: none;
}

.plan-card-monthly .plan-cta-gold:hover {
    background: rgba(88, 101, 242, 0.22);
    color: #eef3ff;
    box-shadow: 0 10px 20px rgba(7, 12, 26, 0.28);
}


@keyframes ctaBgPan {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

@keyframes ctaShimmer {
    0% {
        left: -150%;
    }

    100% {
        left: 200%;
    }
}

.plan-cta:hover {
    transform: translateY(-2px);
}

.plan-cta:disabled {
    opacity: 0.72;
    cursor: not-allowed;
    transform: none;
}

.pricing-footnote {
    margin-top: 1.2rem;
    text-align: center;
}

.pricing-footnote p {
    margin: 0;
    color: #a8b6d4;
    font-size: 1rem;
    font-weight: 600;
}

.site-footer {
    padding: 4rem 0 2rem;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: grid;
    gap: 2.5rem;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.footer-nav-group {
    display: grid;
    align-content: start;
    gap: 0.7rem;
}

.footer-nav-title {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.18s ease, transform 0.18s ease;
}

.footer-nav-link:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.footer-bottom {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.reveal {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    filter: blur(8px);
    transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

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

    .plan-card {
        min-height: 520px;
    }

    .plan-card-yearly {
        min-height: 560px;
    }

    .plan-card-monthly,
    .plan-card-free {
        min-height: 485px;
    }
}

@media (max-width: 760px) {
    .plans {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .pricing-page {
        padding: 1.2rem 0 2.4rem;
    }

    body.has-promo-banner .pricing-page {
        padding-top: calc(1.2rem + var(--promo-banner-height));
    }

    .premium-server-picker {
        padding: 0.95rem;
    }

    .pricing-header {
        margin-bottom: 1.4rem;
    }

    .plan-card {
        min-height: 490px;
    }

    .plan-card-yearly,
    .plan-card-monthly,
    .plan-card-free {
        min-height: 490px;
    }

    .plan-card-badges {
        width: calc(100% - 1.5rem);
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.45rem;
    }

    .popular-badge,
    .savings-badge {
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }

    .plan-card-top {
        padding: 1.15rem 1.05rem 0.95rem;
    }

    .plan-card-body {
        padding: 0 1.05rem 1.05rem;
    }

    .plan-list li {
        font-size: 1.01rem;
    }

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

    .plan-card-yearly {
        animation-duration: 24s;
    }

    .plan-card-yearly::after {
        animation: none;
        opacity: 0.45;
    }

    .plan-card-yearly .savings-badge {
        animation: savingsPopSimple 0.5s ease-out forwards;
    }
}

@media (prefers-reduced-motion: reduce) {

    body::before,
    body::after {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    .plan-cta {
        transition: none;
    }

    .checkout-select-loader {
        animation: none;
    }

    .plan-card-premium,
    .plan-card-premium::before,
    .plan-card-premium::after,
    .plan-card-premium .savings-badge,
    .plan-card-premium .popular-badge,
    .plan-card-premium .savings-badge::after,
    .plan-card-premium .popular-badge::after {
        animation: none !important;
    }

    .plan-card-premium,
    .plan-card-premium::before,
    .plan-card-premium::after,
    .plan-card-premium .savings-badge {
        transition: none !important;
        will-change: auto;
    }
}
