:root {
    --bg: #070b16;
    --surface: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.09);
    --text: #e7ecf6;
    --muted: #8b97b1;
    --cyan: #06b6d4;
    --violet: #8b5cf6;
    --pink: #ec4899;
    --radius: 18px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* Background */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.45;
}
.orb-1 { width: 520px; height: 520px; background: var(--violet); top: -160px; left: -120px; animation: float 16s ease-in-out infinite; }
.orb-2 { width: 460px; height: 460px; background: var(--cyan); bottom: -160px; right: -100px; animation: float 20s ease-in-out infinite reverse; }

.grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, 30px); }
}

/* Nav */
.nav {
    width: min(1120px, 92%);
    margin: 0 auto;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand b { background: linear-gradient(90deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.logo { display: inline-flex; align-items: flex-end; gap: 3px; width: 28px; height: 28px; }
.logo i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, var(--cyan), var(--violet)); }
.logo i:nth-child(1) { height: 45%; }
.logo i:nth-child(2) { height: 100%; }
.logo i:nth-child(3) { height: 70%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .card:focus-visible, .mail:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    border-color: transparent;
    box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.6);
}
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(139, 92, 246, 0.7); }
.btn-ghost { background: var(--surface); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.2); }

main { width: min(1120px, 92%); margin: 0 auto; flex: 1; }

/* Hero */
.hero { text-align: center; padding: 72px 0 56px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6); animation: pulse 2s infinite; }

@keyframes pulse {
    70% { box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

h1 {
    margin: 0 0 24px;
    font-size: clamp(2.6rem, 7vw, 5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.035em;
}
.grad {
    background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead { max-width: 620px; margin: 0 auto 36px; color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.2rem); }

.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.balls { list-style: none; margin: 56px 0 0; padding: 0; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.balls li {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-family: var(--mono);
    font-weight: 500;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04) 60%);
    border: 1px solid var(--border);
    box-shadow: inset 0 -6px 14px rgba(0, 0, 0, 0.35), 0 10px 24px -10px rgba(0, 0, 0, 0.6);
    animation: bob 4s ease-in-out infinite;
}
.balls li:nth-child(2) { animation-delay: -0.6s; }
.balls li:nth-child(3) { animation-delay: -1.2s; }
.balls li:nth-child(4) { animation-delay: -1.8s; }
.balls li:nth-child(5) { animation-delay: -2.4s; }
.balls li:nth-child(6) { animation-delay: -3s; }
.balls .bonus { background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.4), var(--violet) 70%); border-color: transparent; }

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; padding: 24px 0 72px; }
.pillar { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.pillar h3 { margin: 0 0 6px; font-size: 1rem; color: var(--cyan); }
.pillar p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* Network */
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .eyebrow { margin-bottom: 14px; }
h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -0.025em; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
    opacity: 0;
    transition: opacity 0.25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, 0.5); box-shadow: 0 24px 50px -24px rgba(139, 92, 246, 0.55); }
.card:hover::before { opacity: 1; }

.chip {
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.12);
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.card h3 { margin: 0 0 10px; font-size: 1.5rem; letter-spacing: -0.02em; }
.card p { margin: 0 0 26px; color: var(--muted); flex: 1; }

.visit { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.9rem; color: var(--text); }
.visit svg { transition: transform 0.2s; }
.card:hover .visit svg { transform: translateX(5px); }

/* Contact */
.contact {
    margin: 80px 0;
    padding: 56px 24px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 26px;
    background:
        radial-gradient(600px 220px at 50% 0%, rgba(139, 92, 246, 0.22), transparent 70%),
        var(--surface);
}
.contact p { max-width: 480px; margin: 12px auto 26px; color: var(--muted); }
.mail {
    display: inline-block;
    font-family: var(--mono);
    font-size: clamp(0.95rem, 3vw, 1.25rem);
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: var(--cyan);
    background: rgba(6, 182, 212, 0.08);
    transition: background 0.2s, transform 0.2s;
    overflow-wrap: anywhere;
}
.mail:hover { background: rgba(6, 182, 212, 0.16); transform: translateY(-2px); }

/* Footer */
.footer {
    width: min(1120px, 92%);
    margin: 0 auto;
    padding: 28px 0 36px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.85rem;
}

@media (max-width: 560px) {
    .hero { padding-top: 40px; }
    .balls li { width: 46px; height: 46px; }
    .footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
