/* ============================================
   PRICING PAGE STYLES
   Using provided color palette and fonts
   ============================================ */

/* ============================================
   BREADCRUMB HERO
   ============================================ */
.breadcrumb-hero {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.breadcrumb-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(43, 41, 69, 0.85) 0%, rgba(30, 194, 139, 0.75) 100%);
}

.breadcrumb-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.breadcrumb-nav .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.breadcrumb-nav .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--theme-color1);
}

.breadcrumb-nav .breadcrumb-item.active {
    color: var(--theme-color6);
    font-family: "Jost", sans-serif;
    font-size: 14px;
}

.breadcrumb-nav .fa-angle-right {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 8px;
}

.breadcrumb-title {
    font-family: "Jost", sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--theme-color6);
    margin-bottom: 15px;
}

.breadcrumb-description {
    font-family: "Jost", sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--theme-color3);
    color: var(--theme-color4);
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.section-title {
    font-family: "Jost", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--theme-color8);
    margin-bottom: 15px;
}

.section-subtitle {
    font-family: "Jost", sans-serif;
    font-size: 16px;
    color: var(--theme-color7);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   BILLING TOGGLE
   ============================================ */
.billing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.billing-toggle {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--theme-color6);
    padding: 10px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.toggle-label {
    font-family: "Jost", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--theme-color7);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
}

.toggle-label.active {
    color: var(--theme-color8);
    font-weight: 600;
}

.toggle-label:hover {
    color: var(--theme-color1);
}

.save-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--theme-color2);
    color: var(--theme-color6);
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
}

.toggle-switch {
    position: relative;
    width: 55px;
    height: 28px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    border-radius: 28px;
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: var(--theme-color6);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--theme-color1);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(27px);
}

/* ============================================
   PRICING GRID
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    position: relative;
    background: var(--theme-color6);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card.animate-in {
    animation: slideUpFade 0.6s ease forwards;
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 2px solid var(--theme-color1);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 8px 16px;
    color: var(--theme-color6);
    font-family: "Jost", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
}

/* Plan Header */
.plan-header {
    text-align: center;
    margin-bottom: 25px;
}

.plan-name {
    font-family: "Jost", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--theme-color8);
    margin-bottom: 10px;
}

.plan-description {
    font-family: "Jost", sans-serif;
    font-size: 14px;
    color: var(--theme-color7);
    line-height: 1.5;
}

/* Plan Price */
.plan-price {
    text-align: center;
    margin-bottom: 20px;
    min-height: 100px;
}

.price-monthly,
.price-yearly {
    display: none;
}

.price-monthly.active,
.price-yearly.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.currency {
    font-family: "Jost", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--theme-color8);
    vertical-align: top;
}

.amount {
    font-family: "Jost", sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--theme-color8);
}

.period {
    font-family: "Jost", sans-serif;
    font-size: 16px;
    color: var(--theme-color7);
}

.monthly-equivalent {
    margin-top: 8px;
    padding: 5px 12px;
    background: var(--theme-color3);
    border-radius: 20px;
    display: inline-block;
}

.eq-label {
    font-family: "Jost", sans-serif;
    font-size: 12px;
    color: var(--theme-color4);
}

.eq-price {
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-color4);
}

/* Yearly Savings */
.yearly-savings {
    display: none;
    text-align: center;
    padding: 10px 15px;
    background: linear-gradient(135deg, var(--theme-color3) 0%, #e8f5e9 100%);
    border-radius: 10px;
    margin-bottom: 20px;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-color4);
}

.yearly-savings.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

.yearly-savings i {
    margin-right: 8px;
}

/* Plan Features */
.plan-features {
    margin-bottom: 30px;
}

.features-title {
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-color8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.feature-item.included .feature-icon {
    background: var(--theme-color3);
    color: var(--theme-color1);
}

.feature-item.excluded .feature-icon {
    background: #f5f5f5;
    color: #ccc;
}

.feature-text {
    font-family: "Jost", sans-serif;
    font-size: 14px;
    color: var(--theme-color8);
}

.feature-item.excluded .feature-text {
    color: #bbb;
    text-decoration: line-through;
}

/* Plan CTA */
.plan-cta {
    margin-top: auto;
}

.plan-cta .btn {
    width: 100%;
    padding: 15px 25px;
    border-radius: 10px;
    font-family: "Jost", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--theme-color1) 0%, var(--theme-color4) 100%);
    color: var(--theme-color6);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--theme-color4) 0%, var(--theme-color1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(30, 194, 139, 0.4);
}

.btn-current {
    background: var(--theme-color3);
    color: var(--theme-color4);
    cursor: default;
}

/* No Plans Message */
.no-plans-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.alert {
    padding: 20px 30px;
    border-radius: 10px;
    font-family: "Jost", sans-serif;
}

.alert-info {
    background: #e3f2fd;
    color: #1976d2;
}

/* ============================================
   PAYMENT METHODS SECTION
   ============================================ */
.payment-methods-section {
    text-align: center;
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 60px;
}

.payment-title {
    font-family: "Jost", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--theme-color8);
    margin-bottom: 10px;
}

.payment-subtitle {
    font-family: "Jost", sans-serif;
    font-size: 14px;
    color: var(--theme-color7);
    margin-bottom: 25px;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.payment-logo {
    padding: 15px 25px;
    background: var(--theme-color6);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.payment-logo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.payment-logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.gateway-name {
    font-family: "Jost", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--theme-color8);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.pricing-faq {
    margin-bottom: 60px;
}

.faq-title {
    font-family: "Jost", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--theme-color8);
    text-align: center;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.faq-item {
    background: var(--theme-color6);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-family: "Jost", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--theme-color8);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question i {
    color: var(--theme-color1);
    font-size: 18px;
}

.faq-answer {
    font-family: "Jost", sans-serif;
    font-size: 14px;
    color: var(--theme-color7);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.pricing-cta {
    background: linear-gradient(135deg, var(--theme-color8) 0%, #3d3b5e 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
}

.cta-content h3 {
    font-family: "Jost", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--theme-color6);
    margin-bottom: 10px;
}

.cta-content p {
    font-family: "Jost", sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: transparent;
    color: var(--theme-color6);
    border: 2px solid var(--theme-color6);
    border-radius: 10px;
    font-family: "Jost", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--theme-color6);
    color: var(--theme-color8);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 991px) {
    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .breadcrumb-hero {
        padding: 60px 0;
    }

    .breadcrumb-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .pricing-section {
        padding: 50px 0;
    }

    .billing-toggle {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .amount {
        font-size: 36px;
    }

    .pricing-cta {
        padding: 30px 20px;
    }

    .cta-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 24px;
    }

    .payment-logos {
        gap: 15px;
    }

    .payment-logo {
        padding: 10px 15px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pricing-card.popular .plan-badge {
    animation: pulse 2s infinite;
}

/* Loading State */
.pricing-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.pricing-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid var(--border-color);
    border-top-color: var(--theme-color1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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