
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-foreground: #ffffff;
  --secondary: #ea580c;
  --secondary-dark: #c2410c;
  --secondary-foreground: #ffffff;
  --background: #f8fafc;
  --foreground: #1e293b;
  --card: #ffffff;
  --card-foreground: #1e293b;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --footer-bg: #1a2332;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ========================================
   通用容器
======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========================================
   顶部信息栏
======================================== */
.top-bar {
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-right {
  display: none;
}

@media (min-width: 768px) {
  .top-bar-right {
    display: block;
  }
}

/* ========================================
   主导航
======================================== */
.main-header {
  background-color: var(--card);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.logo-icon {
  height: 48px;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.logo-text h1 {
  font-size: 20px;
  font-weight: bold;
  color: var(--foreground);
}

.logo-text p {
  font-size: 12px;
  color: var(--muted-foreground);
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 8px 16px;
  font-weight: 500;
  color: var(--foreground);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background-color: var(--muted);
}

.header-cta {
  display: none;
}

.header-cta .btn-secondary {
  padding: 10px 24px;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--foreground);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }
  .header-cta {
    display: block;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* 移动端菜单 */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  padding: 16px;
  background-color: var(--card);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--foreground);
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
}

.mobile-menu a:hover {
  background-color: var(--muted);
}

.mobile-menu .btn-secondary {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding: 12px 24px;
  color: var(--card);
}

/* ========================================
   按钮样式
======================================== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   404 错误页
======================================== */
.news-list-main .error-page {
  max-width: 640px;
  margin: 80px auto;
  padding: 40px 32px;
  background-color: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.error-page .error-code {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.error-page .error-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 12px;
}

.error-page .error-desc {
  font-size: 15px;
  color: var(--muted-foreground);
  margin-bottom: 6px;
}

.error-page .error-tip {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 24px;
}

.error-page .error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.error-page .btn {
  min-width: 140px;
}

@media (max-width: 768px) {
  .news-list-main .error-page {
    margin: 40px auto;
    padding: 28px 20px;
  }
  .error-page .error-code {
    font-size: 52px;
  }
  .error-page .error-title {
    font-size: 20px;
  }
}

/* ========================================
   Hero轮播区域
======================================== */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    height: 600px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.hero-slide.active {
  opacity: 1;
}

/* === 轮播图背景（图片 + 半透明遮罩） === */
.hero-slide-1 {
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url('/skin/images/banner1.jpg') center/cover no-repeat;
}
.hero-slide-2 {
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url('/skin/images/banner2.jpg') center/cover no-repeat;
}
.hero-slide-3 {
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url('/skin/images/banner3.jpg') center/cover no-repeat;
}

/* 装饰圆圈 */
.hero-decoration {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
}

.hero-decoration .circle {
  position: absolute;
  border: 1px solid white;
  border-radius: 50%;
}

.hero-decoration .circle-1 {
  width: 256px;
  height: 256px;
  top: 80px;
  right: 80px;
}

.hero-decoration .circle-2 {
  width: 192px;
  height: 192px;
  bottom: 80px;
  left: 80px;
}

.hero-decoration .circle-3 {
  width: 128px;
  height: 128px;
  top: 50%;
  right: 33%;
}

.hero-content {
  position: relative;
  z-index: 10;
  color: white;
  max-width: 640px;
  padding: 0 16px;
}

.hero-content .subtitle {
  font-size: 18px;
  margin-bottom: 8px;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .hero-content .subtitle {
    font-size: 20px;
  }
}

.hero-content h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 24px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-content h2 {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .hero-content h2 {
    font-size: 56px;
  }
}

.hero-content .description {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .hero-content .description {
    font-size: 20px;
  }
}

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

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background-color 0.2s ease;
  z-index: 20;
}

.hero-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.hero-nav-btn.prev {
  left: 16px;
}

.hero-nav-btn.next {
  right: 16px;
}

.hero-nav-btn svg {
  width: 24px;
  height: 24px;
}

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 0.2s ease;
}

.hero-dot.active {
  background-color: white;
}

/* ========================================
   服务区域
======================================== */
.services {
  padding: 64px 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .services {
    padding: 96px 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 36px;
  }
}

.section-header p {
  color: var(--muted-foreground);
  max-width: 640px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.service-card:hover .service-icon {
  background-color: var(--primary);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  transition: color 0.2s ease;
}

.service-card:hover .service-icon svg {
  color: white;
}

.service-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 12px;
}

.service-card>p {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--foreground);
}

.service-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--secondary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========================================
   关于我们 / 统计区域
======================================== */
.about {
  padding: 64px 0;
  background-color: var(--muted);
}

