/**
 * YiwuPage Advertise Page — 광고 센터
 * advertise.css
 *
 * Phase 13.6.5 | 2026-07-23
 *
 * Design: Sky Blue + Gold VIP + White
 * 复用 commercial-directory.css 变量
 */

/* === Base === */
.yp-advertise-page {
    background: #f8fafc;
    color: #1e293b;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
    margin: 0;
    line-height: 1.6;
}

/* === Header Simple === */
.yp-header-simple {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.yp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.yp-header-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}
.yp-nav-link {
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    transition: color .15s;
}
.yp-nav-link:hover { color: #0284c7; }
.yp-nav-cta {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #0284c7;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s;
}
.yp-nav-cta:hover { background: #0369a1; }

/* === ② Hero === */
.yp-adv-hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #1d4ed8 100%);
    padding: 48px 0 56px;
}
.yp-adv-hero-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: center;
}
.yp-adv-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.yp-adv-hero-title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 16px;
}
.yp-text-sky {
    color: #fde68a;
    text-decoration: underline;
    text-decoration-color: rgba(253,230,138,0.4);
    text-underline-offset: 4px;
}
.yp-adv-hero-desc {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 24px;
}
.yp-adv-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.yp-btn-primary {
    display: inline-block;
    background: #fbbf24;
    color: #78350f;
    font-size: 15px;
    font-weight: 800;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 4px 12px rgba(251,191,36,0.3);
}
.yp-btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(251,191,36,0.4);
}
.yp-btn-secondary {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s;
}
.yp-btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}

/* Hero Stats Card */
.yp-adv-stats-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 24px;
    color: #fff;
}
.yp-adv-stats-title {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.8;
    margin-bottom: 16px;
    text-align: center;
}
.yp-adv-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.yp-adv-stat {
    text-align: center;
}
.yp-adv-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: #fde68a;
}
.yp-adv-stat-label {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 4px;
}
.yp-adv-stats-note {
    font-size: 10px;
    opacity: 0.6;
    text-align: center;
    margin-top: 12px;
}

/* === Section Title === */
.yp-section-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    text-align: center;
    margin: 0 0 8px;
}
.yp-section-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    text-align: center;
    margin: 0 0 32px;
}

/* === ③ Why Section === */
.yp-adv-why {
    padding: 56px 0;
    background: #fff;
}
.yp-adv-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.yp-adv-why-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: all .2s;
}
.yp-adv-why-card:hover {
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2,132,199,0.08);
    transform: translateY(-2px);
}
.yp-adv-why-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}
.yp-adv-why-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}
.yp-adv-why-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* === ④ Pricing Plans === */
.yp-adv-pricing {
    padding: 56px 0;
    background: #f8fafc;
}
.yp-adv-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}
.yp-adv-plan {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    transition: all .2s;
    display: flex;
    flex-direction: column;
}
.yp-adv-plan:hover {
    border-color: var(--plan-color, #0284c7);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.yp-adv-plan-highlight {
    border-color: var(--plan-color);
    box-shadow: 0 8px 32px rgba(180,83,9,0.12);
    transform: scale(1.02);
}
.yp-adv-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}
.yp-adv-plan-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
}
.yp-adv-plan-name-cn {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 16px;
}
.yp-adv-plan-price {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.yp-adv-plan-price-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--plan-color, #0284c7);
}
.yp-adv-plan-price-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-left: 4px;
}
.yp-adv-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}
.yp-adv-plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #374151;
    padding: 6px 0;
}
.yp-adv-plan-features li svg {
    flex-shrink: 0;
}
.yp-adv-plan-cta {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity .15s;
}
.yp-adv-plan-cta:hover {
    opacity: 0.9;
}

/* === ⑤ Ad Slots Table === */
.yp-adv-slots {
    padding: 56px 0;
    background: #fff;
}
.yp-adv-table-wrap {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}
.yp-adv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.yp-adv-table th {
    background: #f8fafc;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}
.yp-adv-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.yp-adv-table tr:last-child td {
    border-bottom: none;
}
.yp-adv-table tr:hover {
    background: #f8fafc;
}
.yp-adv-slot-pos {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 2px;
}
.yp-adv-table code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #475569;
}
.yp-adv-price {
    font-weight: 800;
    color: #0f172a;
    font-size: 1rem;
}
.yp-adv-price-consult {
    color: #64748b;
    font-weight: 600;
    font-size: 0.85rem;
}
.yp-adv-table-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.7;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

/* === ⑥ Process Steps === */
.yp-adv-process {
    padding: 56px 0;
    background: #f8fafc;
}
.yp-adv-process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.yp-adv-step {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    text-align: center;
    width: 200px;
    transition: all .2s;
}
.yp-adv-step:hover {
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2,132,199,0.08);
}
.yp-adv-step-num {
    width: 32px;
    height: 32px;
    background: #0284c7;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.yp-adv-step-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}
.yp-adv-step-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
}
.yp-adv-step-arrow {
    font-size: 1.5rem;
    color: #cbd5e1;
    font-weight: 700;
}

