/* ===== Base Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    background: #f0f2f5;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

/* ===== Layout ===== */
.top-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0 30px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-left { display: flex; align-items: center; gap: 30px; }
.header-logo { color: #fff; font-size: 22px; font-weight: 700; letter-spacing: 1px; text-decoration: none; }
.header-nav { display: flex; gap: 8px; }
.header-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
}
.header-nav a:hover, .header-nav a.active { background: rgba(255,255,255,0.2); color: #fff; }
.header-right { display: flex; align-items: center; gap: 20px; color: #fff; font-size: 14px; }
.header-user { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.15); padding: 6px 16px; border-radius: 20px; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: #667eea; font-weight: 700; font-size: 14px; }

.main-wrapper { display: flex; margin-top: 64px; min-height: calc(100vh - 64px); }
.sidebar { width: 220px; background: #fff; border-right: 1px solid #e8e8e8; position: fixed; top: 64px; left: 0; bottom: 0; overflow-y: auto; }
.sidebar-menu { padding: 20px 0; }
.menu-section { margin-bottom: 8px; }
.menu-title { padding: 10px 20px; font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    gap: 12px;
}
.menu-item:hover { background: #f5f5f5; color: #667eea; border-left-color: #667eea; }
.menu-item.active { background: #eef0ff; color: #667eea; border-left-color: #667eea; font-weight: 600; }
.menu-icon { font-size: 18px; width: 24px; text-align: center; }
.main-content { flex: 1; margin-left: 220px; padding: 24px; }
.page-title { font-size: 32px; color: #333; margin-bottom: 10px; font-weight: 700; }
.page-desc { color: #666; font-size: 16px; margin-bottom: 30px; }

.footer { text-align: center; color: #999; font-size: 12px; padding: 20px; border-top: 1px solid #eee; margin-top: 30px; }

/* ===== Cards & Tables ===== */
.info-cards, .service-features, .process-steps, .pricing-table, .contact-methods { margin-top: 20px; }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.info-card, .feature-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.info-card .card-icon, .feature-card .feature-icon { font-size: 32px; margin-bottom: 12px; }
.info-card .card-title, .feature-card .feature-title { font-size: 16px; font-weight: 600; margin-bottom: 10px; color: #333; }
.info-card .card-content p, .feature-card .feature-desc { color: #666; font-size: 14px; line-height: 1.7; }

.check-table, .pricing-table { overflow-x: auto; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.check-table table, .pricing-table table { width: 100%; border-collapse: collapse; }
.check-table th, .check-table td, .pricing-table th, .pricing-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #f5f5f5; font-size: 14px; }
.check-table th, .pricing-table th { background: #fafafa; color: #666; font-weight: 600; }
.check-table .highlight, .pricing-table .highlight { color: #e74c3c; font-weight: 700; }

/* ===== Buttons ===== */
.check-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.btn-check, .btn-reduce, .btn-manual {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.btn-check { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.btn-reduce { background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%); }
.btn-manual { background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%); color: #5a3b00; }

/* ===== Manual Service ===== */
.service-intro { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 20px; }
.service-intro h2 { font-size: 18px; color: #333; margin-bottom: 10px; }
.service-intro p { color: #666; font-size: 14px; line-height: 1.7; }

.service-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 30px; }
.feature-card { transition: transform .2s; }
.feature-card:hover { transform: translateY(-4px); }

.service-process { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 20px; }
.service-process h2 { font-size: 18px; color: #333; margin-bottom: 16px; }
.process-steps { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.step { flex: 1; min-width: 160px; background: #f7f8ff; border-radius: 10px; padding: 16px; text-align: center; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 10px; }
.step-title { font-weight: 600; color: #333; margin-bottom: 6px; }
.step-desc { color: #666; font-size: 13px; line-height: 1.6; }
.step-arrow { color: #999; font-size: 18px; }

.service-pricing { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 20px; }
.service-pricing h2 { font-size: 18px; color: #333; margin-bottom: 16px; }

.contact-section { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.contact-section h2 { font-size: 18px; color: #333; margin-bottom: 10px; }
.contact-methods { display: flex; gap: 20px; margin-top: 10px; }
.contact-item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f7f8ff; border-radius: 8px; color: #333; font-weight: 600; }
.contact-icon { font-size: 18px; }
.contact-note { color: #888; font-size: 13px; margin-top: 10px; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .info-cards { grid-template-columns: repeat(2, 1fr); }
    .service-features { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .sidebar { display: none; }
    .main-content { margin-left: 0; }
    .info-cards { grid-template-columns: 1fr; }
    .header-nav { display: none; }
    .process-steps { flex-direction: column; align-items: stretch; }
    .step-arrow { text-align: center; }
}
