/* 创新万维静态网站样式 */

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background-color: #ffffff;
}

/* 容器 */
.container {
  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;
  }
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #FF2D2D, #CC0000);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
  box-shadow: 0 2px 8px rgba(255, 45, 45, 0.4);
  position: relative;
  overflow: hidden;
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  transition: color 0.3s;
}

.navbar.scrolled .logo-title {
  color: #0f172a;
}

.logo-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.navbar.scrolled .logo-subtitle {
  color: #6b7280;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #FF2D2D;
}

.navbar.scrolled .nav-link {
  color: #374151;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: #FF2D2D;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: linear-gradient(135deg, #FF2D2D, #CC0000);
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 45, 45, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: transparent;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  border: 1px solid white;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .btn-secondary {
  color: #0ea5e9;
  border-color: #0ea5e9;
}

.navbar.scrolled .btn-secondary:hover {
  background: #f0f9ff;
}

/* 移动端菜单 */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

.navbar.scrolled .mobile-menu-btn {
  color: #0f172a;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: #fff0f0;
  color: #FF2D2D;
}

/* Hero 区域 */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
}

.gradient-text {
  background: linear-gradient(135deg, #FF2D2D, #FF6B6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 统计区域 */
.stats {
  padding: 4rem 0;
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #FF2D2D, #CC0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #6b7280;
}

/* 服务区域 */
.services {
  padding: 6rem 0;
  background: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #e0f2fe, #fae8ff);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: #0ea5e9;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.service-card:hover .service-title {
  color: #FF2D2D;
}

.service-description {
  color: #6b7280;
  margin-bottom: 1rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #FF2D2D;
  font-weight: 500;
}

/* 行业区域 */
.industries {
  padding: 6rem 0;
  background: white;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.industry-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  cursor: pointer;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.industry-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #0ea5e9, #d946ef);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 0.3s;
}

.industry-card:hover .industry-icon {
  transform: scale(1.1);
}

.industry-name {
  font-weight: 600;
  color: #0f172a;
}

/* CTA 区域 */
.cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.5rem;
  }
}

.cta-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

/* 页脚 */
.footer {
  background: #0f172a;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #FF2D2D, #CC0000);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(255, 45, 45, 0.4);
}

.footer-description {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #9ca3af;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: #FF2D2D;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: #6b7280;
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: #9ca3af;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: white;
}

/* 页面标题区域 */
.page-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 3rem;
  }
}

.page-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
}

/* 内容区域 */
.content-section {
  padding: 4rem 0;
}

.content-section.alt {
  background: #f9fafb;
}

/* 卡片 */
.card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* 网格布局 */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 特性列表 */
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  background: #fff0f0;
  color: #CC0000;
  font-size: 0.875rem;
  border-radius: 9999px;
}

/* 时间线 */
.timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.timeline-year {
  width: 80px;
  flex-shrink: 0;
  text-align: right;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FF2D2D;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: #FF2D2D;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 4px rgba(255, 45, 45, 0.2);
}

.timeline-dot::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 2rem);
  background: #e0f2fe;
}

.timeline-item:last-child .timeline-dot::after {
  display: none;
}

.timeline-content {
  padding-bottom: 2rem;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.timeline-description {
  color: #6b7280;
}

/* 表单样式 */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #FF2D2D;
  box-shadow: 0 0 0 3px rgba(255, 45, 45, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .radio-group {
    grid-template-columns: repeat(3, 1fr);
  }
}

.radio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.radio-label:hover {
  border-color: #FF2D2D;
}

.radio-input:checked + .radio-label {
  border-color: #FF2D2D;
  background: #fff0f0;
  color: #CC0000;
}

.radio-input {
  display: none;
}

/* 成功消息 */
.success-message {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #FF2D2D, #CC0000);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 45, 45, 0.3);
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* 延迟动画 */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* 工具类 */
.text-center { text-align: center; }
.text-white { color: white; }
.text-gray { color: #6b7280; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }

/* ============================================
   额外的响应式优化 - 手机和平板适配
   ============================================ */

/* 小屏幕手机优化 (小于 480px) */
@media (max-width: 480px) {
  /* 导航栏 */
  .navbar-content {
    height: 64px;
  }
  
  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .logo-title {
    font-size: 1rem;
  }
  
  .logo-subtitle {
    font-size: 0.625rem;
  }
  
  /* Hero 区域 */
  .hero {
    padding-top: 64px;
    min-height: auto;
    padding-bottom: 4rem;
  }
  
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.3;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  /* 统计数据 */
  .stats {
    padding: 2rem 0;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  /* 服务卡片 */
  .services {
    padding: 3rem 0;
  }
  
  .service-card {
    padding: 1.25rem;
  }
  
  .service-header {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .service-icon {
    width: 48px;
    height: 48px;
  }
  
  /* 行业卡片 */
  .industries {
    padding: 3rem 0;
  }
  
  .industry-card {
    padding: 1.5rem 1rem;
  }
  
  .industry-icon {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }
  
  /* 页面标题 */
  .page-header {
    padding: 6rem 0 3rem;
  }
  
  .page-title {
    font-size: 1.75rem !important;
  }
  
  .page-description {
    font-size: 1rem;
  }
  
  /* 内容区域 */
  .content-section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.5rem !important;
  }
  
  /* 卡片 */
  .card {
    padding: 1.25rem;
  }
  
  /* CTA 区域 */
  .cta {
    padding: 3rem 0;
  }
  
  .cta-title {
    font-size: 1.5rem !important;
  }
  
  .cta-description {
    font-size: 1rem;
  }
  
  /* 页脚 */
  .footer {
    padding: 2.5rem 0 1.5rem;
  }
  
  .footer-grid {
    gap: 2rem;
  }
  
  .footer-logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  /* 时间线 */
  .timeline-item {
    gap: 1rem;
  }
  
  .timeline-year {
    width: 60px;
    font-size: 1.125rem;
  }
  
  /* 表单 */
  .form-group {
    margin-bottom: 1rem;
  }
  
  /* 团队卡片 */
  .grid-3 .card {
    padding: 1.25rem;
  }
  
  /* 特性标签 */
  .feature-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  
  /* 网格布局调整 */
  .grid-2,
  .grid-3,
  .grid-4 {
    gap: 1rem;
  }
}

/* 平板优化 (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .hero-title {
    font-size: 2.25rem !important;
  }
  
  .page-title {
    font-size: 2rem !important;
  }
  
  .section-title {
    font-size: 1.75rem !important;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 平板横屏优化 (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title {
    font-size: 2.75rem !important;
  }
  
  .page-title {
    font-size: 2.5rem !important;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  .card:hover,
  .service-card:hover,
  .industry-card:hover {
    transform: none;
  }
  
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
  
  /* 增大触摸目标 */
  .nav-link,
  .footer-link,
  .mobile-nav-link {
    padding: 0.75rem 0;
  }
  
  .btn-primary,
  .btn-secondary {
    min-height: 44px;
  }
}

/* 横屏手机优化 */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 5rem 0 3rem;
  }
  
  .hero-title {
    font-size: 1.75rem !important;
  }
  
  .page-header {
    padding: 5rem 0 2rem;
  }
}

/* 防止文本溢出 */
body {
  overflow-x: hidden;
  word-wrap: break-word;
}

/* 图片响应式 */
img {
  max-width: 100%;
  height: auto;
}

/* 表格响应式 */
@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* 打印样式 */
@media print {
  .navbar,
  .mobile-menu-btn,
  .cta,
  .footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .page-header {
    padding: 2rem 0;
    background: white;
    color: black;
  }
  
  .page-title {
    color: black !important;
  }
}
