:root {
    color-scheme: dark;
    --bg: #050b12;
    --bg-2: #07121d;
    --panel: #0a1724;
    --panel-2: #0c1c2b;
    --line: rgba(126, 168, 203, .16);
    --text: #f4f8fb;
    --muted: #8ca1b5;
    --blue: #28a7ff;
    --blue-2: #1d72ff;
    --green: #44e3a0;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 72% 10%, rgba(29, 114, 255, .13), transparent 30%),
        radial-gradient(circle at 12% 40%, rgba(40, 167, 255, .08), transparent 24%),
        var(--bg);
    color: var(--text);
    font-family: "Segoe UI", "Pretendard", "Noto Sans KR", Arial, sans-serif;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 max(24px, calc((100vw - var(--max)) / 2));
    border-bottom: 1px solid var(--line);
    background: rgba(5, 11, 18, .84);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    letter-spacing: -.02em;
}

.brand > span:last-child {
    display: grid;
}

.brand strong {
    font-weight: 800;
}

.brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.brand-mark {
    position: relative;
    width: 36px;
    height: 40px;
    clip-path: polygon(50% 0, 92% 16%, 82% 75%, 50% 100%, 18% 75%, 8% 16%);
    background: linear-gradient(145deg, var(--blue), var(--blue-2));
    box-shadow: 0 0 28px rgba(40, 167, 255, .3);
}

.brand-mark i {
    position: absolute;
    inset: 8px 9px 10px;
    border-left: 4px solid white;
    border-top: 4px solid white;
    opacity: .95;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #b8c7d5;
    font-size: 14px;
}

.site-nav > a:hover {
    color: white;
}

.locale-switch {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    gap: 2px;
}

.locale-switch a {
    min-width: 34px;
    padding: 7px 9px;
    border-radius: 999px;
    text-align: center;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.locale-switch a.is-active {
    background: #11283b;
    color: white;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    color: white;
    padding: 9px 12px;
}

main {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 50px;
    min-height: 660px;
    padding: 72px 0 52px;
}

.eyebrow,
.section-heading > p,
.free-panel > div > p {
    margin: 0 0 20px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.hero h1 {
    margin: 0;
    font-size: clamp(48px, 5.5vw, 82px);
    line-height: 1.03;
    letter-spacing: -.055em;
}

.hero h1 em {
    font-style: normal;
    color: #71c8ff;
}

.hero-text {
    max-width: 720px;
    margin: 28px 0 0;
    color: #aabaca;
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 11px;
    font-weight: 700;
    font-size: 13px;
}

.button-primary {
    background: linear-gradient(135deg, var(--blue-2), var(--blue));
    box-shadow: 0 16px 42px rgba(29, 114, 255, .22);
}

.button-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .025);
}

.button-disabled {
    opacity: .68;
    cursor: default;
}

