/* Страница цен - обновленные стили */

/* Hero секция */
.pricing-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.company-info {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.company-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.company-name {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.company-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Основные предложения */
.main-offers {
    padding: 80px 0;
}

.main-offers h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.offer-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.offer-card.featured {
    border-color: #3498db;
    transform: scale(1.02);
}

.offer-card.featured::before {
    content: "Рекомендуем";
    position: absolute;
    top: 20px;
    right: -30px;
    background: #e74c3c;
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
}

.card-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #eee;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.manufacturer {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Изображения препаратов */
.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f3f4 0%, #dadce0 100%);
    color: #5f6368;
    font-size: 0.9rem;
    text-align: center;
    z-index: 1;
}

.product-image img:not([src=""]):not([src*="placeholder"]) + .image-placeholder {
    display: none;
}

.card-content {
    padding: 2rem;
}

.dosage-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dosage-badge {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
}

.dosage-desc {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
}

.product-features li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 0.5rem;
}

.card-action {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Информация о производителе */
.manufacturer-info {
    padding: 80px 0;
}

.manufacturer-info h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.manufacturer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.manufacturer-details h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.manufacturer-details p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.quality-features h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.quality-features ul {
    list-style: none;
    padding: 0;
}

.quality-features li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.quality-features li::before {
    content: "●";
    color: #3498db;
    position: absolute;
    left: 0;
}

.comparison-table h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.dosage-comparison {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dosage-comparison th,
.dosage-comparison td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.dosage-comparison th {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    font-weight: 600;
}

.dosage-comparison tr:last-child td {
    border-bottom: none;
}

.dosage-comparison tr:nth-child(even) {
    background: #f8f9fa;
}

/* Преимущества */
.advantages {
    padding: 80px 0;
}

.advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #555;
    line-height: 1.6;
}

/* Важная информация */
.important-info {
    padding: 60px 0;
}

.info-card {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #f39c12;
    border-radius: 15px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.info-card h3 {
    color: #d68910;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.info-content ul {
    list-style: none;
    padding: 0;
}

.info-content li {
    padding: 0.75rem 0;
    color: #5d4e37;
    position: relative;
    padding-left: 1.5rem;
}

.info-content li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

/* Дополнительные ресурсы */
.additional-resources {
    padding: 80px 0;
}

.additional-resources h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.resource-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-secondary {
    display: inline-block;
    background: white;
    color: #3498db;
    padding: 0.75rem 1.5rem;
    border: 2px solid #3498db;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .manufacturer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-card.featured {
        transform: none;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .dosage-comparison {
        font-size: 0.9rem;
    }
    
    .dosage-comparison th,
    .dosage-comparison td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .main-offers,
    .manufacturer-info,
    .advantages,
    .additional-resources {
        padding: 40px 0;
    }
    
    .offer-card.featured::before {
        display: none;
    }
    
    .dosage-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .company-badge {
        padding: 0.75rem 1.5rem;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.offer-card,
.advantage-card,
.resource-card {
    animation: fadeInUp 0.6s ease forwards;
}

.offer-card:nth-child(2) {
    animation-delay: 0.2s;
}

/* Утилиты */
.bg-light {
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}