/* Base Variables & Reset */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #171717;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent: #06b6d4; /* Cyan */
    --accent-hover: #0891b2;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    padding-top: 80px; /* Space for fixed navbar */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3 { margin-bottom: 1rem; font-weight: 600; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; color: var(--accent); }

.container { max-width: 1100px; margin: 0 auto; padding: 4rem 2rem; flex: 1; }

/* Navigation */
#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
    letter-spacing: 2px;
    text-decoration: none;
}

.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* Mobile Menu */
.burger { display: none; cursor: pointer; z-index: 1001; }
.burger div { width: 25px; height: 3px; background-color: var(--text-main); margin: 5px; transition: 0.3s; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--accent);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}
.btn:hover { background-color: var(--accent-hover); }

/* Page Headers (For subpages) */
.page-header {
    text-align: center;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(180deg, #111 0%, var(--bg-dark) 100%);
    border-bottom: 1px solid #222;
}

/* Grids & Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #333;
    transition: transform 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--accent); }
.card h3 { color: var(--accent); }

/* FAQ Accordion */
details {
    background: var(--bg-card);
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #333;
}
summary {
    font-weight: bold;
    cursor: pointer;
    color: var(--accent);
    outline: none;
}
details p { margin-top: 1rem; color: var(--text-muted); }

/* Forms */
form { display: flex; flex-direction: column; gap: 1.5rem; max-width: 600px; margin: 0 auto; }
input, textarea {
    width: 100%; padding: 1rem; background-color: var(--bg-card);
    border: 1px solid #333; border-radius: 5px; color: var(--text-main); font-size: 1rem;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }

/* Footer */
footer { text-align: center; padding: 2rem; background-color: #050505; color: var(--text-muted); border-top: 1px solid #222; }

/* Responsive */
@media screen and (max-width: 768px) {
    body { overflow-x: hidden; }
    .nav-links {
        position: fixed; right: -100%; top: 80px; flex-direction: column;
        background-color: #111; width: 100%; height: calc(100vh - 80px);
        align-items: center; justify-content: center; transition: right 0.4s ease;
    }
    .nav-links.nav-active { right: 0; }
    .burger { display: block; }
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
}
