:root {
    --bg: #070d18;
    --bg-deep: #040914;
    --surface: #0e192a;
    --surface-2: #132238;
    --line: #273a54;
    --text: #f2f6fb;
    --muted: #9bacbf;
    --steel: #82a9d7;
    --steel-light: #bfd4ed;
    --lime: #d6ff4f;
    --shadow: 0 22px 60px rgba(0, 5, 14, .38);
    --max-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 7%, rgba(69, 113, 166, .12), transparent 25%),
        var(--bg);
    color: var(--text);
    font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(214, 255, 79, .65);
    outline-offset: 4px;
}

h1,
h2,
h3,
p {
    word-break: keep-all;
}

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

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(39, 58, 84, .82);
    background: rgba(7, 13, 24, .88);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid #3b587a;
    border-radius: 13px;
    background: linear-gradient(145deg, #213d61, #0c1a2d);
    box-shadow: 0 8px 22px rgba(0, 7, 18, .34);
    color: var(--lime);
    font-family: Georgia, serif;
    font-size: 22px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font-size: 14px;
    letter-spacing: .055em;
}

.brand-copy small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.main-nav a {
    transition: color .2s ease;
}

.main-nav a:hover {
    color: var(--steel-light);
}

.nav-cta {
    padding: 12px 19px;
    border-radius: 999px;
    background: var(--lime);
    box-shadow: 0 8px 20px rgba(169, 213, 28, .17);
    color: #172000 !important;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    border-radius: 2px;
    background: var(--text);
}

.hero {
    padding-top: 22px;
}

.hero-panel {
    position: relative;
    display: grid;
    min-height: 510px;
    overflow: hidden;
    grid-template-columns: 1.08fr .92fr;
    border: 1px solid rgba(74, 109, 151, .42);
    border-radius: 34px;
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 255, 255, .15), transparent 24%),
        radial-gradient(circle at 86% 22%, rgba(214, 255, 79, .14), transparent 19%),
        linear-gradient(132deg, #26466c 0%, #142b49 43%, #071426 100%);
    box-shadow: var(--shadow);
}

.hero-panel::before {
    position: absolute;
    width: 280px;
    height: 280px;
    right: -120px;
    bottom: -150px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    content: "";
}

.hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
    padding: 72px 0 72px 72px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--steel);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .19em;
}

.eyebrow-light {
    color: rgba(255, 255, 255, .7);
}

h1 {
    margin: 0;
    font-size: clamp(43px, 5vw, 68px);
    font-weight: 850;
    letter-spacing: -.065em;
    line-height: 1.12;
}

h1 em {
    color: var(--lime);
    font-style: normal;
}

.hero-description {
    margin: 25px 0 32px;
    color: rgba(242, 246, 251, .8);
    font-size: 17px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 24px;
    border: 0;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}

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

.button-lime {
    background: var(--lime);
    box-shadow: 0 11px 28px rgba(112, 142, 0, .22);
    color: #202900;
}

.button-steel {
    background: var(--steel);
    color: #07111e;
}

.text-link {
    color: rgba(255, 255, 255, .83);
    font-size: 14px;
    font-weight: 750;
}

.hero-art {
    position: relative;
    min-height: 460px;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(191, 212, 237, .2);
    border-radius: 50%;
}

.orbit-one {
    width: 310px;
    height: 310px;
    top: 96px;
    left: 48px;
}

.orbit-two {
    width: 220px;
    height: 220px;
    top: 140px;
    left: 93px;
}

.spark {
    position: absolute;
    color: var(--lime);
    font-size: 22px;
}

.spark-one {
    top: 92px;
    right: 75px;
}

.spark-two {
    bottom: 88px;
    left: 65px;
    color: var(--steel-light);
}

.spark-three {
    top: 154px;
    left: 32px;
    font-size: 13px;
}

.tarot-card {
    position: absolute;
    top: 93px;
    left: 50%;
    display: flex;
    width: 205px;
    height: 310px;
    align-items: center;
    justify-content: center;
    border: 1px solid #6482a6;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .08), transparent), #0a1729;
    box-shadow: 0 30px 55px rgba(0, 5, 14, .42);
    transform: translateX(-42%) rotate(7deg);
}

.tarot-card-back {
    top: 112px;
    left: calc(50% - 55px);
    border-color: #385779;
    background: #0d213a;
    transform: translateX(-42%) rotate(-9deg);
}

.tarot-inner {
    display: flex;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 24px 10px;
    border: 1px solid rgba(191, 212, 237, .38);
    border-radius: 15px;
    color: var(--steel-light);
    font-family: Georgia, serif;
    letter-spacing: .12em;
}

.tarot-inner strong {
    color: var(--lime);
    font-size: 58px;
    font-weight: 400;
    line-height: 1;
}

.tarot-inner small {
    font-size: 9px;
    font-weight: 700;
}

