/* =================================================================
   Pay Studio - Method (결제방식 5종)
   - 5 method sections with GIF demos
   - Industry matrix
   - Mobile-first
   ================================================================= */

:root {
    --pmt-dark: #0a0e2e;
    --pmt-accent: #ffae00;
    --pmt-accent-lt: #ffd57a;
    --pmt-accent-dp: #c47900;
    --pmt-orange: #ff8a3c;
    --pmt-bg: #faf7f0;
    --pmt-text: #1a1f3a;
    --pmt-text-sub: #5e6580;
    --pmt-text-lt: #8a91a8;
    --pmt-border: #f0e6d0;
    --pmt-card-shadow: 0 4px 20px -8px rgba(255, 174, 0, 0.1);
    --pmt-card-shadow-hover: 0 16px 40px -16px rgba(255, 174, 0, 0.25);
    --pmt-radius: 20px;

    --m-nfc: #ffae00;
    --m-camera: #5b6cff;
    --m-manual: #10c98a;
    --m-link: #ff8a3c;
    --m-cycle: #a675ff;
}

.pay_main {
    color: var(--pmt-text);
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.pay_main .font_g,
.pay_main .pmt_eyebrow,
.pay_main .pmh_badge {
    word-break: normal;
}

.pmt_sect_wrap {
    display: flex;
    flex-direction: column;
    gap: 72px;
    padding-top: 32px;
    padding-bottom: 72px;
}

.pmt_sect {
    position: relative;
}

.pmt_sect_head {
    margin-bottom: 32px;
}

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

.pmt_eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: rgba(255, 174, 0, 0.1);
    border: 1px solid rgba(255, 174, 0, 0.25);
    border-radius: 100px;
    color: var(--pmt-accent-dp);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 14px;
}

.pmt_title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--pmt-text);
}

.pmt_desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--pmt-text-sub);
    margin-top: 14px;
    max-width: 680px;
}

.pmt_sect_head.center .pmt_desc {
    margin-left: auto;
    margin-right: auto;
}

.em_grad {
    background: linear-gradient(135deg, #ff8a3c 0%, #ffae00 50%, #c47900 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.em_grad_w {
    background: linear-gradient(135deg, #fff5d8 0%, #ffd57a 50%, #ffae00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* ============================================================
   S02. 5종 빠른 점프 카드
   ============================================================ */
.pmt_jump_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pmt_jump_card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 16px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--pmt-border);
    box-shadow: var(--pmt-card-shadow);
    transition: all 0.25s ease;
    border-left: 4px solid var(--pmt-accent);
    position: relative;
    overflow: hidden;
}

.pmt_jump_card.nfc { border-left-color: var(--m-nfc); }
.pmt_jump_card.camera { border-left-color: var(--m-camera); }
.pmt_jump_card.manual { border-left-color: var(--m-manual); }
.pmt_jump_card.link { border-left-color: var(--m-link); }
.pmt_jump_card.cycle { border-left-color: var(--m-cycle); }

.pmt_jump_card:hover {
    transform: translateY(-3px);
    box-shadow: var(--pmt-card-shadow-hover);
}

.pjc_no {
    font-size: 18px;
    font-weight: 900;
    color: var(--pmt-text-lt);
    line-height: 1;
}

.pmt_jump_card i {
    font-size: 24px;
    color: var(--pmt-accent);
    margin-bottom: 4px;
}

.pmt_jump_card.nfc i { color: var(--m-nfc); }
.pmt_jump_card.camera i { color: var(--m-camera); }
.pmt_jump_card.manual i { color: var(--m-manual); }
.pmt_jump_card.link i { color: var(--m-link); }
.pmt_jump_card.cycle i { color: var(--m-cycle); }

.pmt_jump_card h3 {
    font-size: 14px;
    font-weight: 800;
    color: var(--pmt-text);
    margin: 0;
}

.pmt_jump_card p {
    font-size: 11.5px;
    color: var(--pmt-text-sub);
    margin: 0;
}

/* ============================================================
   S03~07. 결제방식 섹션 (공통)
   ============================================================ */
.pmt_method {
    background: #fff;
    border-radius: var(--pmt-radius);
    border: 1px solid var(--pmt-border);
    box-shadow: var(--pmt-card-shadow);
    padding: 30px 20px;
    scroll-margin-top: 80px;
}

.pmt_method_head {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.pmh_text {
    text-align: left;
}

.pmh_no {
    display: inline-block;
    font-size: 28px;
    font-weight: 900;
    color: var(--pmt-accent-lt);
    line-height: 1;
    margin-bottom: 6px;
}

.pmh_badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--pmt-bg);
    border-radius: 100px;
    font-size: 10.5px;
    font-weight: 800;
    color: var(--pmt-text-sub);
    letter-spacing: 0.6px;
    margin-bottom: 12px;
}

