/* --- GLOBAL LINEAR THEME --- */
:root {
    --bg: #000000;
    --bg-secondary: #0a0a0a;
    --text-primary: #ededed;
    --text-secondary: #878787;
    --border: #222222;
    --border-hover: #333333;
    --accent: #5e6ad2;
}

body {
    background-color: var(--bg) !important;
    color: var(--text-primary) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

/* --- NOISE TEXTURE --- */
.noise {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 9999; opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- SUBTLE BACKGROUND GLOW --- */
.glow-bg {
    position: fixed; top: -30%; left: 50%; transform: translateX(-50%);
    width: 1200px; height: 800px;
    background: radial-gradient(ellipse at top, rgba(94, 106, 210, 0.12) 0%, transparent 70%);
    pointer-events: none; z-index: -1;
}

/* Glass Panels (Cards/Bento) */
.glass-panel, .glass-card, .card {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none !important;
}

.glass-panel:hover, .glass-card:hover, .card:hover {
    border-color: rgba(255,255,255,0.1) !important;
}

/* Inputs and Buttons override */
input, select, textarea {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-primary) !important;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent) !important;
    outline: none !important;
}
/* --- HEADER --- */
header#navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: 64px; border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,0.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    z-index: 100; transition: transform 0.3s ease;
}

.header-inner {
    max-width: 1000px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between; padding: 0 24px;
    position: relative;
}

.logo { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.logo img { height: 28px; width: auto; border-radius: 4px; }

.nav-center { display: flex; gap: 32px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-center a { font-size: 0.85rem; color: var(--text-secondary); transition: color 0.2s; font-weight: 500; text-decoration: none;}
.nav-center a:hover { color: var(--text-primary); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.signup-btn {
    font-size: 0.85rem; background: var(--text-primary); color: var(--bg);
    padding: 8px 16px; border-radius: 6px; font-weight: 500;
    transition: transform 0.2s; text-decoration: none;
}
.signup-btn:hover { transform: scale(1.05); }

/* --- FOOTER --- */
footer {
    border-top: 1px solid var(--border); padding: 80px 24px 60px; max-width: 1000px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: flex-start;
}
.footer-left .logo { margin-bottom: 20px; }
.footer-left p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 8px; }

.footer-links { display: flex; gap: 80px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 500; margin-bottom: 20px; color: var(--text-primary); }
.footer-col a { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 14px; transition: color 0.2s; text-decoration: none;}
.footer-col a:hover { color: var(--text-primary); }

/* --- RESPONSIVE HEADER/FOOTER --- */
@media (max-width: 768px) {
    .nav-center { display: none; }
    footer { flex-direction: column; gap: 40px; }
    .footer-links { flex-direction: column; gap: 40px; }
}
/* --- MOBILE MENU --- */
.nav-toggle { display: none; }
.nav-toggle-label {
    display: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 101;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block; background: var(--text-primary); height: 2px; position: absolute; border-radius: 2px; transition: all 0.3s;
}
.nav-toggle-label span { width: 100%; top: 9px; }
.nav-toggle-label span::before { content: ''; width: 100%; top: -8px; }
.nav-toggle-label span::after { content: ''; width: 100%; bottom: -8px; }
.mobile-only { display: none !important; }

@media (max-width: 768px) {
    .nav-toggle-label { display: block; }
    .nav-center {
        display: flex; flex-direction: column; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(0,0,0,0.95); backdrop-filter: blur(16px); padding-top: 100px;
        transform: translateY(-100%); transition: transform 0.3s ease-in-out;
        z-index: 99; align-items: center; gap: 40px;
    }
    .nav-center a { font-size: 1.2rem; }
    .nav-right { display: none; }
    .mobile-only { display: inline-block !important; margin-top: 20px; }
    
    .nav-toggle:checked ~ .nav-center { transform: translateY(0); }
    .nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
    .nav-toggle:checked ~ .nav-toggle-label span::before { transform: rotate(45deg); top: 0; }
    .nav-toggle:checked ~ .nav-toggle-label span::after { transform: rotate(-45deg); bottom: 0; }
}
