/* QR Fix Pricing Section Styles v2.7 */

.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(107, 46, 240, 0.02) 0%, rgba(155, 74, 255, 0.04) 40%, #fff 100%);
}

.pricing-section .pricing-inner {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-section .pricing-title {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #170F49;
    margin: 0 0 12px;
}

.pricing-section .pricing-sub {
    font-size: 20px;
    color: #000;
    margin: 0 0 40px;
}

/* Pricing Controls - Billing Toggle + Currency Selector */
.pricing-section .pricing-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.pricing-section .billing-toggle {
    display: flex;
    gap: 12px;
}

.pricing-section .billing-btn {
    font-size: 16px;
    padding: 12px 24px;
    border-radius: 10px;
    border: 2px solid #ddd;
    background: white;
    font-weight: 500;
    cursor: pointer;
    color: #170F49;
    transition: all 0.3s ease;
    font-family: inherit;
}

.pricing-section .billing-btn:hover {
    border-color: #897FFF;
}

.pricing-section .billing-btn.active {
    background: linear-gradient(180deg, #897FFF 0%, #4A3AFF 100%);
    color: white;
    border-color: transparent;
}

.pricing-section .billing-btn span {
    font-size: 12px;
    background: #eef2ff;
    color: #1D4ED8;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
}

.pricing-section .billing-btn.active span {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Currency Selector */
.pricing-section .currency-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.pricing-section .currency-selector:hover {
    border-color: #897FFF;
}

.pricing-section .currency-selector:focus-within {
    border-color: #897FFF;
    box-shadow: 0 0 0 3px rgba(137, 127, 255, 0.15);
}

.pricing-section .currency-selector label {
    display: flex;
    align-items: center;
    color: #6b7280;
}

.pricing-section .currency-selector label svg {
    width: 18px;
    height: 18px;
}

.pricing-section .currency-selector select {
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #170F49;
    cursor: pointer;
    padding: 4px 8px;
    padding-right: 24px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    min-width: 90px;
    font-family: inherit;
}

.pricing-section .currency-selector select:focus {
    outline: none;
}

.pricing-section .currency-selector select option {
    font-weight: 500;
    padding: 8px;
}

/* Pricing Grid */
.pricing-section .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Price Cards */
.pricing-section .price-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 35px 30px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.pricing-section .price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #1D4ED880;
}

.pricing-section .price-card.featured {
    background: linear-gradient(180deg, #897FFF 0%, #4A3AFF 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(137, 127, 255, 0.15);
}

.pricing-section .price-card.featured:hover {
    border: 2px solid #897FFF;
}

.pricing-section .price-card.active-plan {
    border-color: #10b981;
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.05), white);
}

.pricing-section .price-card.active-plan.featured {
    background: linear-gradient(180deg, #897FFF 0%, #4A3AFF 100%);
    border-color: #10b981;
    border-width: 3px;
}

.pricing-section .price-card.plan-locked {
    opacity: 0.75;
}

.pricing-section .price-card.plan-locked:hover {
    transform: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
    border-color: #e5e7eb;
}

/* Badges */
.pricing-section .active-badge,
.pricing-section .popular-badge,
.pricing-section .trial-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-section .active-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.pricing-section .popular-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
}

.pricing-section .trial-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    top: auto;
    bottom: -12px;
}

/* Plan Details */
.pricing-section .plan-name {
    font-weight: 700;
    font-size: 24px;
    color: #170F49;
    margin: 10px 0 8px;
}

.pricing-section .price-card.featured .plan-name {
    color: #fff;
}

.pricing-section .plan-desc {
    font-size: 15px;
    color: #6f6f7a;
    margin: 0 0 20px;
}

.pricing-section .price-card.featured .plan-desc {
    color: #f0f0ff;
}

/* Plan Price */
.pricing-section .plan-price {
    margin: 20px 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    color: #170F49;
}

.pricing-section .price-card.featured .plan-price {
    color: #fff;
}

.pricing-section .plan-price .currency-symbol {
    font-size: 28px;
    font-weight: 600;
    margin-right: 2px;
}

