@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-dark: #2c3e50;
    --text-light: #555;
}

body {
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-dark);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

/* Заголовок */
header {
    text-align: center;
    margin-bottom: 40px;
}

.header-icon {
    font-size: 3.5em;
    line-height: 1;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

header h1 {
    font-size: 2.8em;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

header .subtitle {
    font-size: 1.2em;
    color: var(--text-light);
    font-weight: 600;
}

/* Карточки */
.card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

main h2 {
    font-size: 1.8em;
    font-weight: 800;
    color: #34495e;
    margin-bottom: 20px;
}

/* Особенности - ИСПРАВЛЕННАЯ ВЕРСИЯ */
.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    display: flex;
    align-items: flex-start; /* Выравнивание по верху */
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.5;
}

.features li i {
    font-size: 1.5em;
    margin-right: 20px;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
    flex-shrink: 0; /* Иконка не будет сжиматься */
}

.features li div {
    flex: 1; /* Текстовый блок занимает оставшееся место */
}


/* Кнопка призыва к действию (CTA) */
.cta {
    text-align: center;
    padding: 30px 0;
}

.cta h2 {
    margin-bottom: 10px;
}

.cta p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    padding: 18px 40px;
    font-size: 1.3em;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.6);
}

/* Подвал */
footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.95em;
    color: #777;
}

.legal-info a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.legal-info a:hover {
    text-decoration: underline;
}

#legal-details {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9em;
    color: var(--text-light);
    border: 1px solid #eee;
    text-align: left;
}

/* --- Адаптивность --- */

@media (max-width: 840px) {
    .container { padding: 30px; }
    header h1 { font-size: 2.5em; }
    main h2 { font-size: 1.6em; }
}

@media (max-width: 600px) {
    body { padding: 15px; }
    .container { padding: 20px; }
    header h1 { font-size: 2em; }
    header .subtitle { font-size: 1.1em; }
    main h2 { font-size: 1.4em; }
    .features li { font-size: 1em; }
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 400px) {
    header h1 { font-size: 1.8em; }
    .features li i { margin-right: 15px; }
}