/* ==========================================================================
   지마켓 AI Product Ads (/Ads/Gmarket)
   하이엔드 SaaS 스타일 — 이미지 파일 없이 CSS/SVG로만 구성
   ========================================================================== */

.gm-page {
    /* tokens */
    --gm-ink: #0b1220;
    --gm-body: #4a5468;
    --gm-muted: #7c87a0;
    --gm-blue: #2b5bff;
    --gm-violet: #7c3aed;
    --gm-green: #00c73c;
    --gm-bg: #ffffff;
    --gm-tint: #f4f7fe;
    --gm-deep: #0a1128;
    --gm-border: #e7ebf5;
    --gm-radius: 20px;
    --gm-radius-lg: 28px;
    --gm-shadow: 0 24px 60px -24px rgba(11, 18, 32, 0.18);
    --gm-gradient: linear-gradient(96deg, var(--gm-blue) 8%, var(--gm-violet) 92%);

    background: var(--gm-bg);
    color: var(--gm-ink);
    overflow: hidden;
    word-break: keep-all;
}

.gm-page,
.gm-page * {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    letter-spacing: -0.02em;
    box-sizing: border-box;
}

/* 제목은 본문과 동일한 Pretendard로 두고 굵기로만 위계를 만든다.
   (광고대행 형제 페이지 .content-ads h2 와 동일 규칙) */
.gm-page .gm-display {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.gm-container {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   공통 요소
   -------------------------------------------------------------------------- */

.gm-label {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gm-blue);
}

.gm-section {
    padding: 110px 0;
}

.gm-section-head {
    max-width: 640px;
    margin-bottom: 64px;
}

.gm-section-head h2 {
    margin: 0 0 18px;
    font-size: 40px;
    line-height: 1.24;
    color: var(--gm-ink);
}

.gm-section-head p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--gm-body);
}

.gm-gradient-text {
    background: var(--gm-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.gm-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 44px 0 0;
    padding: 16px 20px;
    border: 1px solid var(--gm-border);
    border-radius: 14px;
    background: #fff;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gm-muted);
}

.gm-note::before {
    content: "※";
    flex: none;
    color: var(--gm-blue);
    font-weight: 700;
}

.gm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 30px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.gm-btn:focus-visible {
    outline: 3px solid rgba(43, 91, 255, 0.45);
    outline-offset: 2px;
}

.gm-btn-primary {
    background: var(--gm-gradient);
    color: #fff;
    box-shadow: 0 14px 30px -12px rgba(43, 91, 255, 0.55);
}

.gm-btn-primary:hover {
    box-shadow: 0 18px 36px -12px rgba(43, 91, 255, 0.65);
    color: #fff;
}

.gm-btn-ghost {
    background: #fff;
    color: var(--gm-ink);
    border: 1px solid var(--gm-border);
}

.gm-btn-ghost:hover {
    border-color: #c9d2e8;
    color: var(--gm-ink);
}

.gm-btn-invert {
    background: #fff;
    color: var(--gm-deep);
}

.gm-btn-invert:hover {
    color: var(--gm-deep);
    box-shadow: 0 18px 36px -14px rgba(255, 255, 255, 0.4);
}

/* 스크롤 등장 */
.gm-reveal {
    opacity: 1;
    transform: none;
}

.gm-motion-ready .gm-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gm-motion-ready .gm-reveal.is-in {
    opacity: 1;
    transform: none;
}

.gm-motion-ready .gm-delay-100.is-in { transition-delay: 0.1s; }
.gm-motion-ready .gm-delay-200.is-in { transition-delay: 0.2s; }
.gm-motion-ready .gm-delay-300.is-in { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   ① Hero
   -------------------------------------------------------------------------- */

.gm-hero {
    position: relative;
    padding: 96px 0 0;
    text-align: center;
}

.gm-hero-aurora {
    position: absolute;
    inset: -180px -10% auto;
    height: 560px;
    background:
        radial-gradient(420px 300px at 24% 30%, rgba(43, 91, 255, 0.14), transparent 70%),
        radial-gradient(460px 320px at 76% 22%, rgba(124, 58, 237, 0.12), transparent 70%),
        radial-gradient(300px 220px at 55% 60%, rgba(0, 199, 60, 0.07), transparent 70%);
    pointer-events: none;
}

.gm-hero-copy {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

.gm-hero h1 {
    margin: 0 0 22px;
    font-size: 56px;
    line-height: 1.18;
    color: var(--gm-ink);
}

.gm-hero-sub {
    margin: 0 auto;
    max-width: 620px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--gm-body);
}

.gm-hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}

.gm-hero-actions form {
    display: inline-flex;
}

/* 시그니처 목업 */
.gm-hero-mockup {
    position: relative;
    max-width: 880px;
    margin: 72px auto -36px;
}

.gm-mock-window {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius-lg) var(--gm-radius-lg) 0 0;
    border-bottom: 0;
    background: #fff;
    box-shadow: var(--gm-shadow);
    padding: 22px 26px 0;
}

