:root {
    /* Light Mode Palette - Blues & Greens */
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #0f172a;
    --primary: #2563eb;
    --secondary: #10b981;
    --border: #e2e8f0;
}

body.dark-mode {
    --bg: #020617;
    --card: #0f172a;
    --text: #f8fafc;
    --border: #1e293b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, sans-serif;
    transition: background 0.3s ease, color 0.3s ease;
}

body {
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Big Header Navigation */
nav {
    width: 100%;
    max-width: 1000px;
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem; /* Made bigger */
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary);
}

.logo span { color: var(--secondary); }

#theme-toggle {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Main Content Centering */
main {
    width: 100%;
    max-width: 800px; /* Keeps content readable and centered */
    padding: 0 1.5rem;
}

.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

/* Feature & Grid Styling */
.grid, .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card, article {
    background: var(--card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

/* FAQ Styling */
section { margin-bottom: 4rem; }
h2 { margin-bottom: 1.5rem; text-align: center; font-size: 2rem; }

details {
    background: var(--card);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

summary { font-weight: bold; cursor: pointer; }

footer {
    margin-top: auto;
    padding: 3rem;
    opacity: 0.6;
    text-align: center;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .hero h1 { font-size: 2.2rem; }
    .logo { font-size: 1.5rem; }
}