/* ========================================
   仲景集团官网 - 主样式文件
   ======================================== */

/* CSS变量 */
:root {
  --primary-color: #C41E3A;
  --primary-dark: #A31830;
  --primary-light: #E53935;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --bg-gray: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

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

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

/* 容器 */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

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

/* 头部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.header-top {
  background: var(--primary-color);
  color: white;
  font-size: 0.875rem;
  height: 40px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.header.scrolled .header-top {
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-top-left svg {
  width: 14px;
  height: 14px;
}

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

@media (min-width: 768px) {
  .header-top-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    opacity: 0.8;
  }
  
  .header-top-right .divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
  }
}

.header-main {
  height: 72px;
  display: flex;
  align-items: center;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.2);
  transition: var(--transition);
}

.logo:hover .logo-icon {
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
}

.logo-icon span {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: serif;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .name {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary-color);
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .logo-text .name {
    font-size: 1.5rem;
  }
}

.logo-text .en {
  font-size: 0.625rem;
  color: var(--text-light);
  margin-top: -2px;
  display: none;
}

@media (min-width: 768px) {
  .logo-text .en {
    display: block;
  }
}

/* 导航菜单 */
.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav-link {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-gray);
  position: relative;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 1px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 2rem;
}

/* 联系按钮 */
.header-contact {
  display: none;
}

@media (min-width: 768px) {
  .header-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.2);
    transition: var(--transition);
  }
  
  .header-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
  }
  
  .header-contact svg {
    width: 16px;
    height: 16px;
  }
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--text-gray);
  transition: var(--transition);
}

.menu-toggle:hover {
  color: var(--primary-color);
  background: rgba(196, 30, 58, 0.05);
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

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

/* 移动端菜单 */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1rem);
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu .container {
  padding: 1rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  font-weight: 500;
  color: var(--text-gray);
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link:last-of-type {
  border-bottom: none;
}

.mobile-nav-link:hover {
  color: var(--primary-color);
}

.mobile-nav-link svg {
  width: 16px;
  height: 16px;
  transform: rotate(-90deg);
  color: var(--text-light);
}

.mobile-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1.25rem;
  color: var(--primary-color);
  font-weight: 500;
}

.mobile-contact svg {
  width: 18px;
  height: 18px;
}

/* 主内容区 */
main {
  min-height: 100vh;
  padding-top: 72px;
}

.header-top + .header-main + main {
  padding-top: 112px;
}

.header.scrolled + main {
  padding-top: 72px;
}

/* Hero Banner */
.hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  height: 60vh;
  overflow: hidden;
}

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

@media (min-width: 1024px) {
  .hero {
    height: 90vh;
  }
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

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

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

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
  line-height: 1.75;
}

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

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn svg {
  width: 18px;
  height: 18px;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, white, transparent);
}

/* 品牌标语 */
.brand-slogan {
  background: var(--primary-color);
  padding: 1.5rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .brand-slogan {
    padding: 2rem 0;
  }
}

.brand-slogan::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark), var(--primary-color));
}

.brand-slogan p {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .brand-slogan p {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .brand-slogan p {
    font-size: 1.5rem;
  }
}

/* Section通用样式 */
.section {
  padding: 4rem 0;
}

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

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

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

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

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

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

.section-title p {
  color: var(--text-gray);
  font-size: 1rem;
}

/* 品牌优势 */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

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

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #FDF2F4, #FCE8EB);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .advantage-icon {
    width: 80px;
    height: 80px;
  }
}

.advantage-item:hover .advantage-icon {
  transform: scale(1.1);
}

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

@media (min-width: 768px) {
  .advantage-icon svg {
    width: 36px;
    height: 36px;
  }
}

.advantage-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .advantage-item h3 {
    font-size: 1.125rem;
  }
}

