@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #08070d;
    --bg-secondary: #0d0b15;
    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-dark: #6d28d9;
    --text: #f5f3ff;
    --text-muted: #9b96aa;
    --border: rgba(139, 92, 246, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 50% 20%, rgba(124, 58, 237, 0.16), transparent 35%),
        radial-gradient(circle at 80% 80%, rgba(91, 33, 182, 0.10), transparent 30%);
    pointer-events: none;
}

.glow {
    position: fixed;
    width: 500px;
    height: 500px;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(124, 58, 237, 0.12);
    filter: blur(100px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 24px;
    display: flex;
    justify-content: center;
    z-index: 5;
}

.back {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: .25s ease;
}

.back:hover { color: var(--purple-light); }

.page {
    max-width: 1050px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.hero {
    text-align: center;
    padding: 40px 0 65px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 25px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.06);
    color: var(--purple-light);
    font-size: 13px;
    font-weight: 500;
    animation: fadeUp .8s ease both;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: #a78bfa;
    border-radius: 50%;
    box-shadow: 0 0 12px #8b5cf6;
}

h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.06em;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 20%, #c4b5fd 60%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fadeUp .8s ease .1s both;
}

.hero p {
    max-width: 600px;
    margin: 25px auto 0;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    animation: fadeUp .8s ease .2s both;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    position: relative;
    padding: 28px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text);
    background: linear-gradient(145deg, rgba(139,92,246,.09), rgba(255,255,255,.015));
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.card::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -70px;
    top: -70px;
    background: rgba(139,92,246,.14);
    filter: blur(45px);
    transition: .4s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(167,139,250,.45);
    background: linear-gradient(145deg, rgba(139,92,246,.15), rgba(255,255,255,.025));
    box-shadow: 0 15px 50px rgba(76,29,149,.15);
}

.card:hover::before { transform: scale(1.4); }

.icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(139,92,246,.12);
    border: 1px solid rgba(139,92,246,.18);
    color: var(--purple-light);
    font-size: 20px;
}

.card h2 { margin-top: 25px; font-size: 18px; }
.card p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.arrow {
    position: absolute;
    right: 25px;
    bottom: 25px;
    color: #686273;
    font-size: 18px;
    transition: .3s ease;
}

.card:hover .arrow {
    color: var(--purple-light);
    transform: translateX(4px);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    background: rgba(139,92,246,.14);
    border: 1px solid rgba(139,92,246,.28);
    transition: .25s ease;
}

.button:hover {
    background: rgba(139,92,246,.23);
    border-color: rgba(167,139,250,.5);
    transform: translateY(-2px);
}

.section-title {
    margin: 0 0 25px;
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .15em;
}

footer {
    padding: 30px 24px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.05);
    color: #625d6d;
    font-size: 12px;
}

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

@media (max-width: 750px) {
    .grid { grid-template-columns: 1fr; }
    .page { padding-top: 100px; }
    .hero { padding-bottom: 45px; }
}
