/* ============================================================
   予亨知识产权 - 全局样式
   设计风格：极简商务风
   ============================================================ */

/* ---------- 中文字体 ---------- */
@font-face {
  font-family: 'Source Han Serif CN';
  src: url('https://resource-static.bj.bcebos.com/fonts-skill/SourceHanSerifCN-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Alibaba PuHuiTi';
  src: url('https://resource-static.bj.bcebos.com/fonts-skill/AlibabaPuHuiTi_Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

/* ---------- CSS 变量 ---------- */
:root {
  /* 颜色系统 */
  --background: #f9f9f9;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --card-foreground: #1a1a1a;
  --primary: #1c82f5;
  --primary-foreground: #ffffff;
  --primary-light: rgba(28, 130, 245, 0.1);
  --primary-light-hover: rgba(28, 130, 245, 0.15);
  --secondary: #f4f5f7;
  --secondary-foreground: #1a1a1a;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --accent: #f4f5f7;
  --accent-foreground: #1a1a1a;
  --destructive: #e5484d;
  --destructive-foreground: #ffffff;
  --border: #e6e6e6;
  --input: #e6e6e6;
  --ring: #1c82f5;
  --success: #30a46c;
  --warning: #f5a524;
  --info: #1c82f5;

  /* 圆角 */
  --radius: 0.5rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);

  /* 阴影 */
  --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 4px 12px 0 rgba(0, 0, 0, 0.06);

  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #1c82f5, #3b96ff);

  /* 容器 */
  --container-max-width: 1200px;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Alibaba PuHuiTi', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Han Serif CN', 'Songti SC', 'SimSun', serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--foreground);
}

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

a:hover {
  color: var(--primary);
}

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

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

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

ul, ol {
  list-style: none;
}

/* ---------- 工具类 ---------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.heading-serif {
  font-family: 'Source Han Serif CN', 'Songti SC', 'SimSun', serif;
  font-weight: 600;
}

.body-sans {
  font-family: 'Alibaba PuHuiTi', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

.section-divider {
  border-top: 1px solid var(--border);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

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

.btn-primary:hover {
  background-color: #1570e0;
  border-color: #1570e0;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

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

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

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

.btn-destructive:hover {
  background-color: #d0373d;
  color: var(--destructive-foreground);
}

.btn-ghost {
  background-color: transparent;
  color: var(--foreground);
  border-color: transparent;
}

.btn-ghost:hover {
  background-color: var(--muted);
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

.btn-icon {
  padding: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- 卡片 ---------- */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

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

.card-content {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .card-content {
    padding: 2rem;
  }
}

/* ---------- 表单 ---------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--foreground);
  background-color: var(--card);
  border: 1px solid var(--input);
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28, 130, 245, 0.1);
}

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

.form-error {
  font-size: 0.75rem;
  color: var(--destructive);
  margin-top: 0.25rem;
}

.form-input.error,
.form-textarea.error {
  border-color: var(--destructive);
}

/* ---------- 徽章 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  border-radius: 9999px;
  border: 1px solid transparent;
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: rgba(28, 130, 245, 0.3);
}

.badge-warning {
  background-color: rgba(245, 165, 36, 0.15);
  color: var(--warning);
  border-color: rgba(245, 165, 36, 0.3);
}

.badge-success {
  background-color: rgba(48, 164, 108, 0.15);
  color: var(--success);
  border-color: rgba(48, 164, 108, 0.3);
}

.badge-secondary {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: transparent;
}

.badge-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

/* ---------- 表格 ---------- */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background-color: var(--card);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
}

