/* Скидання базових стилів */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основні стилі */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #f8f9fa;
}

/* Банер */
.banner {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    position: relative;
}

.banner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner-placeholder p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Якщо користувач додасть зображення в банер через background-image */
.banner img,
.banner[style*="background-image"] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Секції */
section {
    margin-bottom: 60px;
}

/* Заголовки */
h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 24px;
    line-height: 1.3;
}

h2 {
    font-size: 26px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Текст */
p {
    font-size: 16px;
    margin-bottom: 16px;
    color: #4a5568;
}

.lead-text {
    font-size: 18px;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 32px;
    line-height: 1.8;
}

/* Контент з зображенням */
.content-with-image {
    margin-top: 32px;
}

.content-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}

/* Таблиця */
.table-section {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.table-wrapper {
    overflow-x: auto;
    margin-top: 24px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.data-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.data-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
    color: #4a5568;
}

.data-table tbody tr:hover {
    background-color: #f7fafc;
    transition: background-color 0.2s ease;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Список */
.list-section {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.benefits-list {
    list-style: none;
    margin-top: 24px;
}

.benefits-list li {
    padding: 16px 0 16px 32px;
    position: relative;
    font-size: 16px;
    color: #4a5568;
    line-height: 1.7;
    border-bottom: 1px solid #e2e8f0;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 16px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.benefits-list li strong {
    color: #2d3748;
    font-weight: 600;
}

/* Завершальна секція */
.conclusion-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.conclusion-section p {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
}

/* Адаптивність для планшетів */
@media (max-width: 768px) {
    .banner {
        height: 200px;
    }

    .container {
        padding: 30px 16px;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 22px;
    }

    .lead-text {
        font-size: 17px;
    }

    p {
        font-size: 15px;
    }

    .table-section,
    .list-section {
        padding: 24px 16px;
    }

    .data-table th,
    .data-table td {
        padding: 12px 8px;
        font-size: 13px;
    }

    .conclusion-section {
        padding: 30px 20px;
    }
}

/* Адаптивність для мобільних телефонів */
@media (max-width: 480px) {
    .banner {
        height: 180px;
    }

    .banner-placeholder p {
        font-size: 14px;
    }

    .container {
        padding: 24px 12px;
    }

    h1 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .lead-text {
        font-size: 16px;
        margin-bottom: 24px;
    }

    p {
        font-size: 14px;
    }

    section {
        margin-bottom: 40px;
    }

    .table-section,
    .list-section {
        padding: 20px 12px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 6px;
        font-size: 12px;
    }

    .data-table th {
        font-size: 11px;
    }

    .benefits-list li {
        padding: 12px 0 12px 28px;
        font-size: 14px;
    }

    .benefits-list li::before {
        width: 20px;
        height: 20px;
        font-size: 12px;
        top: 12px;
    }

    .conclusion-section {
        padding: 24px 16px;
    }

    .conclusion-section p {
        font-size: 15px;
    }
}
/* Футер */
.footer {
    background: #1a202c;
    color: #ffffff;
    text-align: center;
    padding: 24px 20px;
    margin-top: 40px;
}

.footer p {
    font-size: 14px;
    color: #cbd5e0;
    margin: 0;
}

/* Адаптивність футера для мобільних */
@media (max-width: 480px) {
    .footer {
        padding: 20px 16px;
    }
    
    .footer p {
        font-size: 13px;
    }
}