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

:root {
    --bg: #05060a;
    --bg-elevated: #0f1017;
    --bg-muted: #080910;
    --card: #141624;
    --card-muted: #1a1c2c;
    --text: #f4f6ff;
    --text-muted: #a0a7c4;
    --accent: #6c63ff;
    --accent-strong: #8f87ff;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 18px;
    --shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.65);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(108,99,255,0.15), transparent 55%), var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
}

.hero {
    padding: 5rem 1.5rem 4rem;
    text-align: center;
}

.hero__content {
    max-width: 860px;
    margin: 0 auto;
}

.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    margin: 0;
}

.hero__tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 1.5rem 0 2.5rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: var(--bg);
    box-shadow: 0 20px 40px -18px rgba(108, 99, 255, 0.9);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    border-color: transparent;
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text);
    background: transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

main {
    padding: 0 1.5rem 4rem;
}

.section {
    max-width: 1100px;
    margin: 0 auto 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.01);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px -40px rgba(0, 0, 0, 0.9);
}

.section--muted {
    background: var(--bg-muted);
}

.section__intro {
    margin-bottom: 2.5rem;
}

.section__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.section__intro h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.section__intro p {
    color: var(--text-muted);
    margin: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.8rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.card--muted {
    background: var(--card-muted);
}

.card__meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.pill {
    padding: 0.2rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pill--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.card h3 {
    margin: 0.3rem 0 0.8rem;
    font-size: 1.5rem;
}

.card p {
    margin: 0;
    color: var(--text-muted);
}

.card__list {
    margin: 1.25rem 0 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
}

.card__list li + li {
    margin-top: 0.4rem;
}

.card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.contact-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-card p {
    margin: 0;
    color: var(--text-muted);
}

.contact-card h3 {
    margin: 0.6rem 0 0;
    font-size: 1.1rem;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.footer {
    text-align: center;
    padding: 2rem 1.5rem 4rem;
    color: var(--text-muted);
}

code {
    font-family: 'Space Grotesk', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 640px) {
    .section {
        padding: 2rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .card__actions {
        flex-direction: column;
    }
}