/* ==========================================
   매물등록 안내 랜딩 페이지 CSS
   ========================================== */

/* === 히어로 배너 === */
.jp-landing-hero {
    position: relative;
    background: url("http://www.jeomppang.com/wp-content/themes/houzez-child/images/about-banner.jpg") center center / cover no-repeat;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jp-landing-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.jp-landing-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}
.jp-landing-hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.jp-landing-hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin: 0;
}

/* === 공통 섹션 === */
.jp-landing-section {
    padding: 60px 0;
}
.jp-landing-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.jp-landing-section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
}
.jp-landing-section-header p {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

/* === 섹션1: 4단계 프로세스 === */
.jp-landing-steps {
    background: #fff;
}
.jp-steps-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
}
.jp-step-card {
    flex: 1;
    max-width: 240px;
    background: #fff;
    border: 2px solid #22c55e;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: left;
}
.jp-step-number {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: #22c55e;
    background: #f0fdf4;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}
.jp-step-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}
.jp-step-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}
.jp-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
}
.jp-step-arrow svg {
    width: 28px;
    height: 28px;
}

/* === 섹션2: 결제플랜 === */
.jp-landing-pricing {
    background: #f8fafc;
}
.jp-pricing-subtitle {
    color: #ff6b35 !important;
    font-weight: 500;
}
.jp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.jp-pricing-card {
    position: relative;
    background: #fff;
    border: 2px solid #22c55e;
    border-radius: 12px;
    padding: 32px 24px 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.jp-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.jp-pricing-card-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}
.jp-pricing-price {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}
.jp-price-unit {
    font-size: 18px;
    font-weight: 600;
}
.jp-pricing-period {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 20px;
}
.jp-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    text-align: left;
    flex: 1;
}
.jp-pricing-features li {
    position: relative;
    padding: 8px 0 8px 22px;
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    border-bottom: 1px solid #f1f5f9;
}
.jp-pricing-features li:last-child {
    border-bottom: none;
}
.jp-pricing-features li::before {
    content: "\2022";
    position: absolute;
    left: 6px;
    top: 8px;
    color: #22c55e;
    font-weight: 700;
    font-size: 16px;
}

/* 프리미엄 강조 */
.jp-pricing-premium {
    border-color: #d97706;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
}
/* VIP 강조 */
.jp-pricing-vip {
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

/* 인기/BEST 배지 */
.jp-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #d97706;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.jp-pricing-badge.jp-badge-vip {
    background: #dc2626;
}

/* 노출 위치 미리보기 버튼 */
.jp-pricing-tooltip-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #3b82f6;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    background: #eff6ff;
    transition: background 0.2s;
    margin-top: auto;
}
.jp-pricing-tooltip-trigger:hover {
    background: #dbeafe;
    color: #2563eb;
}

/* 점프업 박스 */
.jp-jumpup-box {
    background: #fff;
    border: 2px solid #22c55e;
    border-radius: 12px;
    padding: 28px 32px;
    text-align: center;
    margin-bottom: 32px;
}
.jp-jumpup-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}
.jp-jumpup-period {
    font-size: 14px;
    font-weight: 400;
    color: #94a3b8;
}
.jp-jumpup-content p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 12px;
}
.jp-jumpup-price {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
}

/* CTA 버튼 */
.jp-landing-cta {
    text-align: center;
    margin-top: 16px;
}
.jp-cta-button {
    display: inline-block;
    padding: 14px 48px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: #ee7b30;
    border: 2px solid #ee7b30;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.jp-cta-button:hover {
    background: #fff;
    color: #ee7b30;
    text-decoration: none;
}

/* === 섹션3: 등록 팁 === */
.jp-landing-tips {
    background: #fff;
}
.jp-tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 24px;
}
.jp-tip-card {
    text-align: center;
    padding: 24px;
}
.jp-tip-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jp-tip-icon i {
    font-size: 40px;
    color: #94a3b8;
}
.jp-tip-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}
.jp-tip-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* === 노출 위치 미리보기 모달 === */
.jp-tier-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jp-tier-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.jp-tier-preview-dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.jp-tier-preview-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}
.jp-tier-preview-close:hover {
    color: #1e293b;
}
.jp-tier-preview-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    padding-right: 32px;
}

