body {
    background-color: var(--color-white);
    color: var(--color-dark-blue01);
}

.logo {
    color: var(--color-blue01);
    font-size: 18px;
    font-weight: 900;
    line-height: 25.2px;
    letter-spacing: -0.03em;
}

.fixed-header {
    position: fixed;
    top:0;
    left:0;
    z-index: 9;

    width: 100%;
    height: 84px;
    padding: 0 40px;
    background-color: var(--color-white);
}

.fixed-header .container {
    width: 100%;
    max-width: 1280px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fixed-header .logo {
    font-size: 27px;
    line-height: 1;
    letter-spacing: -0.025em;
}

.fixed-header nav {
    height: 100%;
    display: flex;
    align-items: center;
    column-gap: 32px;

    color: var(--color-gray05);
    font-size: 14px;
    font-weight: 400;
}

.fixed-header nav a {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #454545;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.fixed-header nav a.login-btn {
    height: 50px;
    padding: 0 20px;
    min-width: 120px;

    border: 2px solid var(--color-blue01);
    border-radius: 999px;

    color: var(--color-blue01);
    font-size: 18px;
    font-weight: 700;
    transition: background-color .2s, color .2s;
}

.fixed-header nav a.login-btn:hover {
    background-color: var(--color-blue01);
    color: var(--color-white);
}

.fixed-header .open-nav {
    width: 24px;
    height: 24px;

    display: none;
    align-items: center;
    justify-content: center;

    background: url("../image/nav.png") no-repeat center;
    background-size: contain;
}

.nav {
    position: fixed;
    top:0;
    left:0;
    z-index: 99;

    width: 100vw;
    height: 100dvh;
    display: none;
    flex-direction: column;

    background: var(--color-gray06);
    color: var(--color-white);
}

.nav.on {
    display: flex;
}

.nav .nav-header {
    width: 100%;
    height: 56px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex:none;
}

.nav .nav-header .logo {
    color: var(--color-white);
}

.nav .nav-header .close {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: url("../image/close-w.png") no-repeat center;
    background-size: contain;
}

.nav .menu {
    padding: 36px;
    display: flex;
    flex-direction: column;
    row-gap: 40px;

    color: var(--color-white);
    font-size: 28px;
    font-weight: 700;
}

.nav .button {
    width: 80%;
    height: 46px;
    margin: auto auto 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--color-blue01);
    border-radius: 8px;

    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
}

section {
    padding-top: 84px;
}

.visual {
    position: relative;
    padding: clamp(24px, 4vh, 64px) 20px clamp(20px, 2.5vh, 40px);

    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.visual .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(18px, 2.6vh, 44px);
    max-width: 1400px;
    width: 100%;
}

