﻿/* ========================================
   PRICING PAGE
   THEME: DARK / NEON / CONSISTENT WITH APP
======================================== */

.package-page {
    max-width: 1180px;
    margin: 0 auto;
    color: #eaf8ff;
}

.package-hero {
    text-align: center;
    margin-bottom: 2.75rem;
}

.package-title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.2;
    color: #f2fbff;
    margin-bottom: 0.65rem;
    text-shadow: 0 0 14px rgba(116, 216, 255, 0.08);
}

.package-subtitle {
    font-size: 1rem;
    color: #9fb8c6;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.75;
}

.package-alert {
    border: 1px solid rgba(116, 216, 255, 0.14);
    border-radius: 18px;
    padding: 14px 18px;
    font-weight: 500;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
    background: linear-gradient(180deg, rgba(20, 39, 56, 0.9), rgba(12, 24, 35, 0.88));
    color: #eaf8ff;
}

    .package-alert.alert-success {
        border-color: rgba(73, 240, 194, 0.28);
        background: linear-gradient(180deg, rgba(25, 54, 52, 0.95), rgba(16, 37, 34, 0.92));
        color: #dffdf4;
    }

    .package-alert.alert-danger {
        border-color: rgba(255, 129, 155, 0.28);
        background: linear-gradient(180deg, rgba(57, 29, 40, 0.95), rgba(37, 19, 28, 0.92));
        color: #ffe1e8;
    }

/* ========================================
   CARD
======================================== */

.pricing-card {
    position: relative;
    height: 100%;
    border: 1px solid rgba(116, 216, 255, 0.15);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(20, 39, 56, 0.96) 0%, rgba(10, 20, 30, 0.93) 100%);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

    .pricing-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 6px;
        background: linear-gradient(90deg, #39c2f0 0%, #3fd9c4 100%);
        opacity: 0.95;
    }

    .pricing-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(47, 216, 255, 0.07), transparent 26%), radial-gradient(circle at left top, rgba(63, 217, 196, 0.05), transparent 22%);
        pointer-events: none;
    }

    .pricing-card:hover {
        transform: translateY(-8px);
        border-color: rgba(116, 216, 255, 0.28);
        box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42), 0 0 22px rgba(116, 216, 255, 0.08);
    }

    .pricing-card.popular {
        border: 2px solid #35c8df;
        box-shadow: 0 24px 52px rgba(63, 217, 196, 0.12), 0 0 30px rgba(53, 200, 223, 0.10);
    }

        .pricing-card.popular::before {
            height: 7px;
            background: linear-gradient(90deg, #25b9ef 0%, #43dfbd 100%);
        }

.popular-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #25b9ef 0%, #43dfbd 100%);
    color: #072b31;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 24px rgba(63, 217, 196, 0.28);
}

/* ========================================
   CARD BODY
======================================== */

.pricing-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.2rem 1.6rem 1.6rem;
    text-align: center;
}

.plan-name {
    font-size: 1.55rem;
    font-weight: 800;
    color: #f2fbff;
    margin-bottom: 0.35rem;
    text-shadow: 0 0 14px rgba(116, 216, 255, 0.06);
}

.plan-desc {
    color: #9fb8c6;
    font-size: 0.96rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    min-height: 46px;
}

/* ========================================
   PRICE
======================================== */

.price-wrap {
    margin-bottom: 1rem;
}

.price {
    font-size: 2.55rem;
    font-weight: 800;
    color: #74d8ff;
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 0 14px rgba(116, 216, 255, 0.22);
}

.price-unit {
    font-size: 0.96rem;
    color: #9fb8c6;
    margin-top: 0.55rem;
}

/* ========================================
   FEATURE BOX
======================================== */

