/* ========== 用户端样式 ========== */
:root{--primary:#667eea;--primary-dark:#5a67d8;--accent:#764ba2;--success:#11998e;--gradient:linear-gradient(135deg,#667eea,#764ba2)}
*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;color:#333;background:#f8f9fa}
.user-body{background:#f8f9fa}

/* Hero */
.hero-section{position:relative;background:var(--gradient);min-height:420px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hero-overlay{position:absolute;inset:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L0,320Z"/></svg>') no-repeat bottom/cover}
.hero-content{position:relative;text-align:center;color:#fff;padding:40px 20px;z-index:2}
.hero-badge{display:inline-block;background:rgba(255,255,255,0.15);backdrop-filter:blur(10px);padding:8px 24px;border-radius:30px;font-size:14px;margin-bottom:20px;border:1px solid rgba(255,255,255,0.2)}
.hero-title{font-size:48px;font-weight:800;margin:0 0 15px;text-shadow:0 2px 20px rgba(0,0,0,0.2)}
.hero-subtitle{font-size:18px;opacity:0.9;margin-bottom:30px}
.hero-features{display:flex;justify-content:center;gap:30px;flex-wrap:wrap}
.hero-feature{display:flex;flex-direction:column;align-items:center;gap:8px}
.hero-feature i{font-size:28px;background:rgba(255,255,255,0.15);width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,0.2)}
.hero-feature span{font-size:13px}
.hero-wave{position:absolute;bottom:-1px;left:0;right:0}
.hero-wave svg{display:block;width:100%}

/* Section */
.section-padding{padding:60px 0}
.section-title{text-align:center;font-size:28px;font-weight:700;margin-bottom:10px}
.section-desc{text-align:center;color:#666;margin-bottom:40px}

/* Station Card */
.station-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 4px 20px rgba(0,0,0,0.06);transition:all .3s;border:1px solid rgba(0,0,0,0.04)}
.station-card:hover{transform:translateY(-5px);box-shadow:0 8px 30px rgba(0,0,0,0.1)}
.station-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}
.station-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;color:#fff}
.station-icon.ac{background:linear-gradient(135deg,#4facfe,#00f2fe)}
.station-icon.dc{background:linear-gradient(135deg,#f093fb,#f5576c)}
.station-status{font-size:12px;padding:4px 12px;border-radius:20px}
.station-status.online{background:#e8f5e9;color:#2e7d32}
.station-status.charging{background:#fff3e0;color:#e65100}
.station-name{font-size:16px;font-weight:600;margin-bottom:5px}
.station-location{font-size:13px;color:#999;margin-bottom:12px}
.station-specs{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#666}

/* Button Gradient */
.btn-gradient{background:var(--gradient);border:none;color:#fff;border-radius:12px;padding:12px;font-weight:600;transition:all .3s}
.btn-gradient:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(102,126,234,0.35);color:#fff}

/* Advantage */
.advantage-card{text-align:center;padding:20px;border-radius:14px;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,0.05);transition:transform .2s}
.advantage-card:hover{transform:translateY(-3px)}
.adv-icon{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin:0 auto 15px;font-size:24px;color:#fff}
.adv-icon.bg-1{background:linear-gradient(135deg,#667eea,#764ba2)}
.adv-icon.bg-2{background:linear-gradient(135deg,#f093fb,#f5576c)}
.adv-icon.bg-3{background:linear-gradient(135deg,#11998e,#38ef7d)}
.adv-icon.bg-4{background:linear-gradient(135deg,#4facfe,#00f2fe)}
.advantage-card h6{font-weight:600;margin-bottom:8px}
.advantage-card p{font-size:13px;color:#888;margin:0}

/* Footer */
.site-footer{background:#1a1d3a;color:rgba(255,255,255,0.5);padding:25px 0;font-size:13px}

/* Scan Page */
.scan-page{max-width:480px;margin:0 auto;padding:20px;min-height:100vh;background:#fff}
.scan-header{display:flex;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid #f0f0f0;margin-bottom:20px}
.scan-header h4{margin:0;font-size:18px}
.back-btn{color:#333;text-decoration:none;font-size:20px}
.scan-error{text-align:center;padding:60px 20px}
.device-info-card{text-align:center;padding:20px;background:#f8f9fa;border-radius:16px;margin-bottom:20px}
.device-icon{width:64px;height:64px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;font-size:28px;color:#fff}
.device-icon.ac{background:linear-gradient(135deg,#4facfe,#00f2fe)}
.device-icon.dc{background:linear-gradient(135deg,#f093fb,#f5576c)}
.spec-badge{padding:4px 12px;border-radius:20px;font-size:12px;color:#fff}
.spec-badge.ac{background:#4facfe}
.spec-badge.dc{background:#f5576c}

/* Charge Form */
.charge-form{padding:0 0 30px}
.form-title{font-weight:600;margin-bottom:12px;color:#333}
.amount-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:15px}
.amount-btn{padding:14px 0;text-align:center;border:2px solid #e8e8e8;border-radius:12px;font-weight:600;cursor:pointer;transition:all .2s;font-size:15px}
.amount-btn:hover,.amount-btn.active{border-color:var(--primary);color:var(--primary);background:rgba(102,126,234,0.05)}
.pay-method-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pay-method{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px;border:2px solid #e8e8e8;border-radius:12px;cursor:pointer;transition:all .2s}
.pay-method:hover,.pay-method.active{border-color:var(--primary);background:rgba(102,126,234,0.05)}

/* Charging Page */
.charging-page{max-width:480px;margin:0 auto;padding:20px;min-height:100vh;background:#fff}
.charging-header{text-align:center;padding:20px 0}
.charging-status-card{text-align:center;padding:30px 20px;background:linear-gradient(135deg,#f8f9fa,#e8ecf1);border-radius:20px}
.charging-animation{position:relative;width:100px;height:100px;margin:0 auto}
.pulse-ring{position:absolute;inset:0;border-radius:50%;border:3px solid var(--primary);animation:pulse 2s infinite}
.charging-icon{position:absolute;inset:15px;background:var(--gradient);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:32px;color:#fff}
@keyframes pulse{0%{transform:scale(1);opacity:1}100%{transform:scale(1.3);opacity:0}}
.charging-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:25px;text-align:center}
.charging-info-item .info-label{display:block;font-size:12px;color:#999;margin-bottom:4px}
.charging-info-item .info-value{font-size:18px;font-weight:700}

/* Complete Page */
.complete-page{max-width:480px;margin:0 auto;padding:20px;min-height:100vh;display:flex;align-items:center;justify-content:center}
.complete-card{background:#fff;border-radius:20px;padding:40px 30px;text-align:center;box-shadow:0 4px 20px rgba(0,0,0,0.08);width:100%}
.complete-icon{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;font-size:36px;color:#fff}
.complete-icon.success{background:linear-gradient(135deg,#11998e,#38ef7d)}
.complete-icon.warning{background:linear-gradient(135deg,#f093fb,#f5576c)}
.complete-info{text-align:left;margin:25px 0}
.info-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #f0f0f0;font-size:14px}
.info-row.highlight{background:#f0fff4;margin:0 -10px;padding:12px 10px;border-radius:8px;border:none}

/* Records */
.records-page{max-width:480px;margin:0 auto;min-height:100vh;background:#fff}
.records-header{display:flex;align-items:center;gap:15px;padding:15px 20px;border-bottom:1px solid #f0f0f0}
.records-header h4{margin:0}
.record-card{background:#fff;border:1px solid #f0f0f0;border-radius:12px;padding:15px;margin-bottom:12px}
.record-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.record-device{font-weight:600}
.record-body{display:flex;gap:15px;font-size:13px;color:#666}
.record-refund{margin-top:8px;font-size:12px;color:#11998e}

/* Responsive */
@media(max-width:576px){
    .hero-title{font-size:32px}
    .hero-subtitle{font-size:15px}
    .hero-features{gap:15px}
    .amount-grid{grid-template-columns:repeat(2,1fr)}
    .stats-grid{grid-template-columns:1fr}
}