.gm-mock-topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
}

.gm-mock-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 50%;
    background: var(--gm-green);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.gm-mock-search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 340px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--gm-tint);
    font-size: 14px;
    font-weight: 600;
    color: var(--gm-ink);
}

.gm-mock-search svg {
    width: 15px;
    height: 15px;
    color: var(--gm-muted);
}

.gm-mock-cart {
    width: 22px;
    height: 22px;
    margin-left: auto;
    border-radius: 6px;
    background: var(--gm-tint);
}

.gm-mock-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gm-mock-item {
    position: relative;
    padding: 12px 12px 16px;
    border: 1px solid var(--gm-border);
    border-radius: 14px 14px 0 0;
    border-bottom: 0;
    background: #fff;
}

.gm-mock-item.is-ad {
    border: 1.5px solid transparent;
    border-bottom: 0;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(140deg, rgba(43, 91, 255, 0.9), rgba(124, 58, 237, 0.9)) border-box;
    box-shadow: 0 18px 34px -18px rgba(43, 91, 255, 0.45);
}

.gm-motion-ready .gm-mock-item.is-ad {
    animation: gm-lift 5s ease-in-out infinite;
}

@keyframes gm-lift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.gm-mock-ad-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    padding: 3px 7px;
    border-radius: 6px;
    background: var(--gm-gradient);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.gm-mock-thumb {
    height: 92px;
    border-radius: 10px;
    background: linear-gradient(150deg, #eef2fb, #e2e8f6);
    margin-bottom: 12px;
}

.gm-mock-item.is-ad .gm-mock-thumb {
    background: linear-gradient(150deg, #e8eeff, #ede4ff);
}

.gm-mock-line {
    height: 9px;
    border-radius: 999px;
    background: #edf0f8;
    margin-top: 8px;
}

.gm-mock-line.w35 { width: 35%; }
.gm-mock-line.w40 { width: 40%; }
.gm-mock-line.w45 { width: 45%; }
.gm-mock-line.w50 { width: 50%; }
.gm-mock-line.w60 { width: 60%; }
.gm-mock-line.w70 { width: 70%; }
.gm-mock-line.w75 { width: 75%; }
.gm-mock-line.w80 { width: 80%; }

.gm-scan {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -30%;
    width: 26%;
    background: linear-gradient(100deg, transparent, rgba(43, 91, 255, 0.07) 45%, rgba(124, 58, 237, 0.09) 55%, transparent);
    pointer-events: none;
}

.gm-motion-ready .gm-scan {
    display: block;
    animation: gm-scan-move 4.6s ease-in-out infinite;
}

@keyframes gm-scan-move {
    0% { left: -30%; }
    60%, 100% { left: 110%; }
}

.gm-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--gm-border);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px -16px rgba(11, 18, 32, 0.25);
    font-size: 13px;
    font-weight: 700;
    color: var(--gm-ink);
}

.gm-chip svg {
    width: 15px;
    height: 15px;
    color: var(--gm-blue);
}

.gm-chip-1 { top: 4%; left: -36px; }
.gm-chip-2 { top: 38%; right: -44px; }
.gm-chip-3 { top: 74%; left: -18px; }

.gm-motion-ready .gm-chip {
    animation: gm-float 6s ease-in-out infinite;
}

.gm-motion-ready .gm-chip-2 { animation-delay: 1.4s; }
.gm-motion-ready .gm-chip-3 { animation-delay: 2.8s; }

@keyframes gm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* --------------------------------------------------------------------------
   ② 특장점 (bento)
   -------------------------------------------------------------------------- */

.gm-features {
    background: var(--gm-tint);
}

.gm-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.gm-card {
    padding: 34px 34px 38px;
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius);
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--gm-shadow);
}

.gm-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--gm-ink);
}

.gm-card p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--gm-body);
}

.gm-card-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 110px;
    margin-bottom: 26px;
    border-radius: 14px;
    background: var(--gm-tint);
    overflow: hidden;
}

.gm-visual-caption {
    font-size: 12px;
    font-weight: 700;
    color: var(--gm-muted);
    letter-spacing: 0.04em;
}

