﻿/* 石邦主 - 仿石漆综合服务平台 */
/* 全局样式 */

:root {
  --primary: #1a5276;
  --primary-light: #2980b9;
  --primary-dark: #0e3a54;
  --accent: #e67e22;
  --accent-light: #f39c12;
  --bg: #f5f6fa;
  --bg-card: #ffffff;
  --bg-dark: #0e3a54;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --text-white: #ffffff;
  --border: #e0e4e8;
  --success: #27ae60;
  --warning: #f39c12;
  --danger: #e74c3c;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 10px;
  --header-h: 52px;
  --nav-h: 56px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

a { color: var(--primary-light); text-decoration: none; }
img { max-width: 100%; display: block; }

.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--bg);
}

/* 顶部导航 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary-dark);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-icon {
  font-size: 22px;
  color: var(--accent);
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 1px;
}

.logo-img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-white);
}

.header-phone-link {
  color: var(--text-white);
  font-size: 13px;
}

.header-divider {
  color: rgba(255,255,255,0.4);
}

.header-login-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.header-about-link {
  color: var(--text-white);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-white);
  font-size: 13px;
}

.header-phone a {
  color: var(--text-white);
  font-size: 13px;
}

.phone-icon { font-size: 14px; }

/* 主内容 */
.main-content {
  padding-bottom: calc(var(--nav-h) + 16px);
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-white);
  padding: 36px 20px 32px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(230,126,34,0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero p {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-white);
}

.btn-primary:active { background: var(--accent-light); }

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-outline:active { border-color: #fff; }

.btn-lg { padding: 10px 24px; font-size: 15px; }

.btn-sm { padding: 5px 12px; font-size: 12px; }

.btn-block {
  display: flex;
  width: 100%;
}

/* 数据统计 */
.stats-bar {
  display: flex;
  background: var(--bg-card);
  padding: 16px 0;
  box-shadow: var(--shadow);
}

.stat-item {
  flex: 1;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.stat-plus { font-size: 14px; }

.stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

/* 四大功能入口 */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  text-decoration: none;
  color: var(--text);
}

.feature-card:active { transform: scale(0.97); }

.feature-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.feature-desc {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.5;
}

/* 通用区块 */
.section {
  padding: 16px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.more-link {
  font-size: 13px;
  color: var(--text-light);
}

/* 热门效果图 */
.hot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hot-gallery .gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--border);
}

.hot-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hot-gallery .gallery-item .gallery-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px 6px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 订单列表 */
.order-list .order-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}

.order-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.order-item-title {
  font-size: 15px;
  font-weight: 600;
}

.order-item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.order-item-info {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.order-item-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* 标签 */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  background: rgba(26,82,118,0.08);
  color: var(--primary);
}

.tag-orange {
  background: rgba(230,126,34,0.1);
  color: var(--accent);
}

.tag-green {
  background: rgba(39,174,96,0.1);
  color: var(--success);
}

.tag-red {
  background: rgba(231,76,60,0.1);
  color: var(--danger);
}

/* 品牌卡片 */
.brand-section {
  margin-bottom: 16px;
}

.brand-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius);
  padding: 24px 20px;
  color: var(--text-white);
  text-align: center;
}

.brand-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.brand-card p {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 4px;
}

.brand-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.brand-tags .tag {
  background: rgba(255,255,255,0.15);
  color: var(--text-white);
}

