:root {
    --bg: #0f172a;
    --text: #ffffff;
    --card: #1e293b;
    --primary: #3b82f6;
}

body.light {
    --bg: #ffffff;
    --text: #0f172a;
    --card: #f1f5f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    transition: 0.3s;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: var(--bg);
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    z-index: 1000;
}

.logo {
    font-size: 22px;
}

.nav-actions {
    display: flex;
    gap: 10px;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 600px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    color: transparent;
}

.buttons {
    margin-top: 20px;
}

/* Buttons */
.btn {
    background: var(--primary);
    padding: 10px 20px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    margin: 5px;
    display: inline-block;
    transition: 0.3s;
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--primary);
}

.btn:hover {
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 60px 20px;
    text-align: center;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: var(--card);
    padding: 20px;
    border-radius: 10px;
    width: 200px;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.card:hover {
    transform: translateY(-10px);
}

.popular {
    border: 2px solid var(--primary);
}

/* Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 28px;
    }
}