/* ================================================
   AAROGYM - PRICING PAGE STYLES
   File: public/frontend/css/price.css
   ================================================ */

/* ---- PAGE HERO ---- */
.pricing-page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    padding: 100px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-page-hero::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(229, 57, 53, 0.12) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.pricing-page-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 12, 41, 0.5);
}

.pricing-page-hero h1 {
    font-family: "Work Sans", sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.pricing-page-hero h1 span {
    color: #e53935;
}

.pricing-page-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}

.pricing-breadcrumb {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pricing-breadcrumb a {
    color: #e53935;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.pricing-breadcrumb a:hover {
    color: #fff;
}

.pricing-breadcrumb span {
    color: #fff;
    font-weight: 700;
}

.pricing-breadcrumb i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

/* ---- MAIN SECTION ---- */
.pricing-main-section {
    background: #f0f2f5;
    padding: 70px 0 90px;
}

.pricing-tag {
    display: inline-block;
    background: #e53935;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 7px 22px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.pricing-heading {
    font-family: "Work Sans", sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.pricing-subheading {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ---- SAVINGS ALERT ---- */
.pricing-alert {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff3e0;
    border: 2px solid #ff9800;
    color: #e65100;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 50px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
}

.pricing-alert strong {
    color: #e53935;
    font-weight: 800;
}

.alert-icon {
    font-size: 20px;
}

.alert-badge {
    background: #ff9800;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================================================
   PRICING CARDS GRID
   ================================================ */
.pricing-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 0 20px;
    width: 100%;
}

/* ---- SINGLE CARD ---- */
.pcard {
    background: #fff;
    border-radius: 18px;
    width: calc(20% - 20px);
    min-width: 210px;
    max-width: 250px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.pcard:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14);
    border-color: #e53935;
}

/* Popular Card */
.pcard-popular {
    border-color: #e53935;
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(229, 57, 53, 0.2);
}

.pcard-popular:hover {
    transform: translateY(-16px);
    box-shadow: 0 20px 55px rgba(229, 57, 53, 0.3);
}

/* Best Value Card */
.pcard-bestvalue {
    border-color: #43a047;
}

.pcard-bestvalue:hover {
    border-color: #43a047;
    box-shadow: 0 16px 45px rgba(67, 160, 71, 0.2);
}

/* ---- RIBBON ---- */
.pcard-ribbon {
    position: absolute;
    top: 28px;
    right: -40px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 40px;
    transform: rotate(45deg);
    z-index: 3;
    box-shadow: 0 3px 8px rgba(229, 57, 53, 0.4);
}

/* Best Value Badge */
.pcard-best {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #43a047, #1b5e20);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 3;
}

/* ---- TOP COLOR BAR ---- */
.pcard-bar {
    height: 6px;
    width: 100%;
    flex-shrink: 0;
}

.bar-purple {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.bar-blue {
    background: linear-gradient(90deg, #1d4ed8, #60a5fa);
}
.bar-cyan {
    background: linear-gradient(90deg, #0891b2, #67e8f9);
}
.bar-green {
    background: linear-gradient(90deg, #059669, #6ee7b7);
}
.bar-yellow {
    background: linear-gradient(90deg, #b45309, #fcd34d);
}
.bar-pink {
    background: linear-gradient(90deg, #db2777, #f9a8d4);
}
.bar-red {
    background: linear-gradient(90deg, #dc2626, #fca5a5);
}
.bar-violet {
    background: linear-gradient(90deg, #6d28d9, #c4b5fd);
}
.bar-gold {
    background: linear-gradient(90deg, #92400e, #fde68a);
}

/* ---- CARD TOP SECTION ---- */
.pcard-top {
    padding: 22px 20px 14px;
}

.pcard-name {
    font-family: "Work Sans", sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.pcard-duration {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 20px;
}

.pcard-duration i {
    font-size: 11px;
    color: #e53935;
}

/* ---- PRICE ---- */
.pcard-price {
    padding: 0 20px 15px;
}

.pcard-amount {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.pcard-rupee {
    font-size: 20px;
    font-weight: 800;
    color: #e53935;
    line-height: 1;
}

.pcard-number {
    font-family: "Work Sans", sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1;
    letter-spacing: -2px;
}

.pcard-price-meta {
    margin-top: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.pcard-total {
    font-size: 12px;
    color: #aaa;
    font-weight: 600;
}

.pcard-permonth {
    font-size: 11px;
    font-weight: 800;
    color: #43a047;
    background: rgba(67, 160, 71, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
}

.pcard-savings {
    font-size: 11px;
    font-weight: 800;
    color: #e53935;
    background: rgba(229, 57, 53, 0.08);
    padding: 2px 8px;
    border-radius: 20px;
}

/* ---- DIVIDER ---- */
.pcard-divider {
    height: 1px;
    background: #f0f2f5;
    margin: 0 20px 15px;
}

/* ---- FEATURES ---- */
.pcard-features {
    list-style: none;
    padding: 0 20px;
    margin: 0 0 20px;
    flex: 1;
}

.pcard-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    padding: 6px 0;
    border-bottom: 1px dashed #f0f0f0;
    line-height: 1.4;
}

.pcard-features li:last-child {
    border-bottom: none;
}

.feat-check {
    width: 18px;
    height: 18px;
    background: rgba(67, 160, 71, 0.12);
    color: #43a047;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 1px;
}

.feat-bonus {
    color: #e53935 !important;
    font-weight: 700 !important;
}

.feat-star {
    width: 18px;
    height: 18px;
    background: rgba(229, 57, 53, 0.1);
    color: #e53935;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ---- CTA FOOTER ---- */
.pcard-footer {
    padding: 0 20px 22px;
}

.pcard-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #e53935;
    color: #e53935;
    background: transparent;
    transition: all 0.3s ease;
}

.pcard-btn:hover,
.pcard-btn:focus {
    background: #e53935;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.35);
    text-decoration: none;
}

.pcard-btn-popular {
    background: #e53935;
    color: #fff;
}

.pcard-btn-popular:hover {
    background: #c62828;
    border-color: #c62828;
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.5);
}

.pcard-guarantee {
    text-align: center;
    font-size: 11px;
    color: #aaa;
    font-weight: 600;
    margin-top: 10px;
}

/* ================================================
   TRUST BAR
   ================================================ */
.pricing-trust-bar {
    background: #1a1a2e;
    padding: 45px 0;
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-icon {
    font-size: 28px;
    width: 55px;
    height: 55px;
    background: rgba(229, 57, 53, 0.15);
    border: 1px solid rgba(229, 57, 53, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-family: "Work Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.trust-item span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ================================================
   FAQ SECTION
   ================================================ */
.pricing-faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-heading {
    font-family: "Work Sans", sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 14px;
    border-left: 4px solid #e53935;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #fff;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.faq-item h4 {
    font-family: "Work Sans", sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ================================================
   FINAL CTA BANNER
   ================================================ */
.pricing-cta-banner {
    background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-cta-banner::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.pricing-cta-banner::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.pricing-cta-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
}

.pricing-cta-banner h2 {
    font-family: "Work Sans", sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.pricing-cta-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.pricing-cta-banner .btn-primary {
    position: relative;
    z-index: 1;
    background: #fff;
    color: #e53935;
    border: none;
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-cta-banner .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
    color: #c62828;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1400px) {
    .pcard {
        width: calc(25% - 20px);
    }
}

@media (max-width: 1100px) {
    .pcard {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .pcard {
        width: calc(50% - 20px);
        min-width: 180px;
    }

    .pricing-page-hero h1 {
        font-size: 34px;
    }

    .pricing-heading {
        font-size: 30px;
    }

    .trust-items {
        gap: 20px;
    }

    .pricing-cta-banner h2 {
        font-size: 28px;
    }

    .faq-heading {
        font-size: 28px;
    }
}

@media (max-width: 500px) {
    .pcard {
        width: 100%;
        max-width: 100%;
    }

    .pricing-alert {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .trust-item {
        flex-direction: column;
        text-align: center;
    }
}
