﻿
:root {
    --bg-primary: #F5FAFF;
    --bg-secondary: #FFFFFF;
    --text-primary: #1C2B33;
    --text-secondary: #4F6977;
    --accent-primary: #2B7CFF;
    --accent-secondary: #5FD3A8;
    --shadow: 0 10px 30px rgba(28, 43, 51, 0.12);
    --shadow-hover: 0 16px 38px rgba(28, 43, 51, 0.16);
    --radius: 18px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}


.header {
    position: sticky;
    top: 0;
    background: rgba(245, 250, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(79, 105, 119, 0.08);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Baloo 2', cursive;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    background: rgba(43, 124, 255, 0.1);
    color: var(--accent-primary);
}

.nav-menu a.active {
    background: rgba(43, 124, 255, 0.15);
    color: var(--accent-primary);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


.footer {
    background: linear-gradient(135deg, #E9F2FF 0%, #F0F7FF 100%);
    padding: 40px 20px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(79, 105, 119, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 8px;
}

.footer-links a:hover {
    color: var(--accent-primary);
    background: rgba(43, 124, 255, 0.1);
}

.footer-google-play {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.google-play-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #000000;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    width: fit-content;
}

.google-play-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 0, 0, 0.4);
}

.google-play-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-play-icon svg {
    width: 100%;
    height: 100%;
}

.google-play-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.google-play-text-top {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.google-play-text-bottom {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

.hero-google-play {
    margin-top: 0;
}

.footer-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(79, 105, 119, 0.1);
}


.cookie-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.cookie-popup-content {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-hover);
    text-align: center;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-popup h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cookie-popup p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.cookie-popup-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent-primary), #5A9BFF);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: rgba(79, 105, 119, 0.1);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(79, 105, 119, 0.2);
}


.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-secondary);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 9999;
    max-width: 300px;
    animation: slideInRight 0.4s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cookie-banner p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.cookie-banner a {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 12px;
}


.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}


@keyframes bite {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-8px) scale(1.05);
    }
    60% {
        transform: translateY(-4px) scale(1.02);
    }
}

.bite-animation {
    animation: bite 1.2s ease-in-out infinite;
}


@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, var(--bg-secondary) 0%, #F8FAFC 100%);
        flex-direction: column;
        padding: 30px 20px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin-bottom: 12px;
        opacity: 0;
        transform: translateX(-20px);
        animation: slideInMenuItem 0.4s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) {
        animation-delay: 0.1s;
    }
    
    .nav-menu.active li:nth-child(2) {
        animation-delay: 0.15s;
    }
    
    .nav-menu.active li:nth-child(3) {
        animation-delay: 0.2s;
    }
    
    .nav-menu.active li:nth-child(4) {
        animation-delay: 0.25s;
    }
    
    .nav-menu.active li:nth-child(5) {
        animation-delay: 0.3s;
    }
    
    @keyframes slideInMenuItem {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav-menu a {
        display: block;
        padding: 20px 24px;
        border-radius: 12px;
        border-bottom: none;
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        font-size: 16px;
        font-weight: 500;
        color: var(--text-primary);
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(43, 124, 255, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-menu a:hover::before {
        left: 100%;
    }
    
    .nav-menu a:hover {
        background: linear-gradient(135deg, rgba(43, 124, 255, 0.1), rgba(95, 211, 168, 0.1));
        color: var(--accent-primary);
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(43, 124, 255, 0.15);
    }
    
    .nav-menu a.active {
        background: linear-gradient(135deg, var(--accent-primary), #5A9BFF);
        color: white;
        box-shadow: 0 4px 16px rgba(43, 124, 255, 0.3);
        font-weight: 600;
    }
    
    .nav-menu a.active:hover {
        transform: translateX(5px) scale(1.02);
        box-shadow: 0 6px 20px rgba(43, 124, 255, 0.4);
    }
    
    .burger-menu {
        display: flex;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}