.pmt_method.nfc .pmh_badge { background: rgba(255, 174, 0, 0.14); color: var(--pmt-accent-dp); }
.pmt_method.camera .pmh_badge { background: rgba(91, 108, 255, 0.14); color: #2a3ab8; }
.pmt_method.manual .pmh_badge { background: rgba(16, 201, 138, 0.14); color: #066c4a; }
.pmt_method.link .pmh_badge { background: rgba(255, 138, 60, 0.14); color: #c4480c; }
.pmt_method.cycle .pmh_badge { background: rgba(166, 117, 255, 0.14); color: #6c3ec5; }

.pmh_title {
    font-size: 22px;
    font-weight: 800;
    color: var(--pmt-text);
    margin: 0 0 12px;
    line-height: 1.35;
}

.pmh_desc {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--pmt-text-sub);
    margin: 0 0 16px;
}

.pmh_desc strong {
    color: var(--pmt-accent-dp);
    font-weight: 800;
}

.pmh_keys {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pmh_keys li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--pmt-text);
    font-weight: 600;
}

.pmh_keys i {
    color: var(--pmt-accent);
    font-size: 16px;
}

.pmt_method.nfc .pmh_keys i { color: var(--m-nfc); }
.pmt_method.camera .pmh_keys i { color: var(--m-camera); }
.pmt_method.manual .pmh_keys i { color: var(--m-manual); }
.pmt_method.link .pmh_keys i { color: var(--m-link); }
.pmt_method.cycle .pmh_keys i { color: var(--m-cycle); }

/* iPhone frame */
.pmh_visual {
    display: flex;
    justify-content: center;
}

.iphone_frame {
    position: relative;
    width: 240px;
    max-width: 70%;
    aspect-ratio: 9 / 19;
    border-radius: 32px;
    background: #1a1a1a;
    padding: 10px;
    box-shadow: 0 30px 60px -20px rgba(10, 14, 46, 0.4),
                inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.iphone_frame::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 18px;
    background: #1a1a1a;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

.iphone_frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

/* method body — 추천 + tip */
.pmt_method_body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px dashed var(--pmt-border);
}

.pmm_for,
.pmm_tip {
    background: var(--pmt-bg);
    border-radius: 14px;
    padding: 18px 16px;
}

.pmm_for h3,
.pmm_tip h3 {
    font-size: 13px;
    font-weight: 800;
    color: var(--pmt-accent-dp);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.pmm_for ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pmm_for li {
    font-size: 13px;
    color: var(--pmt-text);
    font-weight: 600;
    line-height: 1.5;
}

.pmm_tip ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pmm_tip li {
    font-size: 12.5px;
    color: var(--pmt-text-sub);
    line-height: 1.6;
}

.pmm_tip strong {
    color: var(--pmt-accent-dp);
    font-weight: 800;
    margin-right: 2px;
}

/* ============================================================
   S08. 시나리오 매트릭스
   ============================================================ */
.pmt_matrix_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pmt_matrix_list li {
    background: #fff;
    border-radius: 14px;
    padding: 16px 14px;
    border: 1px solid var(--pmt-border);
    box-shadow: var(--pmt-card-shadow);
    transition: all 0.25s ease;
}

.pmt_matrix_list li:hover {
    transform: translateY(-2px);
    box-shadow: var(--pmt-card-shadow-hover);
}

.pml_head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.pml_emoji {
    font-size: 22px;
}

.pml_head h3 {
    font-size: 14px;
    font-weight: 800;
    color: var(--pmt-text);
    margin: 0;
}

.pmt_matrix_list p {
    font-size: 12px;
    color: var(--pmt-text-sub);
    line-height: 1.55;
    margin: 0 0 12px;
    min-height: 32px;
}

.pml_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.pml_tags .tag {
    padding: 3px 8px;
    border-radius: 100px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.tag.nfc { background: rgba(255, 174, 0, 0.14); color: var(--pmt-accent-dp); }
.tag.camera { background: rgba(91, 108, 255, 0.14); color: #2a3ab8; }
.tag.manual { background: rgba(16, 201, 138, 0.14); color: #066c4a; }
.tag.link { background: rgba(255, 138, 60, 0.14); color: #c4480c; }
.tag.cycle { background: rgba(166, 117, 255, 0.14); color: #6c3ec5; }

.pmt_matrix_more {
    text-align: center;
    margin-top: 22px;
}

.pmt_more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #fff8e8, #ffe8c4);
    border: 1.5px solid var(--pmt-accent);
    border-radius: 100px;
    color: var(--pmt-accent-dp);
    font-size: 13px;
    font-weight: 800;
    transition: all 0.2s ease;
}

.pmt_more:hover {
    background: linear-gradient(135deg, #ffae00, #ff8a3c);
    color: #fff;
    transform: translateY(-2px);
}

.pmt_more .arrow {
    transition: transform 0.2s ease;
}

.pmt_more:hover .arrow {
    transform: translateX(4px);
}

/* ============================================================
   S09. Final CTA (default 와 동일 패턴)
   ============================================================ */
.pmt_final_cta .fcta_box {
    position: relative;
    background: linear-gradient(135deg, #0a0e2e 0%, #1a1f4d 100%);
    border-radius: var(--pmt-radius);
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 30px 70px -20px rgba(10, 14, 46, 0.5);
}

.fcta_pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.fcta_glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(50px);
}

.fcta_glow.fg_1 {
    top: -30%;
    left: -10%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 196, 74, 0.42) 0%, transparent 70%);
}

.fcta_glow.fg_2 {
    bottom: -40%;
    right: -10%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 138, 60, 0.32) 0%, transparent 70%);
}

.fcta_inner {
    position: relative;
    padding: 36px 22px;
}

.fcta_text {
    color: #fff;
    text-align: center;
}

.fcta_eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 16px;
}

.fe_dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pmt-accent);
    box-shadow: 0 0 10px var(--pmt-accent);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.fcta_title {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin: 0 0 12px;
}

.fcta_desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 22px;
}

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

.fcta_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 800;
    transition: all 0.25s ease;
}