/* === ⑦ FAQ === */
.yp-adv-faq {
    padding: 56px 0;
    background: #fff;
}
.yp-adv-faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.yp-adv-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color .2s;
}
.yp-adv-faq-item:hover,
.yp-adv-faq-item.open {
    border-color: #0284c7;
}
.yp-adv-faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    text-align: left;
}
.yp-adv-faq-q:hover {
    background: #f8fafc;
}
.yp-adv-faq-toggle {
    font-size: 1.2rem;
    font-weight: 400;
    color: #94a3b8;
    transition: transform .2s;
}
.yp-adv-faq-item.open .yp-adv-faq-toggle {
    transform: rotate(45deg);
    color: #0284c7;
}
.yp-adv-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding: 0 20px;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
}
.yp-adv-faq-item.open .yp-adv-faq-a {
    max-height: 200px;
    padding: 0 20px 16px;
}
.yp-adv-faq-a a {
    color: #0284c7;
    font-weight: 600;
}

/* === ⑧ WeChat CTA === */
.yp-adv-cta {
    padding: 56px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}
.yp-adv-cta-inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: center;
}
.yp-adv-cta-left h2 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 900;
    margin: 0 0 12px;
}
.yp-adv-cta-left p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px;
}
.yp-adv-cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.yp-adv-cta-benefits li {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 600;
}
.yp-adv-cta-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    color: #fff;
}
.yp-adv-cta-badge {
    display: inline-block;
    background: #fbbf24;
    color: #78350f;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
}
.yp-adv-cta-wechat-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}
.yp-adv-cta-wechat-id {
    font-size: 1rem;
    margin-bottom: 16px;
}
.yp-adv-cta-wechat-id strong {
    display: block;
    font-size: 1.3rem;
    color: #fde68a;
    margin-top: 4px;
}
.yp-adv-cta-alt {
    display: inline-block;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.yp-adv-cta-alt:hover {
    color: #fff;
}

/* === ⑨ Footer === */
.yp-footer-clean {
    background: #0f172a;
    padding: 40px 0 24px;
    border-top: 1px solid #1e293b;
}
.yp-footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 24px;
}
.yp-footer-brand .yp-logo-name { color: #fff; }
.yp-footer-desc {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 8px;
}
.yp-footer-links {
    display: flex;
    gap: 60px;
}
.yp-footer-col h4 {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px;
}
.yp-footer-col a {
    display: block;
    color: #cbd5e1;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 4px 0;
    transition: color .15s;
}
.yp-footer-col a:hover { color: #fff; }
.yp-footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 16px;
    text-align: center;
}
.yp-footer-bottom p {
    color: #475569;
    font-size: 0.8rem;
    margin: 0;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .yp-adv-hero-inner {
        grid-template-columns: 1fr;
    }
    .yp-adv-hero-right {
        display: none;
    }
    .yp-adv-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .yp-adv-plans {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .yp-adv-plan-highlight {
        transform: none;
    }
    .yp-adv-cta-inner {
        grid-template-columns: 1fr;
    }
    .yp-adv-cta-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .yp-adv-hero {
        padding: 32px 0 40px;
    }
    .yp-adv-hero-title {
        font-size: 1.5rem;
    }
    .yp-adv-why-grid {
        grid-template-columns: 1fr;
    }
    .yp-adv-process-steps {
        flex-direction: column;
    }
    .yp-adv-step-arrow {
        transform: rotate(90deg);
    }
    .yp-adv-step {
        width: 100%;
        max-width: 280px;
    }
    .yp-adv-table {
        font-size: 0.8rem;
    }
    .yp-adv-table th,
    .yp-adv-table td {
        padding: 10px 12px;
    }
    .yp-header-nav {
        gap: 12px;
    }
    .yp-nav-link {
        font-size: 12px;
    }
    .yp-footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .yp-footer-links {
        gap: 32px;
    }
    .yp-section-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .yp-adv-hero-actions {
        flex-direction: column;
    }
    .yp-adv-hero-actions a {
        text-align: center;
    }
    .yp-adv-cta-card {
        padding: 20px;
    }
}

/* === v2 免费策略新增样式 === */
.yp-adv-price-free {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}
.yp-adv-free-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 32px;
    font-size: 0.9rem;
    color: #166534;
    line-height: 1.7;
}
.yp-adv-free-notice strong {
    color: #15803d;
}
.yp-adv-free-notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================================
   광고 신청 폼 (Inquiry Form) - Phase 16
   ============================================================ */
.yp-adv-inquiry { padding: 80px 0; background: #f8fafc; }
.yp-adv-inquiry-form-wrap { max-width: 700px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.yp-adv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.yp-adv-form-group.full-width { grid-column: 1 / -1; }
.yp-adv-form-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; color: #334155; }
.yp-adv-form-group .required { color: #ef4444; }
.yp-adv-form-group input, .yp-adv-form-group select, .yp-adv-form-group textarea {
    width: 100%; padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.9rem; transition: border-color 0.2s; box-sizing: border-box;
}
.yp-adv-form-group input:focus, .yp-adv-form-group select:focus, .yp-adv-form-group textarea:focus {
    outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.yp-adv-slot-checkboxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.yp-adv-slot-check { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; cursor: pointer; padding: 4px 0; }
.yp-adv-slot-check input { width: auto; }
.yp-adv-form-submit { text-align: center; margin-top: 30px; }
.yp-adv-form-note { font-size: 0.8rem; color: #94a3b8; margin-top: 12px; }
.yp-btn-large { padding: 14px 40px; font-size: 1rem; cursor: pointer; border: none; border-radius: 10px; background: #3b82f6; color: #fff; transition: background 0.2s; }
.yp-btn-large:hover { background: #2563eb; }
@media (max-width: 640px) { .yp-adv-form-grid { grid-template-columns: 1fr; } .yp-adv-inquiry-form-wrap { padding: 24px 16px; } }
