/* Tariffs Section */
.tariffs-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 200px);
}

.tariffs-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.tariffs-subtitle {
    font-size: 20px;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tariff-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tariff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #4a90e2;
}

.tariff-card.popular {
    border-color: #4a90e2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.tariff-card.popular::before {
    content: "Популярный";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4a90e2;
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.tariff-header {
    text-align: center;
    margin-bottom: 30px;
}

.tariff-tokens {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.tariff-card.popular .tariff-tokens {
    color: #ffffff;
}

.tariff-tokens-label {
    font-size: 16px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tariff-card.popular .tariff-tokens-label {
    color: rgba(255, 255, 255, 0.9);
}

.tariff-price {
    font-size: 36px;
    font-weight: 700;
    color: #4a90e2;
    margin-bottom: 8px;
}

.tariff-card.popular .tariff-price {
    color: #ffffff;
}

.tariff-price-label {
    font-size: 14px;
    color: #999;
}

.tariff-card.popular .tariff-price-label {
    color: rgba(255, 255, 255, 0.8);
}

.tariff-price-per-image {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.tariff-card.popular .tariff-price-per-image {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.tariff-price-per-image strong {
    color: #4a90e2;
    font-size: 18px;
    font-weight: 700;
}

.tariff-card.popular .tariff-price-per-image strong {
    color: #ffffff;
}

.tariff-button {
    margin-top: auto;
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.tariff-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.tariff-button:active {
    transform: scale(0.98);
}

.tariff-card.popular .tariff-button {
    background: #ffffff;
    color: #667eea;
}

.tariff-card.popular .tariff-button:hover {
    background: #f0f0f0;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.tariff-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 768px) {
    .tariffs-section {
        padding: 40px 0;
    }
    
    .tariffs-title {
        font-size: 36px;
    }
    
    .tariffs-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .tariffs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .tariff-card {
        padding: 30px 20px;
    }
    
    .tariff-tokens {
        font-size: 40px;
    }
    
    .tariff-price {
        font-size: 32px;
    }
}
