:root {
    --bg: #070b12;
    --bg-2: #0d1624;
    --panel: #0f1c2f;
    --stroke: #1f2f45;
    --accent: #1ff2c2;
    --accent-2: #74c0ff;
    --text: #e6edf3;
    --text-dim: #9fb3c8;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Special+Elite&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fira Code', 'Roboto', 'Special Elite', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(31, 242, 194, 0.08), transparent 28%),
        radial-gradient(circle at 78% 18%, rgba(116, 192, 255, 0.08), transparent 30%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 82px 82px, 82px 82px;
    background-position: center;
    padding-bottom: 64px;
}

a {
    color: var(--accent);
    text-decoration: none;
}

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

.container {
    width: min(1100px, 90vw);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(11, 15, 23, 0.75);
    border-bottom: 1px solid var(--stroke);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}

.brand {
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-list a {
    color: var(--text-dim);
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-list a:hover {
    color: var(--accent);
    background: rgba(18, 247, 214, 0.08);
}

main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.panel {
    width: min(1100px, 90vw);
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(18, 247, 214, 0.05), rgba(126, 243, 255, 0.05)) border-box,
        linear-gradient(145deg, #0f1724, #0f1724) padding-box;
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.panel h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.panel h3 {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--accent);
}

.panel ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 6px;
}

.panel li::before {
    content: '▹';
    color: var(--accent);
    margin-right: 8px;
    font-size: 0.9rem;
}

.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 72px 0 96px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--stroke);
    background: radial-gradient(circle at 25% 20%, rgba(31, 242, 194, 0.08), transparent 35%),
        radial-gradient(circle at 75% 15%, rgba(116, 192, 255, 0.09), transparent 38%),
        linear-gradient(135deg, rgba(31, 242, 194, 0.05), rgba(7, 11, 18, 0.6));
    animation: gradient-pan 16s ease-in-out infinite alternate;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    background: linear-gradient(120deg, rgba(31, 242, 194, 0.08), rgba(116, 192, 255, 0));
    mix-blend-mode: screen;
    opacity: 0.7;
    animation: gradient-pan 18s linear infinite;
}

.hero::after {
    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: 110px 110px, 110px 110px;
    opacity: 0.35;
    mix-blend-mode: screen;
    animation: grid-shift 22s linear infinite;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
}

.hero-center {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.hero-text h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.typewriter {
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    width: max-content;
    max-width: 0;
    animation: typing 3s steps(16, end) forwards;
}

.lead {
    color: var(--text-dim);
    margin-bottom: 16px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-2);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 18px;
}

.tag {
    border: 1px solid var(--stroke);
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(18, 247, 214, 0.08);
    color: var(--text);
    font-size: 0.9rem;
}

.cta-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border 0.15s ease;
    border: 1px solid transparent;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #0a0f17;
    box-shadow: 0 12px 30px rgba(18, 247, 214, 0.25);
}

.btn.ghost {
    border: 1px solid var(--stroke);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(18, 247, 214, 0.28);
}

.hero-visual {
    position: relative;
    height: 320px;
    border: 1px solid var(--stroke);
    border-radius: 20px;
    background: radial-gradient(circle at 30% 30%, rgba(31, 242, 194, 0.18), transparent 52%),
        radial-gradient(circle at 70% 50%, rgba(116, 192, 255, 0.20), transparent 52%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    overflow: hidden;
}

.orb {
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18, 247, 214, 0.55), rgba(18, 247, 214, 0));
    filter: blur(4px);
    animation: float 8s ease-in-out infinite;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    mix-blend-mode: screen;
    opacity: 0.7;
    animation: grid-shift 26s linear infinite;
}

.caption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.scroll-hint {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(6px);
    animation: float 3.8s ease-in-out infinite;
}

.scroll-hint:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.chevron {
    font-size: 1.1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.card {
    background: var(--bg-2);
    border: 1px solid var(--stroke);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.card.empty {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.card.empty h3 {
    color: var(--text-dim);
}

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

.card-header {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot.green { background: #1dd1a1; }
.dot.yellow { background: #feca57; }
.dot.red { background: #ff6b6b; }

.link {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-top: 12px;
    color: var(--accent);
    font-weight: 600;
}

.link:hover {
    color: var(--accent-2);
}

.tag.small {
    font-size: 0.75rem;
    padding: 2px 8px;
    margin-left: auto;
    background: rgba(31, 242, 194, 0.12);
}

@keyframes gradient-pan {
    0% { background-position: 0% 0%; }
    50% { background-position: 50% 50%; }
    100% { background-position: 100% 100%; }
}

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

@keyframes grid-shift {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 110px 110px, 110px 110px; }
}

@keyframes typing {
    from { max-width: 0; }
    to { max-width: 100%; }
}


footer {
    margin-top: 32px;
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--stroke);
}

footer > div, footer p {
    color: var(--text-dim);
}

footer .brand {
    color: var(--accent);
}

footer > div {
    margin: 6px 0;
}

footer a {
    display: inline-block;
    margin-right: 10px;
    color: var(--text);
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .nav-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .panel {
        padding: 20px;
    }
    .nav-list {
        gap: 12px;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
}