@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

/* === THEMES === */
body.dark {
    --bg: #0e0e11;
    --text: #f5f5f5;
    --muted: #9ca3af;
    --accent: #6366f1;
}

body.light {
    --bg: #f5f6fa;
    --text: #111827;
    --muted: #6b7280;
    --accent: #4f46e5;
}

/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease, color 0.3s ease;
}

/* === NAVBAR === */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

body.light .navbar {
    background: rgba(255,255,255,0.7);
}

.logo {
    font-weight: 800;
    font-size: 1.3rem;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
}

nav a.active,
nav a:hover {
    color: var(--accent);
}

/* === THEME TOGGLE === */
.ui-toggle {
    margin-left: 1.5rem;
    background: rgba(255,255,255,0.15);
    border: none;
    font-size: 1rem;
    padding: 0.45rem 0.6rem;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s ease;
}

.ui-toggle:hover {
    transform: translateY(-1px);
}

/* === HERO === */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.hero p {
    color: var(--muted);
    margin-bottom: 2rem;
}

/* === BUTTONS === */
.buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.9rem 1.6rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.primary {
    background: var(--accent);
    color: white;
}

.secondary {
    border: 1px solid var(--accent);
    color: var(--accent);
}

.secondary:hover {
    background: var(--accent);
    color: white;
}

/* === ANIMATIONS === */
.fade-up {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}