@media (min-width: 768px) {
  .about {
    padding: 96px 0;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.stat-card svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin: 0 auto 12px;
}

.stat-card .value {
  font-size: 30px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 4px;
}

.stat-card .label {
  font-size: 14px;
  color: var(--muted-foreground);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.about-card-header {
  padding: 16px 24px;
  font-weight: bold;
  font-size: 18px;
}

.about-card-header.primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.about-card-header.secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.about-card-body {
  padding: 24px;
}

.about-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.about-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.about-section h4 {
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background-color: var(--muted);
  color: var(--muted-foreground);
  padding: 4px 12px;
  border-radius: var(--radius);
  font-size: 14px;
}

/* ========================================
   经营范围区域
======================================== */
.scope {
  padding: 64px 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .scope {
    padding: 96px 0;
  }
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .scope-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.scope-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.scope-card:hover {
  box-shadow: var(--shadow-md);
}

.scope-card-header {
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.scope-card-header.bg-1 { background-color: var(--primary); }
.scope-card-header.bg-2 { background-color: #2c5282; }
.scope-card-header.bg-3 { background-color: #285e61; }
.scope-card-header.bg-4 { background-color: var(--secondary); }
.scope-card-header.bg-5 { background-color: #553c9a; }
.scope-card-header.bg-6 { background-color: #744210; }
.scope-card-header.bg-7 { background-color: #1a365d; }
.scope-card-header.bg-8 { background-color: #276749; }

.scope-card-body {
  padding: 16px;
}

.scope-card-body p {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.scope-tips {
  margin-top: 48px;
  background-color: var(--muted);
  border-radius: var(--radius-lg);
  padding: 24px;
}

@media (min-width: 768px) {
  .scope-tips {
    padding: 32px;
  }
}

.scope-tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .scope-tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.scope-tips h3 {
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 12px;
}

.scope-tips p {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ========================================
   新闻资讯区域
======================================== */
.news {
  padding: 64px 0;
  background-color: var(--muted);
}

@media (min-width: 768px) {
  .news {
    padding: 96px 0;
  }
}

.news-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 48px;
}

.news-header h2 {
  font-size: 30px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .news-header h2 {
    font-size: 36px;
  }
}

.news-header>p {
  color: var(--muted-foreground);
}

.news-more {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 500;
}

.news-more:hover {
  color: var(--primary-dark);
}

.news-more svg {
  width: 16px;
  height: 16px;
}

@media (min-width: 768px) {
  .news-more {
    display: flex;
  }
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.news-card-inner {
  display: flex;
  flex-direction: column;
}

.news-card-thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background-color: var(--primary);
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
  display: block;
}
.news-card:hover .news-card-thumb img {
  transform: scale(1.05);
}

.news-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: block;
}

.news-card-date {
  width: 100%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 8px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.news-card-date .day {
  font-size: 16px;
  font-weight: bold;
}

.news-card-date .month {
  font-size: 13px;
  opacity: 0.85;
}

.news-card-content {
  padding: 16px;
  flex: 1;
}

.news-card-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  background-color: rgba(37, 99, 235, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.news-card h3 {
  font-weight: 600;
  font-size: 16px;
  color: var(--foreground);
  margin-bottom: 8px;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover h3 {
  color: var(--primary);
}

.news-card p {
  font-size: 14px;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more-mobile {
  display: block;
  text-align: center;
  margin-top: 32px;
}

.news-more-mobile a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 500;
}

@media (min-width: 768px) {
  .news-more-mobile {
    display: none;
  }
}

/* ========================================
   服务支持区域
======================================== */
.support {
  padding: 64px 0;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .support {
    padding: 96px 0;
  }
}

.support .section-header h2 {
  color: white;
}

.support .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.support .section-header .highlight {
  font-size: 18px;
  font-weight: 500;
  margin-top: 16px;
  color: white;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .support-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.support-card {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.support-card-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.support-card-icon svg {
  width: 40px;
  height: 40px;
}

.support-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
}

.support-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* ========================================
   联系我们区域
======================================== */
.contact {
  padding: 64px 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .contact {
    padding: 96px 0;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-info h2 {
  font-size: 30px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .contact-info h2 {
    font-size: 36px;
  }
}

.contact-info>p {
  color: var(--muted-foreground);
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-item h3 {
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 4px;
}

.contact-item .phone {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
}

.contact-item p {
  font-size: 14px;
  color: var(--muted-foreground);
}

.contact-qrcode {
  margin-top: 32px;
  padding: 24px;
  background-color: var(--muted);
  border-radius: var(--radius-lg);
}

.contact-qrcode h3 {
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 16px;
}

.qrcode-list {
  display: flex;
  gap: 24px;
}

.qrcode-item {
  text-align: center;
}

.qrcode-placeholder {
  width: 96px;
  height: 96px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--muted-foreground);
}

.qrcode-item p {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 8px;
}

.contact-form-wrapper {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 24px;
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 32px;
  }
}

.contact-form-wrapper h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: none;
  min-height: 120px;
}

.contact-form .btn-primary {
  width: 100%;
  padding: 12px;
}

/* ========================================
   页脚
======================================== */
.footer {
  background-color: var(--footer-bg);
  color: #9ca3af;
}

.footer-main {
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.friendlink{
  display: flex;
  justify-content:start;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0px auto 40px auto;
  padding: 0 10px 15px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .friendlink{
     display: none;
   }
}

.friendlink span{
  margin: 0 10px;
  font-size: 14px;
}

.friendlink a:hover{
  color: white;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.footer-brand .logo-text h3 {
  font-size: 18px;
  font-weight: bold;
  color: white;
}

.footer-brand>p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-qrcode {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
}/* 页脚图标尺寸修复 */
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-contact-item p {
  margin-bottom: 2px;
}

.footer-contact-item .highlight {
  color: white;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
}

@media (min-width: 768px) {
  .footer-bottom .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom a {
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: white;
}