/* Shared Navigation Styles */
nav#main-nav {
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-100, #f1f5f9);
}
[data-theme="dark"] nav#main-nav {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: var(--border-color, #334155);
}

nav#main-nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav#main-nav .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary, #0f172a);
}
[data-theme="dark"] nav#main-nav .nav-logo {
    color: #f1f5f9;
}

nav#main-nav .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary, #4f46e5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
nav#main-nav .logo-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

nav#main-nav .logo-pay {
    color: var(--primary, #4f46e5);
}

nav#main-nav .nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

nav#main-nav .nav-links a {
    text-decoration: none;
    color: var(--gray-600, #475569);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
nav#main-nav .nav-links a:hover {
    color: var(--primary, #4f46e5);
}
[data-theme="dark"] nav#main-nav .nav-links a {
    color: var(--gray-400, #94a3b8);
}

nav#main-nav .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

nav#main-nav .theme-toggle {
    background: none;
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    display: flex;
}
nav#main-nav .theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--gray-600, #475569);
}
nav#main-nav .theme-toggle .moon-icon { display: none; }
[data-theme="dark"] nav#main-nav .theme-toggle .sun-icon { display: none; }
[data-theme="dark"] nav#main-nav .theme-toggle .moon-icon { display: block; }
[data-theme="dark"] nav#main-nav .theme-toggle {
    border-color: var(--border-color, #334155);
}

nav#main-nav .nav-actions .btn.btn-primary.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    background: var(--primary, #4f46e5) !important;
    color: white !important;
    box-shadow: none !important;
}
nav#main-nav .nav-actions .btn.btn-primary.btn-nav:hover {
    background: var(--primary-dark, #3730a3) !important;
    transform: translateY(-1px);
    box-shadow: none !important;
}

/* Mobile Menu Button */
nav#main-nav .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-600, #475569);
    padding: 8px;
}

/* Mobile Menu */
nav#main-nav .mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    border-top: 1px solid var(--gray-100, #f1f5f9);
    padding: 16px 24px;
}
[data-theme="dark"] nav#main-nav .mobile-menu {
    background: var(--bg-primary, #0f172a);
    border-top-color: var(--border-color, #334155);
}

nav#main-nav .mobile-menu a {
    padding: 12px 0;
    text-decoration: none;
    color: var(--gray-600, #475569);
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100, #f1f5f9);
}
nav#main-nav .mobile-menu a:last-child { border-bottom: none; }
nav#main-nav .mobile-menu a:hover { color: var(--primary, #4f46e5); }
[data-theme="dark"] nav#main-nav .mobile-menu a {
    color: var(--gray-400, #94a3b8);
    border-bottom-color: var(--border-color, #334155);
}

nav#main-nav .mobile-menu .btn-primary {
    margin-top: 12px;
    text-align: center;
    background: var(--primary, #4f46e5);
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    nav#main-nav .nav-links { display: none; }
    nav#main-nav .nav-actions .btn-nav { display: none; }
    nav#main-nav .mobile-menu-btn { display: block; }
    nav#main-nav .mobile-menu.active { display: flex; }
}

/* Footer styles for static pages */
.footer-column h4 { color: white; font-size: 0.95rem; font-weight: 600; margin-bottom: 20px; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 10px; }
.footer-column a { color: var(--gray-400, #94a3b8); text-decoration: none; transition: color 0.2s; font-size: 0.9rem; }
.footer-column a:hover { color: white; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: white; }
footer .logo-icon { width: 36px; height: 36px; background: var(--primary, #4f46e5); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
footer .logo-icon svg { width: 20px; height: 20px; color: white; }
.footer-brand p { margin-top: 16px; line-height: 1.6; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--gray-800, #1e293b); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: var(--gray-400, #94a3b8); font-size: 0.85rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--gray-400, #94a3b8); transition: color 0.2s; }
.footer-social a:hover { color: white; }
.footer-social a svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: span 2; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
