* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; }
body { background-color: #f5f7fa; color: #333; min-height: 100vh; padding-top: 60px; padding-bottom: 60px; }

.navbar { position: fixed; top: 0; left: 0; right: 0; height: 60px; background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%); color: white; display: flex; align-items: center; padding: 0 20px; z-index: 1000; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.navbar-title { font-size: 20px; font-weight: bold; flex: 1; }
.nav-menu { position: fixed; bottom: 0; left: 0; right: 0; height: 60px; background: white; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid #e0e0e0; z-index: 1000; }
.nav-item { display: flex; flex-direction: column; align-items: center; padding: 8px 12px; color: #666; text-decoration: none; font-size: 12px; transition: all 0.3s; border-radius: 8px; }
.nav-item.active { color: #1a73e8; background: rgba(26, 115, 232, 0.1); }
.nav-item i { font-size: 20px; margin-bottom: 4px; }

.page { display: none; padding: 20px; animation: fadeIn 0.3s ease; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.card { background: white; border-radius: 16px; padding: 20px; margin-bottom: 20px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); border: 1px solid #e8eaf6; }
.card-title { font-size: 18px; font-weight: bold; color: #1a237e; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid #e8eaf6; }

.btn { background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%); color: white; border: none; padding: 14px 24px; border-radius: 12px; font-size: 16px; font-weight: 500; cursor: pointer; transition: all 0.3s; width: 100%; text-align: center; margin-top: 10px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3); }
.btn-secondary { background: linear-gradient(135deg, #5f6368 0%, #3c4043 100%); }
.btn-outline { background: transparent; border: 2px solid #1a73e8; color: #1a73e8; padding: 12px 20px; }
.btn-warning { background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%); }
.btn-success { background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 20px; }
.feature-item { text-align: center; padding: 15px; background: #f9f9ff; border-radius: 12px; transition: all 0.3s; }
.feature-item:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
.feature-icon { font-size: 28px; margin-bottom: 10px; }
.feature-name { font-weight: bold; margin-bottom: 5px; }
.feature-desc { font-size: 12px; color: #666; }

.order-status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.order-status-item { text-align: center; padding: 15px; background: #f5f7fa; border-radius: 12px; cursor: pointer; }
.order-status-count { font-size: 24px; font-weight: bold; color: #1a73e8; margin-bottom: 5px; }
.order-status-label { font-size: 14px; color: #5f6368; }

.input-group { margin-bottom: 20px; }
.input-label { display: block; font-size: 14px; color: #5f6368; margin-bottom: 8px; font-weight: 500; }
.input-field, .select-field, .textarea-field { width: 100%; padding: 14px 16px; border: 2px solid #dadce0; border-radius: 12px; font-size: 16px; transition: all 0.3s; background: white; }
.input-field:focus, .select-field:focus, .textarea-field:focus { outline: none; border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1); }
.select-field { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 16px center; background-size: 20px; }
.textarea-field { min-height: 120px; resize: vertical; }

.plan-card, .device-card { border: 2px solid #e8eaf6; border-radius: 12px; padding: 16px; margin-bottom: 16px; transition: all 0.3s; }
.plan-card.selected, .device-card:hover { border-color: #1a73e8; background: rgba(26, 115, 232, 0.05); }
.plan-header, .device-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.plan-name, .device-name { font-size: 16px; font-weight: bold; color: #1a237e; }
.plan-price, .device-price { font-size: 18px; font-weight: bold; color: #1a73e8; }
.plan-specs, .device-specs { font-size: 14px; color: #5f6368; margin-bottom: 12px; line-height: 1.5; }
.tag { background: #e8eaf6; color: #1a237e; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; margin-right: 8px; margin-bottom: 5px; display: inline-block; }

.product-params { background: #f8f9ff; border-radius: 8px; padding: 12px; margin-top: 10px; margin-bottom: 10px; border-left: 3px solid #1a73e8; }
.param-row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; }
.param-label { color: #5f6368; font-weight: 500; }
.param-value { color: #1a237e; }

.history-item { border-bottom: 1px solid #eee; padding: 15px 0; cursor: pointer; transition: all 0.2s; }
.history-item:hover { background-color: #f8f9ff; padding-left: 10px; padding-right: 10px; margin: 0 -10px; border-radius: 8px; }
.history-item:last-child { border-bottom: none; }
.history-name { font-weight: bold; margin-bottom: 5px; }
.history-details { font-size: 14px; color: #666; display: flex; justify-content: space-between; }

.button-group { display: flex; gap: 10px; margin-top: 15px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 20px; }
.stat-card { background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%); border-radius: 12px; padding: 16px; text-align: center; }
.stat-value { font-size: 28px; font-weight: bold; color: #1a237e; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: #5f6368; }
.table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #e0e0e0; }
.table th { background: #f5f7fa; font-weight: 600; color: #1a237e; }
.loader { border: 3px solid #f3f3f3; border-top: 3px solid #1a73e8; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 20px auto; display: none; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.notification { position: fixed; top: 80px; right: 20px; background: #4caf50; color: white; padding: 16px 24px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); z-index: 2000; animation: slideIn 0.3s ease; display: none; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.recommendation-box { margin-top: 25px; padding: 20px; background: #f9f9ff; border-radius: 12px; border-left: 4px solid #4caf50; }

.login-tabs { display: flex; margin-bottom: 20px; border-bottom: 1px solid #e0e0e0; }
.login-tab { flex: 1; text-align: center; padding: 12px; font-size: 16px; font-weight: 500; color: #666; cursor: pointer; border-bottom: 3px solid transparent; }
.login-tab.active { color: #1a73e8; border-bottom-color: #1a73e8; }
.login-form { display: none; }
.login-form.active { display: block; }

.customer-service-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 2000; align-items: center; justify-content: center; }
.customer-service-content { background: white; border-radius: 16px; padding: 30px; max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto; position: relative; }

.user-avatar { width: 80px; height: 80px; background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; color: white; font-size: 32px; }

.tutorial-card { background: #f9f9ff; border-radius: 12px; padding: 16px; margin-bottom: 15px; border: 1px solid #e0e0e0; cursor: pointer; transition: all 0.2s; }
.tutorial-card:hover { background: #e8f0fe; border-color: #1a73e8; }
.tutorial-title { font-weight: bold; font-size: 16px; color: #1a237e; margin-bottom: 6px; }
.tutorial-desc { font-size: 13px; color: #666; margin-bottom: 8px; }
.tutorial-meta { font-size: 12px; color: #1a73e8; display: flex; align-items: center; gap: 5px; }

.project-statement {
    background: #e8f0fe;
    border-left: 4px solid #1a73e8;
    padding: 14px 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    border-radius: 12px;
    font-size: 13px;
    color: #1a237e;
    text-align: left;
    line-height: 1.5;
}
.beian-footer {
    text-align: center;
    padding: 12px;
    font-size: 12px;
    color: #8e9aaf;
    border-top: 1px solid #e8eaf6;
    margin-top: 20px;
}
.beian-footer a {
    color: #1a73e8;
    text-decoration: none;
    margin: 0 5px;
}
.simulate-tag {
    background: #ff9800;
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 10px;
    margin-left: 8px;
    vertical-align: middle;
}

@media (max-width: 768px) { .stats-grid, .feature-grid { grid-template-columns: 1fr; } .button-group { flex-direction: column; } }