:root {
    --primary-color: #e91e63;
    --primary-dark: #c2185b;
    --primary-light: #f8bbd9;
    --secondary-color: #9c27b0;
    --accent-color: #ff4081;
    --background-gradient: linear-gradient(135deg, rgba(233, 30, 99, 0.9), rgba(156, 39, 176, 0.9));
    --surface-color: rgba(255, 255, 255, 0.95);
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-on-primary: #ffffff;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 12px 36px rgba(0, 0, 0, 0.15);
    --border-radius: 20px;
    --container-max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--background-gradient), url('https://images.unsplash.com/photo-1517841905240-472988babdf9?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80') center/cover fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/*
.logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
*/

/* Стили для логотипа */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 50px; /* Фиксированная высота для логотипа */
}

.logo img {
    height: 100%; /* Логотип занимает всю высоту контейнера */
    width: auto; /* Ширина подстраивается пропорционально */
    max-width: 120px; /* Максимальная ширина логотипа */
    object-fit: contain; /* Сохраняет пропорции изображения */
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05); /* Легкое увеличение при наведении */
}



.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
    z-index: 1001;
    width: 30px;
    height: 30px;
    position: relative;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hamburger {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #ffffff;
        backdrop-filter: blur(20px);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        flex-direction: column;
        gap: 0;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav a {
        padding: 15px 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 1.1rem;
        width: 100%;
        display: block;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .main-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*background: rgba(0, 0, 0, 0.5);*/
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .main-nav.active::before {
        opacity: 1;
        pointer-events: all;
    }

    /* Адаптация логотипа для мобильных */
    .logo {
        height: 40px; /* Уменьшаем высоту логотипа на мобильных */
    }

    .logo img {
        max-width: 100px; /* Уменьшаем максимальную ширину на мобильных */
    }

}


@media (max-width: 480px) {
    .logo {
        height: 35px; /* Еще меньше на очень маленьких экранах */
    }

    .logo img {
        max-width: 90px; /* Еще меньше на очень маленьких экранах */
    }
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    color: var(--text-on-primary);
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background-gradient);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.cta-button {
    display: inline-block;
    background: var(--surface-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    background: var(--primary-color);
    color: var(--text-on-primary);
}

.features {
    padding: 6rem 0;
    background: var(--surface-color);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
    font-size: 2.8rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.how-it-works {
    padding: 6rem 0;
    background: var(--background-gradient);
    color: var(--text-on-primary);
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    max-width: 250px;
    opacity: 0;
    transform: translateY(30px);
}

.step.animated {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--surface-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-soft);
}

/* НОВЫЙ СТИЛЬ ДЛЯ СЕКЦИИ "НАШИ ПРЕИМУЩЕСТВА" */
.app-features {
    padding: 6rem 0;
    background: var(--surface-color);
}

.features-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-highlight {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.feature-highlight.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-highlight:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.feature-highlight-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-highlight:hover .feature-highlight-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-highlight h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.4rem;
}

.feature-highlight p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.download {
    padding: 6rem 0;
    background: var(--background-gradient);
    color: var(--text-on-primary);
    text-align: center;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    background: var(--surface-color);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    background: var(--primary-color);
    color: var(--text-on-primary);
}

.download-btn i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.main-footer {
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p, .footer-section a {
    color: #ccc;
    margin-bottom: 0.75rem;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.9rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .features-grid,
    .features-highlight-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-card,
    .feature-highlight {
        padding: 1.5rem;
    }
}
