/* SHARED HEADER STYLES FOR ALL PAGES */
/* Matches homepage header exactly */

/* Reset */
.header-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main wrapper */
.header-wrapper {
    background: #ffffff;
    border-bottom: 2px solid #0a0a0a;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Performance ticker bar */
.header-top {
    background: #0a0a0a;
    color: white;
    padding: 12px 0;
}

.header-top-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.performance-index {
    display: flex;
    gap: 32px;
    align-items: center;
}

.index-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.index-label {
    color: #999;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.index-value {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.index-change {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

.index-up {
    background: #00c853;
    color: white;
}

.index-down {
    background: #ff3333;
    color: white;
}

.header-date {
    color: #999;
    font-size: 13px;
}

/* Main header section */
.header-main {
    padding: 24px 0;
    background: white;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-icon {
    height: 36px;
    width: 36px;
    flex-shrink: 0;
}

.logo-text-wrapper {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.logo-text-system {
    color: #0a0a0a;
}

.logo-text-ratings {
    color: #0891b2;
}

.logo-tagline {
    margin-left: 16px;
    font-size: 12px;
    color: #666;
    display: none;
}

@media (min-width: 1024px) {
    .logo-tagline {
        display: block;
    }
}

/* Header actions (buttons) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-signin {
    padding: 10px 20px;
    border: 2px solid #0891b2;
    color: #0891b2;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-signin:hover {
    background: rgba(8, 145, 178, 0.1);
}

.btn-getstarted {
    padding: 10px 20px;
    background: #0891b2;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-getstarted:hover {
    background: #0f766e;
}

/* Navigation */
.nav-main {
    background: #0891b2 !important;
    border-top: 1px solid #0f766e;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-items {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-items li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-items a {
    display: block;
    padding: 16px 20px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.nav-items a:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    border-bottom-color: white;
}

/* Partner Logos Bar */
.partner-logos-bar {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.partner-logos-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-bar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    flex-wrap: wrap;
}

.featured-platforms-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4a4a4a;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.nav-logo-img {
    height: 45px;
    width: auto;
    max-width: 120px;
    opacity: 0.9;
    filter: contrast(0.8);
}

/* Mobile styles are handled by homepage-mobile-fix.css */