.table thead th {
  font-weight: 500;
  color: var(--muted-foreground);
  background-color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.table tbody td {
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover {
  background-color: var(--muted);
}

/* ---------- 页面头部 Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(249, 249, 249, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-family: 'Source Han Serif CN', serif;
  font-weight: 600;
  font-size: 0.875rem;
}

.logo-text {
  font-family: 'Source Han Serif CN', serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

@media (max-width: 639px) {
  .logo-text {
    display: none;
  }
  .logo-text-sm {
    display: inline;
  }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

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

.main-nav a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  color: var(--foreground);
  transition: all 0.2s ease;
}

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

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

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

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

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

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

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

/* 移动端菜单 */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 80vw;
  background-color: var(--background);
  border-left: 1px solid var(--border);
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 49;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav {
  flex: 1;
  padding: 1rem;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  color: var(--foreground);
}

.mobile-nav a.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

.mobile-nav li + li {
  margin-top: 0.25rem;
}

.mobile-menu-footer {
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-menu-footer .btn {
  width: 100%;
  margin-bottom: 0.75rem;
}

/* ---------- 页脚 Footer ---------- */
.site-footer {
  width: 100%;
  border-top: 1px solid var(--border);
  background-color: var(--card);
}

.footer-inner {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .footer-inner {
    padding: 4rem 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
  }
}

.footer-about p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-column h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: 'Source Han Serif CN', serif;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
  }
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ---------- 区块标题 SectionHeader ---------- */
.section-header {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.text-left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-label span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.section-label::before,
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border);
}

.section-header.text-left .section-label::after {
  display: none;
}

.section-header.text-left .section-label::before {
  display: none;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ---------- Hero 区域 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--card);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-inner {
  position: relative;
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .hero-inner {
    padding: 8rem 0;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    padding: 10rem 0;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--background);
  margin-bottom: 1.5rem;
}

.hero-badge::before,
.hero-badge::after {
  content: '';
  width: 1.5rem;
  height: 1px;
  background-color: var(--primary);
}

.hero-badge span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.hero-title {
  font-size: 1.875rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-title .text-primary {
  color: var(--primary);
}

.hero-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}

.section-bg-card {
  background-color: var(--card);
}

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

.section-bg-primary .section-title {
  color: var(--primary-foreground);
}

.section-bg-primary .section-description {
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- 服务卡片网格 ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

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

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

.service-card {
  height: 100%;
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  color: inherit;
}

.service-card .card:hover {
  border-color: rgba(28, 130, 245, 0.3);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background-color 0.3s ease;
}

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

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.service-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link svg {
  transform: translateX(0.25rem);
}

/* ---------- 数据统计 ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

.stat-value {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: 'Source Han Serif CN', serif;
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .stat-value {
    font-size: 3rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ---------- 服务流程 ---------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

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

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

.process-step {
  position: relative;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  height: 100%;
}

.process-number {
  font-size: 1.875rem;
  font-weight: 600;
  color: rgba(28, 130, 245, 0.3);
  margin-bottom: 1rem;
  font-family: 'Source Han Serif CN', serif;
}

.process-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -0.75rem;
    width: 1.5rem;
    height: 1px;
    background-color: var(--border);
  }
  .process-step:last-child::after {
    display: none;
  }
}

/* ---------- 案例网格 ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

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

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

.case-card {
  overflow: hidden;
  height: 100%;
}

.case-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--muted);
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.case-client {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.case-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.case-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.case-result {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.case-result-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.case-result-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

/* 案例筛选 */
.case-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.case-filter-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--foreground);
  transition: all 0.2s ease;
}

.case-filter-btn:hover {
  border-color: rgba(28, 130, 245, 0.3);
}

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

/* ---------- 优势特点 ---------- */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

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

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.advantage-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advantage-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.advantage-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.advantage-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ---------- 客户评价 ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

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

.testimonial-card {
  height: 100%;
}

.testimonial-quote-icon {
  width: 2rem;
  height: 2rem;
  color: rgba(28, 130, 245, 0.2);
  margin-bottom: 1rem;
}

.testimonial-content {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.testimonial-title {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ---------- 合作伙伴 ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

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

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

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--card);
  transition: border-color 0.3s ease;
}

.partner-item:hover {
  border-color: rgba(28, 130, 245, 0.3);
}

.partner-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-align: center;
  padding: 0 1rem;
}

/* ---------- CTA 区块 ---------- */
.cta-section {
  padding: 4rem 0;
  background-color: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 5rem 0;
  }
}

.cta-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 2.25rem;
  }
}

.cta-desc {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .cta-desc {
    font-size: 1.125rem;
  }
}

/* ---------- 联系页面 ---------- */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
}

.contact-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.contact-info-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 0.875rem;
  font-weight: 500;
  word-break: break-all;
}

.contact-map {
  width: 100%;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--muted);
}

@media (min-width: 768px) {
  .contact-map {
    height: 384px;
  }
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* 表单成功状态 */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
}

.form-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.form-success-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.form-success-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.form-success-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* ---------- 关于页面 ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

.about-image {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--muted);
}

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

.about-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .about-text h2 {
    font-size: 1.875rem;
  }
}

.about-text p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* 价值观 */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

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

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

.value-card {
  text-align: center;
}

