/* Pricing Section */
.landing-pricing {
    padding: 80px 20px;
    background: none;
}

.pricing-container {
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

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

.pricing-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.pricing-header p {
    font-size: 18px;
    color: #94a3b8;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
}

.pricing-card-popular {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 2px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
    transform: scale(1.04);
    overflow: visible;
    padding-top: 48px;
}

.pricing-card-popular:hover {
    border-color: rgba(139, 92, 246, 0.6);
    transform: scale(1.04) translateY(-4px);
}

.pricing-desc {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 4px;
}

.pricing-badge {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    padding: 10px 28px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.5);
    z-index: 10;
    white-space: nowrap;
}

.pricing-plan {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-plan h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.price-amount {
    font-size: 56px;
    font-weight: 700;
    color: white;
}

.price-period {
    font-size: 20px;
    color: #94a3b8;
}

.pricing-trial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.2);
    padding: 10px 20px;
    border-radius: 12px;
    color: #c4b5fd;
    font-weight: 600;
}

.pricing-trial i {
    font-size: 18px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px 0;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.5;
}

.pricing-features li i {
    color: #8b5cf6;
    font-size: 18px;
    flex-shrink: 0;
}

.pricing-cta {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    margin-top: auto;
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
}

.pricing-cta:active {
    transform: translateY(0);
}

.pricing-cta-outline {
    background: transparent;
    border: 2px solid rgba(139, 92, 246, 0.4);
    box-shadow: none;
}

.pricing-cta-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.pricing-note {
    text-align: center;
    margin-top: 16px;
    color: #94a3b8;
    font-size: 14px;
}

/* Trial Expired Modal */
.trial-expired-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 10000;
    padding: 40px 20px;
    overflow-y: auto;
}

.trial-expired-content {
    background: #1e293b;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    padding: 48px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin: auto;
}

.trial-expired-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    color: white;
}

.trial-expired-content h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 16px;
}

.trial-expired-content p {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 32px;
    line-height: 1.6;
}

.trial-expired-price {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.trial-expired-price .price {
    font-size: 48px;
    font-weight: 700;
    color: white;
}

.trial-expired-price .period {
    font-size: 18px;
    color: #94a3b8;
}

.trial-expired-wide {
    max-width: 820px;
}

.trial-expired-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0 8px;
    text-align: left;
}

.trial-plan-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.trial-plan-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.trial-plan-popular {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.08));
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
}

.trial-plan-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.trial-plan-card h4 {
    font-size: 18px;
    color: white;
    margin: 0 0 8px;
}

.trial-plan-price {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.trial-plan-price span {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 400;
}

.trial-plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.trial-plan-card ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: #cbd5e1;
}

.trial-plan-card ul li i {
    color: #8b5cf6;
    font-size: 11px;
    flex-shrink: 0;
}

.upgrade-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
}

.upgrade-btn-outline {
    background: transparent;
    border: 2px solid rgba(139, 92, 246, 0.4);
    box-shadow: none;
}

.upgrade-btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.2);
}

/* Trial Banner */
.trial-banner {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    display: none;
}

.trial-banner.show {
    display: block;
}

.trial-banner a {
    color: white;
    text-decoration: underline;
    margin-left: 8px;
}

/* Billing Modal */
.billing-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background, #0f172a);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.billing-modal-overlay.active {
    opacity: 1;
}

.billing-modal {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.billing-modal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.billing-modal-nav h3 {
    font-size: 18px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
}

.billing-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.billing-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

.billing-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 60px;
}

.billing-plans {
    display: flex;
    gap: 24px;
    justify-content: center;
    max-width: 480px;
    width: 100%;
}

.billing-plans-3 {
    max-width: 900px;
    align-items: stretch;
}

.billing-plan-card {
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 36px;
    width: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.billing-plan-card.selected {
    border-color: rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(99, 102, 241, 0.06) 100%);
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.15);
}

.billing-plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.billing-plan-name {
    font-size: 16px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    margin-top: 8px;
}

.billing-plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 32px;
}

.billing-price-amount {
    font-size: 52px;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
}

.billing-price-period {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

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

.billing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.billing-features li i {
    color: #8b5cf6;
    font-size: 13px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.billing-cta-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.billing-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.billing-cta-outline {
    background: transparent;
    border: 2px solid rgba(139, 92, 246, 0.4);
    box-shadow: none;
}

.billing-cta-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.billing-trial-note {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    margin-top: 16px;
}

.billing-guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.billing-guarantee i {
    color: #10b981;
    font-size: 16px;
    flex-shrink: 0;
}

.billing-guarantee span {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-header h2 {
        font-size: 32px;
    }

    .price-amount {
        font-size: 42px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card-popular {
        transform: none;
        order: -1;
    }

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

    .pricing-card {
        padding: 32px 24px;
    }

    .trial-expired-content {
        padding: 32px 24px;
    }

    .trial-expired-wide {
        max-width: 100%;
    }

    .trial-expired-plans {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .trial-plan-popular {
        order: -1;
    }

    .trial-expired-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .trial-expired-content h2 {
        font-size: 24px;
    }
    
    .billing-modal-nav {
        padding: 16px 20px;
    }
    
    .billing-modal-body {
        padding: 24px 16px 40px;
        justify-content: flex-start;
    }
    
    .billing-plans-3 {
        flex-direction: column;
        max-width: 420px;
        margin: 0 auto;
    }

    .billing-plan-card {
        padding: 32px 24px;
    }
    
    .billing-price-amount {
        font-size: 42px;
    }
    
    .billing-features li {
        font-size: 14px;
    }
}
