body {
    font-family: 'Inter', sans-serif;
}

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-text {
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #2563eb;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: white;
    color: #1f2937;
    font-size: 1.15rem;
    transition: all 0.3s;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    border-color: #3b82f6;
    color: #2563eb;
    outline: none;
}

.lang-picker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.45rem 0.75rem;
    transition: all 0.3s;
}

.lang-picker:hover,
.lang-picker:focus-within {
    border-color: #3b82f6;
}

.lang-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 1.35rem;
    border-radius: 0.25rem;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
}

.lang-select {
    appearance: auto;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 0.875rem;
    color: #374151;
    outline: none;
}

@media (max-width: 767px) {
    .site-nav {
        position: relative;
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-menu {
        display: none !important;
        position: absolute;
        top: calc(100% + 0.6rem);
        left: 1.5rem;
        right: 1.5rem;
        z-index: 20;
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.85rem;
        padding: 1rem;
        border: 1px solid #e5e7eb;
        border-radius: 0.75rem;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 35px rgba(15, 23, 42, 0.16);
    }

    .main-menu.is-open {
        display: flex !important;
    }

    .main-menu.space-x-8 > :not([hidden]) ~ :not([hidden]) {
        margin-left: 0;
    }

    .main-menu > li {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.65rem 0.75rem;
        border-radius: 0.5rem;
        font-size: 1rem;
    }

    .nav-link:hover,
    .nav-link:focus-visible {
        background: #eff6ff;
    }

    .nav-link::after {
        display: none;
    }

    .lang-picker {
        width: 100%;
        justify-content: space-between;
        padding: 0.65rem 0.75rem;
    }

    .lang-select {
        flex: 1;
        min-width: 0;
    }
}