/* 타겟 링 */
.gm-visual-target .gm-ring {
    position: absolute;
    width: 74px;
    height: 74px;
    border: 1.5px solid rgba(43, 91, 255, 0.35);
    border-radius: 50%;
}

.gm-visual-target .gm-ring:nth-child(2) {
    width: 44px;
    height: 44px;
    border-color: rgba(124, 58, 237, 0.4);
}

.gm-motion-ready .gm-visual-target .gm-ring {
    animation: gm-ring 3.2s ease-out infinite;
}

.gm-motion-ready .gm-visual-target .gm-ring:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes gm-ring {
    0% { transform: scale(0.9); opacity: 0.4; }
    60% { transform: scale(1.12); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.4; }
}

.gm-visual-target .gm-ring-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gm-gradient);
}

/* 토글 */
.gm-toggle {
    position: relative;
    width: 64px;
    height: 34px;
    border-radius: 999px;
    background: var(--gm-gradient);
    flex: none;
}

.gm-toggle-knob {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 8px rgba(11, 18, 32, 0.2);
}

/* 캠페인 유형 세그먼트 */
.gm-visual-segment .gm-seg {
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--gm-border);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: var(--gm-muted);
}

.gm-visual-segment .gm-seg.is-on {
    border-color: transparent;
    background: var(--gm-gradient);
    color: #fff;
}

/* CPC */
.gm-visual-cpc .gm-cpc-coin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gm-gradient);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.gm-visual-cpc .gm-cpc-ripple {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(43, 91, 255, 0.5);
}

.gm-motion-ready .gm-visual-cpc .gm-cpc-ripple {
    animation: gm-ring 2.6s ease-out infinite;
}

/* --------------------------------------------------------------------------
   ③ 캠페인 유형
   -------------------------------------------------------------------------- */

.gm-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.gm-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 38px 30px 32px;
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius-lg);
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gm-plan:hover {
    transform: translateY(-5px);
    box-shadow: var(--gm-shadow);
}

.gm-plan h3 {
    margin: 0 0 8px;
    font-size: 24px;
    color: var(--gm-ink);
}

.gm-plan-tagline {
    margin: 0 0 26px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gm-blue);
}

.gm-plan-rows {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.gm-plan-rows > div {
    padding: 16px 0;
    border-top: 1px solid var(--gm-border);
}

.gm-plan-rows dt {
    margin-bottom: 6px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--gm-muted);
}

.gm-plan-rows dd {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--gm-ink);
}

.gm-level {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.gm-dots {
    display: inline-flex;
    gap: 4px;
}

.gm-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gm-border);
}

.gm-dots i.on {
    background: var(--gm-gradient);
}

.gm-plan-fit {
    margin: auto 0 0;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--gm-tint);
    font-size: 14px;
    line-height: 1.6;
    color: var(--gm-body);
}

.gm-plan-fit strong {
    display: block;
    margin-bottom: 4px;
    font-size: 12.5px;
    color: var(--gm-blue);
}

/* --------------------------------------------------------------------------
   ④ 노출 영역
   -------------------------------------------------------------------------- */

.gm-placement {
    background: var(--gm-tint);
}

.gm-placement-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 60px;
    align-items: center;
}

.gm-placement-tabs {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gm-ptab {
    padding: 24px 26px;
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius);
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-ptab:focus-visible {
    outline: 3px solid rgba(43, 91, 255, 0.45);
    outline-offset: 2px;
}

.gm-ptab strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--gm-ink);
}

.gm-ptab span {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--gm-body);
}

.gm-ptab.is-active {
    border: 1.5px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        var(--gm-gradient) border-box;
    box-shadow: 0 18px 40px -22px rgba(43, 91, 255, 0.45);
}

