/* Hero 区域 */
:root { --section-bg-hero: linear-gradient(180deg, #ffffff 0%, #fffcf5 100%); }
.hero { padding: 180px 0 100px; position: relative; background: var(--section-bg-hero); overflow: hidden; }
#hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.15; margin-bottom: 24px; color: var(--text-dark); letter-spacing: -1px; }
.hero-text p { font-size: 1.15rem; color: var(--text-sub); margin-bottom: 40px; max-width: 540px; }
.hero-image-wrapper { position: relative; height: 500px; display: flex; justify-content: center; align-items: center; }
#phone-canvas { width: 100%; height: 100%; z-index: 2; }
.hero-image-wrapper::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; height: 80%; background: var(--primary); filter: blur(90px); opacity: 0.15; z-index: 0; border-radius: 50%; }

/* 特性网格 */
#features { background: var(--bg-white); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { text-align:center; padding: 40px 30px; border-radius: var(--border-radius); transition: var(--transition); border: 1px solid #f0f0f0; box-shadow: var(--shadow-sm); }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(var(--primary-rgb), 0.3); }
.feature-icon-box { width: 64px; height: 64px; background: var(--primary-light); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: var(--primary-dark); font-size: 1.5rem; transition: var(--transition); }
.feature-card:hover .feature-icon-box { background: var(--primary); color: var(--bg-white); transform: scale(1.1); }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 700; }
.feature-card p { color: var(--text-sub); font-size: 0.95rem; line-height: 1.7; }

