/* =================================================================
   Pay Studio - Process (가입 절차)
   ================================================================= */

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

.pay_main {
    color: var(--ppr-text);
    word-break: keep-all;
    overflow-wrap: break-word;
}

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

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

.ppr_sect {
    position: relative;
}

.ppr_sect_head {
    margin-bottom: 32px;
}

.ppr_sect_head.center .ppr_desc {
    margin-left: auto;
    margin-right: auto;
}

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

.ppr_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(--ppr-accent-dp);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 14px;
}

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

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

.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. Timeline 6 steps
   ============================================================ */
.ppr_timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ppr_timeline li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 18px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--ppr-border);
    box-shadow: var(--ppr-card-shadow);
    position: relative;
}

.ppr_timeline li.highlight {
    background: linear-gradient(135deg, #fff8e8, #fff);
    border-color: var(--ppr-accent);
}

.pt_no {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffae00, #ff8a3c);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
}

.pt_body {
    flex: 1;
    min-width: 0;
}

.pt_title {
    font-size: 15px;
    font-weight: 800;
    color: var(--ppr-text);
    margin: 0 0 4px;
}

.pt_desc {
    font-size: 13px;
    color: var(--ppr-text-sub);
    line-height: 1.6;
    margin: 0;
}

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

.pt_link {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 800;
    color: var(--ppr-accent-dp);
    text-decoration: underline;
}

.pt_duration {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 800;
    color: var(--ppr-accent-dp);
    background: #fff5d8;
    padding: 5px 10px;
    border-radius: 100px;
    align-self: flex-start;
}

/* ============================================================
   S03. Docs grid
   ============================================================ */
.ppr_docs_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.ppr_docs_card {
    background: #fff;
    border-radius: var(--ppr-radius);
    padding: 24px 20px;
    border: 1px solid var(--ppr-border);
    box-shadow: var(--ppr-card-shadow);
}

.pdc_head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--ppr-border);
}

.pdc_head i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff8e8, #ffe8c4);
    color: var(--ppr-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.pdc_head h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--ppr-text);
    margin: 0;
    flex: 1;
}

.pdc_count {
    font-size: 11px;
    font-weight: 800;
    color: var(--ppr-accent-dp);
    background: #fff5d8;
    padding: 4px 10px;
    border-radius: 100px;
}

.pdc_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    counter-reset: doc;
}

.pdc_list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: var(--ppr-bg);
    border-radius: 10px;
    font-size: 13px;
    color: var(--ppr-text);
    line-height: 1.55;
    counter-increment: doc;
}

.pdc_list li::before {
    content: counter(doc);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ppr-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.pdc_list li small {
    display: block;
    font-size: 11px;
    color: var(--ppr-text-lt);
    margin-top: 2px;
}

.pdc_list li.optional {
    opacity: 0.7;
}

.pdc_list li.optional::before {
    background: var(--ppr-text-lt);
}

.ppr_docs_note {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    padding: 16px 18px;
    background: #fff;
    border: 1px dashed var(--ppr-accent);
    border-radius: 14px;
}

.ppr_docs_note i {
    color: var(--ppr-accent);
    font-size: 22px;
    flex-shrink: 0;
}

.ppr_docs_note p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--ppr-text-sub);
}

.ppr_docs_note p strong {
    color: var(--ppr-accent-dp);
    font-weight: 800;
}

/* ============================================================
   S04. NICE 솔직 박스
   ============================================================ */
