/* Pricing Page Premium Redesign */

.pricing-wrapper {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'DM Sans', sans-serif;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h2 {
    font-size: 35px;
    font-weight: 800;
    color: #1a1a1a;
    padding-top: 30px;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* 3-Column Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

/* Plans Accordion */
.plans-accordion-wrapper {
    margin-top: 15px;
}

.accordion-toggle {
    font-size: 14px;
    color: #059669;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(5, 150, 105, 0.05);
    transition: all 0.3s;
}

.accordion-toggle:hover {
    background: rgba(5, 150, 105, 0.1);
}

.accordion-toggle span {
    font-size: 10px;
    transition: transform 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plans-accordion-wrapper.active .accordion-content {
    max-height: 500px;
    padding-top: 10px;
}

.plans-accordion-wrapper.active .accordion-toggle span {
    transform: rotate(180deg);
}

.accordion-plan-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #059669;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.accordion-plan-btn:hover {
    filter: brightness(1.1);
}

/* Card Base Styles */
.pricing-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: #ffcc00;
    color: #000;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3);
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.card-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.check-video-link {
    color: #d4a017;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

/* Features List */
.features-list {
    margin-bottom: 30px;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.5;
}

.feature-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: #2e7d32;
    color: #e6f9e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding: 2px;
}

/* Card Variations */
.card-basic {
    background: #0f172a;
    color: #fff;
}

.card-basic .card-title,
.card-basic .card-subtitle,
.card-basic .feature-item {
    color: #fff;
}

.card-subscription {
    background: linear-gradient(135deg, #fdfbf7 0%, #fff8e6 100%);
    border: 1px solid #ffe599;
}

.card-gift {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
}

/* Buttons Styling */
.pricing-card a.ag-btn-small {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #059669;
    color: #fff;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.pricing-card br {
    display: none;
}

.pricing-card a.ag-btn-small:hover {
    background: #047857;
    filter: brightness(1.1);
}

.card-basic a.ag-btn-small {
    background: #059669;
}

.card-subscription a.ag-btn-small {
    background: #059669;
}

.card-gift-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #1e293b;
    color: #fff;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: background 0.3s;
}

.card-gift-btn:hover {
    background: #0f172a;
}

/* Variation Descriptions */
.ag-variation-description {
    display: block;
    font-size: 11px;
    margin-top: 4px;
    opacity: 0.7;
    text-align: center;
}

/* Scholarship Section */
.scholarship-section {
    text-align: center;
    margin-top: 30px;
    padding: 30px;
}

.scholarship-link-bottom {
    font-size: 18px;
    font-weight: 700;
    color: #059669;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.scholarship-link-bottom:hover {
    color: #047857;
}

.scholarship-link-bottom svg {
    transition: transform 0.3s;
}

.scholarship-link-bottom:hover svg {
    transform: translateX(5px);
}

/* Responsive Fixes & Mobile Slider */
@media (max-width: 768px) {
    .pricing-header h2 {
        font-size: 30px;
        padding: 0 15px;
    }

    .pricing-grid {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 0 15px;
        width: 100%;
        margin: 0;
    }

    .pricing-card {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        margin-bottom: 0;
        box-sizing: border-box;
        padding: 30px 20px;
    }

    /* Recommended badge adjustment for mobile */
    .card-badge {
        right: 20px;
        top: -12px;
        font-size: 11px;
        padding: 4px 12px;
    }

    .check-video-link {
        font-size: 13px;
    }

    .feature-item {
        font-size: 14px;
    }
}