/* Header Base */
.nut-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-light, #e5e5e5);
}

.nut-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo */
.nut-header .logo {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary, #0a0a0a);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nut-header .logo span {
    color: var(--text-muted, #8a8a8a);
    font-weight: 400;
}

/* Desktop Navigation */
.nut-header nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nut-header nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary, #4a4a4a);
    text-decoration: none;
    transition: color 0.2s;
    padding: 8px 0;
    position: relative;
}

.nut-header nav a:hover {
    color: var(--text-primary, #0a0a0a);
}

.nut-header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-primary, #0a0a0a);
    transition: width 0.2s;
}

.nut-header nav a:hover::after {
    width: 100%;
}

/* Nav CTA Button */
.nut-header .nav-cta {
    background: var(--text-primary, #0a0a0a);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s !important;
}

.nut-header .nav-cta:hover {
    background: #333;
    transform: translateY(-1px);
}

.nut-header .nav-cta::after {
    display: none !important;
}

/* Mobile Menu Button */
.nut-header .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.nut-header .menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary, #0a0a0a);
    transition: all 0.3s;
}

.nut-header .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nut-header .menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nut-header .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Overlay */
.nut-header .mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border-light, #e5e5e5);
    padding: 0;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

.nut-header .mobile-nav.active {
    display: flex;
}

/* Mobile Nav Links */
.nut-header .mobile-nav > a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary, #0a0a0a);
    text-decoration: none;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light, #e5e5e5);
    transition: background-color 0.2s;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
}

.nut-header .mobile-nav > a:hover {
    background-color: var(--bg-secondary, #f8f9fa);
}

/* Mobile CTA Button */
.nut-header .mobile-nav > .nav-cta {
    margin: 16px 20px;
    padding: 16px 20px;
    text-align: center;
    display: block;
    border-radius: 10px;
    box-sizing: border-box;
    width: calc(100% - 40px);
    font-size: 15px;
    font-weight: 600;
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nut-header nav {
        display: none;
    }
    .nut-header .menu-toggle {
        display: flex;
    }
}