.value-card .card-content {
  padding: 1.5rem;
}

/* 发展历程 */
.timeline {
  max-width: 42rem;
  margin: 3rem auto 0;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.timeline-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background-color: var(--primary);
}

.timeline-line {
  flex: 1;
  width: 1px;
  background-color: var(--border);
  margin-top: 0.5rem;
}

.timeline-item:last-child .timeline-line {
  display: none;
}

.timeline-year {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
  font-family: 'Source Han Serif CN', serif;
}

.timeline-event {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* 团队 */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

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

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

.team-card {
  text-align: center;
}

.team-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.team-avatar span {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  font-family: 'Source Han Serif CN', serif;
}

.team-name {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.team-title {
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.team-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* 服务特色列表 */
.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.feature-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* ---------- 动画 ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 后台管理样式 ---------- */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: var(--background);
}

.admin-login-card {
  width: 100%;
  max-width: 400px;
}

.admin-login-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.admin-login-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.admin-login-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-foreground);
}

.admin-login-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.admin-login-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* 后台布局 */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  background-color: var(--card);
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.admin-sidebar-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.admin-sidebar-nav {
  flex: 1;
  padding: 0.5rem;
}

.admin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--foreground);
  border-radius: 6px;
  margin-bottom: 0.25rem;
  transition: all 0.2s ease;
}

.admin-sidebar-nav a:hover {
  background-color: var(--muted);
  color: var(--primary);
}

.admin-sidebar-nav a.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

.admin-sidebar-nav svg {
  width: 1.125rem;
  height: 1.125rem;
}

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-header {
  height: 4rem;
  border-bottom: 1px solid var(--border);
  background-color: var(--card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.admin-header-title {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Source Han Serif CN', serif;
}

.admin-header-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-username {
  font-size: 0.875rem;
  font-weight: 500;
}

.admin-content {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.admin-page-header {
  margin-bottom: 1.5rem;
}

.admin-page-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.admin-page-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* 统计卡片 */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.admin-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
}

.admin-stat-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background-color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-stat-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.admin-stat-icon.text-primary svg { color: var(--primary); }
.admin-stat-icon.text-warning svg { color: var(--warning); }
.admin-stat-icon.text-info svg { color: var(--info); }
.admin-stat-icon.text-success svg { color: var(--success); }

.admin-stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.admin-stat-value {
  font-size: 1.5rem;
  font-weight: 600;
}

/* 筛选栏 */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-search {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .filter-search {
    width: auto;
  }
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

@media (min-width: 768px) {
  .search-input-wrapper {
    width: 16rem;
    flex: none;
  }
}

.search-input-wrapper svg {
  position: absolute;
  left: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
}

.search-input-wrapper input {
  padding-left: 2rem;
}

/* 分页 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.pagination-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 空状态 */
.empty-state {
  display: flex;
  flex-direction: columns;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  color: var(--muted-foreground);
}

.empty-state svg {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
}

.empty-state span {
  font-size: 0.875rem;
}

/* 详情页 */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.detail-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.detail-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.detail-info-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 6px;
  background-color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-info-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
}

.detail-info-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.detail-info-value {
  font-size: 0.875rem;
  font-weight: 500;
  word-break: break-all;
}

.detail-content-box {
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 6px;
  padding: 1rem;
}

.detail-content-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.detail-content-label svg {
  width: 1rem;
  height: 1rem;
}

.detail-content-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--foreground);
  word-break: break-all;
}

.status-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.status-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-current-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.back-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* 加载动画 */
.spinner {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Alert / Toast */
.alert {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.alert-error {
  background-color: rgba(229, 72, 77, 0.1);
  color: var(--destructive);
  border: 1px solid rgba(229, 72, 77, 0.3);
}

.alert-success {
  background-color: rgba(48, 164, 108, 0.1);
  color: var(--success);
  border: 1px solid rgba(48, 164, 108, 0.3);
}

/* 确认对话框 */
.dialog-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.dialog {
  width: 100%;
  max-width: 32rem;
  background-color: var(--card);
  border-radius: 8px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.dialog-header {
  padding: 1.5rem 1.5rem 0;
}

.dialog-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.dialog-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem 1.5rem;
}

/* 响应式 - 后台移动端 */
@media (max-width: 767px) {
  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-mobile-menu-btn {
    display: flex;
  }
}

@media (min-width: 768px) {
  .admin-mobile-menu-btn {
    display: none;
  }
}
