/* ============================================
   PRICING PAGE STYLES
   ============================================ */

/* Hero Section - Full Screen */
/* Hero Section styles moved to hero.css */

.pricing-section {
    padding: 5rem 0;
    background-color: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.coaching-type-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3rem; /* Match Home Page Desktop Size */
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: inline-block; /* Changed from flex for underline effect */
    position: relative;
    padding-bottom: 15px;
}

.coaching-type-title i {
    color: var(--primary-red);
    font-size: inherit; /* Scale with text */
    margin-right: 15px;
}

/* Gradient Underline Effect (Same as Home) */
.coaching-type-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--primary-red), transparent);
    border-radius: 2px;
}

.coaching-type-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem; /* Match Home Page Subtitle */
    color: #b0b0b0; /* Standard subtitle color */
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   PRICING CARDS - SMALLER SIZE
   ============================================ */
.pricing-card {
    background: linear-gradient(145deg, var(--light-gray), #1a1e21);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.8rem 1.5rem;
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(252, 4, 4, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

/* FEATURED CARDS - Premium & Gold */
.pricing-card.featured {
    border: 4px solid var(--primary-red);
    background: linear-gradient(145deg, #2a2f33, #1f2427);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(252, 4, 4, 0.2),
        0 0 30px rgba(252, 4, 4, 0.05);
    z-index: 10;
    position: relative;
    max-width: 100%;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: transparent;
    border-radius: 20px;
    z-index: -1;
    box-shadow: 0 0 20px rgba(252, 4, 4, 0.3);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 50px rgba(252, 4, 4, 0.4),
        0 0 40px rgba(252, 4, 4, 0.2);
    border-color: #ff3333;
}

.badge-featured {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-red), #ff3333);
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.60rem;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    letter-spacing: 1.5px;
    box-shadow: 0 6px 20px rgba(252, 4, 4, 0.5);
    z-index: 100;
}

.plan-header {
    text-align: center;
    margin-bottom: 1.2rem;
}

.plan-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}

.pricing-card.featured .plan-name {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-red), #ff4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(252, 4, 4, 0.2), rgba(252, 4, 4, 0.1));
    color: var(--primary-red);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    border: 1px solid rgba(252, 4, 4, 0.3);
}

.pricing-card.featured .plan-badge {
    background: linear-gradient(135deg, rgba(252, 4, 4, 0.3), rgba(252, 4, 4, 0.15));
    border: 2px solid var(--primary-red);
    font-weight: 700;
    color: var(--text-white);
}

.plan-price {
    text-align: center;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(252, 4, 4, 0.3);
    position: relative;
}

.plan-price::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-red);
}

.pricing-card.featured .plan-price {
    border-bottom: 3px solid var(--primary-red);
}

.pricing-card.featured .plan-price::after {
    width: 100px;
    height: 3px;
    box-shadow: 0 0 15px var(--primary-red);
}

.plan-price .currency {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-gray);
    vertical-align: top;
    margin-right: 5px;
}

.plan-price .amount {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: var(--primary-red);
    line-height: 1;
}

.pricing-card.featured .plan-price .amount {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-red), #ff4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(252, 4, 4, 0.4));
}

.plan-price .duration {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
    display: block;
    margin-top: 0.6rem;
}

.plan-features {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-white);
}

.pricing-card.featured .feature-item {
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-red);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-card.featured .feature-item i {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px var(--primary-red));
}