/* 底部导航 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--nav-h);
  background: var(--bg-card);
  display: flex;
  border-top: 1px solid var(--border);
  z-index: 100;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-light);
  font-size: 10px;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-item.active {
  color: var(--primary);
}

.nav-icon {
  font-size: 20px;
}

.nav-text {
  font-size: 10px;
}

/* ============ 接单大厅 ============ */
.order-tabs {
  display: flex;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.order-tabs::-webkit-scrollbar { display: none; }

.order-tab {
  flex-shrink: 0;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.order-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.order-filter {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.order-filter::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: 14px;
  font-size: 12px;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
}

.filter-btn.active {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.order-detail-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.order-status {
  font-size: 12px;
  font-weight: 600;
}

.status-urgent { color: var(--danger); }
.status-normal { color: var(--success); }
.status-pending { color: var(--warning); }

/* 发布需求 */
.post-section {
  padding: 16px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: var(--bg-card);
  color: var(--text);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* ============ 效果图库/色卡 ============ */
.category-scroll {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
}

.category-scroll::-webkit-scrollbar { display: none; }

.cat-btn {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 16px;
  font-size: 13px;
  background: var(--bg);
  color: var(--text);
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.cat-btn.active {
  background: var(--primary);
  color: var(--text-white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 16px;
}

.card-item {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.card-img {
  aspect-ratio: 1;
  background: var(--border);
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-info {
  padding: 6px 8px;
}

.card-name {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-model {
  font-size: 10px;
  color: var(--text-light);
}

/* 色卡弹窗 */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  justify-content: center;
  align-items: center;
}

.modal-overlay.show { display: flex; }

.modal-content {
  width: 90%;
  max-width: 360px;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
}

.modal-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--border);
}

.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 16px;
}

.modal-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-model {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.modal-actions {
  display: flex;
  gap: 10px;
}

.modal-actions .btn { flex: 1; }

/* ============ 施工学堂 ============ */
.learn-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: var(--text-white);
  padding: 24px 20px;
  text-align: center;
}

.learn-banner h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.learn-banner p {
  font-size: 13px;
  opacity: 0.85;
}

.learn-tabs {
  display: flex;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.learn-tab {
  flex: 1;
  padding: 12px 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
}

.learn-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.course-list { padding: 12px 16px; }

.course-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.course-thumb {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.course-thumb .play-icon {
  font-size: 40px;
  color: rgba(255,255,255,0.8);
}

.course-thumb .course-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px;
  background: var(--accent);
  color: #fff;
}

.course-body {
  padding: 12px;
}

.course-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
}

/* 施工流程 */
.process-list { padding: 12px 16px; }

.process-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
}

.process-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 36px;
  bottom: -16px;
  width: 2px;
  background: var(--border);
}

.process-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.process-content {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 12px;
  flex: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.process-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.process-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============ 师傅入驻 ============ */
.join-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-white);
  padding: 30px 20px;
  text-align: center;
}

.join-hero h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.join-hero p {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.join-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
}

.benefit-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.benefit-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.benefit-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.benefit-desc {
  font-size: 11px;
  color: var(--text-light);
}

.join-form {
  padding: 16px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--text-white);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}

.submit-btn:active { background: var(--primary-dark); }

/* 师傅展示墙 */
.master-list { padding: 12px 16px; }

.master-card {
  display: flex;
  gap: 12px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}

.master-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}

.master-info { flex: 1; }

.master-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.master-skill {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.master-stats {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-light);
}

.master-stats span { color: var(--accent); font-weight: 600; }

/* ============ 工具类 ============ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.p-16 { padding: 16px; }
.hidden { display: none !important; }

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light);
}

.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* Toast 提示 */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.toast.show { opacity: 1; }
/* ============================================
   鐭冲笀鍌?- PC/骞虫澘鍝嶅簲寮忓寮烘牱寮?   鍦ㄥ師鏈?style.css 鍩虹涓婅拷鍔犳鏂囦欢
   ============================================ */

/* ========== 骞虫澘閫傞厤 (>= 768px) ========== */
@media screen and (min-width: 768px) {

  .app {
    max-width: 768px;
  }

  /* 椤堕儴瀵艰埅鍔犲 */
  .header {
    height: 60px;
  }

  .header-inner {
    padding: 0 24px;
  }

  .logo-text {
    font-size: 20px;
  }

  .header-phone {
    font-size: 14px;
  }

  /* Hero鍖哄煙鏀惧ぇ */
  .hero {
    padding: 48px 32px 40px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  /* 鍔熻兘鍏ュ彛锛?鍒?*/
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px;
  }

  /* 缁熻鏍?*/
  .stats-bar {
    padding: 20px 0;
  }

  .stat-num {
    font-size: 26px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* 閫氱敤鍖哄潡 */
  .section {
    padding: 20px;
  }

  .section-header h2 {
    font-size: 20px;
  }

  /* 鐑棬鏁堟灉鍥撅細4鍒?*/
  .hot-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  /* 鑹插崱缃戞牸锛?鍒?*/
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px 20px;
  }

  /* 璁㈠崟鍒楄〃锛氬崱鐗囦繚鎸佸崟鍒椾絾鍔犲ぇ */
  .order-list .order-item {
    padding: 18px 20px;
  }

  .order-item-title {
    font-size: 16px;
  }

  /* 甯堝倕灞曠ず锛?鍒楃綉鏍?*/
  .master-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px 20px;
  }

  .master-list .master-card {
    margin-bottom: 0;
  }

  /* 璇剧▼鍒楄〃锛?鍒楃綉鏍?*/
  .course-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px 20px;
  }

  .course-list .course-item {
    margin-bottom: 0;
  }

  /* 琛ㄥ崟鍔犲 */
  .join-form {
    padding: 20px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  /* 鏂藉伐娴佺▼锛氭椂闂寸嚎鍔犲 */
  .process-list {
    padding: 16px 20px;
  }

  .process-item:not(:last-child)::after {
    left: 20px;
  }

  /* 鍏ラ┗鏉冪泭锛?鍒?*/
  .join-benefits {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px;
  }

  /* 搴曢儴瀵艰埅锛氭í鍚戝浘鏍?鏂囧瓧鍔犲ぇ */
  .nav-icon {
    font-size: 22px;
  }

  .nav-text {
    font-size: 11px;
  }

  /* 瀛﹀爞Tab锛氫繚鎸?鍒?*/
  .learn-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .learn-tab {
    padding: 14px 0;
    font-size: 15px;
  }

  /* 鍒嗙被婊氬姩鑿滃崟 */
  .category-scroll {
    padding: 12px 20px;
    gap: 10px;
  }

  .cat-btn {
    padding: 8px 18px;
    font-size: 14px;
  }

  /* 璁㈠崟Tab */
  .order-tabs {
    padding: 0;
  }

  .order-tab {
    padding: 14px 20px;
    font-size: 15px;
  }

  /* 寮圭獥鍔犲ぇ */
  .modal-content {
    max-width: 480px;
  }

  .modal-img {
    aspect-ratio: 4/3;
  }
}