.visual h1 {
    color: #161616;
    font-size: clamp(40px, 6vw, 114px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.03em;
}

.visual h1 .accent {
    color: var(--color-blue01);
}

.visual p {
    margin: 0;
    color: #454545;
    font-size: clamp(15px, 1.5vw, 24px);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.hero-cta {
    width: 320px;
    max-width: 80vw;
    height: 72px;
    margin: 8px 0 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background-color: #202020;
    border-radius: 999px;
    box-shadow: 0 25px 50px 0 rgba(33, 33, 33, 0.25);

    color: var(--color-white);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.hero-cta:hover {
    background-color: #3d3d3d;
    transform: translateY(-2px);
}

/* 리포트 번호로 결과 다시 보기 링크 (시작 버튼 아래) */
.hero-report-link {
    margin-top: -4px;
    color: #6d6d6d;
    font-size: 15px;
    letter-spacing: -0.02em;
}

.hero-report-link b {
    color: #202020;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-report-link:hover b { color: var(--color-blue01); }

.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* 3D 레터 + 해시태그 칩 그래픽
   ─ Figma(Heknows_design / node 7:659) 좌표를 그대로 비율 환산.
     기준 박스: x 363~1538 (1175) · y 655~1197 (542) — 레터 4개는 각 380×380 프레임.
     컨테이너 비율을 고정했으므로 % 값이 원본 좌표와 1:1로 대응한다. */
.hero-graphic {
    --hg-w: min(1175px, 94vw, 74vh);   /* 화면 높이에 맞춰 축소되어도 내부 비율은 유지 */

    position: relative;
    width: var(--hg-w);
    aspect-ratio: 1175 / 542;
    margin: calc(var(--hg-w) * 0.0375) auto 0;   /* 원본 CTA 하단 여백 44px */
}

.hero-graphic .ltr {
    position: absolute;
    object-fit: fill;
    pointer-events: none;

    /* 두둥실 떠 있는 느낌 — 글자마다 주기·진폭·시작점이 달라 따로 움직인다 */
    animation: ltr-float var(--dur) ease-in-out infinite;
    animation-delay: var(--delay);
    will-change: transform;
}

/* 진폭은 컨테이너 크기에 비례 → 화면이 줄어도 흔들림이 과하지 않음 */
@keyframes ltr-float {
    0%,
    100% { transform: translateY(0); }
    50%  { transform: translateY(calc(var(--hg-w) * var(--amp) * -1)); }
}

/* 음수 delay = 시작 시점을 각자 다른 위상으로 밀어 첫 화면부터 어긋나 보이게 */

/* 좌→우: E(골드) · S(코랄) · A(보라) · I(그린)
   각 레터는 380 프레임 안에서 고유 배율을 가짐 → 원본 내부 박스를 그대로 환산.
   z-index는 원본 레이어 순서(아래→위: S · E · I · 칩3종 · A · VLOOKUP칩) */
/* 값은 각 PNG의 실제 글자 영역이 원본 렌더의 글자 위치에 정확히 얹히도록 역산한 것 */
.hero-graphic .ltr-e { left: 13.319%; top: 19.867%; width: 19.584%; height: 47.675%; z-index: 2; --dur: 4.2s; --delay: -0.4s; --amp: 0.011; }
.hero-graphic .ltr-s { left: 30.254%; top: 41.219%; width: 19.894%; height: 47.939%; z-index: 1; --dur: 3.3s; --delay: -1.7s; --amp: 0.014; }
.hero-graphic .ltr-a { left: 42.210%; top: -0.189%; width: 32.075%; height: 70.367%; z-index: 8; --dur: 5.1s; --delay: -2.6s; --amp: 0.009; }
.hero-graphic .ltr-i { left: 69.634%; top: 26.753%; width: 18.220%; height: 49.682%; z-index: 3; --dur: 3.7s; --delay: -0.9s; --amp: 0.013; }

/* 움직임을 줄이도록 설정한 사용자에게는 애니메이션을 끈다 */
@media (prefers-reduced-motion: reduce) {
    .hero-graphic .ltr { animation: none; }
}

.hero-graphic .hchip {
    position: absolute;
    box-sizing: border-box;
    height: 10.33%;     /* 56 / 542 */
    padding: 0 calc(var(--hg-w) * 0.017);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--color-white);
    border: 2px solid #3d3d3d;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);

    color: #202020;
    font-size: calc(var(--hg-w) * 0.017);   /* 원본 20px */
    font-weight: 600;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.hchip-1 { left: 0;       top: 46.68%; z-index: 4; }  /* #야망 가득_맑눈광_리더 */
.hchip-2 { left: 33.53%;  top: 20.66%; z-index: 9; }  /* #인간_엑셀_VLOOKUP */
.hchip-3 { left: 62.98%;  top: 34.13%; z-index: 6; }  /* #아이디어 뱅크 (A에 일부 가려짐 — 원본 동일) */
.hchip-4 { left: 44.51%;  top: 71.59%; z-index: 7; }  /* #창의적 오지라퍼 */
.hchip-5 { left: 80.26%;  top: 58.30%; z-index: 5; }  /* #팩트체크 광인 왜요봇 */

@keyframes topdown {
    0% {
        top: 0;
    }

    50% {
        top: 5px;
    }

    100% {
        top: 0;
    }
}

.visual i {
    position: relative;
    width: 24px;
    height: 24px;
    margin: 16px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../image/arrow-bottom.png") no-repeat center;
    background-size: contain;
    cursor: pointer;

    animation: topdown 1s infinite ease-in;
}

/* ===== 공통 섹션 ===== */
.sec-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.sec-title {
    color: #202020;
    font-size: clamp(28px, 3.6vw, 52px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.025em;
    text-align: left;
}

.sec-title .accent { color: var(--color-blue01); }
.sec-title .thin { font-weight: 400; }

/* ===== 1. 3단계 프로세스 ===== */
.steps {
    position: relative;
    padding: 56px 40px;
    background-color: #f6f6f6;
    overflow: hidden;
}

.steps .sec-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.steps .sec-title { width: 100%; }

.step-cards {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.step-card {
    flex: 1 1 0;
    min-width: 0;
    padding: 40px;
    background: var(--color-white);
    border-radius: 40px;

    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-badge {
    align-self: flex-start;
    padding: 13px 25px;
    border: 1px solid var(--color-blue01);
    border-radius: 999px;
    color: #0678ff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.step-img {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-img img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.step-tx {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-tx h3 {
    color: #202020;
    font-size: clamp(22px, 2.5vw, 36px);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: -0.025em;
}

.step-tx p {
    color: #454545;
    font-size: clamp(16px, 1.9vw, 28px);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: -0.025em;
}

.steps-deco-sphere {
    position: absolute;
    top: 130px;
    right: 7%;
    width: 140px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.steps-deco-i {
    position: absolute;
    left: -60px;
    bottom: 120px;
    width: 260px;
    height: auto;
    transform: rotate(8deg);
    z-index: 0;
    pointer-events: none;
}

/* ===== 2. 사용자 후기 ===== */
.reviews {
    position: relative;
    padding: 140px 0;
    background-color: #f6f6f6;
    overflow: hidden;
}

.reviews .sec-wrap {
    padding: 0 40px;
    margin-bottom: 80px;
}

.review-track {
    display: flex;
    gap: 30px;
    padding: 24px 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.review-track::-webkit-scrollbar { height: 6px; }
.review-track::-webkit-scrollbar-thumb { background: #d1d1d1; border-radius: 999px; }

.review-card {
    flex: 0 0 440px;
    max-width: 440px;
    height: 388px;
    padding: 32px;
    scroll-snap-align: start;

    background: var(--color-white);
    border-radius: 24px;
    box-shadow: 0 20px 20px rgba(217, 217, 217, 0.6);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
}

.stars {
    display: flex;
    gap: 4px;
}

.stars img {
    width: 24px;
    height: 24px;
}

.review-body h3 {
    color: #202020;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: -0.025em;
}

.review-body p {
    color: #202020;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.025em;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-user {
    flex: none;
    padding-top: 24px;
    border-top: 1px solid #e7e7e7;

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-user b {
    color: #202020;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.review-user span {
    color: #0678ff;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.reviews-deco {
    position: absolute;
    top: 55px;
    right: 5%;
    width: 200px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

/* ===== 3. TJMI 솔루션 + CTA ===== */
.tjmi {
    position: relative;
    padding: 140px 40px;
    background: var(--color-white);
}

.tjmi .sec-wrap {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.tjmi-rows {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tjmi-row {
    position: relative;
    height: 360px;
    background: #f6f6f6;
    border-radius: 40px;
    overflow: hidden;

    display: flex;
    align-items: center;
}

.tjmi-imgs {
    position: relative;
    flex: none;
    width: 460px;
    height: 100%;
}

.tjmi-imgs .ti {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    pointer-events: none;
}

.tjmi-imgs .ti-a { width: 215px; left: 120px; }
.tjmi-imgs .ti-b { width: 130px; left: 70px; }
.tjmi-imgs .ti-single { width: 210px; left: 50%; transform: translate(-50%, -50%); }

.tjmi-tx {
    flex: 1;
    min-width: 0;
    padding-right: 60px;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tjmi-label {
    color: #0678ff;
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: -0.025em;
}

.tjmi-tx p {
    color: #202020;
    font-size: clamp(17px, 2.2vw, 32px);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: -0.025em;
}

.tjmi-tx p b { font-weight: 700; }

/* CTA 배너 */
.tjmi-cta {
    position: relative;
    overflow: hidden;
    padding: 80px;
    background: #202020;
    border-radius: 40px;

    display: flex;
    align-items: stretch;
    gap: 10px;
}

.tjmi-cta-tx {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

.tjmi-cta-tx p {
    color: var(--color-white);
    font-size: clamp(24px, 3vw, 44px);
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.tjmi-cta-tx p b { font-weight: 700; }

.tjmi-cta-btn {
    width: 240px;
    padding: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--color-white);
    border-radius: 999px;
    box-shadow: 0 25px 25px rgba(21, 21, 21, 0.3);

    color: #202020;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.025em;
    cursor: pointer;
    transition: transform .2s;
}

.tjmi-cta-btn:hover { transform: translateY(-2px); }

.tjmi-cta-deco {
    position: relative;
    flex: none;
    width: 266px;
    height: 252px;
}

.tjmi-cta-deco img {
    position: absolute;
    pointer-events: none;
}

.tjmi-cta-deco .cta-mega { width: 170px; left: 0; top: 40px; transform: rotate(-30deg); }
.tjmi-cta-deco .cta-star {
    position: absolute;
    display: block;
    width: 110px;
    height: 110px;
    right: 0;
    top: 0;
    background-image: url("../image/main/cta-star.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 320% auto;
}

/* ===== 푸터 (About + Copyright 슬림 바) ===== */
footer {
    padding: 28px 40px;
    background: #161616;
}

.footer-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

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

.footer-about {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: color .15s;
}

.footer-about:hover {
    color: var(--color-blue01);
}

.footer-copy {
    color: #8a8a8a;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.code-input {
    margin: 16px auto 24px;
    width: 100%;
    height: 68px;
    padding: 0 24px;

    display: flex;
    align-items: center;
    column-gap: 8px;
}

.code-input input {
    width: 1%;
    height: 100%;
    display: flex;
    flex: 1;

    background-color: transparent;
    border: none;
    border-bottom: 2px solid #D9D9D9;
    border-radius: 0;
    outline: none;

    color: var(--color-gray03);
    font-size: 36px;
    font-weight: 900;
    text-align: center;
}

.code-input input:focus {
    background-color: transparent;
    border-color: #D9D9D9;
}

.code-input input.on {
    border-color: var(--color-blue01);
}

.code-error img {
    height: 60px;
    margin: 30px auto 0;
}

.code-error p {
    margin: 54px 0 16px;
}

.code-error a {
    margin-bottom: 24px;
    display: inline-block;

    color: var(--color-blue01);
    font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
}


/* 폰(600px 이하)에서만 칩 예외: 비례 축소하면 글자가 읽히지 않으므로 최소 크기를 보장하고,
   화면 밖으로 나가는 오른쪽 칩만 안쪽으로 붙인다 */
@media (max-width: 600px) {
    /* 폰은 기존 폭 기준(96vw)을 그대로 유지 — 가로 모드에서만 높이 제한이 걸린다 */
    .hero-graphic {
        --hg-w: min(96vw, 1175px, 74vh);
    }

    .hero-graphic .hchip {
        height: auto;
        padding: 4px 9px;
        border-width: 1.5px;
        font-size: 10px;
    }

    .hero-graphic .hchip-5 {
        left: auto;
        right: 0;
    }
}

@media (max-width: 1000px) {
    .fixed-header {
        height: 56px;
        padding: 0 16px;
    }

    .fixed-header .logo {
        font-size: 20px;
    }

    .fixed-header nav {
        display: none;
    }

    .fixed-header .open-nav {
        display: flex;
    }

    section {
        padding-top: 56px;
    }

    .visual {
        min-height: auto;
        padding: 32px 16px 48px;
    }

    .visual .hero-copy {
        gap: 20px;
    }

    .hero-cta {
        width: 260px;
        height: 58px;
        font-size: 18px;
    }

    /* 태블릿·중간 폭에서도 PC와 같은 규칙(높이 제한 포함)을 써서 크기·배열을 100% 동일하게 유지한다.
       예전에는 여기서 높이 제한(74vh)을 빼는 바람에 1000px 부근에서 알파벳이 과하게 커졌다. */
    .hero-graphic {
        margin-top: 24px;
    }

    /* 공통 */
    .sec-title { font-size: clamp(22px, 6.4vw, 30px); }

    /* 3단계 프로세스 */
    .steps {
        padding: 64px 20px;
    }

    .steps .sec-wrap { gap: 40px; }

    .step-cards {
        flex-direction: column;
        gap: 20px;
    }

    .step-card {
        padding: 32px;
        border-radius: 32px;
        gap: 24px;
    }

    .step-img { height: 180px; }

    .steps-deco-sphere { display: none; }
    .steps-deco-i { display: none; }

    /* 후기 */
    .reviews {
        padding: 64px 0;
    }

    .reviews .sec-wrap {
        padding: 0 20px;
        margin-bottom: 36px;
    }

    .review-track {
        gap: 16px;
        padding: 16px 20px;
    }

    .review-card {
        flex: 0 0 300px;
        max-width: 300px;
        height: 320px;
        padding: 24px;
    }

    .review-body h3 { font-size: 20px; }
    .review-body p { font-size: 16px; -webkit-line-clamp: 5; }
    .review-user b { font-size: 20px; }
    .review-user span { font-size: 16px; }

    .reviews-deco { display: none; }

    /* TJMI */
    .tjmi {
        padding: 64px 20px;
    }

    .tjmi .sec-wrap { gap: 48px; }

    .tjmi-row {
        flex-direction: column;
        height: auto;
        align-items: stretch;
        gap: 8px;
        padding: 32px 24px;
    }

    .tjmi-imgs {
        width: 100%;
        height: 180px;
    }

    .tjmi-imgs .ti-a { left: 50%; transform: translate(-30%, -50%); }
    .tjmi-imgs .ti-b { left: 50%; transform: translate(-90%, -50%); }

    .tjmi-tx {
        padding-right: 0;
        text-align: center;
        align-items: center;
    }

    .tjmi-tx p { text-align: center; }

    /* CTA 배너 */
    .tjmi-cta {
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
    }

    .tjmi-cta-tx { align-items: center; text-align: center; }

    .tjmi-cta-deco {
        width: 200px;
        height: 160px;
        align-self: center;
    }

    .tjmi-cta-deco .cta-mega { width: 120px; }
    .tjmi-cta-deco .cta-star { width: 84px; }

    /* 푸터 */
    footer {
        padding: 20px 16px;
    }

    .footer-wrap {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
    }

    .footer-about { font-size: 14px; }
    .footer-links { gap: 18px; }
    .hero-report-link { margin-top: 0; font-size: 14px; }
    .footer-copy { font-size: 12px; }
}
