:root {
    --imperial-blue: #00335e;
    --background-white: #ffffff;
    --off-white: #f8f8f7;
    --real-grey: #4d4d4d;
    --bright-red: #d4001a;
    --accent-color: var(--imperial-blue);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-white);
    color: #1a1a1a;
    overflow-x: hidden;
}

.hero-text {
    font-size: clamp(3rem, 12vw, 10rem);
    line-height: 0.82;
    letter-spacing: -0.06em;
    color: var(--imperial-blue);
    font-weight: 900;
}

.main-content {
    margin-left: 0;
    width: 100%;
}

.color-swatch {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    background-size: cover;
    background-position: center;
}

.color-swatch:hover {
    transform: translateY(-8px) scale(1.05);
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.ai-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 300;
    align-items: center;
    justify-content: center;
}

.ai-modal.active {
    display: flex;
}

.ai-card {
    background: white;
    color: var(--imperial-blue);
    border: 1px solid rgba(0, 51, 94, 0.1);
}

.loading-dots:after {
    content: '.';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80%, 100% { content: ''; }
}

.brand-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .brand-logo {
        height: 48px;
    }
}

#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateX(100%);
}

#mobile-menu.active {
    transform: translateX(0);
}

.lang-btn {
    transition: all 0.3s ease;
}
.lang-btn.active {
    color: var(--imperial-blue);
    font-weight: 900;
}

/* Submenu Dropdown Logic */
.nav-item-dropdown {
    position: relative;
}
.dropdown-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: -1rem;
    background: white;
    min-width: 240px;
    padding: 1rem 0;
    border: 1px solid #f1f1f1;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.nav-item-dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Nested level logic */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu .nested-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    min-width: 240px;
    border: 1px solid #f1f1f1;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transform: translateX(10px);
    transition: all 0.2s ease;
    max-height: 80vh;
    overflow-y: auto;
}
.dropdown-submenu:hover .nested-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
