/* 全站移动端自适应样式表 - wap.css */

/* --- 基础自适应调整 (1200px以下) --- */
@media screen and (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
}

/* --- 核心平板及手机端布局 (992px以下) --- */
@media screen and (max-width: 992px) {
    /* 禁用自定义鼠标，恢复系统默认 */
    body {
        cursor: default !important;
    }
    .custom-cursor, .custom-cursor-dot {
        display: none !important;
    }

    /* 导航栏适配 */
    .header {
        height: 70px;
        background: #0f0524 !important;
    }
    .header-inner {
        padding: 0 5px;
    }
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }
    .mobile-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background-color: #fff;
        border-radius: 2px;
        transition: all 0.3s;
    }
    .mobile-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #0f0524;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav.active { right: 0; }
    .nav a { font-size: 20px; color: #fff !important; }
    .header-btn { display: none; }

    /* Hero Section */
    .hero {
        height: auto;
        min-height: auto;
        padding: 120px 0 60px;
    }
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        width: 100%;
        margin-bottom: 40px;
    }
    .hero-title {
        font-size: 36px;
        line-height: 1.3;
    }
    .hero-qr-card {
        margin: 0 auto;
        width: 250px;
        padding: 20px;
    }

    /* 数据统计区块 (Stats Section) - 极简精致版 */
    .stats-section {
        margin-top: -50px;
        padding-bottom: 40px;
        z-index: 20;
    }
    .stats-box {
        padding: 25px 15px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 15px 40px rgba(124, 58, 237, 0.08);
        border: 1px solid rgba(124, 58, 237, 0.05);
    }
    .stat-item {
        padding: 18px 10px;
        background: #f8f7ff;
        border-radius: 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(124, 58, 237, 0.03);
    }
    .stat-num-box {
        display: flex;
        align-items: baseline;
        justify-content: center;
    }
    .stat-num {
        font-size: 30px;
        font-weight: 800;
        color: #7c3aed;
        line-height: 1;
        background: linear-gradient(135deg, #7c3aed, #a855f7);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .stat-suffix {
        font-size: 16px;
        font-weight: 700;
        color: #7c3aed;
        margin-left: 2px;
    }
    .stat-label {
        font-size: 13px;
        color: #888;
        font-weight: 500;
        margin-top: 8px;
    }
    .stat-divider {
        display: none;
    }

    /* --- 关于我们独立页面 (about.html) 专用优化 --- */
    .about-hero {
        padding: 100px 0 60px !important;
        text-align: center;
    }
    .about-intro-section {
        padding: 40px 0 20px;
    }
    .about-intro-flex {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .about-intro-visual {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-bottom: 0 !important;
    }
    .about-intro-img {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
        flex: none !important;
    }
    .about-intro-img img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain;
        display: block;
    }
    .about-intro-content {
        text-align: center;
        padding: 0 5px;
        flex: none !important;
    }
    .about-intro-content h2 {
        font-size: 24px;
        line-height: 1.4;
    }
    .about-intro-content p {
        font-size: 15px;
        line-height: 1.6;
        text-align: justify;
    }
    .about-sub-tag {
        margin: 0 auto 15px;
    }

    /* 关于页核心价值观网格 */
    .about-values-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .about-value-card {
        padding: 30px 20px;
    }
    .section-header-centered {
        text-align: center;
        margin-bottom: 40px;
    }
    .section-header-centered h2 {
        font-size: 24px;
    }

    /* 首页关于我们区块优化 */
    .about-section {
        padding: 60px 0 !important;
    }
    .about-layout-new {
        flex-direction: column !important;
        gap: 30px !important;
    }
    .about-visual {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        flex: none !important;
        min-height: 0 !important;
        margin-bottom: 20px !important;
    }
    .main-img-wrapper {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        border-radius: 20px;
        overflow: hidden !important;
        position: relative !important;
    }
    .main-img-wrapper img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block !important;
        position: relative !important;
    }
    .experience-badge {
        bottom: 10px !important;
        right: 10px !important;
        padding: 10px 15px !important;
    }
    .about-info-new {
        text-align: center;
    }
    .about-info-new h2 {
        font-size: 28px !important;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    /* FAQ区块优化 */
    .faq-section {
        padding: 60px 0 !important;
    }
    .faq-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .faq-item {
        padding: 25px !important;
    }
    .faq-item h3 {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    .faq-item p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    /* 优势网格优化 */
    .advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .advantage-card {
        padding: 30px 20px !important;
        text-align: center;
    }
    .about-features-new {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .feature-item-new {
        padding: 15px !important;
    }
    /* 市场红利区块优化 */
    .market-content-box {
        flex-direction: column !important;
        gap: 40px !important;
        padding: 40px 20px !important;
        background: #fbfaff;
        border-radius: 32px;
        margin: 0 15px;
    }
    .market-info {
        text-align: center;
        flex: none !important;
        width: 100% !important;
    }
    .market-info-text {
        font-size: 15px;
        line-height: 1.8;
        color: #666;
        margin-bottom: 20px;
    }
    .market-info-strong {
        font-size: 16px !important;
        line-height: 1.5;
        color: #4c1d95;
        font-weight: 800;
        padding: 20px !important;
        background: #fff;
        border-radius: 20px !important;
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.08);
        display: block;
        margin: 0 auto !important;
        border-left: 5px solid #7c3aed !important;
        text-align: left;
    }
    .market-cards {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        flex: none !important;
    }
    .market-data-card {
        padding: 25px !important;
        background: #fff;
        border-radius: 24px !important;
        display: flex;
        align-items: center;
        gap: 20px;
        border: 1px solid rgba(124, 58, 237, 0.05);
    }
    .market-data-card .card-icon {
        width: 50px !important;
        height: 50px !important;
        flex: 0 0 50px !important;
    }
    .market-data-card h4 {
        font-size: 18px !important;
        margin-bottom: 5px !important;
    }
    .market-data-card p {
        font-size: 13px !important;
        margin: 0 !important;
    }

    /* 合作流程 */
    .process-flow {
        flex-direction: column;
        gap: 30px;
        padding-left: 45px;
    }
    .process-flow::before {
        left: 18px;
        top: 10px;
        bottom: 10px;
        width: 2px;
        background: linear-gradient(to bottom, #7c3aed 0%, rgba(124, 58, 237, 0.1) 100%);
    }
    .process-item {
        width: 100%;
    }
    .process-step-num {
        position: absolute;
        left: -45px;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        font-size: 14px;
        border: 3px solid #fff;
        box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
    }
    .process-card {
        padding: 18px;
        border-radius: 16px;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    .process-icon {
        width: 44px;
        height: 44px;
    }
    .process-connector { display: none; }

    /* 页脚适配 */
    .footer-top {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .footer-info { flex: none; max-width: 100%; }
    .footer-logo { justify-content: center; }
    .footer-social { justify-content: center; gap: 20px; }
    .footer-links-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }
    .footer-link-col:last-child { grid-column: span 2; }
    .footer-qr { width: 100%; margin-top: 20px; }
    .footer-bottom p {
        flex-direction: column;
        gap: 10px;
        font-size: 12px;
    }
}

/* --- 手机详情页优化 (768px以下) --- */
@media screen and (max-width: 768px) {
    .section-header .section-title { font-size: 28px; }
    .hero-title { font-size: 30px; }
    .about-title-new { font-size: 26px; }
    
    /* 页面通用 Hero 区块优化 */
    .process-hero, .news-hero, .copy-hero, .content-hero {
        padding: 100px 0 50px !important;
        height: auto !important;
        text-align: center;
    }
    .process-hero h1, .news-hero h1, .copy-hero h1 {
        font-size: 28px !important;
        margin-bottom: 10px;
    }
    .process-hero p, .news-hero p {
        font-size: 14px;
        padding: 0 15px;
    }

    /* 流程页面 (process.html) 可视化步骤优化 */
    .steps-visual-section {
        padding: 60px 0 40px !important;
        background: #fcfbfe !important;
    }
    .steps-container {
        display: block !important;
        padding: 0;
    }
    .step-visual-item {
        width: 100% !important;
        margin-bottom: 20px;
        padding: 25px 20px;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.05);
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        text-align: left;
        gap: 20px;
        border: 1px solid rgba(124, 58, 237, 0.05);
        box-sizing: border-box !important;
    }
    .step-visual-item:last-child {
        margin-bottom: 0;
    }
    .step-circle {
        width: 60px;
        height: 60px;
        flex: 0 0 60px;
        font-size: 20px;
        margin: 0;
        background: linear-gradient(135deg, #7c3aed, #a855f7);
        color: #fff;
        border: none;
        box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
    }
    .step-visual-item h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    .step-visual-item p {
        font-size: 13px;
        padding: 0;
        margin: 0;
    }
    .step-visual-item .step-text-box {
        flex: 1;
    }

    /* 详细流程解析优化 - 解决留白过大问题 */
    .process-details {
        padding: 20px 0 !important;
    }
    .process-detail-item {
        padding: 20px 0 !important;
    }
    .detail-flex {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .detail-img {
        order: -1;
        width: 100% !important;
        margin-bottom: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        flex: none !important;
    }
    .detail-img img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        border-radius: 16px;
        object-fit: contain;
        display: block;
    }
    .detail-text {
        text-align: center;
        padding-top: 0 !important;
    }
    .detail-text h2 {
        font-size: 22px !important;
        margin: 10px 0 !important;
        line-height: 1.4;
    }
    .step-num-tag {
        margin: 0 auto 10px;
    }
    .feature-list {
        display: inline-block;
        text-align: left;
        margin-top: 15px;
    }

    /* 动态/新闻列表页 (news.html) 优化 */
    .news-list-box {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .news-card-horizontal {
        flex-direction: column;
        height: auto;
    }
    .news-img-box {
        width: 100%;
        height: 200px;
    }
    .news-content-box {
        padding: 20px;
    }
    .news-title-link h3 {
        font-size: 18px;
    }

    /* 文章详情页 (content.html) 优化 */
    .article-main-flex {
        flex-direction: column;
        gap: 40px;
    }
    .article-body-box {
        padding: 25px 15px;
        border-radius: 20px;
    }
    .article-title {
        font-size: 24px !important;
        line-height: 1.4;
    }
    .article-content-real img {
        border-radius: 12px;
    }
    .article-sidebar {
        width: 100%;
    }
    .post-nav {
        flex-direction: column;
        gap: 20px;
    }
    .nav-prev, .nav-next {
        width: 100%;
    }
    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --- 极小屏优化 (480px以下) --- */
@media screen and (max-width: 480px) {
    .stats-section { margin-top: -45px; }
    .stats-box { gap: 10px; padding: 15px 10px; border-radius: 18px; }
    .stat-item { padding: 15px 5px; border-radius: 12px; }
    .stat-num { font-size: 26px; }
    .stat-label { font-size: 12px; margin-top: 6px; }
    
    .about-values-grid, .roi-stats-box, .guarantee-grid { grid-template-columns: 1fr; }
    
    .market-data-card { flex-direction: column; text-align: center; gap: 15px; }
    .experience-badge { padding: 15px; bottom: -15px; right: -10px; border-radius: 8px; }
    .experience-badge .years { font-size: 24px; }
    
    /* --- 版权优势页面 (copyright.html) 专用优化 --- */
    .copy-hero {
        padding: 80px 0 40px !important;
        text-align: center;
    }
    .pillars-section {
        padding: 40px 0 20px !important;
    }
    .copy-section-header {
        text-align: center;
        margin-bottom: 25px;
        padding: 0 15px;
    }
    .copy-section-header h2 {
        font-size: 24px;
        line-height: 1.4;
    }
    .pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    .pillar-card {
        padding: 25px 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .pillar-icon {
        margin-bottom: 15px;
    }
    .pillar-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .pillar-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* 详细优势行优化 - 解决留白过大问题 */
    .feature-detail-section {
        padding: 20px 0 !important;
    }
    .detail-row {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 20px 0 !important;
    }
    .detail-row.reverse {
        flex-direction: column !important;
    }
    .detail-visual {
        width: 100% !important;
        flex: none !important;
        margin-bottom: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
    .detail-visual img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        border-radius: 16px;
        object-fit: contain;
        display: block;
    }
    .detail-content {
        width: 100% !important;
        flex: none !important;
        text-align: center;
        padding-top: 0 !important;
    }
    .detail-content h3 {
        font-size: 22px;
        line-height: 1.4;
        margin: 10px 0;
    }
    .detail-tag {
        margin: 0 auto;
    }
    .detail-list {
        display: inline-block;
        text-align: left;
        margin-top: 20px;
    }
    .detail-list li {
        font-size: 14px;
        margin-bottom: 10px;
        padding-left: 25px;
    }

    /* CTA Bar 移动端优化 */
    .cta-bar {
        padding: 60px 20px !important;
        border-radius: 30px;
        margin: 0 15px 40px;
        text-align: center;
    }
    .cta-content {
        flex-direction: column !important;
        gap: 30px;
    }
    .cta-text h2 {
        font-size: 26px !important;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    .cta-text p {
        font-size: 14px;
        opacity: 0.9;
    }
    .cta-btns {
        width: 100%;
        flex-direction: column !important;
        gap: 12px;
    }
    .btn-cta-primary, .btn-cta-outline {
        width: 100%;
        justify-content: center;
        padding: 16px 30px !important;
        font-size: 16px !important;
    }
    .footer-links-group { grid-template-columns: 1fr; }
    .footer-link-col:last-child { grid-column: span 1; }
    .footer-qr-img { width: 120px; height: 120px; }
}
