:root {
    --bg: #07111f;
    --bg-soft: #0e1b2d;
    --panel: rgba(8, 17, 31, 0.72);
    --panel-border: rgba(255, 255, 255, 0.1);
    --text: #ecf5ff;
    --muted: #98a9c0;
    --accent: #6ee7c8;
    --accent-strong: #3dd8ff;
    --accent-warm: #ffd166;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Noto Sans SC", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(61, 216, 255, 0.18), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(255, 209, 102, 0.15), transparent 25%),
        linear-gradient(135deg, #030711 0%, #081220 45%, #0a1f34 100%);
    overflow-x: hidden;
}

a {
    color: inherit;
}

.page-shell {
    position: relative;
    min-height: 100vh;
    padding: 32px 20px 48px;
    isolation: isolate;
}

.bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(24px);
    opacity: 0.5;
    z-index: -1;
}

.orb-left {
    top: 100px;
    left: -80px;
    width: 260px;
    height: 260px;
    background: linear-gradient(135deg, rgba(61, 216, 255, 0.35), rgba(110, 231, 200, 0.08));
}

.orb-right {
    right: -60px;
    bottom: 80px;
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.22), rgba(255, 255, 255, 0.06));
}

.container {
    width: min(1080px, 100%);
    margin: 0 auto;
}

.hero {
    padding: 44px 0 28px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    margin: 0 0 20px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent);
    font: 600 0.82rem/1 "Outfit", sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-family: "Outfit", "Noto Sans SC", sans-serif;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-text {
    max-width: 660px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.9;
}

.nav-panel {
    position: relative;
    padding: 24px;
    border: 1px solid var(--panel-border);
    border-radius: 28px;
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.nav-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.panel-head h2 {
    margin: 0;
    font: 700 1.45rem/1.1 "Outfit", "Noto Sans SC", sans-serif;
}

.panel-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 102px;
    padding: 20px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(9, 20, 35, 0.78);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
    overflow: hidden;
}

.nav-link::after {
    content: "";
    position: absolute;
    inset: auto -30% -70% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 216, 255, 0.2), transparent 68%);
    opacity: 0;
    transition: opacity 220ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(110, 231, 200, 0.34);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        rgba(12, 26, 45, 0.88);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    opacity: 1;
}

.nav-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(110, 231, 200, 0.2), rgba(61, 216, 255, 0.14));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent);
    font: 700 0.95rem/1 "Outfit", sans-serif;
}

.nav-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-copy strong {
    font-size: 1.05rem;
    line-height: 1.4;
    font-weight: 700;
}

.nav-copy small {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.nav-arrow {
    font: 700 1.3rem/1 "Outfit", sans-serif;
    color: var(--accent-warm);
}

.nav-link.is-visible {
    animation: liftIn 560ms ease both;
}

@keyframes liftIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 820px) {
    .panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-shell {
        padding: 20px 14px 32px;
    }

    .hero {
        padding: 18px 0 22px;
    }

    .hero-text {
        font-size: 0.96rem;
        line-height: 1.8;
    }

    .nav-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .nav-link {
        grid-template-columns: 1fr auto;
        gap: 14px;
        min-height: auto;
        padding: 16px;
    }

    .nav-icon {
        grid-column: 1;
        width: 44px;
        height: 44px;
        border-radius: 14px;
        margin-bottom: 2px;
    }

    .nav-copy {
        grid-column: 1 / -1;
    }

    .nav-arrow {
        align-self: start;
    }
}