.gm-ptab.is-active strong {
    background: var(--gm-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 폰 목업 */
.gm-phone {
    position: relative;
    width: 300px;
    height: 560px;
    margin: 0 auto;
    border: 1px solid var(--gm-border);
    border-radius: 42px;
    background: #fff;
    box-shadow: var(--gm-shadow);
    overflow: hidden;
}

.gm-phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 22px;
    border-radius: 999px;
    background: #eef1f8;
    z-index: 2;
}

.gm-screen {
    position: absolute;
    inset: 0;
    padding: 48px 18px 18px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.gm-screen.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.gm-scr-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.gm-scr-topbar .gm-mock-logo {
    width: 26px;
    height: 26px;
    font-size: 15px;
}

.gm-scr-searchbar {
    display: inline-flex;
    align-items: center;
    flex: 1;
    min-height: 30px;
    padding: 0 13px;
    border-radius: 999px;
    background: var(--gm-tint);
    font-size: 12px;
    font-weight: 600;
    color: var(--gm-ink);
}

.gm-scr-banner {
    position: relative;
    height: 120px;
    border-radius: 14px;
    background: linear-gradient(140deg, #e8eeff, #ede4ff);
    margin-bottom: 14px;
}

.gm-scr-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.gm-scr-item {
    position: relative;
    height: 96px;
    border-radius: 12px;
    background: linear-gradient(150deg, #eef2fb, #e2e8f6);
}

.gm-scr-item.is-ad,
.gm-scr-banner.is-ad {
    outline: 1.5px solid rgba(43, 91, 255, 0.6);
    outline-offset: -1.5px;
    background: linear-gradient(150deg, #e8eeff, #ede4ff);
}

.gm-scr-list-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--gm-border);
    border-radius: 14px;
    background: #fff;
    margin-bottom: 10px;
}

.gm-scr-list-item.is-ad {
    border: 1.5px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        var(--gm-gradient) border-box;
}

.gm-scr-list-item .gm-mock-ad-badge,
.gm-scr-item .gm-mock-ad-badge,
.gm-scr-banner .gm-mock-ad-badge {
    top: 6px;
    left: 6px;
}

.gm-scr-list-item .gm-mock-ad-badge {
    position: static;
    order: 3;
    margin-left: auto;
    flex: none;
}

.gm-scr-thumb {
    width: 62px;
    height: 62px;
    flex: none;
    border-radius: 10px;
    background: linear-gradient(150deg, #eef2fb, #e2e8f6);
}

.gm-scr-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.gm-scr-lines i {
    display: block;
    height: 9px;
    border-radius: 999px;
    background: #edf0f8;
}

.gm-scr-lines i:first-child { width: 84%; }
.gm-scr-lines i:last-child { width: 52%; }

.gm-scr-lines.wide {
    margin: 12px 2px 0;
}

.gm-scr-hero {
    height: 190px;
    border-radius: 14px;
    background: linear-gradient(150deg, #eef2fb, #e2e8f6);
}

.gm-scr-caption {
    margin: 18px 2px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gm-muted);
}

/* 상세: 추천 블록 전체가 광고 영역 */
.gm-scr-adblock {
    margin-top: 14px;
    padding: 10px;
    border: 1.5px solid transparent;
    border-radius: 14px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        var(--gm-gradient) border-box;
}

.gm-scr-adblock .gm-scr-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 2px 10px;
}

.gm-scr-adblock .gm-mock-ad-badge {
    position: static;
}

.gm-scr-adblock .gm-scr-row {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   ⑤⑥ 피날레 (프로세스 + CTA 다크 밴드)
   -------------------------------------------------------------------------- */

.gm-finale {
    background:
        radial-gradient(680px 380px at 12% 0%, rgba(43, 91, 255, 0.3), transparent 70%),
        radial-gradient(560px 340px at 88% 34%, rgba(124, 58, 237, 0.24), transparent 70%),
        radial-gradient(720px 360px at 50% 100%, rgba(43, 91, 255, 0.18), transparent 70%),
        var(--gm-deep);
}

.gm-process {
    padding-bottom: 48px;
}

.gm-process .gm-label {
    color: #9db8ff;
}

.gm-process .gm-section-head h2 {
    color: #fff;
}

.gm-process .gm-section-head p {
    color: rgba(255, 255, 255, 0.72);
}

.gm-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 단계를 잇는 그라디언트 라인 (첫 노드 중심 → 마지막 노드 중심) */
.gm-steps::before {
    content: "";
    position: absolute;
    top: 23px;
    left: 24px;
    right: calc(20% - 45px);
    height: 2px;
    background: linear-gradient(90deg, rgba(43, 91, 255, 0.95), rgba(124, 58, 237, 0.95));
    box-shadow: 0 0 18px rgba(76, 104, 255, 0.55);
    transform-origin: left center;
}

.gm-steps li {
    position: relative;
    padding-right: 6px;
}

.gm-step-no {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--gm-gradient);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    box-shadow: 0 0 0 7px rgba(10, 17, 40, 0.85), 0 0 26px rgba(76, 104, 255, 0.65);
}

.gm-steps strong {
    display: block;
    min-height: 2.9em;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
}

.gm-steps li p {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.62);
}

/* 라인 드로잉 + 단계 순차 등장 */
.gm-motion-ready .gm-steps::before {
    transform: scaleX(0);
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.gm-motion-ready .gm-steps.is-in::before {
    transform: scaleX(1);
}

.gm-motion-ready .gm-steps li {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gm-motion-ready .gm-steps.is-in li {
    opacity: 1;
    transform: none;
}

.gm-motion-ready .gm-steps.is-in li:nth-child(1) { transition-delay: 0.1s; }
.gm-motion-ready .gm-steps.is-in li:nth-child(2) { transition-delay: 0.25s; }
.gm-motion-ready .gm-steps.is-in li:nth-child(3) { transition-delay: 0.4s; }
.gm-motion-ready .gm-steps.is-in li:nth-child(4) { transition-delay: 0.55s; }
.gm-motion-ready .gm-steps.is-in li:nth-child(5) { transition-delay: 0.7s; }

.gm-cta {
    padding: 48px 0 120px;
    text-align: center;
}

/* 네이비 밴드 위에서 분리되는 그라디언트 CTA 패널 */
.gm-cta-panel {
    position: relative;
    overflow: hidden;
    padding: 76px 40px 80px;
    border-radius: 32px;
    background:
        radial-gradient(480px 260px at 18% -10%, rgba(255, 255, 255, 0.22), transparent 70%),
        radial-gradient(420px 260px at 88% 110%, rgba(255, 255, 255, 0.14), transparent 70%),
        linear-gradient(118deg, #2b5bff 6%, #5a3ef2 58%, #7c3aed 96%);
    box-shadow: 0 34px 90px -34px rgba(43, 91, 255, 0.65);
}

.gm-cta-panel::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -80px;
    width: 320px;
    height: 320px;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    pointer-events: none;
}

.gm-cta-panel::after {
    content: "";
    position: absolute;
    bottom: -130px;
    left: -70px;
    width: 300px;
    height: 300px;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    pointer-events: none;
}

.gm-cta h2 {
    margin: 0 0 16px;
    font-size: 40px;
    line-height: 1.28;
    color: #fff;
}

.gm-cta p {
    margin: 0 0 34px;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
}

.gm-cta form {
    display: inline-flex;
}

/* --------------------------------------------------------------------------
   반응형
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .gm-hero h1 {
        font-size: 46px;
    }

    .gm-section-head h2,
    .gm-cta h2 {
        font-size: 34px;
    }

    .gm-plan-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .gm-placement-body {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    /* 프로세스: 세로 타임라인 전환 */
    .gm-steps {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 560px;
        margin: 0 auto;
    }

    .gm-steps::before {
        top: 24px;
        bottom: 30px;
        left: 23px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(43, 91, 255, 0.95), rgba(124, 58, 237, 0.95));
        transform-origin: center top;
    }

    .gm-motion-ready .gm-steps::before {
        transform: scaleY(0);
    }

    .gm-motion-ready .gm-steps.is-in::before {
        transform: scaleY(1);
    }

    .gm-steps li {
        padding: 0 0 34px 70px;
        min-height: 48px;
    }

    .gm-steps li:last-child {
        padding-bottom: 0;
    }

    .gm-steps .gm-step-no {
        position: absolute;
        top: 0;
        left: 0;
        margin-bottom: 0;
    }

    .gm-steps strong {
        min-height: 0;
    }

    .gm-chip-1 { left: -6px; }
    .gm-chip-2 { right: -8px; }
    .gm-chip-3 { left: 2px; }
}

@media (max-width: 768px) {
    .gm-section {
        padding: 76px 0;
    }

    .gm-hero {
        padding-top: 64px;
    }

    .gm-hero h1 {
        font-size: 36px;
    }

    .gm-hero-sub br {
        display: none;
    }

    .gm-section-head {
        margin-bottom: 44px;
    }

    .gm-section-head h2,
    .gm-cta h2 {
        font-size: 28px;
    }

    .gm-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .gm-bento {
        grid-template-columns: 1fr;
    }

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

    .gm-mock-grid .gm-mock-item:nth-child(n+3) {
        display: none;
    }

    .gm-chip {
        display: none;
    }

    .gm-cta {
        padding: 32px 0 76px;
    }

    .gm-cta-panel {
        padding: 56px 24px 60px;
        border-radius: 24px;
    }
}

@media (max-width: 480px) {
    .gm-hero h1 {
        font-size: 30px;
    }

    .gm-phone {
        width: 260px;
        height: 500px;
    }

    .gm-card {
        padding: 26px 24px 30px;
    }

    .gm-plan {
        padding: 32px 24px 26px;
    }
}
