/* header.css */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #10b981;
    --secondary-hover: #059669;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f1f5f9;
    color: #334155;
    line-height: 1.6;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 3rem;
    min-height: 60px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    /* Ensure no mask effects from other CSS files */
    mask-image: none !important;
    -webkit-mask-image: none !important;
    overflow: visible !important;
}

.header-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
    /* Reset all possible inherited styles */
    filter: none !important;
    mix-blend-mode: normal !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
}

.mobile-profile {
    display: none;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

#ballNav .nav-link:hover {
    color: var(--secondary);
    background: rgba(16, 185, 129, 0.05);
}

#ballNav .nav-link.active {
    color: var(--secondary);
    background: rgba(16, 185, 129, 0.1);
}

#ballNav .nav-link.active::after {
    background: var(--secondary);
}

.profile-container {
    margin-left: 1rem;
}

.profile-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f0f4f8, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray);
    border: 1px solid var(--border);
}

.profile-circle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--primary);
    background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
}







/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.04);
    z-index: 90;
    padding: 0.25rem 0;
    display: none;
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.25rem;
    text-decoration: none;
    color: var(--gray);
    font-size: 0.65rem;
    transition: var(--transition);
    flex: 1;
    border-radius: 0.375rem;
    position: relative;
    min-height: 58px;
}

.bottom-nav-item i {
    font-size: 1rem;
    margin-bottom: 0.15rem;
    transition: var(--transition);
}

.bottom-nav-item span {
    font-size: 0.65rem;
    font-weight: 500;
    line-height: 1.1;
}

.bottom-nav-item:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.bottom-nav-item:hover i {
    transform: translateY(-2px);
}

.bottom-nav-item.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

.bottom-nav-item.active i {
    transform: translateY(-2px);
}

#bottomBallNav .bottom-nav-item:hover {
    color: var(--secondary);
    background: rgba(16, 185, 129, 0.05);
}

#bottomBallNav .bottom-nav-item.active {
    color: var(--secondary);
    background: rgba(16, 185, 129, 0.1);
}

/* Coaching Navigation Colors */
#coachingNav .nav-link:hover {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

#coachingNav .nav-link.active {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

#coachingNav .nav-link.active::after {
    background: #f59e0b;
}

#bottomCoachingNav .bottom-nav-item:hover {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

#bottomCoachingNav .bottom-nav-item.active {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

#bottomCoachingNav .bottom-nav-item.active::after {
    background: #f59e0b;
}

/* Demo Content Styles */
.content {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.hero {
    background: linear-gradient(135deg, #0f172a, #1e40af);
    color: white;
    border-radius: 1rem;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .header-container {
        padding: 0.75rem 1.5rem;
        min-height: 55px;
    }
    
    .logo-section {
        gap: 1.5rem;
    }
    
    .main-nav {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.5rem 1rem;
        min-height: 50px;
        justify-content: center;
        position: relative;
    }
    
    .logo-section {
        gap: 0;
        justify-content: center;
    }
    
    .mobile-profile {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .desktop-nav {
        display: none;
    }
    
    .bottom-nav {
        display: block;
    }
    
    .hero {
        padding: 3rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.4rem 0.75rem;
        min-height: 45px;
    }
    
    .mobile-profile {
        right: 0.75rem;
    }
    
    .header-logo {
        height: 15px;
    }
    
    .bottom-nav {
        padding: 0.15rem 0;
    }
    
    .bottom-nav-container {
        padding: 0 0.25rem;
    }
    
    .bottom-nav-item {
        padding: 0.3rem 0.15rem;
        font-size: 0.6rem;
        min-height: 42px;
    }
    
    .bottom-nav-item i {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }
    
    .bottom-nav-item span {
        font-size: 0.6rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .bottom-nav {
        padding: 0.1rem 0;
    }
    
    .bottom-nav-item {
        padding: 0.25rem 0.1rem;
        min-height: 38px;
    }
    
    .bottom-nav-item i {
        font-size: 0.85rem;
        margin-bottom: 0.05rem;
    }
    
    .bottom-nav-item span {
        font-size: 0.55rem;
    }
}