.advantage-item p {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* 产品卡片 */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.product-card {
  background: var(--bg-white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.product-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

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

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.product-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  color: white;
}

.product-info h3 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.product-info p {
  font-size: 0.875rem;
  opacity: 0.8;
}

.product-body {
  padding: 1.25rem;
}

.product-body p {
  font-size: 0.875rem;
  color: var(--text-gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.product-link svg {
  width: 16px;
  height: 16px;
  margin-left: 0.25rem;
  transition: var(--transition);
}

.product-card:hover .product-link {
  gap: 0.5rem;
}

.product-card:hover .product-link svg {
  transform: translateX(4px);
}

/* 快捷入口 */
.quick-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.quick-link-card {
  position: relative;
  background: var(--bg-gray);
  border-radius: 1rem;
  padding: 1.5rem;
  overflow: hidden;
  transition: var(--transition);
}

.quick-link-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.quick-link-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  transform: translate(50%, -50%);
  opacity: 0.05;
  transition: transform 0.5s ease;
}

.quick-link-card:hover .quick-link-bg {
  transform: translate(50%, -50%) scale(1.5);
}

.quick-link-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.quick-link-card:hover .quick-link-icon {
  transform: scale(1.1);
}

.quick-link-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.quick-link-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

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

.quick-link-card p {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.quick-link-more {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--primary-color);
  font-size: 0.875rem;
  opacity: 0;
  transition: var(--transition);
}

.quick-link-card:hover .quick-link-more {
  opacity: 1;
}

.quick-link-more svg {
  width: 14px;
  height: 14px;
  margin-left: 0.25rem;
}

/* 新闻卡片 */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.news-card {
  background: var(--bg-white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.news-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

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

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.news-body {
  padding: 1.25rem;
}

.news-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition);
}

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

.news-body p {
  font-size: 0.875rem;
  color: var(--text-gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* CTA区块 */
.cta-section {
  padding: 4rem 0;
  background: var(--primary-color);
  position: relative;
  overflow: hidden;
}

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

.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-section::before {
  top: 0;
  left: 0;
  width: 24rem;
  height: 24rem;
  transform: translate(-50%, -50%);
}

.cta-section::after {
  bottom: 0;
  right: 0;
  width: 20rem;
  height: 20rem;
  transform: translate(33%, 33%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 48rem;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .cta-content h2 {
    font-size: 2.5rem;
  }
}

.cta-content p {
  font-size: 1.125rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: white;
  color: var(--primary-color);
  font-weight: 500;
  border-radius: 9999px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.cta-btn:hover {
  background: #f3f4f6;
}

.cta-btn svg {
  width: 18px;
  height: 18px;
}

/* 页脚 */
.footer {
  background: linear-gradient(to bottom, #111827, #030712);
  color: white;
}

.footer-main {
  padding: 4rem 0;
}

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

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

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

.footer-brand {
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 4;
    margin-bottom: 0;
  }
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.footer-logo .logo-icon span {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: serif;
}

.footer-logo-text .name {
  font-size: 1.25rem;
  font-weight: bold;
}

.footer-logo-text .en {
  font-size: 0.625rem;
  color: #6b7280;
}

.footer-desc {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: var(--transition);
}

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

.footer-contact-btn svg {
  width: 14px;
  height: 14px;
}

.footer-nav {
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-nav {
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .footer-nav {
    grid-column: span 2;
  }
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #9ca3af;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-link svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  margin-left: -1rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.footer-link:hover svg {
  opacity: 1;
  margin-left: 0;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .footer-contact-list {
    grid-column: span 3;
  }
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #9ca3af;
}

.footer-contact-item .icon {
  width: 32px;
  height: 32px;
  background: rgba(196, 30, 58, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.footer-copyright {
  border-top: 1px solid #1f2937;
  padding: 1.5rem 0;
}

.footer-copyright .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

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

.footer-copyright-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-copyright-links .divider {
  display: none;
}

@media (min-width: 768px) {
  .footer-copyright-links .divider {
    display: inline;
  }
}

/* 返回顶部 */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* 屏幕阅读器专用 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 跳转链接 */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border-radius: 0.5rem;
  z-index: 9999;
  clip: auto;
  white-space: normal;
}