/* 统计数据 */
.stats { padding: 70px 0; background: var(--bg-white); border-top: 1px solid #f9f9f9; border-bottom: 1px solid #f9f9f9; }
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; }
.stat-item { text-align: center; position: relative; }
@media (min-width: 992px) { .stat-item:not(:last-child)::after { content: ''; position: absolute; right: -50px; top: 20%; height: 60%; width: 1px; background: #f0f0f0; } }
.stat-number { font-size: 3.5rem; font-weight: 800; color: var(--primary); font-family: 'Roboto', sans-serif; margin-bottom: 5px; display: block; background: -webkit-linear-gradient(#f6c24c, #d6a32b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 1rem; font-weight: 600; color: var(--text-main); text-transform: uppercase; letter-spacing: 1px; }

/* 详细优势 (Highlights) */
#highlights { background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%); }
.feature-row { display: flex; align-items: center; gap: 80px; margin-bottom: 120px; opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
#highlights .feature-row.visible { opacity: 1; transform: translateY(0); }
#highlights .feature-row:nth-child(even) { flex-direction: row-reverse; }
#highlights .feature-row:last-child { margin-bottom: 0; }
#highlights .feature-text { flex: 1; }
#highlights .feature-text h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.3; color: var(--text-dark); }
#highlights .feature-desc { color: var(--text-sub); font-size: 1.05rem; margin-bottom: 30px; }
#highlights .check-list li { margin-bottom: 12px; display: flex; align-items: center; font-weight: 500; color: var(--text-main); }
#highlights .check-list i { margin-right: 12px; color: var(--primary); background: var(--bg-white); border: 1px solid var(--primary); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
#highlights .feature-tag { display: inline-block; padding: 6px 14px; background: rgba(var(--primary-rgb), 0.15); color: #b38f00; border-radius: 6px; font-size: 0.8rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; }

/* 演示卡片通用 */
.feature-mockup { flex: 1; perspective: 1000px; display: flex; justify-content: center; align-items: center; min-height: 300px; }
.mockup-card { background: var(--bg-white); border-radius: var(--border-radius); padding: 30px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05); width: 100%; max-width: 450px; border: 1px solid rgba(0,0,0,0.03); position: relative; will-change: transform; transform-style: preserve-3d; backface-visibility: hidden; transition: transform 0.5s ease, box-shadow 0.5s ease; }
.feature-row:hover .mockup-card { transform: rotateX(3deg) rotateY(-3deg) scale(1.02); box-shadow: var(--shadow-lg); }

/* 上传区域动画 */
.upload-area { border: 2px dashed #e0e0e0; border-radius: 12px; padding: 40px 20px; text-align: center; background: #fafafa; transition: 0.3s; position: relative; overflow: hidden; }
.feature-row:hover .upload-area { border-color: var(--primary); background: #fffcf0; }
.upload-icon { font-size: 3rem; color: #e0e0e0; margin-bottom: 15px; transition: 0.3s; }
.feature-row:hover .upload-icon { color: var(--primary); transform: translateY(-5px); }
.upload-progress { margin-top: 20px; background: #f0f0f0; height: 8px; border-radius: 4px; overflow: hidden; position: relative; }
.upload-bar { height: 100%; width: 0; background: var(--primary); border-radius: 4px; transition: width 1.5s ease-out; }
.feature-row:hover .upload-bar { animation: progress-fill-hover 1.5s ease-out forwards; }
@keyframes progress-fill-hover { 0% { width: 0; } 100% { width: 100%; } }
.upload-success { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.98); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.5s ease 1.6s; color: var(--primary-dark); font-weight: 700; }
.feature-row:hover .upload-success { opacity: 1; }
.upload-success i { font-size: 2.5rem; margin-bottom: 10px; transform: scale(0.5); transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.6s; color: var(--primary); }
.feature-row:hover .upload-success i { transform: scale(1); }

/* 二维码区域动画 */
.qr-wrapper { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.qr-box { position: relative; width: 140px; height: 140px; background: var(--bg-white); border-radius: 12px; border: 4px solid #f5f5f5; box-shadow: 0 5px 15px rgba(0,0,0,0.03); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; overflow: hidden; }
.qr-code-icon { font-size: 4rem; color: var(--text-main); z-index: 1; }
.scan-line { position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: linear-gradient(to bottom, transparent, rgba(var(--primary-rgb), 0.6), transparent); z-index: 2; opacity: 0; pointer-events: none; }
.feature-row:hover .scan-line { animation: scan-beam 2s linear infinite; }
@keyframes scan-beam { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.device-selector { display: flex; gap: 30px; align-items: center; padding: 10px 20px; background: #f8f9fa; border-radius: 30px; }
.device-item { font-size: 1.8rem; color: #ddd; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; }
.feature-row:hover .device-item:nth-child(1) { animation: icon-pulse 2s infinite 0.5s; }
.feature-row:hover .device-item:nth-child(2) { animation: icon-pulse 2s infinite 1.5s; }
@keyframes icon-pulse { 0% { transform: scale(1); color: #ccc; } 50% { transform: scale(1.2); color: var(--primary); } 100% { transform: scale(1); color: var(--primary); } }

/* 余额卡片动画 */
.balance-card { background: var(--bg-white); border: 1px solid #f0f0f0; color: var(--text-main); padding: 25px; border-radius: 12px; margin-bottom: 15px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); transform: translateZ(0); position: relative; overflow: hidden; }
.balance-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary-gradient); }
.balance-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.balance-title { font-size: 0.9rem; color: #888; }
.balance-row { display: flex; align-items: baseline; gap: 10px; }
.balance-amount { font-size: 2.2rem; font-weight: 800; color: var(--text-dark); font-variant-numeric: tabular-nums; font-family: 'Roboto', sans-serif; } 
.coin-icon { color: var(--primary); font-size: 1.6rem; animation: float-coin 3s ease-in-out infinite; }
@keyframes float-coin { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.balance-reward-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; color: #555; font-size: 0.95rem; border-bottom: 1px solid #f6f6f6; opacity: 0; transform: translateY(15px); transition: all 0.3s ease; }
.feature-row:hover .balance-reward-item:nth-child(1) { animation: pop-up-enter 0.5s ease-out forwards 0.2s; }
.feature-row:hover .balance-reward-item:nth-child(2) { animation: pop-up-enter 0.5s ease-out forwards 0.5s; }
@keyframes pop-up-enter { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }

/* 工作流程 */
#workflow { background: var(--bg-white); }
.step-container { position: relative; display: flex; justify-content: space-between; margin-top: 50px; }
.step-line { position: absolute; top: 40px; left: 12%; right: 12%; height: 2px; background: #f0f0f0; z-index: 0; }
.step-item { position: relative; z-index: 1; flex: 1; text-align: center; padding: 0 15px; }
.step-circle { width: 80px; height: 80px; background: var(--bg-white); border: 2px solid var(--primary); border-radius: 50%; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--primary); box-shadow: 0 0 0 10px var(--bg-white); transition: var(--transition); }
.step-item:hover .step-circle { background: var(--primary); color: var(--bg-white); transform: translateY(-5px); box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3); }
.step-item h4 { font-size: 1.2rem; margin-bottom: 8px; font-weight: 700; }
.step-item p { font-size: 0.9rem; color: var(--text-sub); }

/* 定价 */
#pricing { background: var(--bg-light); border-top: 1px solid #f0f0f0; }
.price-card { background: var(--bg-white); border-radius: 16px; padding: 40px; text-align: center; border: 1px solid #eee; transition: var(--transition); position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.price-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: rgba(var(--primary-rgb), 0.3); }
.price-card.popular { border: 2px solid var(--primary); transform: scale(1.05); box-shadow: var(--shadow-md); z-index: 2; }
.price-card.popular:hover { transform: scale(1.05) translateY(-5px); box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: 20px; right: -35px; background: var(--primary-gradient); width: 120px; padding: 5px 0; text-align: center; transform: rotate(45deg); font-size: 0.8rem; font-weight: bold; color: var(--text-main); box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.price-tag { margin: 24px 0; color: var(--text-dark); }
.price-num { font-size: 3.5rem; font-weight: 800; line-height: 1; }
.price-unit { font-size: 1rem; color: var(--text-sub); font-weight: 400; }
.price-list { text-align: left; margin: 30px 0; }
.price-list li { margin-bottom: 16px; color: var(--text-sub); font-size: 0.95rem; display: flex; align-items: center; }
.price-list li i { color: #27c93f; margin-right: 10px; }

/* 响应式调整 */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-text p { margin: 0 auto 30px; }
    .feature-row, .feature-row:nth-child(even) { flex-direction: column; text-align: center; gap: 40px; }
    .feature-mockup { display: none; } 
    .step-container { flex-direction: column; gap: 40px; }
    .step-line { display: none; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .price-card.popular { transform: scale(1); }
    .price-card.popular:hover { transform: translateY(-5px); }
    .feature-desc{max-width:30em;margin: 0 auto 30px;}
}
@media (max-width: 768px) {
    .reseller-box { flex-direction: column; padding: 30px; gap: 30px; text-align: center; }
    .reseller-content .section-title, .reseller-content .section-desc { text-align: center; margin-left: auto; margin-right: auto; }
    .reseller-list { display: inline-block; text-align: left; }
    .reseller-visual { justify-content: center; width: 100%; }
    .profit-card { width: 100%; max-width: 300px; }
    .section-padding { padding: 60px 0; }
    .container { padding: 0 20px; }
    .hero { padding-top: 150px; padding-bottom: 60px; }
    .hero-text h1 { font-size: 2.2rem; margin-bottom: 16px; }
    .hero-text p { font-size: 1rem; margin-bottom: 30px; }
    .hero-text >div{ justify-content: center; }
    .hero-image-wrapper { display: none; } 
    .feature-grid { grid-template-columns: 1fr; gap: 15px; }
    .feature-card { padding: 25px 20px; } 
    .feature-card h3 { font-size: 1.1rem; }
    .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; justify-content: center; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.8rem; }
    .feature-row { gap: 30px; margin-bottom: 60px; }
    .feature-text h2 { font-size: 1.6rem; }
}