:root {
    --bg-canvas: #07131c;
    --bg-card: #0d1d28;
    --bg-alt: #0b1822;
    --bg-deep: #041018;
    --text-main: #d9f4ff;
    --text-soft: #89b7c8;
    --text-on-dark: #ecfcff;
    --line: #1d3542;
    --primary: #12d4ff;
    --primary-strong: #06a9d1;
    --accent: #39f4ff;
    --success: #22d39a;
    --warning: #f2b24d;
    --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.42);
    --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
    color: var(--text-main);
    background: var(--bg-canvas);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: "Bebas Neue", Impact, sans-serif;
    letter-spacing: 0.04em;
    line-height: 0.95;
}

code {
    font-family: "IBM Plex Mono", Consolas, monospace;
}

.site-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: 0.5;
}

.orb-one {
    width: 500px;
    height: 500px;
    top: -180px;
    left: -120px;
    background: radial-gradient(circle at 35% 35%, rgba(18, 212, 255, 0.32), rgba(18, 212, 255, 0));
}

.orb-two {
    width: 460px;
    height: 460px;
    right: -140px;
    bottom: -140px;
    background: radial-gradient(circle at 65% 40%, rgba(57, 244, 255, 0.28), rgba(57, 244, 255, 0));
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(63, 235, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(63, 235, 255, 0.07) 1px, transparent 1px);
    background-size: 36px 36px;
}

.container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(4, 16, 24, 0.82);
    border-bottom: 1px solid rgba(29, 53, 66, 0.92);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 8px 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #031019;
    font-size: 1.3rem;
}

.brand-logo {
    display: block;
    min-width: 56px;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 12px;
    object-fit: cover;
    background: transparent;
    box-shadow: 0 0 0 1px rgba(57, 244, 255, 0.35), 0 8px 20px rgba(57, 244, 255, 0.2);
}

.brand-name {
    font-weight: 700;
    font-size: 0.96rem;
    letter-spacing: 0.03em;
}

.main-nav {
    display: flex;
    gap: 22px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-soft);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 1;
    color: var(--accent);
}

.section-spacing {
    padding: 86px 0;
}

.hero {
    padding-top: 74px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(18, 212, 255, 0.1);
    border: 1px solid rgba(18, 212, 255, 0.3);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(2.8rem, 8vw, 5.4rem);
    color: var(--text-main);
    text-shadow: 0 0 26px rgba(57, 244, 255, 0.2);
}

.lede {
    margin-top: 18px;
    max-width: 62ch;
    color: var(--text-soft);
    font-size: 1.06rem;
}

.tag-list {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list span {
    background: var(--bg-card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hint {
    margin-top: 13px;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.hint code {
    color: var(--accent);
    font-weight: 700;
}

.join-panel {
    background: linear-gradient(180deg, #0f2230, #0d1d28);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

.join-panel h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text-main);
}

.meta-list {
    margin-top: 16px;
    list-style: none;
    border-top: 1px solid var(--line);
}

.meta-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.meta-list span {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.meta-list strong {
    text-align: right;
    color: var(--text-main);
    font-size: 0.9rem;
}

.connect-status {
    margin-top: 15px;
    min-height: 44px;
    border-left: 4px solid var(--accent);
    background: #062332;
    color: #87e9ff;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.panel-btn {
    width: 100%;
    margin-top: 10px;
}

.section-head {
    margin-bottom: 24px;
}

.section-head h2 {
    margin-top: 12px;
    font-size: clamp(2.1rem, 5vw, 4rem);
    color: var(--text-main);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--text-main);
}

.card p {
    margin-top: 10px;
    color: var(--text-soft);
}

.section-alt {
    background: linear-gradient(180deg, rgba(11, 24, 34, 0.72), rgba(7, 19, 28, 0.92));
    border-top: 1px solid rgba(29, 53, 66, 0.9);
    border-bottom: 1px solid rgba(29, 53, 66, 0.9);
}

.split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.section-copy {
    margin-top: 14px;
    color: var(--text-soft);
    max-width: 64ch;
}

.check-list {
    margin-top: 16px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    margin: 8px 0;
    color: var(--text-main);
    font-weight: 600;
}

.check-list li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 800;
}

.framework-panel {
    background: linear-gradient(160deg, #061a24, #0e3040);
    color: var(--text-on-dark);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow-lg);
}

.framework-panel h3 {
    font-size: clamp(1.9rem, 4vw, 2.5rem);
}

.metric {
    margin-top: 12px;
    border-top: 1px solid rgba(57, 244, 255, 0.22);
    padding-top: 12px;
}

.metric span {
    display: block;
    color: rgba(217, 244, 255, 0.76);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.metric strong {
    display: block;
    margin-top: 4px;
    font-size: 1rem;
}

.steps-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.step {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow-md);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.94rem;
}

.step h3 {
    margin-top: 10px;
    font-size: clamp(1.55rem, 3vw, 2rem);
    color: var(--text-main);
}

.step p {
    margin-top: 8px;
    color: var(--text-soft);
}

.command-box {
    margin-top: 18px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #0b1b25;
    box-shadow: var(--shadow-md);
}

.command-box p {
    color: var(--text-soft);
}

.command-row {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.command-row code {
    padding: 11px 12px;
    border-radius: 8px;
    border: 1px solid #275164;
    background: #081923;
    color: #9deeff;
    font-size: 0.95rem;
    font-weight: 500;
}

.site-footer {
    padding: 36px 0 42px;
    border-top: 1px solid var(--line);
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 600;
}

.btn {
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.18s ease, filter 0.18s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #031019;
    padding: 12px 18px;
    box-shadow: 0 10px 22px rgba(18, 212, 255, 0.3);
}

.btn-ghost {
    background: rgba(7, 25, 36, 0.88);
    border: 1px solid var(--line);
    color: var(--text-main);
    padding: 12px 16px;
}

.discord-cta {
    background: linear-gradient(135deg, #5865f2 0%, #6d77f7 45%, #8ea1ff 100%);
    border: 1px solid rgba(174, 186, 255, 0.65);
    color: #f4f7ff;
    box-shadow: 0 10px 24px rgba(88, 101, 242, 0.4);
}

.discord-cta:hover {
    box-shadow: 0 12px 30px rgba(114, 137, 218, 0.46);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 11px 14px;
}

.btn-small {
    padding: 9px 12px;
    font-size: 0.86rem;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.08s;
}

.delay-2 {
    transition-delay: 0.16s;
}

.delay-3 {
    transition-delay: 0.24s;
}

@media (max-width: 980px) {
    .main-nav {
        display: none;
    }

    .hero-grid,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .section-spacing {
        padding: 62px 0;
    }

    .site-header {
        position: static;
    }

    .card-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions,
    .command-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn,
    .command-row .btn,
    .command-row code {
        width: 100%;
        text-align: center;
    }
}
