:root {
    /* COLORS */
    --color-primary: #0a6cff;
    --color-primary-hover: #085ee6;
    --color-accent: #e63946;
    --color-dark: #1b2530;
    --color-light: #f8faff;
    --color-white: #ffffff;

    /* SHADOWS */
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 25px rgba(0,0,0,0.06);

    /* RADIUS */
    --radius-md: 12px;

    /* TRANSITIONS */
    --transition-fast: 0.2s ease;
    --transition-main: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    background: var(--color-light);
    color: var(--color-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

/* LAYOUT */
.container {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 20px;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: 75px;
    display: flex;
    align-items: center;

    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

/* NAV WRAPPER */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* LOGO */
.logo {
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-primary);
}

.logo span {
    color: var(--color-accent);
}

/* RIGHT SIDE */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* LANGUAGE */
.lang-switch {
    font-size: 0.9rem;
    font-weight: 700;
}

.lang-switch a {
    color: #888;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.lang-switch a:hover {
    color: #444;
}

.lang-switch a.active {
    color: var(--color-primary);
}

/* NAVIGATION */
.nav-list {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

.nav-link {
    position: relative;

    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;

    color: var(--color-primary);

    transition: color var(--transition-main);
}

/* PREMIUM HOVER */
.nav-link:hover {
    color: var(--color-primary-hover);
}

.nav-link.active {
    color: var(--color-accent);
}

/* ✨ PREMIUM UNDERLINE (SMOOTH + DELAY FEEL) */
.nav-link::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -6px;

    height: 2px;
    background: currentColor;

    transform: scaleX(0);
    transform-origin: left;

    opacity: 0;

    transition:
        transform var(--transition-main),
        opacity var(--transition-fast);
}

.nav-link:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.nav-link.active::after {
    transform: scaleX(1);
    opacity: 1;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;

    transition:
        transform var(--transition-main),
        opacity var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE NAV */
@media (max-width: 992px) {

    .hamburger {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 75px;
        left: 0;

        width: 280px;
        height: calc(100vh - 75px - 60px);

        flex-direction: column;
        align-items: flex-start;
        gap: 28px;

        padding: 40px 30px;

        background: var(--color-white);
        box-shadow: var(--shadow-md);

        transform: translateX(-100%);
        transition: transform var(--transition-main);
    }

    .nav-list.show {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.1rem;
        width: 100%;
    }
}

/* COMPARISON */
.comparison-box {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.comparison-img {
    width: 100%;
    max-width: 450px;

    aspect-ratio: 4 / 3;
    object-fit: cover;

    border-radius: var(--radius-md);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .comparison-box {
        flex-direction: column;
    }

    .comparison-img {
        max-width: 100%;
    }
}

/* CARD LINK */
.card-link {
    display: inline-flex;
    align-items: center;

    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;

    color: var(--color-primary);

    transition:
        color var(--transition-main),
        transform var(--transition-main);
}

.card-link:hover {
    color: var(--color-accent);
    transform: translateX(6px);
}

/* ACCESSIBILITY */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}