/* --- Глобальные настройки и переменные --- */
:root {
    --primary-bg-color: #FFFFFF;
    --accent-color: #34C759;
    --text-color: #1C1C1E;
    --footer-bg-color: #F8F8F8;
    --font-headline: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* --- Сброс стилей и базовые настройки --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400; /* Regular */
    color: var(--text-color);
    background-color: var(--primary-bg-color);
    line-height: 1.6;
}

/* --- Контейнер для центрирования контента --- */
.container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* --- Стили для секций --- */
section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-headline);
    font-weight: 700; /* Bold */
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
}

/* --- Шапка (Hero Section) --- */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 25px;
}

.main-headline {
    font-family: var(--font-headline);
    font-weight: 700; /* Bold */
    font-size: 56px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.tagline {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
    color: #888;
}

/* --- Кнопка App Store --- */
/* ИЗМЕНЕНО: Стили для кастомной кнопки удалены. Осталась только обертка. */
.app-store-button {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.app-store-button:hover {
    opacity: 0.85; /* Легкий эффект при наведении */
}

/* ИЗМЕНЕНО: Добавлены стили для изображения значка */
.app-store-button img {
    height: 75px; /* Вы можете настроить высоту значка по своему вкусу */
    width: auto;
    display: block;
}

/* --- Секция с фичами (скриншотами) --- */
.feature-showcase-section {
    background-color: var(--footer-bg-color);
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.feature-item img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Секция "Как это работает" --- */
.steps-grid {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    text-align: center;
}

.step {
    max-width: 300px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
}

/* --- Секция с финальным призывом к действию --- */
.final-cta-section {
    text-align: center;
}

/* --- Подвал --- */
.footer-section {
    background-color: var(--footer-bg-color);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    font-size: 14px;
    color: #888;
}

/* --- Баннер Cookie --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--text-color);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: transform 0.5s ease-in-out;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-banner p {
    margin: 0;
    flex-grow: 1;
}

.cookie-banner a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-banner button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 20px;
    font-family: var(--font-body);
    font-weight: 700;
}

/* --- Адаптивность (Mobile-First подход) --- */

@media (max-width: 992px) {
    .main-headline {
        font-size: 48px;
    }
    .tagline {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .main-headline {
        font-size: 36px;
    }

    .tagline {
        font-size: 18px;
    }

    .features-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        max-width: 320px;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-banner button {
        margin-left: 0;
        width: 100%;
    }
}