/* 모달 내 목록 모형 */
.jp-preview-mockup {
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.jp-mock-header {
    background: #1e293b;
    color: #fff;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
}
.jp-mock-tier {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #e2e8f0;
}
.jp-mock-tier:last-child {
    border-bottom: none;
}
.jp-mock-tier small {
    font-size: 12px;
    font-weight: 400;
    color: #64748b;
}
.jp-mock-vip { background: #fff5f5; color: #dc2626; }
.jp-mock-premium { background: #fffbeb; color: #d97706; }
.jp-mock-normal { background: #fff; color: #64748b; }
.jp-mock-highlight {
    font-weight: 700 !important;
    position: relative;
    border: 3px solid #dc2626 !important;
    border-radius: 6px;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.15);
}
.jp-mock-arrow {
    margin-right: 4px;
}
@keyframes jp-pulse {
    0%, 100% { background-color: inherit; }
    50% { filter: brightness(0.95); }
}
.jp-preview-desc {
    margin-top: 16px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* === 반응형: 태블릿 === */
@media (max-width: 991px) {
    .jp-steps-grid {
        flex-wrap: wrap;
        gap: 16px;
    }
    .jp-step-arrow {
        display: none;
    }
    .jp-step-card {
        max-width: none;
        flex: 0 0 calc(50% - 8px);
    }
}

@media (max-width: 767px) {
    .jp-landing-hero-content p {
        font-size: 16px;
    }
    .jp-landing-section {
        padding: 40px 0;
    }
    .jp-landing-section-header h2 {
        font-size: 22px;
    }
    .jp-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
    .jp-step-card {
        flex: 0 0 100%;
    }
    .jp-tips-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
    .jp-cta-button {
        display: block;
        margin: 0 16px;
    }
}

/* Fallback if no banner image */
.jp-landing-hero {
    background-color: #2d3748;
}


/* ===== 랜딩 페이지 작은 텍스트 가독성 ===== */
.jp-step-card p {
    font-size: 15px;
    line-height: 1.85;
    color: #4b5563;
}
.jp-step-number {
    font-size: 14px;
}
.jp-pricing-features li {
    font-size: 15px;
    line-height: 1.85;
    color: #4b5563;
}
.jp-pricing-period {
    font-size: 14px;
}
.jp-tip-card p {
    font-size: 15px;
    line-height: 1.85;
    color: #4b5563;
}
.jp-jumpup-box p {
    font-size: 15px;
    line-height: 1.85;
}
.jp-pricing-tooltip-trigger {
    font-size: 14px;
}

/* ============================================
   모바일 반응형 - 태블릿
   ============================================ */
@media (max-width: 991px) {
    .jp-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .jp-steps-grid {
        flex-wrap: wrap;
        gap: 14px;
        justify-content: center;
    }
    .jp-step-arrow {
        display: none;
    }
    .jp-step-card {
        max-width: none;
        flex: 0 0 calc(50% - 7px);
    }
    .jp-tips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ============================================
   모바일 반응형 - 스마트폰
   ============================================ */
@media (max-width: 767px) {
    /* 히어로 배너 */
    .jp-landing-hero {
        min-height: 220px;
    }
    .jp-landing-hero-content {
        padding: 40px 16px;
    }
    .jp-landing-hero-content h1 {
        font-size: 28px;
        margin-bottom: 8px;
    }
    .jp-landing-hero-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* 섹션 공통 */
    .jp-landing-section {
        padding: 40px 0;
    }
    .jp-landing-section-header {
        margin-bottom: 32px;
        padding: 0 8px;
    }
    .jp-landing-section-header h2 {
        font-size: 22px;
        margin-bottom: 8px;
        word-break: keep-all;
    }
    .jp-landing-section-header p {
        font-size: 14px;
    }

    /* 4단계 스텝 카드 */
    .jp-steps-grid {
        flex-direction: column;
        gap: 12px;
        padding: 0 4px;
    }
    .jp-step-card {
        flex: 0 0 100%;
        padding: 22px 20px;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 4px;
    }
    .jp-step-number {
        font-size: 13px;
        margin-bottom: 6px;
    }
    .jp-step-card h3 {
        font-size: 16px;
        margin-bottom: 6px;
        width: 100%;
    }
    .jp-step-card p {
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    /* 결제플랜 카드 */
    .jp-pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 100%;
        padding: 0 4px;
    }
    .jp-pricing-card {
        padding: 28px 20px 20px;
    }
    .jp-pricing-price {
        font-size: 28px;
    }
    .jp-pricing-card-header h3 {
        font-size: 17px;
    }
    .jp-pricing-features li {
        font-size: 14px;
        padding: 6px 0 6px 20px;
    }

    /* 점프업 박스 */
    .jp-jumpup-box {
        padding: 24px 16px;
        margin: 0 4px 24px;
    }
    .jp-jumpup-content h3 {
        font-size: 18px;
    }
    .jp-jumpup-content p {
        font-size: 14px;
    }
    .jp-jumpup-price {
        font-size: 24px;
    }

    /* CTA 버튼 */
    .jp-landing-cta {
        padding: 0 16px;
    }
    .jp-cta-button {
        display: block;
        padding: 14px 24px;
        font-size: 16px;
        text-align: center;
    }

    /* 등록 팁 */
    .jp-tips-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 4px;
    }
    .jp-tip-card {
        padding: 20px 16px;
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
    }
    .jp-tip-icon {
        width: 64px;
        height: 64px;
        min-width: 64px;
        margin: 0;
        border-radius: 10px;
    }
    .jp-tip-icon i {
        font-size: 26px;
    }
    .jp-tip-card h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }
    .jp-tip-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* 미리보기 모달 */
    .jp-tier-preview-dialog {
        padding: 24px 20px;
        width: 95%;
        max-height: 80vh;
    }
    .jp-tier-preview-title {
        font-size: 18px;
    }
}

/* ============================================
   모바일 반응형 - 소형 스마트폰 (360px 이하)
   ============================================ */
@media (max-width: 360px) {
    .jp-landing-hero-content h1 {
        font-size: 24px;
    }
    .jp-landing-hero-content p {
        font-size: 14px;
    }
    .jp-landing-section-header h2 {
        font-size: 20px;
    }
    .jp-pricing-price {
        font-size: 24px;
    }
    .jp-step-card {
        padding: 18px 16px;
    }
}