.pricing-section .plan-price .price-amount {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.pricing-section .plan-price .period {
    font-size: 18px;
    margin-left: 4px;
}

/* Buttons */
.pricing-section .btn-outline,
.pricing-section .btn-solid,
.pricing-section .btn-current,
.pricing-section .btn-current-solid,
.pricing-section .btn-disabled {
    width: 100%;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

.pricing-section .btn-outline {
    background: white;
    border: 2px solid #897FFF;
    color: #170F49;
}

.pricing-section .btn-outline:hover:not(:disabled) {
    background: #897FFF;
    color: white;
}

.pricing-section .btn-solid {
    background: linear-gradient(180deg, #897FFF 0%, #4A3AFF 100%);
    color: white;
}

.pricing-section .btn-solid:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 58, 255, 0.3);
}

.pricing-section .price-card.featured .btn-solid {
    background: #fff;
    color: #4A3AFF;
}

.pricing-section .price-card.featured .btn-solid:hover:not(:disabled) {
    background: #f0f0ff;
}

.pricing-section .btn-current,
.pricing-section .btn-current-solid {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
    cursor: not-allowed;
}

.pricing-section .btn-current-solid {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
}

.pricing-section .btn-current svg,
.pricing-section .btn-current-solid svg {
    width: 20px;
    height: 20px;
}

.pricing-section .btn-disabled {
    background: #f3f4f6;
    color: #9ca3af;
    border: 2px solid #d1d5db;
    cursor: not-allowed;
    margin-bottom: 8px;
}

.pricing-section .btn-disabled svg {
    width: 16px;
    height: 16px;
}

.pricing-section .price-card.featured .btn-disabled {
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.3);
}

.pricing-section .plan-locked-note {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 20px;
    margin-top: -4px;
}

.pricing-section .price-card.featured .plan-locked-note {
    color: rgba(255,255,255,0.7);
}

/* Trial Link */
.pricing-section .trial-link {
    color: #897FFF;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-top: -10px;
    margin-bottom: 20px;
    cursor: pointer;
}

.pricing-section .trial-link:hover {
    text-decoration: none;
}

.pricing-section .price-card.featured .trial-link {
    color: #f0f0ff;
}

.pricing-section .trial-used-note {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    margin-top: -10px;
    margin-bottom: 20px;
    font-style: italic;
}

.pricing-section .price-card.featured .trial-used-note {
    color: rgba(255,255,255,0.6);
}

/* Features List */
.pricing-section .plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-section .plan-features li {
    font-size: 15px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #170F49;
}

.pricing-section .price-card.featured .plan-features li {
    color: #fff;
}

.pricing-section .plan-features li.ok::before {
    content: "✓";
    color: #4ADE80;
    font-weight: 700;
    font-size: 18px;
}

.pricing-section .plan-features li.no::before {
    content: "✗";
    color: #f87171;
    font-weight: 700;
    font-size: 18px;
}

/* Plan Expiry Notice */
.pricing-section .plan-expiry-notice {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 16px 24px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    color: #92400e;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.pricing-section .plan-expiry-notice svg {
    flex-shrink: 0;
    color: #d97706;
}

.pricing-section .plan-expiry-notice strong {
    color: #78350f;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-section { padding: 50px 0; }
    .pricing-section .pricing-title { font-size: 32px; }
    .pricing-section .pricing-sub { font-size: 16px; }
    .pricing-section .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .pricing-section .pricing-controls {
        flex-direction: column;
        gap: 16px;
    }
    
    .pricing-section .billing-toggle { 
        flex-direction: column; 
        width: 100%;
        max-width: 300px;
    }
    
    .pricing-section .billing-btn { 
        width: 100%; 
    }
    
    .pricing-section .currency-selector {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .pricing-section .plan-expiry-notice { 
        flex-direction: column; 
        text-align: center; 
        gap: 8px; 
    }
}

@media (max-width: 480px) {
    .pricing-section .plan-price .price-amount { font-size: 36px; }
    .pricing-section .plan-price .currency-symbol { font-size: 22px; }
    .pricing-section .price-card { padding: 25px 20px; }
}