/**
 * SEO Landing Page 样式 — Phase 14.3.1
 * YiwuPage.com
 * 
 * 统一模板样式，支持所有 /yiwu-* 및 futian-* landing pages
 */

/* ============================================================
   Base / Container
   ============================================================ */
.yp-landing-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    color: #1a1a2e;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background: #fafbfd;
}

.yp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   Header
   ============================================================ */
.yp-header {
    background: #fff;
    border-bottom: 1px solid #e8ecf1;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.yp-header .yp-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.yp-logo {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.yp-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a56db;
    letter-spacing: -0.5px;
}

.yp-logo-sub {
    font-size: 0.75rem;
    color: #6b7280;
}

.yp-nav a {
    text-decoration: none;
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 24px;
    transition: color 0.2s;
}

.yp-nav a:hover {
    color: #1a56db;
}

/* ============================================================
   Hero Section
   ============================================================ */
.yp-landing-hero {
    background: linear-gradient(135deg, #1a56db 0%, #1e40af 50%, #1e3a5f 100%);
    color: #fff;
    padding: 56px 0 48px;
    text-align: center;
}

.yp-hero-breadcrumb {
    font-size: 0.8rem;
    opacity: 0.75;
    margin-bottom: 16px;
}

.yp-hero-breadcrumb a {
    color: #fff;
    text-decoration: none;
    opacity: 0.85;
}

.yp-hero-breadcrumb a:hover {
    text-decoration: underline;
}

.yp-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.yp-hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.yp-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.yp-stat-item {
    text-align: center;
}

.yp-stat-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #60a5fa;
}

.yp-stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 2px;
}

/* ============================================================
   Services Section
   ============================================================ */
.yp-landing-services {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.yp-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 10px;
}

.yp-count-badge {
    font-size: 0.75rem;
    background: #e0f2fe;
    color: #1a56db;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.yp-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.yp-service-tag {
    display: inline-block;
    background: #f0f7ff;
    color: #1a56db;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #dbeafe;
    transition: all 0.2s;
}

.yp-service-tag:hover {
    background: #1a56db;
    color: #fff;
    border-color: #1a56db;
}

/* ============================================================
   Content Body
   ============================================================ */
.yp-landing-content {
    padding: 40px 0;
    background: #fafbfd;
}

.yp-content-body {
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    padding: 32px 36px;
    border-radius: 12px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.yp-content-body h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a56db;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0f2fe;
}

.yp-content-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e3a5f;
    margin: 24px 0 10px;
}

.yp-content-body p {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.8;
    margin: 0 0 14px;
}

/* ============================================================
   Company Grid
   ============================================================ */
.yp-landing-companies {
    padding: 48px 0;
    background: #fff;
}

.yp-company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.yp-company-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: #fafbfd;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.yp-company-card:hover {
    border-color: #1a56db;
    box-shadow: 0 4px 12px rgba(26,86,219,0.08);
    transform: translateY(-2px);
}

