/* 
   Unified Apple Menu Style 
   Zero Dependencies. Mobile Responsive.
*/

/* Reset & Fonts already in apple.css, but ensure essentials here */
.pro-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    /* Precise Apple height */
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.pro-header__inner {
    max-width: 1024px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
}

/* Logo */
.pro-header__logo img {
    height: 24px;
    /* Subtle size */
    width: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.pro-header__logo:hover img {
    opacity: 1;
}

/* Desktop Nav */
.pro-nav {
    display: flex;
    gap: 32px;
}

.pro-nav__link {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    font-size: 14px;
    /* Apple uses 12-14px for menu */
    font-weight: 500;
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    letter-spacing: -0.01em;
    opacity: 0.8;
}

.pro-nav__link:hover {
    color: #0071E3;
    opacity: 1;
}

.pro-nav__link.active {
    color: #000;
    opacity: 1;
}

/* Active Indicator (optional, rare in Apple nav bar, usually just color) 
   But user requested bottom line 2px
*/
/* 
.pro-nav__link.active::after {
    content: '';
    position: absolute;
    bottom: -22px; 
    left: 0;
    width: 100%;
    height: 2px;
    background: #0071E3;
}
*/

/* Mobile Burger */
.pro-burger {
    display: none;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 10001;
}

.pro-burger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: #1d1d1f;
    margin: 3.5px auto;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Burger Animation State class */
.pro-burger.is-active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.pro-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.pro-burger.is-active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}


/* Mobile Overlay */
.pro-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pro-mobile-menu.is-active {
    opacity: 1;
    pointer-events: auto;
}

.pro-mobile-link {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pro-mobile-link.active {
    color: #0071E3;
}

/* Responsive */
@media (max-width: 860px) {
    .pro-nav {
        display: none;
    }

    .pro-burger {
        display: block;
    }
}