:root {
    --primary-color: #4CAF50;
    --text-color: #212121;
    --text-muted: #616161;
    --bg-color: #FFFFFF;
    --border-color: #E0E0E0;
    --border-color-light: #F1F1F1;
    --radius-lg: 24px; 
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --font-family: 'Inter', -apple-system, sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color-light);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.lang-selector select {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-family: var(--font-family);
    font-size: 0.85rem;
    cursor: pointer;
    background: white;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 80px 0;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 0 0 24px 0;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 0 0 40px 0;
    font-weight: 400;
}

.store-badge {
    display: inline-block;
    transition: transform 0.2s ease, filter 0.2s ease; /* Добавили плавность для фильтра */
}

.store-badge:hover {
    transform: translateY(-4px);
    /* Исправлено: заменяем box-shadow на filter: drop-shadow для SVG */
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15));
}

.store-badge img {
    height: 180px;
    width: auto;
    display: block;
    border-radius: var(--radius-sm);
}

.hero-image-wrapper {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.footer {
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }
    .hero-section {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        /* ИСПРАВЛЕНО: 20px сверху, 20px справа, 0 снизу, 20px слева */
        padding: 20px 20px 0 20px; 
        gap: 20px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.3rem;
        letter-spacing: -1px;
        margin-bottom: 16px;
        word-break: break-word;
        hyphens: auto;
    }

    .hero-content p {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }

    .store-badges {
        justify-content: center;
        gap: 12px;
    }

    .store-badge img {
        height: 110px;
        max-width: 45vw;
        object-fit: contain;
    }

    .hero-image-wrapper {
        max-width: 100%;
        margin-top: 10px;
    }

    .logo {
        font-size: 1.1rem;
        gap: 8px;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
}
