/* Базовые стили и сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); /* Нежный градиентный фон */
    padding: 15px; /* Небольшие отступы по краям на мобильных */
}

.container {
    max-width: 800px; /* Максимальная ширина контента на десктопе */
    margin: 20px auto; /* Центрирование контейнера */
    background-color: #ffffff;
    padding: 25px 30px; /* Внутренние отступы */
    border-radius: 10px; /* Скругленные углы */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Легкая тень */
}

/* Типографика */
h1, h2 {
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50; /* Темно-синий */
    margin-bottom: 15px;
    text-align: center;
}

h1 {
    font-size: 2.2em; /* Размер для мобильных */
    font-weight: 700;
    color: #3498db; /* Синий акцент */
}

h2 {
    font-size: 1.8em; /* Размер для мобильных */
    margin-top: 30px;
    border-bottom: 2px solid #ecf0f1; /* Легкая линия под заголовком */
    padding-bottom: 5px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
    font-size: 1em; /* Базовый размер шрифта */
    color: #555;
}

.subtitle {
    text-align: center;
    font-size: 1.1em;
    color: #7f8c8d; /* Серый */
    margin-top: -10px;
    margin-bottom: 30px;
}

strong {
    font-weight: 700;
    color: #2980b9; /* Синий акцент для выделения */
}

/* Секции */
.intro, .features, .cta {
    margin-bottom: 30px;
}

/* Список возможностей */
.features ul {
    list-style: none; /* Убираем стандартные маркеры */
    padding-left: 0;
}

.features li {
    background-color: #f9f9f9; /* Легкий фон для пунктов */
    margin-bottom: 10px;
    padding: 15px;
    border-left: 4px solid #3498db; /* Акцентная линия слева */
    border-radius: 5px;
}

.features li strong {
    display: block; /* Название фичи на новой строке */
    margin-bottom: 5px;
    color: #2c3e50;
}

/* Призыв к действию (Call to Action) */
.cta {
    text-align: center;
}

.cta .highlight {
    font-size: 1.2em;
    font-weight: bold;
    color: #e74c3c; /* Красный акцент для призыва */
}

/* Опциональная кнопка (если добавите) */
/*
.button {
    display: inline-block;
    background-color: #3498db;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #2980b9;
}
*/

/* Подвал */
footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1; /* Легкая линия сверху */
    font-size: 0.9em;
    color: #95a5a6; /* Светло-серый */
}

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

/* Планшеты и небольшие десктопы (например, > 600px) */
@media (min-width: 600px) {
    body {
        padding: 30px; /* Больше отступы по краям */
    }

    .container {
        padding: 40px 50px;
    }

    h1 {
        font-size: 2.8em; /* Увеличиваем заголовки */
    }

    h2 {
        font-size: 2.1em;
    }

    p {
        font-size: 1.1em; /* Немного увеличиваем основной текст */
    }

    .features li strong {
        display: inline; /* Название фичи в строку с текстом */
        margin-bottom: 0;
    }
}

/* Большие десктопы (например, > 992px) */
@media (min-width: 992px) {
    h1 {
        font-size: 3.2em;
    }
    h2 {
        font-size: 2.4em;
    }
}

.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: none;
    border: 2px solid #fff;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: #fff;
    color: #000;
}

/* Email Signup Form */
.email-signup {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ecf0f1;
    text-align: center;
}

.email-signup h2 {
    margin-bottom: 20px;
    font-size: 1.6em; /* Adjust size as needed */
    color: #2c3e50;
}

#signup-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

#email-input {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 25px; /* Pill shape */
    font-size: 1em;
    flex-grow: 1; /* Allow input to grow */
    max-width: 300px; /* Limit width */
}

#signup-button {
    padding: 10px 25px;
    background-color: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 25px; /* Pill shape */
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#signup-button:hover {
    background-color: #2980b9;
}

.signup-message {
    margin-top: 15px;
    font-size: 0.9em;
    min-height: 1.2em; /* Reserve space to prevent layout shifts */
}

.signup-message.success {
    color: #27ae60; /* Green */
}

.signup-message.error {
    color: #e74c3c; /* Red */
}

/* Turnstile Widget */
.cf-turnstile {
    margin: 15px auto;
    display: flex;
    justify-content: center;
}