.fcta_btn.primary {
    background: linear-gradient(135deg, #ffd57a 0%, #ffae00 50%, #ff8a3c 100%);
    color: #1a1f3a;
    box-shadow: 0 12px 30px -10px rgba(255, 174, 0, 0.7);
}

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

.fcta_btn.ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    backdrop-filter: blur(8px);
}

.fcta_btn .arrow {
    transition: transform 0.2s ease;
}

.fcta_btn:hover .arrow {
    transform: translateX(4px);
}

.fcta_btn i {
    font-size: 18px;
}

/* ============================================================
   📱 Tablet 768px+
   ============================================================ */
@media screen and (min-width: 768px) {
    .pmt_sect_wrap {
        gap: 90px;
        padding-top: 48px;
        padding-bottom: 90px;
    }

    .pmt_sect_head {
        margin-bottom: 40px;
    }

    .pmt_title {
        font-size: 34px;
    }

    .pmt_desc {
        font-size: 15px;
    }

    .pmt_jump_grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }

    .pmt_jump_card {
        padding: 22px 18px;
    }

    .pmt_method {
        padding: 50px 40px;
    }

    .pmt_method_head {
        flex-direction: row;
        align-items: center;
        gap: 50px;
    }

    .pmt_method_head.reverse {
        flex-direction: row-reverse;
    }

    .pmh_text {
        flex: 1;
    }

    .pmh_visual {
        flex-shrink: 0;
        width: 280px;
    }

    .iphone_frame {
        width: 100%;
        max-width: none;
    }

    .pmh_title {
        font-size: 28px;
    }

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

    .pmt_matrix_list {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }

    .fcta_inner {
        padding: 60px 50px;
    }

    .fcta_btns {
        flex-direction: row;
        justify-content: center;
    }

    .fcta_title {
        font-size: 30px;
    }
}

/* ============================================================
   💻 Desktop 1024px+
   ============================================================ */
@media screen and (min-width: 1024px) {
    .pmt_sect_wrap {
        gap: 120px;
        padding-top: 64px;
        padding-bottom: 120px;
    }

    .pmt_sect_head {
        margin-bottom: 56px;
    }

    .pmt_title {
        font-size: 44px;
    }

    .pmt_desc {
        font-size: 16px;
        margin-top: 18px;
    }

    .pmt_eyebrow {
        padding: 6px 14px;
        font-size: 11px;
        margin-bottom: 18px;
    }

    .pmh_title {
        font-size: 32px;
    }

    .pmt_method {
        padding: 60px 50px;
    }

    .pmh_visual {
        width: 320px;
    }
}
