/* Header Styles */
.s-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 22px;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(26, 30, 36, 0.92);
    border-bottom: none;
    transition: all 0.3s ease;
}

.header-logo {
    display: flex;
    align-items: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.header-logo img {
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.header-logo a:hover img {
    transform: scale(1.05);
}

.header-menu-toggle {
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--fg);
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.header-menu-toggle:hover {
    color: var(--accent);
}

/* Scrolled state */
.s-header.scrolled {
    padding: 0 22px;
    background: rgba(26, 30, 36, 0.98);
}

.s-header.scrolled .header-menu-toggle {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.header-menu-icon {
    display: inline-block;
    width: 25px;
    height: 2px;
    background: var(--accent);
    position: relative;
    transition: all 0.3s ease;
}

.header-menu-icon:after {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
}

.header-menu-icon:before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
}

.header-menu-toggle:hover .header-menu-icon,
.header-menu-toggle:hover .header-menu-icon:before,
.header-menu-toggle:hover .header-menu-icon:after {
    background: var(--accent2);
}

/* Mobile Navigation Menu */
.header-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--panel);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    opacity: 1;
    visibility: visible;
    transition: right 0.4s ease;
    overflow-y: auto;
    border-left: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.header-nav.active {
    right: 0;
}

.header-nav.active::after {
    content: '';
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
    animation: fadeIn 0.4s ease;
}

.header-nav__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    text-decoration: none;
}

.header-nav__close:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--accent2);
    color: var(--accent2);
    transform: rotate(90deg);
}

.header-nav__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.header-nav__content h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--accent);
    font-weight: 700;
    margin-top: 2rem;
}

.header-nav__list {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.header-nav__list li {
    margin-bottom: 1.8rem;
    animation: slideInRight 0.5s ease-out;
    animation-fill-mode: both;
}

.header-nav__list li:nth-child(1) { animation-delay: 0.1s; }
.header-nav__list li:nth-child(2) { animation-delay: 0.2s; }
.header-nav__list li:nth-child(3) { animation-delay: 0.3s; }
.header-nav__list li:nth-child(4) { animation-delay: 0.4s; }
.header-nav__list li:nth-child(5) { animation-delay: 0.5s; }

.header-nav__list a {
    color: var(--fg);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.header-nav__list a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transition: width 0.3s ease;
}

.header-nav__list a:hover {
    color: var(--accent);
}

.header-nav__list a:hover::before {
    width: 100%;
}

.nav-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
}

.header-nav__social {
    list-style: none;
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.5s ease-out 0.6s both;
}

.header-nav__social li a {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.header-nav__social li a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

/* Footer */
.s-footer {
    border-top: 1px solid var(--border);
    padding: 30px 0;
    background: var(--panel);
}

.footer-content {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-copy strong {
    color: var(--accent);
    font-weight: 600;
}
