/* Pricing Variants Styles */

/* ============================================
   Variant 1: Cards with Price Focus
   ============================================ */
.pricing-variant-1 {
    padding: 60px 0;
    background: #fafbfc;
}

.pricing-variant-1 .pricing-section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #1e1e1e;
    margin-bottom: 40px;
    font-family: "Outfit", sans-serif;
    letter-spacing: -0.5px;
}

.pricing-variant-1 .pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 5px;
    width: 320px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: inset 0px 1px 5px rgba(86, 110, 232, 0.1);
}

.pricing-variant-1 .toggle-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #6b7280;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Outfit", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pricing-variant-1 .toggle-btn.active {
    background: linear-gradient(90deg, #7252ff 0%, #aa3fff 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(114, 82, 255, 0.3);
}

.pricing-variant-1 .toggle-btn:hover:not(.active) {
    color: #7252ff;
}

.pricing-variant-1 .discount-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-variant-1 .pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-variant-1 .pricing-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-variant-1 .pricing-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.pricing-variant-1 .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #7252ff 0%, #aa3fff 100%);
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: "Outfit", sans-serif;
    box-shadow: 0 4px 12px rgba(114, 82, 255, 0.3);
    z-index: 1;
}

.pricing-variant-1 .discount-label {
    position: absolute;
    top: 35px;
    right: 20px;
    background: #10b981;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    font-family: "Outfit", sans-serif;
    z-index: 1;
}

.pricing-variant-1 .plan-name {
    font-size: 22px;
    font-weight: 600;
    color: #1e1e1e;
    margin-bottom: 6px;
    font-family: "Outfit", sans-serif;
}

.pricing-variant-1 .plan-description {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px;
    font-family: "Outfit", sans-serif;
    line-height: 1.4;
}

.pricing-variant-1 .price-section {
    margin-bottom: 18px;
    position: relative;
}

.pricing-variant-1 .price-amount {
    font-size: 48px;
    font-weight: 700;
    color: #1e1e1e;
    line-height: 1;
    margin-bottom: 4px;
    font-family: "Outfit", sans-serif;
}

.pricing-variant-1 .price-old {
    font-size: 24px;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: line-through;
    margin-bottom: 5px;
    font-family: "Outfit", sans-serif;
}

.pricing-variant-1 .price-period {
    font-size: 16px;
    color: #6b7280;
    font-family: "Outfit", sans-serif;
}

.pricing-variant-1 .price-note {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 5px;
    font-family: "Outfit", sans-serif;
}

.pricing-variant-1 .pricing-btn {
    width: 100%;
    max-width: 200px;
    margin: 0 auto 30px auto;
    padding: 12px 28px;
    border: 2px solid #7252ff;
    border-radius: 10px;
    background: #ffffff;
    color: #7252ff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Outfit", sans-serif;
    display: block;
    box-shadow: 0 2px 8px rgba(114, 82, 255, 0.15);
}

.pricing-variant-1 .pricing-btn:hover {
    background: #7252ff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(114, 82, 255, 0.3);
}

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

.pricing-variant-1 .features-list {
    margin-top: 15px;
}

.pricing-variant-1 .features-list li {
    padding: 6px 0;
    font-size: 12px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    font-family: "Outfit", sans-serif;
    line-height: 1.4;
}

.pricing-variant-1 .features-list li.pro-exclusive {
    color: #7252ff;
    font-weight: 600;
}

.pricing-variant-1 .features-list li:last-child {
    border-bottom: none;
}

.pricing-variant-1 .features-list li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 10px;
}

/* Credits Section */
.pricing-variant-1 .credits-section {
    margin-top: 8px;
    margin-bottom: 15px;
    padding-top: 0;
    padding-bottom: 0;
    border-top: none;
}

.pricing-variant-1 .credits-section.free-plan-credits {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    border-bottom: none !important;
}

/* Убираем полоску для Free плана - более специфичный селектор */
.pricing-variant-1 .pricing-card .credits-section.free-plan-credits {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Альтернативный селектор для совместимости */
.pricing-variant-1 .pricing-card[class*="free"] .credits-section,
.pricing-variant-1 .pricing-card:has(.free-plan-credits) .credits-section.free-plan-credits {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.pricing-variant-1 .credits-header {
    margin-bottom: 10px;
    font-family: "Outfit", sans-serif;
}

.pricing-variant-1 .credits-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.pricing-variant-1 .credits-amount {
    font-size: 14px;
    font-weight: 700;
    color: #7252ff;
    margin-left: 4px;
}

.pricing-variant-1 .credits-note {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 400;
    margin-left: 6px;
}

.pricing-variant-1 .credits-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-variant-1 .credits-features li {
    padding: 3px 0;
    font-size: 13px;
    color: #6b7280;
    font-family: "Outfit", sans-serif;
    line-height: 1.4;
}

.pricing-variant-1 .credits-features li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Video Generation Section */
.pricing-variant-1 .video-generation-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

.pricing-variant-1 .video-generation-header {
    font-family: "Outfit", sans-serif;
}

.pricing-variant-1 .video-generation-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.pricing-variant-1 .video-generation-credits {
    font-size: 14px;
    font-weight: 700;
    color: #7252ff;
    margin-left: 4px;
}

.pricing-variant-1 .video-creatives-note {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 400;
    margin-left: 6px;
}

.pricing-variant-1 .video-credits-note {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 400;
    margin-top: 2px;
    font-family: "Outfit", sans-serif;
    font-style: italic;
    line-height: 1.2;
}

/* Featured Card (Pro) - Highlighted */
.pricing-variant-1 .pricing-card.featured {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 2px solid #7252ff;
    box-shadow: 0 10px 40px rgba(114, 82, 255, 0.15);
    transform: scale(1.05);
}

.pricing-variant-1 .pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 50px rgba(114, 82, 255, 0.2);
}

.pricing-variant-1 .pricing-card.featured .plan-name {
    color: #7252ff;
}

.pricing-variant-1 .pricing-card.featured .price-amount {
    color: #7252ff;
}

.pricing-variant-1 .pricing-card.featured .pricing-btn {
    background: linear-gradient(90deg, #7252ff 0%, #aa3fff 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(114, 82, 255, 0.3);
}

.pricing-variant-1 .pricing-card.featured .pricing-btn:hover {
    opacity: 0.9;
    box-shadow: 0 6px 20px rgba(114, 82, 255, 0.4);
}


/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .pricing-variant-1 .pricing-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-variant-1 .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-variant-1 .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .pricing-variant-1 {
        padding: 60px 0;
    }
    
    .pricing-variant-1 .pricing-toggle {
        width: 100%;
        max-width: 320px;
    }
    
    .pricing-variant-1 .pricing-card {
        padding: 30px 20px;
    }
    
    .pricing-variant-1 .price-amount {
        font-size: 48px;
    }
    
    .pricing-variant-1 .discount-label {
        top: 25px;
        right: 15px;
        font-size: 10px;
        padding: 3px 10px;
    }
}