.btn-plan {
    width: 100%;
    background-color: var(--primary-red);
    border: 2px solid var(--primary-red);
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-plan::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-plan:hover::before {
    width: 300px;
    height: 300px;
}

.btn-plan:hover {
    background-color: transparent;
    color: var(--primary-red);
    transform: translateY(-2px);
}

/* Update grid spacing */
.pricing-section .row {
    row-gap: 3rem;
}

/* Adjust column sizes for better fit */
@media (min-width: 992px) {
    .pricing-section .col-lg-5 {
        flex: 0 0 auto;
        width: 33.333%;
    }

    .pricing-section .col-lg-4 {
        flex: 0 0 auto;
        width: 30%;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.pricing-cta {
    position: relative;
    padding: 6rem 0 0 0; /* Remove bottom padding globally */
    background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(0, 0, 0, 0.95)),
        url('../images/static/transformation.webp') center/cover no-repeat scroll;
    border-top: 3px solid var(--primary-red);
    overflow: hidden;
    padding-bottom: 50px;
}

.pricing-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(252, 4, 4, 0.1),
            transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.pricing-cta .container {
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.cta-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.cta-feature {
    text-align: center;
}

.cta-feature i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    display: block;
}

.cta-feature h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.cta-feature p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red), #ff2020);
    border: 3px solid var(--primary-red);
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1.5rem 4rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(252, 4, 4, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(252, 4, 4, 0.6);
    background: linear-gradient(135deg, #ff2020, var(--primary-red));
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991px) {
    .pricing-card.featured {
        transform: scale(1);
        max-width: 100%;
    }

    .pricing-card.featured:hover {
        transform: scale(1) translateY(-10px);
    }

    .pricing-card {
        max-width: 100%;
    }

    .coaching-type-title {
        font-size: 2rem;
    }

    .plan-price .amount {
        font-size: 3rem;
    }

    .pricing-card.featured .plan-price .amount {
        font-size: 3.5rem;
    }

    .cta-features {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        height: 80vh;
        min-height: 500px;
        margin-top: -70px;
        padding-top: 70px;
    }

    .pricing-hero .section-title {
        font-size: 2.5rem;
    }

    .pricing-hero .section-subtitle {
        font-size: 1.1rem;
    }

    .coaching-type-title {
        font-size: 2.2rem; /* Tablet Size matching Home */
        flex-direction: row;
        display: block;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .plan-name {
        font-size: 1.6rem;
    }

    .pricing-card.featured .plan-name {
        font-size: 1.8rem;
    }

    .plan-price .amount {
        font-size: 2.5rem;
    }

    .pricing-card.featured .plan-price .amount {
        font-size: 3rem;
    }

    .btn-cta {
        padding: 1.2rem 3rem;
        font-size: 1rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .pricing-hero {
        height: 70vh;
        margin-top: -60px;
        padding-top: 60px;
    }

    .pricing-hero .section-title {
        font-size: 2rem;
    }

    .pricing-hero .section-subtitle {
        font-size: 1rem;
    }

    .section-header {
        text-align: left; /* Align Left on Mobile */
        padding-left: 15px; /* Add slight padding */
    }

    .coaching-type-title {
        font-size: 1.8rem; /* Mobile Size matching Home */
        display: block; /* Stack icon and text */
        text-align: left;
    }
    
    .coaching-type-title::after {
        width: 80px; /* Smaller underline */
        left: 0; /* Star form left */
        transform: none; /* Remove center transform */
    }

    .coaching-type-subtitle {
        text-align: left;
        margin-left: 0;
    }

    .plan-price .amount {
        font-size: 2.2rem;
    }

    .pricing-card.featured .plan-price .amount {
        font-size: 2.5rem;
    }

    .btn-cta {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    .pricing-cta {
        padding: 3rem 0 0 0; /* Cut bottom padding completely */
        padding-bottom: 15px;
    }
    
    .cta-features {
        margin-bottom: 2rem;
    }
    
    .cta-subtitle {
        margin-bottom: 1.5rem;
    }
}

/* === Scroll reveal base state === */
.pricing-card {
    opacity: 0;
    transform: translateX(0);
    transition: transform 0.7s ease-out, opacity 0.7s ease-out;
}

/* Start off-screen */
.pricing-card.from-left {
    transform: translateX(-80px);
}

.pricing-card.from-right {
    transform: translateX(80px);
}

/* When visible */
.pricing-card.visible {
    opacity: 1;
    transform: translateX(0);
}