/* Components CSS - Modern Clean Design */

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(6, 11, 22, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-headline);
    font-size: 1.125rem;
    color: var(--text-primary);
    letter-spacing: 0.15em;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text-primary);
    position: absolute;
    transition: all 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 9px;
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-overlay a {
    font-family: var(--font-headline);
    font-size: var(--text-2xl);
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 6px;
}

.btn span {
    position: relative;
    z-index: 1;
}

/* Primary Button */
.btn-primary {
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 14px 36px;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--accent-gold-glow);
    color: var(--bg-primary);
    transform: translateY(-1px);
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 13px 36px;
}

.btn-ghost:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* ==================== SECTION LABELS ==================== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--accent-gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--accent-gold-dim);
}

/* ==================== CTA QUALIFIER ==================== */
.cta-qualifier {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 14px;
}

/* ==================== CARDS ==================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.card:hover {
    border-color: rgba(196, 151, 58, 0.2);
    background: rgba(15, 23, 42, 0.8);
    transform: translateY(-2px);
}

/* ==================== DIVIDER ==================== */
.section-divider {
    height: 1px;
    background: var(--border-subtle);
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    border: none;
}

/* ==================== FOOTER ==================== */
footer {
    border-top: 1px solid var(--border-subtle);
    padding: 48px 0;
    text-align: center;
}

/* ==================== LIGHT MODE OVERRIDES ==================== */
[data-theme="light"] .navbar.scrolled {
    background: rgba(250, 251, 252, 0.9);
}

[data-theme="light"] .card:hover {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .btn-ghost {
    border-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .btn-primary {
    color: #fff;
}