.plan-feature-box {
    flex-grow: 1;
    margin: 1.3rem 0 1.6rem;
    padding: 1rem 1rem 0.95rem;
    text-align: left;
    background: linear-gradient(180deg, rgba(25, 46, 64, 0.72), rgba(18, 33, 46, 0.68));
    border: 1px solid rgba(116, 216, 255, 0.12);
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

    .plan-feature-box ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .plan-feature-box li {
        display: flex;
        align-items: flex-start;
        gap: 0.7rem;
        color: #cfeaff;
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 0.85rem;
    }

        .plan-feature-box li:last-child {
            margin-bottom: 0;
        }

.check-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(116, 216, 255, 0.18) 0%, rgba(63, 217, 196, 0.18) 100%);
    color: #74d8ff;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(116, 216, 255, 0.12);
}

/* ========================================
   BUTTON
======================================== */

.btn-package,
.btn-purchase {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(116, 216, 255, 0.20);
    border-radius: 999px;
    background: linear-gradient(135deg, #20384d 0%, #325975 100%);
    color: #eaf8ff !important;
    font-size: 1.04rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(255,255,255,0.04) inset, 0 0 14px rgba(116, 216, 255, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

    .btn-package:hover,
    .btn-purchase:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.30), 0 0 0 1px rgba(255,255,255,0.05) inset, 0 0 18px rgba(116, 216, 255, 0.12);
        filter: brightness(1.03);
        background: linear-gradient(135deg, #26445d 0%, #3b6786 100%);
        color: #f2fbff !important;
    }

    .btn-package:focus,
    .btn-package:active,
    .btn-purchase:focus,
    .btn-purchase:active {
        outline: none;
        color: #f2fbff !important;
        box-shadow: 0 0 0 0.2rem rgba(116, 216, 255, 0.18), 0 14px 30px rgba(0, 0, 0, 0.28);
    }

    .btn-package:disabled,
    .btn-purchase:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

/* ========================================
   NOTE
======================================== */

.package-note {
    margin-top: 2.5rem;
    text-align: center;
    color: #9fb8c6;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   OPTIONAL HELPERS
======================================== */

.package-section-spacing {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.price-highlight {
    color: #f2fbff;
    font-weight: 800;
}

/* ========================================
   MOBILE / TABLET
======================================== */

@media (max-width: 991.98px) {
    .pricing-card-body {
        padding: 2rem 1.35rem 1.35rem;
    }

    .plan-name {
        font-size: 1.45rem;
    }

    .price {
        font-size: 2.3rem;
    }
}

@media (max-width: 767.98px) {
    .package-page {
        max-width: 100%;
    }

    .package-hero {
        margin-bottom: 2rem;
    }

    .package-title {
        font-size: 1.7rem;
    }

    .package-subtitle {
        font-size: 0.95rem;
        line-height: 1.65;
        padding: 0 0.25rem;
    }

    .pricing-card {
        border-radius: 24px;
    }

    .pricing-card-body {
        padding: 1.6rem 1.15rem 1.2rem;
    }

    .popular-badge {
        top: 14px;
        right: 14px;
        min-height: 32px;
        font-size: 0.75rem;
        padding: 7px 12px;
    }

    .plan-name {
        font-size: 1.35rem;
    }

    .plan-desc {
        min-height: auto;
        font-size: 0.93rem;
    }

    .price {
        font-size: 2.05rem;
    }

    .price-unit {
        font-size: 0.92rem;
    }

    .plan-feature-box {
        border-radius: 18px;
        padding: 0.95rem;
        margin: 1.1rem 0 1.35rem;
    }

        .plan-feature-box li {
            font-size: 0.93rem;
        }

    .btn-package,
    .btn-purchase {
        min-height: 52px;
        font-size: 1rem;
    }

    .package-note {
        margin-top: 2rem;
        font-size: 0.92rem;
    }
}

@media (max-width: 575.98px) {
    .package-title {
        font-size: 1.55rem;
    }

    .pricing-card-body {
        padding: 1.4rem 1rem 1.05rem;
    }

    .price {
        font-size: 1.9rem;
    }

    .btn-package,
    .btn-purchase {
        min-height: 50px;
        font-size: 0.96rem;
        padding: 0.85rem 1rem;
    }
}
