:root {
    --background: #09090F;
    --surface: #11121D;
    --primary: #6D28D9;
    --secondary: #A855F7;
    --accent: #3B82F6;
    --text: #F1F5F9;
    --border: #243047;
    --muted: #94A3B8;
}

[data-theme="light"] {
    --background: #FFFFFF;
    --surface: #F5F5FA;
    --primary: #6D28D9;
    --secondary: #A855F7;
    --accent: #3B82F6;
    --text: #11121D;
    --muted: #64748B;
    --border: #E2E0EA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 8%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.logo {
    color: var(--secondary);
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--secondary);
}

.hero {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 8%;
    background: linear-gradient(135deg, #09090F, #1E1040, #101B38);
}

.subtitle {
    color: var(--secondary);
    font-weight: bold;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero > p:not(.subtitle) {
    max-width: 650px;
    margin-bottom: 25px;
}

.button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    background: #0284c7;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}

.button:hover {
    background: #0369a1;
}

.section {
    max-width: 1100px;
    margin: auto;
    padding: 75px 8%;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--secondary);
}

.section > p {
    margin-bottom: 15px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    transition: transform 0.2s, border-color 0.2s;
}

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

.card h3 {
    margin-bottom: 12px;
    color: var(--accent);
}

footer {
    padding: 25px;
    text-align: center;
    background: #111c32;
    color: #94a3b8;
}

@media (max-width: 600px) {
    .navbar {
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
        gap: 12px;
    }

    .section {
        padding: 55px 6%;
    }
}