/* ========== 妗岄潰閫傞厤 (>= 1024px) ========== */
@media screen and (min-width: 1024px) {

  body {
    background: #e8ecf0;
    font-size: 15px;
  }

  /* 鍏ㄧ珯瀹瑰櫒锛氬眳涓櫧搴曞崱鐗?*/
  .app {
    max-width: 1100px;
    margin: 20px auto;
    min-height: calc(100vh - 40px);
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
  }

  /* 椤堕儴瀵艰埅锛氬畬鏁存按骞冲鑸?*/
  .header {
    height: 64px;
    background: #0e3a54;
  }

  .header-inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 32px;
  }

  .logo-text {
    font-size: 22px;
  }

  /* PC椤堕儴妯悜鑿滃崟 */
  .pc-nav {
    display: flex !important;
    align-items: center;
    gap: 0;
    margin-left: auto;
  }

  .pc-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
  }

  .pc-nav a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
  }

  .pc-nav a span {
    font-size: 16px;
  }

  /* 闅愯棌搴曢儴鍥哄畾瀵艰埅锛圥C绔級 */
  .bottom-nav {
    display: none !important;
  }

  /* 涓诲唴瀹瑰尯鐣欏嚭搴曢儴绌洪棿缁欏浐瀹歨eader */
  .main-content {
    padding-bottom: 40px;
  }

  /* Hero妯箙 */
  .hero {
    padding: 56px 48px 48px;
    text-align: center;
  }

  .hero-content {
    max-width: 700px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .hero p {
    font-size: 17px;
    max-width: 500px;
    margin: 0 auto 24px;
  }

  .hero-buttons {
    justify-content: center;
  }

  /* 缁熻鏁版嵁 */
  .stats-bar {
    max-width: 1060px;
    margin: 0 auto;
    padding: 24px 0;
  }

  .stat-num {
    font-size: 30px;
  }

  /* 鍔熻兘鍏ュ彛 */
  .feature-grid {
    max-width: 1060px;
    margin: 0 auto;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 24px 32px;
  }

  .feature-card {
    padding: 28px 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  }

  .feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }

  .feature-icon {
    font-size: 38px;
    margin-bottom: 10px;
  }

  .feature-title {
    font-size: 16px;
  }

  .feature-desc {
    font-size: 12px;
  }

  /* 閫氱敤鍖哄潡 */
  .section {
    max-width: 1060px;
    margin: 0 auto;
    padding: 24px 32px;
  }

  .section-header h2 {
    font-size: 22px;
  }

  /* 鐑棬鏁堟灉鍥撅細5鍒?*/
  .hot-gallery {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  /* 鑹插崱缃戞牸锛?鍒?*/
  .card-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding: 16px 32px;
  }

  .card-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    transition: all 0.2s;
  }

  /* 鍒嗙被婊氬姩鑿滃崟 - 鍘绘帀婊氬姩 */
  .category-scroll {
    justify-content: center;
    flex-wrap: wrap;
    padding: 14px 32px;
  }

  .cat-btn {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 18px;
  }

  .cat-btn:hover {
    background: rgba(26,82,118,0.1);
  }

  /* 璁㈠崟Tab - 鍘绘帀婊氬姩 */
  .order-tabs {
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 32px;
  }

  .order-tab {
    padding: 14px 24px;
    font-size: 15px;
  }

  .order-tab:hover {
    color: var(--primary);
  }

  /* 鍩庡競绛涢€?*/
  .order-filter {
    justify-content: center;
    flex-wrap: wrap;
    padding: 12px 32px;
  }

  /* 璁㈠崟鍒楄〃锛?鍒?*/
  .order-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .order-list .order-item {
    padding: 18px 20px;
    margin-bottom: 0;
  }

  /* 甯堝倕鍒楄〃锛?鍒?*/
  .master-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px 32px;
  }

  /* 璇剧▼鍒楄〃锛?鍒?*/
  .course-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px 32px;
  }

  .course-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.2s;
  }

  /* 鏂藉伐娴佺▼锛氭í鍚戝睍绀?*/
  .process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 16px 32px;
    position: relative;
  }

  .process-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
  }

  .process-item:not(:last-child)::after {
    display: none;
  }

  .process-num {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .process-content {
    width: 100%;
  }

  /* 鍏ラ┗鏉冪泭 */
  .join-benefits {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px 32px;
  }

  .benefit-card {
    padding: 24px 16px;
  }

  /* 琛ㄥ崟 */
  .join-form,
  .post-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px;
  }

  /* 瀛﹀爞Banner */
  .learn-banner {
    padding: 36px 32px;
  }

  .learn-banner h2 {
    font-size: 26px;
  }

  /* 瀛﹀爞Tab */
  .learn-tabs {
    max-width: 1060px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  /* 寮圭獥鍔犲ぇ鍒版闈㈠昂瀵?*/
  .modal-content {
    max-width: 560px;
  }

  

/* 琛ㄥ崟鎸夐挳鎮仠鏁堟 */


  .submit-btn:hover {
    background: var(--primary-dark);
    transition: background 0.2s;
  }

  .btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
  }

  /* 版权区域：电脑版恢复正常padding */
  .footer-copyright {
    padding-bottom: 16px;
  }
}