.hero-visual {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        radial-gradient(circle at center, rgba(40, 167, 255, .16), transparent 34%),
        linear-gradient(145deg, #07111b, #091827);
}

.scan-grid {
    position: absolute;
    inset: 0;
    opacity: .32;
    background-image:
        linear-gradient(rgba(76, 137, 180, .1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 137, 180, .1) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.shield-core {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 180px;
    height: 208px;
    transform: translate(-50%, -50%);
    clip-path: polygon(50% 0, 93% 16%, 82% 75%, 50% 100%, 18% 75%, 7% 16%);
    background: linear-gradient(160deg, #123d61, #0c2437 58%, #08131d);
    border: 1px solid rgba(113, 200, 255, .6);
    filter: drop-shadow(0 0 35px rgba(40, 167, 255, .25));
}

.shield-core::before {
    content: "";
    position: absolute;
    inset: 11px;
    clip-path: inherit;
    border: 1px solid rgba(74, 216, 255, .38);
}

.shield-icon {
    margin-top: 20px;
    font-size: 72px;
    font-weight: 900;
    color: #96ddff;
}

.shield-core strong {
    margin-top: -30px;
    color: var(--green);
    font-size: 12px;
    letter-spacing: .18em;
}

.shield-core small {
    margin-top: -44px;
    color: #7c9ab2;
    font-size: 9px;
    letter-spacing: .16em;
}

.shield-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(40, 167, 255, .22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-a {
    width: 330px;
    height: 330px;
}

.orbit-b {
    width: 430px;
    height: 430px;
    border-style: dashed;
    animation: spin 32s linear infinite;
}

.signal {
    position: absolute;
    padding: 8px 10px;
    border: 1px solid rgba(81, 174, 237, .22);
    border-radius: 7px;
    background: rgba(6, 20, 32, .82);
    color: #78badf;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
}

.signal-1 { left: 10%; top: 20%; }
.signal-2 { right: 8%; top: 30%; }
.signal-3 { left: 11%; bottom: 20%; color: #65dba2; }
.signal-4 { right: 13%; bottom: 16%; }

.foundation-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 0 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10, 23, 36, .7);
}

.foundation-strip > div {
    padding: 22px 24px;
}

.foundation-strip > div + div {
    border-left: 1px solid var(--line);
}

.foundation-strip span {
    display: block;
    color: #72879a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}

.foundation-strip strong {
    display: block;
    margin-top: 8px;
    font-size: 18px;
}

.status-panel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border: 1px solid rgba(68, 227, 160, .2);
    border-radius: 16px;
    background: rgba(13, 41, 39, .34);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 15px rgba(68, 227, 160, .7);
}

.status-panel p {
    margin: 0 0 4px;
    font-weight: 750;
}

.status-panel small {
    color: #8da99f;
    line-height: 1.6;
}

.status-panel a {
    color: #72caff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.section {
    padding: 116px 0 90px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(38px, 4vw, 58px);
    letter-spacing: -.04em;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 42px;
}

.module-card {
    min-height: 260px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(12, 28, 43, .9), rgba(7, 18, 29, .9));
}

.module-card > span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.module-card h3 {
    margin: 58px 0 14px;
    font-size: 21px;
}

.module-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
    font-size: 14px;
}

.free-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    margin: 20px 0 110px;
    padding: 42px;
    overflow: hidden;
    border: 1px solid rgba(40, 167, 255, .25);
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 30%, rgba(40, 167, 255, .16), transparent 26%),
        #081725;
}

.free-panel h2 {
    margin: 0 0 12px;
    font-size: 38px;
}

.free-panel span {
    color: var(--muted);
    line-height: 1.75;
}

.free-badge {
    display: grid;
    place-items: center;
    width: 145px;
    aspect-ratio: 1;
    border: 1px solid rgba(113, 200, 255, .35);
    border-radius: 50%;
    background: rgba(29, 114, 255, .08);
}

.free-badge strong {
    margin-top: 24px;
    color: #8fd8ff;
    font-size: 31px;
}

.free-badge small {
    margin-top: -30px;
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    padding: 34px 0 48px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.site-footer > div {
    display: grid;
    gap: 5px;
}

.site-footer strong {
    color: white;
}

.site-footer p {
    margin: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

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

    .hero-visual {
        min-height: 420px;
    }

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

    .site-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: 66px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #08131e;
    }

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

    .site-nav > a {
        padding: 13px 10px;
    }

    .locale-switch {
        margin-top: 8px;
        align-self: flex-start;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    main,
    .site-footer {
        width: min(100% - 28px, var(--max));
    }

    .site-header {
        padding: 0 14px;
    }

    .brand small {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 54px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 60px);
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-visual {
        min-height: 340px;
    }

    .orbit-b {
        width: 320px;
        height: 320px;
    }

    .orbit-a {
        width: 260px;
        height: 260px;
    }

    .shield-core {
        width: 140px;
        height: 164px;
    }

    .shield-icon {
        font-size: 56px;
    }

    .foundation-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .foundation-strip > div:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .foundation-strip > div:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .status-panel {
        grid-template-columns: auto 1fr;
    }

    .status-panel a {
        grid-column: 2;
    }

    .module-grid {
        grid-template-columns: 1fr;
    }

    .free-panel {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .free-badge {
        width: 120px;
    }

    .site-footer {
        flex-direction: column;
    }
}
