:root {
    --bg: #020617;
    --card: #0f172a;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --accent: #38bdf8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
}

/* NAVBAR */
header {
    position: sticky;
    top: 0;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
    z-index: 100;
}

.logo {
    font-weight: bold;
    color: var(--accent);
    font-size: 20px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
}

nav a:hover {
    color: var(--accent);
}

/* HERO */
.hero {
    padding: 120px 8% 80px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.15), transparent 60%);
}

.hero h1 {
    font-size: 48px;
    max-width: 800px;
    margin: auto;
}

.hero p {
    margin: 20px auto;
    max-width: 600px;
    color: var(--muted);
}

.btn {
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--accent);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #020617;
    font-weight: bold;
}

/* SECTIONS */
.section {
    padding: 80px 8%;
}

.section h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: var(--accent);
}

.section p {
    max-width: 700px;
    color: var(--muted);
}

/* GRID */
.grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: var(--card);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #1e293b;
    transition: 0.3s;
}

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

.card h3 {
    margin-bottom: 10px;
}

/* CTA */
.cta {
    text-align: center;
    background: linear-gradient(135deg, #0f172a, #020617);
    padding: 80px 20px;
}

.cta h2 {
    margin-bottom: 15px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    color: var(--muted);
    border-top: 1px solid #1e293b;
}

/* ANIMATION */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
}
