:root {
    --bg: #0b0c0f;
    --bg-2: #0f141b;
    --ink: #e9eef4;
    --muted: #a5b0bd;
    --accent: #6cf6d8;
    --accent-2: #ffb65e;
    --card: #141a22;
    --stroke: #263241;
    --glow: 0 20px 60px rgba(108, 246, 216, 0.18);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
}

.home {
    min-height: 100vh;
    background:
        radial-gradient(
            800px 400px at 10% -10%,
            rgba(108, 246, 216, 0.2),
            transparent 60%
        ),
        radial-gradient(
            700px 500px at 90% 0%,
            rgba(255, 182, 94, 0.2),
            transparent 60%
        ),
        linear-gradient(180deg, var(--bg), var(--bg-2));
    color: var(--ink);
    font-family:
        "Space Grotesk", "IBM Plex Sans", "Helvetica Neue", "Segoe UI",
        sans-serif;
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--glow);
    object-fit: cover;
    background: #0f141b;
}

.nav-links {
    display: inline-flex;
    gap: 16px;
    align-items: center;
}

.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    opacity: 0.9;
}

.nav-links a.secondary {
    border: 1px solid var(--stroke);
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    margin: 0 0 16px;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.hero p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 28px;
}

.cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    color: #061114;
    background: var(--accent);
    box-shadow: var(--glow);
}

.cta a.secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--stroke);
    box-shadow: none;
}

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

.card {
    background: var(--card);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 22px;
    min-height: 170px;
}

.card h3 {
    margin: 0 0 10px;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-link {
    color: var(--muted);
    text-decoration: none;
}

.fade-in {
    animation: fadeIn 700ms ease-out both;
}

.stagger > * {
    animation: fadeUp 700ms ease-out both;
}

.stagger > *:nth-child(2) {
    animation-delay: 120ms;
}

.stagger > *:nth-child(3) {
    animation-delay: 240ms;
}

.stagger > *:nth-child(4) {
    animation-delay: 360ms;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .nav {
        flex-direction: column;
        gap: 16px;
    }
    .footer {
        flex-direction: column;
        gap: 8px;
    }
}