.live-pill {
    position: absolute;
    z-index: 3;
    right: 43px;
    bottom: 45px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    background: rgba(5, 12, 23, .68);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .22);
    color: #dbe7f5;
    font-size: 11px;
    backdrop-filter: blur(12px);
}

.live-pill i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 5px rgba(214, 255, 79, .1);
}

.quick-nav {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 24px 0 0;
    scrollbar-width: none;
}

.quick-nav::-webkit-scrollbar {
    display: none;
}

.quick-nav a {
    flex: 0 0 auto;
    padding: 11px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.quick-nav a:hover,
.quick-nav a:first-child {
    border-color: var(--steel);
    background: #19304d;
    color: var(--steel-light);
}

.section {
    padding-top: 112px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 3.5vw, 46px);
    letter-spacing: -.045em;
}

.section-heading p:last-child {
    max-width: 520px;
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.section-more {
    flex: 0 0 auto;
    color: var(--steel-light);
    font-size: 13px;
    font-weight: 800;
}

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

.content-card {
    position: relative;
    display: flex;
    min-height: 280px;
    justify-content: space-between;
    flex-direction: column;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(150deg, var(--surface-2), #0b1423);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.content-card:hover {
    border-color: #49698d;
    box-shadow: 0 20px 35px rgba(0, 5, 14, .27);
    transform: translateY(-5px);
}

.content-card::after {
    position: absolute;
    width: 155px;
    height: 155px;
    right: -58px;
    bottom: -72px;
    border-radius: 50%;
    background: rgba(130, 169, 215, .08);
    content: "";
}

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

.tag {
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(130, 169, 215, .12);
    color: var(--steel-light);
    font-size: 11px;
    font-weight: 800;
}

.symbol {
    color: var(--lime);
    font-family: Georgia, serif;
    font-size: 28px;
}

.content-card h3 {
    max-width: 270px;
    margin: 0 0 13px;
    font-size: 22px;
    letter-spacing: -.035em;
    line-height: 1.35;
}

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

.meta {
    color: #71849b;
    font-size: 12px;
    font-weight: 700;
}

.world-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 20px;
}

.world-card {
    display: flex;
    min-height: 430px;
    justify-content: space-between;
    flex-direction: column;
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: 28px;
}

.world-card h2 {
    margin: 0 0 16px;
    font-size: 34px;
    letter-spacing: -.045em;
}

.world-card p:not(.eyebrow) {
    max-width: 480px;
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.world-mind {
    background: radial-gradient(circle at 85% 15%, rgba(214, 255, 79, .1), transparent 24%), linear-gradient(145deg, #183456, #0a1728);
}

.world-dev {
    background: linear-gradient(145deg, #e8eff7, #b8cde2);
    color: #0a1421;
}

.world-dev .eyebrow,
.world-dev p:not(.eyebrow) {
    color: #3a5775;
}

.world-links {
    display: grid;
    gap: 10px;
}

.world-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 18px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    font-size: 14px;
    font-weight: 800;
}

.world-links span {
    color: var(--lime);
    font-size: 12px;
}

.service-tags {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin: 24px 0 30px;
}

.service-tags span {
    padding: 9px 12px;
    border: 1px solid rgba(10, 20, 33, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .38);
    color: #1b3450;
    font-size: 12px;
    font-weight: 750;
}

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

.test-card {
    min-height: 245px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    transition: .2s ease;
}

.test-card:hover {
    border-color: #48698f;
    background: var(--surface-2);
    transform: translateY(-4px);
}

.test-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 34px;
    place-items: center;
    border-radius: 15px;
    background: #1a304c;
    color: var(--lime);
    font-size: 21px;
}

.test-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    letter-spacing: -.03em;
}

.test-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.dev-section {
    position: relative;
    margin-top: 112px;
    padding: 100px 0;
    overflow: hidden;
    background: var(--bg-deep);
}

.dev-section::before,
.dev-section::after {
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(51, 86, 128, .08);
    content: "";
}

.dev-section::before {
    top: -120px;
    right: -80px;
}

.dev-section::after {
    bottom: -130px;
    left: -120px;
}

.service-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter-button {
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.filter-button.active {
    border-color: var(--lime);
    background: var(--lime);
    color: #1c2500;
}

.service-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.service-card {
    min-height: 205px;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: linear-gradient(150deg, #101e31, #0a1320);
}

.service-card.hidden {
    display: none;
}

.service-number {
    color: var(--lime);
    font-family: Georgia, serif;
    font-size: 13px;
}

.service-card h3 {
    margin: 35px 0 10px;
    font-size: 18px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    position: relative;
    padding: 28px;
    border-top: 1px solid var(--line);
}

.process-list li:not(:last-child)::after {
    position: absolute;
    width: 7px;
    height: 7px;
    top: -4px;
    right: -4px;
    border-radius: 50%;
    background: var(--lime);
    content: "";
}

.process-list span {
    color: var(--steel);
    font-family: Georgia, serif;
    font-size: 13px;
}

.process-list strong {
    display: block;
    margin: 22px 0 10px;
    font-size: 17px;
}

.process-list p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.inquiry-card {
    display: grid;
    overflow: hidden;
    grid-template-columns: .86fr 1.14fr;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.inquiry-copy {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 48px;
    background: radial-gradient(circle at 15% 80%, rgba(214, 255, 79, .12), transparent 25%), linear-gradient(145deg, #1c3b60, #0b192b);
}

.inquiry-copy h2 {
    margin: 0 0 17px;
    font-size: 38px;
    letter-spacing: -.05em;
}

.inquiry-copy p:not(.eyebrow) {
    margin: 0;
    color: #b8c8da;
    line-height: 1.75;
}

.contact-note {
    padding-top: 42px;
    color: var(--steel-light);
    font-size: 13px;
    font-weight: 750;
}

.inquiry-form {
    padding: 43px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    display: grid;
    gap: 9px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    color: #c8d4e2;
    font-size: 12px;
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 13px;
    outline: 0;
    background: #091321;
    color: var(--text);
}

.field input,
.field select {
    height: 49px;
    padding: 0 15px;
}

.field textarea {
    min-height: 140px;
    padding: 14px 15px;
    resize: vertical;
    line-height: 1.65;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--steel);
    box-shadow: 0 0 0 3px rgba(130, 169, 215, .12);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 21px;
}

.form-hint {
    margin: 0;
    color: #708299;
    font-size: 11px;
    line-height: 1.5;
}

.form-status {
    min-height: 22px;
    margin: 12px 0 0;
    color: var(--lime);
    font-size: 12px;
    font-weight: 750;
}

.site-footer {
    margin-top: 110px;
    border-top: 1px solid var(--line);
    background: var(--bg-deep);
}

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

.footer-copy {
    color: #6f8197;
    font-size: 12px;
    line-height: 1.7;
}

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

.top-button {
    position: fixed;
    z-index: 50;
    right: 22px;
    bottom: 22px;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(14, 25, 42, .92);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
    color: var(--steel-light);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .2s ease;
}

.top-button.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .main-nav {
        position: fixed;
        inset: 74px 0 auto;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 18px 20px 25px;
        border-bottom: 1px solid var(--line);
        background: rgba(7, 13, 24, .98);
        flex-direction: column;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 15px 8px;
    }

    .nav-cta {
        margin-top: 8px;
        text-align: center;
    }

    .menu-button {
        display: block;
    }

    .hero-panel {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 62px 56px 22px;
    }

    .hero-art {
        min-height: 390px;
    }

    .tarot-card {
        top: 35px;
    }

    .tarot-card-back {
        top: 58px;
    }

    .orbit-one {
        top: 30px;
        left: calc(50% - 155px);
    }

    .orbit-two {
        top: 72px;
        left: calc(50% - 110px);
    }

    .tarot-grid,
    .service-grid,
    .tests-grid,
    .process-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .world-grid,
    .inquiry-card {
        grid-template-columns: 1fr;
    }

    .world-card {
        min-height: 380px;
    }

    .process-list li:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 26px, var(--max-width));
    }

    .header-inner {
        min-height: 66px;
    }

    .main-nav {
        top: 66px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .hero {
        padding-top: 13px;
    }

    .hero-panel {
        border-radius: 25px;
    }

    .hero-copy {
        padding: 45px 25px 12px;
    }

    h1 {
        font-size: 40px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions,
    .section-heading,
    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions {
        gap: 16px;
    }

    .button {
        width: 100%;
    }

    .text-link {
        text-align: center;
    }

    .hero-art {
        min-height: 340px;
        transform: scale(.88);
        transform-origin: center top;
    }

    .live-pill {
        right: 50%;
        bottom: 18px;
        white-space: nowrap;
        transform: translateX(50%);
    }

    .section {
        padding-top: 82px;
    }

    .section-heading {
        margin-bottom: 25px;
    }

    .tarot-grid,
    .tests-grid,
    .service-grid,
    .process-list,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .content-card {
        min-height: 245px;
    }

    .world-card {
        min-height: 390px;
        padding: 31px 25px;
    }

    .dev-section {
        margin-top: 82px;
        padding: 80px 0;
    }

    .process-list li {
        padding: 25px 12px;
    }

    .process-list li::after {
        display: none;
    }

    .inquiry-copy,
    .inquiry-form {
        padding: 31px 24px;
    }

    .inquiry-copy h2 {
        font-size: 32px;
    }

    .field-full {
        grid-column: auto;
    }

    .footer-inner {
        align-items: flex-start;
        justify-content: center;
        padding: 40px 0;
        flex-direction: column;
    }

    .footer-links {
        gap: 14px;
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}
