* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.demo-icon, .buy-icon, .document-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.demo-text, .buy-text, .document-text {
    font-size: 14px;
    font-weight: normal;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.item-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border-radius: 4px;
}

.item-text {
    font-size: 14px;
    flex: 1;
}

.item-tooltips {
    position: relative;
}

.tooltips-code {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    z-index: 1001;
}

.dropdown-item:hover .tooltips-code {
    display: block;
}

.image {
    width: 120px;
    height: 120px;
    object-fit: contain;
}


.item-title {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.item-original {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
    margin-bottom: 4px;
}

.item-actual {
    font-weight: bold;
    color: var(--theme-demo-2, #2F6FE8);
    font-size: 16px;
    margin-bottom: 8px;
}

.item-format {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.format-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.format-item .item-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

/* 顶部导航/主视觉区域 */
.header {
    width: 100vw;
    background: linear-gradient(90deg, #E20004 0%, #FFA245 100%);
    color: white;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.header-content {
    display: flex;
    align-items: flex-start;
    padding: 120px 0;
    gap: 5vw;
    max-width: 1500px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.header-left {
    flex: 1;
    min-width: 300px;
}

.header-left h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.header-left p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 3.5rem;
    line-height: 1.8;
}

.header-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2.5rem);
    border: none;
    border-radius: 30px;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    color: white;
    border-radius: 8px;
    background: linear-gradient(90deg, #E20004 0%, #FFA245 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-right {
    position: absolute;
    right: -200px;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    z-index: 0;
}

.hero-image {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

/* 功能区块 */
.feature-section {
    width: 100vw;
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.feature-text p {
    font-size: 1em;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #666;
}

.feature-images {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.phone-mockup {
    position: relative;
}

.pc-mockup {
    position: relative;
}

.lottery-mockup {
    position: relative;
}

.feature-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 手机微信签到模块特殊布局 */
.wechat-checkin .feature-images {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: flex-end;
}

.wechat-checkin .phone-mockup {
    position: relative;
}

.wechat-checkin .phone-mockup:first-child {
    z-index: 1;
    transform: translateX(60px) scale(0.85);
}

.wechat-checkin .phone-mockup:last-child {
    z-index: 2;
    transform: translateX(-40px) scale(1);
}

.wechat-checkin .feature-image {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 座位查询模块特殊布局 */
.seat-query .feature-images {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: flex-start;
}

.seat-query .phone-mockup {
    position: relative;
}

.seat-query .phone-mockup:first-child {
    z-index: 2;
    transform: translateX(40px) scale(1);
}

.seat-query .phone-mockup:last-child {
    z-index: 1;
    transform: translateX(-60px) scale(0.85);
}

.seat-query .feature-image {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* PC端签到列表模块特殊布局 */
.pc-checkin .feature-images {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: flex-start;
    width: 750px;
}

.pc-checkin .pc-mockup {
    position: relative;
}

.pc-checkin .pc-mockup:first-child {
    z-index: 1;
    transform: translateX(0) translateY(-20px) scale(0.9);
}

.pc-checkin .pc-mockup:last-child {
    z-index: 2;
    transform: translateX(-480px) translateY(90px) scale(1);
}

.pc-checkin .feature-image {
    width: 566px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 抽奖模块特殊布局 */
.lottery .feature-images {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: flex-end;
    width: 750px;
}

.lottery .lottery-mockup {
    position: relative;
}

.lottery .lottery-mockup:first-child {
    z-index: 1;
    transform: translateX(600px) translateY(-20px) scale(0.9);
}

.lottery .lottery-mockup:last-child {
    z-index: 2;
    transform: translateX(-100px) translateY(90px) scale(1);
}

.lottery .feature-image {
    width: 566px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 抽奖详情 */
.lottery-details h4 {
    font-size: 1.2em;
    margin: 20px 0 10px;
    color: #333;
}

/* 功能特性 */
.features-section {
    width: 100vw;
    padding: 80px 0;
    background: #f9f9f9;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-header h3 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

.features-header p {
    font-size: 1.1em;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #FFD5D5;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    background: #ffecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #ff4757;
    font-size: 1.5em;
    font-weight: bold;
}

.feature-card h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    font-size: 0.9em;
    line-height: 1.6;
    color: #666;
}

/* 平板/大屏手机适配 */
@media (max-width: 1536px) {
    .header-content {
        display: flex;
        align-items: flex-start;
        padding: 120px 0;
        gap: 5vw;
        max-width: 1234px;
        margin: 0 auto;
        z-index: 1;
        position: relative;
    }
    .header-right {
        position: absolute;
        right: -200px;
        bottom: 0;
        display: flex;
        align-items: flex-end;
        z-index: 0;
    }
    .hero-image {
        max-width: 100%;
        max-height: 70vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 0;
        box-shadow: none;
    }
    
}

@media (max-width: 768px) {
    /* 全局重置 */
    html, body {
        overflow-x: hidden; /* 防止横向滚动 */
    }

    /* 头部区域适配 */
    .header {
        height: 1050px;
        min-height: auto; /* 取消最小高度，适配内容 */
        padding: 20px 0;
    }
    .header-content {
        flex-direction: column; /* 纵向布局 */
        padding: 60px 20px 40px; /* 减少上下内边距 */
        gap: 2rem;
        text-align: center;
    }
    .header-left {
        min-width: 100%; /* 宽度铺满 */
    }
    .header-left h1 {
        font-size: 42px; /* 适配手机文字大小 */
        line-height: 1.3;
    }
    .header-left p {
        font-size: 16px;
        margin-bottom: 2rem;
    }
    .header-buttons {
        justify-content: center;
        gap: 1rem;
    }
    .btn {
        width: 100%; /* 按钮铺满屏幕 */
        max-width: 300px; /* 限制最大宽度 */
        padding: 0.9rem 1rem;
    }
    .header-right {
        display: none;
        position: relative; /* 重置定位，避免溢出 */
        right: 0;
        margin: 0 auto;
        padding: 20px 0;
    }
    .hero-image {
        max-height: 40vh; /* 减小图片高度 */
    }

   /* 功能区块适配 */
    .feature-section {
        width: 100%; /* 改为100%而不是100vw */
        padding: 40px 20px; /* 减少内边距 */
        height: auto; /* 移除固定高度 */
        min-height: auto; /* 让高度自适应内容 */
    }
    
    /* 统一所有功能区块的内容排列顺序为：文本在上，图片在下 */
    .feature-content {
        flex-direction: column; /* 纵向布局 */
        gap: 30px;
    }
    
    /* 确保所有feature-text在上方 */
    .feature-text {
        width: 100%;
        text-align: center;
    }
    
    .feature-text h3 {
        font-weight: bold;
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .feature-text p {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    /* 确保所有feature-images在下方 */
    .feature-images {
        width: 100%;
        margin-top: 20px;
    }

    /* ========== 核心修改：手机端替换为指定单张图片 ========== */
    /* 1. 隐藏原有所有mockup元素 */
    .wechat-checkin .phone-mockup,
    .seat-query .phone-mockup,
    .pc-checkin .pc-mockup {
        display: none;
    }

    /* 2. 微信签到模块 - 显示wechat-checkin-phone.png */
    .wechat-checkin .feature-images {
        /* 新增单张图片容器 */
        content: "";
        display: block;
        width: 100%;
        max-width: 400px; /* 限制最大宽度，适配手机 */
        height: auto;
        background: url("/assets/addons/wdcpxt/product/wdnh/img/wechat-checkin-phone.png") center/contain no-repeat;
        min-height: 300px; /* 保证图片容器高度 */
    }

    /* 3. 座位查询模块 - 显示seat-query-phone.png */
    .seat-query .feature-images {
        content: "";
        display: block;
        width: 100%;
        max-width: 400px;
        height: auto;
        background: url("/assets/addons/wdcpxt/product/wdnh/img/seat-query-phone.png") center/contain no-repeat;
        min-height: 300px;
    }

    /* 4. PC签到列表模块 - 显示pc-checkin-list-phone.png */
    .pc-checkin .feature-images {
        content: "";
        display: block;
        width: 100%;
        max-width: 400px;
        height: auto;
        background: url("/assets/addons/wdcpxt/product/wdnh/img/pc-checkin-list-phone.png") center/contain no-repeat;
        min-height: 300px;
    }

    /* 其他mockup重置（抽奖模块保留原有逻辑） */
    .lottery .lottery-mockup:first-child,
    .lottery .lottery-mockup:last-child {
        transform: none; /* 重置位移和缩放 */
        z-index: 1;
        margin: 10px 0;
    }
    .lottery .feature-images {
        width: 100%; /* 宽度铺满屏幕 */
    }
    .lottery .feature-image {
        width: 100%; /* 图片适配屏幕 */
        max-width: 566px;
    }

    /* 通用图片容器样式 */
    .feature-images {
        flex-direction: column; /* 图片纵向排列 */
        gap: 15px;
        justify-content: center;
        align-items: center;
    }

    /* ========== 核心修改结束 ========== */

    /* 功能特性区块适配 */
    .features-section {
        width: 360px;
        padding: 0;
    }
     .features-section .container{
        width: 360px;
        padding: 0;
    }
    .features-header {
        width: 360px;
        margin-bottom: 16px;
    }
    .features-header h3 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .features-header p {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    /* features-grid在手机端调整为单列布局 */
    .features-grid {
        width: 360px;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    
    /* feature-card在手机端的优化 */
    .feature-card {
        padding: 20px;
        margin: 0 8px;
    }
    
    .feature-card .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    
    .feature-card h4 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 0.85em;
        line-height: 1.5;
    }
    
    /* features-section在手机端的padding调整 */
    .features-section {
        padding: 40px 0;
    }
    
    .features-header {
        margin-bottom: 40px;
        padding: 0 16px;
    }
    
    .features-header h3 {
        font-size: 1.8em;
    }
    
    .features-header p {
        font-size: 1em;
    }
     /* features-grid在手机端调整为单列布局 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
        max-width: 100%; /* 确保不溢出 */
    }
    
    /* feature-card在手机端的优化 */
    .feature-card {
        padding: 20px;
        margin: 0; /* 移除外边距，由父容器的内边距控制 */
        width: 100%; /* 确保宽度为100% */
    }
    
    .feature-card .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    
    .feature-card h4 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 0.85em;
        line-height: 1.5;
    }
    
    /* features-section在手机端的padding调整 */
    .features-section {
        padding: 40px 0;
        width: 100%; /* 改为100%而不是100vw */
    }
    
    .features-header {
        margin-bottom: 40px;
        padding: 0 16px; /* 与features-grid保持一致 */
    }
    
    .features-header h3 {
        font-size: 1.8em;
    }
    
    .features-header p {
        font-size: 1em;
        padding: 0 10px; /* 添加内边距防止文本贴边 */
    }
    
    /* 修复其他可能导致溢出的元素 */
    .feature-section {
        width: 100%; /* 改为100%而不是100vw */
        padding: 40px 20px; /* 调整内边距 */
        height: auto; /* 移除固定高度 */
        min-height: auto; /* 让高度自适应内容 */
    }
    
    .feature-content {
        flex-direction: column; /* 手机端改为垂直布局 */
        gap: 30px;
    }
    
    .feature-text, .feature-images {
        flex: none; /* 移除flex属性 */
        width: 100%; /* 确保宽度为100% */
    }
    
    .header {
        width: 100%; /* 改为100%而不是100vw */
    }
   
    
   
}