:root { --header-h: 64px; }
        /* Modern Header Styles */
.main-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
}

.nav-logo i {
    color: #6366f1;
    font-size: 1.75rem;
}

.nav-brand-text {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: #6366f1;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6366f1;
    border-radius: 99px;
}

.nav-cta .btn-create {
    background: #6366f1;
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-cta .btn-create:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Hamburger Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #475569;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    transition: 0.3s;
}

/* Body lock for mobile menu */
body.no-scroll {
    overflow: hidden;
}

/* Dropdown Navigation - Base */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.nav-dropdown > a i.chevron {
    font-size: 0.72rem;
    transition: transform 0.25s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
    list-style: none;
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    z-index: 1050;
    margin-top: 0.5rem;
}

/* Invisible bridge to prevent mouse leaving hover area on desktop */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: #334155;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
}

.dropdown-menu a i {
    color: #6366f1;
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: #f1f5f9;
    color: #6366f1;
}

.dropdown-menu a.active::after {
    display: none;
}

/* Desktop specific */
@media (min-width: 992px) {
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        display: flex;
    }

    .nav-dropdown:hover > a i.chevron,
    .nav-dropdown:focus-within > a i.chevron {
        transform: rotate(180deg);
    }

    .mobile-cta {
        display: none;
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: var(--header-h);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
        background: white;
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1.25rem;
        transition: 0.3s ease-in-out;
        z-index: 999;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .nav-links .mobile-cta {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    /* Hamburger Animation */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Mobile Dropdown */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.5rem 0;
        font-size: 1rem;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        margin-top: 0.5rem;
        padding: 0.5rem;
        display: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: flex;
    }

    .nav-dropdown.open > a i.chevron {
        transform: rotate(180deg);
    }
}
.navbar { min-height: var(--header-h); }
.mobile-toggle { min-width: 44px; min-height: 44px; }
.nav-links a { padding-block: .35rem; }
@media (max-width: 991px) { .nav-links a { padding-block: .6rem; } }
.skip-link{position:absolute;left:-9999px;top:0;background:#4f46e5;color:#fff;padding:.6rem 1rem;z-index:2000;border-radius:0 0 .5rem 0}
.skip-link:focus{left:0}

.footer-contact-btn{display:inline-block;margin-top:.5rem;padding:.7rem 1.25rem;background:#6366f1;color:#fff;border-radius:.5rem;font-weight:600;text-decoration:none}
.footer-contact-btn:hover{background:#4f46e5}
@media (max-width: 640px){
  .page-content{padding:2rem 1rem !important}
  .footer-links a{display:inline-block;padding:.3rem 0}
}
img{max-width:100%;height:auto}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}*{animation-duration:.01ms !important;transition-duration:.01ms !important}}
@media (max-width: 768px){ input, select, textarea { font-size: 16px !important; } }