.yp-company-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.yp-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yp-company-logo-placeholder {
    background: linear-gradient(135deg, #1a56db, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.yp-company-logo-placeholder span {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.yp-company-info {
    flex: 1;
    min-width: 0;
}

.yp-company-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.yp-vip-badge {
    font-size: 0.6rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.yp-company-category {
    font-size: 0.78rem;
    color: #6b7280;
    display: block;
    margin-bottom: 4px;
}

.yp-company-desc {
    font-size: 0.82rem;
    color: #4b5563;
    margin: 4px 0;
    line-height: 1.5;
}

.yp-company-location {
    font-size: 0.75rem;
    color: #9ca3af;
}

.yp-more-link {
    text-align: center;
    margin-top: 28px;
}

.yp-more-link a {
    display: inline-block;
    color: #1a56db;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 24px;
    border: 1px solid #1a56db;
    border-radius: 8px;
    transition: all 0.2s;
}

.yp-more-link a:hover {
    background: #1a56db;
    color: #fff;
}

.yp-no-companies {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 10px;
}

/* ============================================================
   FAQ Section
   ============================================================ */
.yp-landing-faq {
    padding: 48px 0;
    background: #f8fafc;
}

.yp-faq-list {
    max-width: 780px;
    margin: 20px auto 0;
}

.yp-faq-item {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.yp-faq-item[open] {
    border-color: #1a56db;
}

.yp-faq-question {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1a1a2e;
    transition: background 0.2s;
}

.yp-faq-question:hover {
    background: #f0f7ff;
}

.yp-faq-question::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: #1a56db;
    transition: transform 0.2s;
}

.yp-faq-item[open] .yp-faq-question::after {
    content: '−';
}

.yp-faq-answer {
    padding: 0 20px 16px;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.7;
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
}

/* ============================================================
   CTA Section
   ============================================================ */
.yp-landing-cta {
    padding: 56px 0;
    background: #fff;
}

.yp-cta-box {
    text-align: center;
    background: linear-gradient(135deg, #eff6ff, #f0f7ff);
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 48px 32px;
}

.yp-cta-box h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.yp-cta-box p {
    font-size: 0.95rem;
    color: #4b5563;
    margin: 0 0 28px;
}

.yp-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.yp-cta-primary {
    display: inline-block;
    background: #1a56db;
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(26,86,219,0.3);
}

.yp-cta-primary:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(26,86,219,0.4);
}

.yp-cta-secondary {
    display: inline-block;
    background: #fff;
    color: #1a56db;
    padding: 14px 32px;
    border-radius: 8px;
    border: 1px solid #1a56db;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
}

.yp-cta-secondary:hover {
    background: #f0f7ff;
}

/* ============================================================
   Footer
   ============================================================ */
.yp-footer {
    background: #1a1a2e;
    color: #9ca3af;
    padding: 32px 0;
    text-align: center;
}

.yp-footer-links {
    margin-bottom: 16px;
}

.yp-footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.85rem;
    margin: 0 12px;
    transition: color 0.2s;
}

.yp-footer-links a:hover {
    color: #fff;
}

.yp-copyright {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .yp-hero-title {
        font-size: 1.5rem;
    }
    
    .yp-hero-subtitle {
        font-size: 0.92rem;
    }
    
    .yp-hero-stats {
        gap: 20px;
    }
    
    .yp-stat-value {
        font-size: 1.2rem;
    }
    
    .yp-nav {
        display: none;
    }
    
    .yp-company-grid {
        grid-template-columns: 1fr;
    }
    
    .yp-content-body {
        padding: 20px;
    }
    
    .yp-cta-box {
        padding: 32px 20px;
    }
    
    .yp-cta-box h2 {
        font-size: 1.1rem;
    }
    
    .yp-footer-links a {
        display: block;
        margin: 6px 0;
    }
}

/* ============================================================
   Landing Top Ad (LANDING-TOP-001) — v2新增
   ============================================================ */
.yp-landing-ad {
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.yp-landing-ad-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.yp-landing-ad-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 16px 24px;
    transition: all 0.2s;
}

.yp-landing-ad-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245,158,11,0.15);
}

.yp-landing-ad-img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.yp-landing-ad-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yp-landing-ad-label {
    font-size: 0.65rem;
    background: #f59e0b;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
}

.yp-landing-ad-text strong {
    font-size: 1rem;
    color: #1a1a2e;
    font-weight: 700;
}

.yp-landing-ad-text span {
    font-size: 0.85rem;
    color: #6b7280;
}

.yp-landing-ad-arrow {
    font-size: 1.4rem;
    color: #f59e0b;
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .yp-landing-ad-card {
        padding: 12px 16px;
        gap: 10px;
    }
    .yp-landing-ad-img {
        width: 60px;
        height: 45px;
    }
}

/* ============================================================
   Sidebar Ad (LANDING-SIDE-001) — v3新增
   ============================================================ */
.yp-sidebar-ad-section {
    padding: 24px 0;
    background: #fafbfd;
    border-top: 1px solid #f0f0f0;
}

.yp-sidebar-ad-wrapper {
    max-width: 320px;
    margin: 0 auto;
}

.yp-sidebar-ad-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
}

.yp-sidebar-ad-link:hover {
    border-color: #1a56db;
    box-shadow: 0 4px 12px rgba(26,86,219,0.08);
}

.yp-sidebar-ad-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.yp-sidebar-ad-info {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yp-sidebar-ad-label {
    font-size: 0.6rem;
    background: #6b7280;
    color: #fff;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 600;
    width: fit-content;
}

.yp-sidebar-ad-info strong {
    font-size: 0.9rem;
    color: #1a1a2e;
}

.yp-sidebar-ad-info span {
    font-size: 0.78rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .yp-sidebar-ad-wrapper {
        max-width: 280px;
    }
    .yp-sidebar-ad-img {
        height: 130px;
    }
}