.ppr_nice_box {
    background: linear-gradient(135deg, #0a0e2e 0%, #1a1f4d 100%);
    border-radius: var(--ppr-radius);
    padding: 30px 22px;
    color: #fff;
    box-shadow: 0 30px 70px -20px rgba(10, 14, 46, 0.5);
}

.pnb_head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.pnb_head i {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffae00, #ff8a3c);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.pnb_label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--ppr-accent-lt);
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.pnb_head h2 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

.pnb_desc {
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 18px;
}

.pnb_desc strong {
    color: var(--ppr-accent-lt);
    font-weight: 800;
}

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

.pnb_facts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

.pnb_facts i {
    flex-shrink: 0;
    color: var(--ppr-accent);
    font-size: 18px;
    margin-top: 1px;
}

.pnb_facts p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.pnb_facts p strong {
    color: #fff;
    font-weight: 800;
}

/* ============================================================
   S05. FAQ
   ============================================================ */
.faq_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq_item {
    background: #fff;
    border: 1px solid var(--ppr-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq_item.active {
    border-color: var(--ppr-accent);
    box-shadow: var(--ppr-card-shadow);
}

.faq_q {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ppr-text);
    line-height: 1.5;
}

.q_mark {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffae00, #ff8a3c);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
}

.q_text { flex: 1; }

.q_toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--ppr-bg);
    color: var(--ppr-text-sub);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.faq_item.active .q_toggle {
    transform: rotate(45deg);
    background: var(--ppr-accent);
    color: #fff;
}

.faq_a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq_item.active .faq_a {
    max-height: 600px;
}

.faq_a p {
    margin: 0;
    padding: 0 16px 18px 54px;
    font-size: 13px;
    line-height: 1.75;
    color: var(--ppr-text-sub);
}

.faq_a p strong {
    color: var(--ppr-accent-dp);
    font-weight: 800;
}

.faq_a p a {
    color: var(--ppr-accent-dp);
    font-weight: 700;
    text-decoration: underline;
}

/* ============================================================
   S06. Final CTA
   ============================================================ */
.ppr_final_cta .fcta_box {
    position: relative;
    background: linear-gradient(135deg, #0a0e2e 0%, #1a1f4d 100%);
    border-radius: var(--ppr-radius);
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 30px 70px -20px rgba(10, 14, 46, 0.5);
}

.ppr_final_cta .fcta_pattern,
.ppr_final_cta .fcta_glow { position: absolute; pointer-events: none; }

.ppr_final_cta .fcta_pattern {
    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;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.ppr_final_cta .fcta_glow { border-radius: 50%; filter: blur(50px); }

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

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

.ppr_final_cta .fcta_inner {
    position: relative;
    padding: 38px 22px;
    text-align: center;
}

.ppr_final_cta .fcta_text { color: #fff; }

.ppr_final_cta .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;
}

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

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

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

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

.ppr_final_cta .fcta_btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

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

.ppr_final_cta .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);
}

.ppr_final_cta .fcta_btn.ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}

.ppr_final_cta .fcta_btn .arrow { transition: transform 0.2s ease; }
.ppr_final_cta .fcta_btn:hover .arrow { transform: translateX(4px); }
.ppr_final_cta .fcta_btn i { font-size: 18px; }

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

    .ppr_sect_head {
        margin-bottom: 40px;
    }

    .ppr_title { font-size: 34px; }
    .ppr_desc { font-size: 15px; }

    .ppr_timeline li {
        padding: 22px 26px;
    }

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

    .ppr_docs_card {
        padding: 32px 26px;
    }

    .ppr_nice_box {
        padding: 40px 36px;
    }

    .pnb_head h2 {
        font-size: 22px;
    }

    .ppr_final_cta .fcta_inner { padding: 60px 50px; }
    .ppr_final_cta .fcta_btns { flex-direction: row; justify-content: center; }
    .ppr_final_cta .fcta_title { font-size: 32px; }
}

@media screen and (min-width: 1024px) {
    .ppr_sect_wrap {
        gap: 120px;
        padding-top: 64px;
        padding-bottom: 120px;
    }

    .ppr_sect_head {
        margin-bottom: 56px;
    }

    .ppr_title { font-size: 44px; }
    .ppr_desc { font-size: 16px; margin-top: 18px; }
    .ppr_eyebrow { padding: 6px 14px; font-size: 11px; margin-bottom: 18px; }
}