/* ========== 澶у睆閫傞厤 (>= 1280px) ========== */

@media screen and (min-width: 1280px) {


  .app {

    max-width: 1200px;
 
   margin: 24px auto;

    min-height: calc(100vh - 48px);
 
 }


  .feature-grid {
 
   grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }


  .card-grid {

    grid-template-columns: repeat(6, 1fr);
    padding: 16px 40px;
  }


  .hot-gallery {

    grid-template-columns: repeat(6, 1fr);

  }


  .order-list {

    grid-template-columns: repeat(3, 1fr);
  }


  .master-list {

    grid-template-columns: repeat(4, 1fr);

  }


  .course-list {

    grid-template-columns: repeat(4, 1fr);

  }


  .process-list {
 
   grid-template-columns: repeat(4, 1fr);

  }

}



/* PC绔*/

.pc-nav { display: none !important; }



/* 骨架屏动画 */

@keyframes shimmer {0%{background-position:-200px 0}100%{background-position:200px 0}}

.skeleton-shimmer{background:#e0e0e0;background-image:linear-gradient(90deg,#e0e0e0 25%,#f0f0f0 50%,#e0e0e0 75%);
background-size:200px 100%;animation:shimmer 1.2s infinite linear}

.skeleton-text{height:12px;background:#e0e0e0;background-image:linear-gradient(90deg,#e0e0e0 25%,#f0f0f0 50%,#e0e0e0 75%);
background-size:200px 100%;animation:shimmer 1.2s infinite linear;border-radius:4px;margin-top:8px}

.card-skeleton .card-img{background:#e0e0e0}

.card-skeleton .card-name,.card-skeleton 
.card-model{background:#e0e0e0;
background-image:linear-gradient(90deg,#e0e0e0 25%,#f0f0f0 50%,#e0e0e0 75%);
background-size:200px 100%;animation:shimmer 1.2s infinite linear;border-radius:4px}



/* 版权区域 */

.footer-copyright {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 16px;
  padding-bottom: 70px; 
/* 为底部导航留空间 */

  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
}
.footer-copyright p {
  margin: 0;
}
