:root {
    --bg: #11151b;
    --bg-2: #181e26;
    --bg-3: #202733;
    --panel: rgba(255, 255, 255, 0.045);
    --panel-strong: rgba(255, 255, 255, 0.075);
    --line: rgba(255, 255, 255, 0.11);
    --text: #f4f7fb;
    --muted: #b5c0cf;
    --faint: #7f8a9b;
    --blue: #4b8dff;
    --cyan: #34d2d0;
    --green: #48d27a;
    --amber: #f0b84a;
    --rose: #ef6f8f;
    --violet: #8c7dff;
    --shadow: rgba(0, 0, 0, 0.34);
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
    overflow-wrap: break-word;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 18% 18%, rgba(75, 141, 255, 0.18), transparent 28%),
        radial-gradient(circle at 84% 12%, rgba(52, 210, 208, 0.12), transparent 26%),
        linear-gradient(135deg, #11151b 0%, #151a23 48%, #1d2430 100%);
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100% - 40px, var(--max));
    margin: 0 auto;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(17, 21, 27, 0.84);
    backdrop-filter: blur(14px);
}

.nav-inner {
    width: min(100% - 40px, var(--max));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.12rem;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--text);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: transparent;
    cursor: pointer;
}

.section {
    padding: 96px 0;
}

.hero-section {
    position: relative;
    min-height: clamp(760px, 100vh, 920px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 68px;
}

#network-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.58;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: 56px;
    align-items: center;
}

.hero-copy {
    max-width: 680px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 4.4vw, 4.25rem);
    line-height: 1.08;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(1.95rem, 3vw, 3rem);
    line-height: 1.18;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.18rem;
}

.hero-subtitle {
    max-width: 650px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.55vw, 1.22rem);
    line-height: 1.72;
}

.hero-actions,
.showcase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 18px 38px rgba(75, 141, 255, 0.24);
}

.button.secondary {
    border-color: var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-map {
    width: min(100%, 430px);
    position: relative;
    display: grid;
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
    box-shadow: 0 28px 80px var(--shadow);
}

.map-node {
    min-height: 92px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(17, 21, 27, 0.78);
}

.map-node-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 6px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.map-node span {
    font-size: 1.55rem;
    font-weight: 900;
}

.map-node small {
    color: var(--muted);
    font-weight: 700;
}

.lp-node {
    border-color: rgba(52, 210, 208, 0.42);
}

.gp-node {
    border-color: rgba(75, 141, 255, 0.45);
}

.map-line {
    width: 2px;
    height: 44px;
    margin: -4px auto;
    background: linear-gradient(var(--cyan), var(--blue));
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.map-grid span {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
    font-weight: 900;
    font-size: 0.88rem;
}

.map-grid img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
    flex: 0 0 auto;
}

.platform-section {
    background: linear-gradient(180deg, rgba(24, 30, 38, 0.64), rgba(17, 21, 27, 0.94));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 56px;
    align-items: start;
}

.feature-list {
    display: grid;
    gap: 18px;
}

.feature-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.feature-row:first-child {
    padding-top: 0;
}

.feature-row i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--cyan);
    background: rgba(52, 210, 208, 0.11);
}

.feature-row p,
.section-header p,
.data-copy p,
.preview-copy p,
.showcase-box p,
.site-footer p {
    color: var(--muted);
}

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

.section-header {
    max-width: 820px;
    margin-bottom: 38px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.work-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.work-card.is-live:hover {
    transform: translateY(-5px);
    border-color: rgba(75, 141, 255, 0.58);
    background: var(--panel-strong);
}

.work-card h3 {
    margin-top: 16px;
    font-size: 1.42rem;
}

.work-card p {
    color: var(--muted);
    margin-bottom: 22px;
    font-size: 0.98rem;
    line-height: 1.72;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.work-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    object-fit: contain;
    flex: 0 0 auto;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.status.live {
    color: #dfffea;
    background: rgba(72, 210, 122, 0.16);
}

.status.planned {
    color: #d2d9e5;
    background: rgba(255, 255, 255, 0.08);
}

.card-action {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 900;
}

.is-planned {
    opacity: 0.84;
}

.data-section {
    background: linear-gradient(180deg, rgba(24, 30, 38, 0.84), rgba(24, 30, 38, 0.44));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.data-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
    gap: 52px;
    align-items: center;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.flow-step {
    min-height: 164px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
}

.flow-step span {
    display: block;
    margin-bottom: 20px;
    color: var(--cyan);
    font-weight: 900;
}

.flow-step strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.12rem;
}

.flow-step p {
    margin-bottom: 0;
    color: var(--muted);
}

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

.preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 44px;
    align-items: center;
}

.preview-frame {
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 28px 80px var(--shadow);
}

.preview-frame img {
    width: 100%;
    border-radius: 6px;
}

.showcase-section {
    padding-top: 80px;
}

.showcase-box {
    padding: 48px;
    border: 1px solid rgba(75, 141, 255, 0.36);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(75, 141, 255, 0.14), rgba(52, 210, 208, 0.08)),
        rgba(255, 255, 255, 0.045);
}

.showcase-box p {
    max-width: 860px;
    font-size: 1.08rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #0f1318;
}

.footer-inner {
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-inner strong {
    font-size: 1.15rem;
}

.footer-inner p {
    margin: 6px 0 0;
}

.footer-links {
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 980px) {
    .hero-grid,
    .split-layout,
    .data-grid,
    .preview-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: auto;
        padding: 112px 0 76px;
    }

    .hero-visual {
        min-height: 0;
    }

    .works-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .container,
    .nav-inner {
        width: min(100% - 28px, var(--max));
    }

    .nav-inner {
        height: 64px;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 14px;
        right: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(17, 21, 27, 0.96);
        box-shadow: 0 18px 44px var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 14px 12px;
        border-radius: 6px;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    .section {
        padding: 68px 0;
    }

    h1 {
        font-size: clamp(2.35rem, 11vw, 2.75rem);
        line-height: 1.12;
    }

    h2 {
        font-size: clamp(1.8rem, 8.2vw, 2.08rem);
        line-height: 1.2;
    }

    h3 {
        font-size: 1.1rem;
    }

    .hero-subtitle {
        font-size: 1.02rem;
        line-height: 1.68;
        margin-bottom: 26px;
    }

    .hero-actions,
    .showcase-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .platform-map {
        gap: 14px;
        padding: 16px;
    }

    .map-node {
        min-height: 82px;
        padding: 18px;
    }

    .map-node-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 4px;
    }

    .map-node span {
        font-size: 1.35rem;
    }

    .map-line {
        height: 34px;
    }

    .map-grid span {
        min-height: 42px;
        font-size: 0.82rem;
    }

    .map-grid img {
        width: 22px;
        height: 22px;
    }

    .work-icon {
        width: 54px;
        height: 54px;
    }

    .map-grid,
    .flow-steps,
    .works-grid {
        grid-template-columns: 1fr;
    }

    .work-card {
        min-height: auto;
        padding: 20px;
    }

    .work-card p {
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .flow-step {
        min-height: auto;
    }

    .showcase-box {
        padding: 30px 20px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
}
