/* 泰栖舍官网全局样式 */
:root {
  --primary: #003c96;
  --primary-dark: #002b6b;
  --accent: #e85d04;
  --accent-light: #f48c06;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #f8fafc;
  --bg-dark: #00203f;
  --white: #ffffff;
  --gray: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

/* 单行副标题：桌面端强制一行，窄屏自动换行 */
.subtitle-nowrap {
  white-space: nowrap;
  max-width: none;
}

@media (max-width: 768px) {
  .subtitle-nowrap {
    white-space: normal;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(232, 93, 4, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(232, 93, 4, 0.4);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

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

/* 顶部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 14px 0;
}

.header.scrolled .logo-text,
.header.scrolled .nav-link {
  color: var(--primary);
}

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

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
  position: relative;
}

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

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--accent);
}

.nav-cta {
  margin-left: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.header.scrolled .mobile-toggle {
  color: var(--primary);
}

/* 首屏 Banner */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: contrast(1.08) saturate(1.12) brightness(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 60, 150, 0.5), rgba(0, 60, 150, 0.22));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 140px 20px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(0, 30, 60, 0.65), 0 1px 3px rgba(0, 30, 60, 0.5);
}

.hero-title span {
  color: var(--accent-light);
}

.hero-desc {
  font-size: 1.25rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 70px;
  flex-wrap: wrap;
}

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

.hero-stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent-light);
}

.hero-stat-label {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-top: 4px;
}

/* 品牌定义 */
.brand-section {
  background: var(--bg);
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.brand-text h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.3;
}

.brand-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.brand-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.brand-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.brand-feature-icon {
  width: 46px;
  height: 46px;
  background: rgba(232, 93, 4, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.brand-feature h4 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.brand-feature p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.brand-media {
  position: relative;
}

.brand-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* 科技创新 */
.tech-section {
  background: var(--primary);
  color: var(--white);
}

.tech-section .section-title {
  color: var(--white);
}

.tech-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  gap: 24px;
  justify-content: center;
}

/* 业务范围：四类一行 */
.tech-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  justify-content: stretch;
}

.tech-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.tech-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-8px);
}

.tech-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.tech-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.tech-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* 应用领域 */
.fields-section {
  background: var(--bg);
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.field-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.field-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.field-card:hover img {
  transform: scale(1.08);
}

.field-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 43, 107, 0.95), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
}

.field-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.field-overlay p {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* 新闻资讯 */
.news-section {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

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

.news-thumb {
  height: 200px;
  overflow: hidden;
}

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

.news-card:hover .news-thumb img {
  transform: scale(1.05);
}

.news-body {
  padding: 22px;
}

.news-meta {
  display: flex;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.news-tag {
  color: var(--accent);
  font-weight: 600;
}

.news-title {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* 新闻卡片：整图可点 + 阅读全文 */
.news-card-link {
  display: block;
  text-decoration: none;
}
.news-read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.news-read-more:hover {
  text-decoration: underline;
}

/* 新闻详情页 */
.news-detail-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.news-detail-h1 {
  font-size: 2rem;
  color: var(--primary);
  margin: 14px 0 24px;
  line-height: 1.4;
}
.news-detail-content {
  color: var(--text);
  line-height: 1.9;
  font-size: 1.05rem;
}
.news-detail-content p {
  margin: 0 0 16px;
}
.news-detail-content h3 {
  margin: 22px 0 10px;
  color: var(--primary);
  font-size: 1.2rem;
}
.news-detail-content ul,
.news-detail-content ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.news-detail-back {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
@media (max-width: 768px) {
  .news-detail-h1 {
    font-size: 1.5rem;
  }
}

.news-detail-cover {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}
.news-detail-content {
  color: var(--text);
  line-height: 1.9;
  font-size: 1rem;
}
.news-detail-content p {
  margin: 0 0 14px;
}
.news-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.4rem;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--primary), #f39c12);
}

/* 页脚 */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* 面包屑 */
.breadcrumb {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 140px 0 60px;
  color: var(--white);
  text-align: center;
}

.breadcrumb h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.breadcrumb nav {
  font-size: 0.95rem;
  opacity: 0.85;
}

.breadcrumb a:hover {
  color: var(--accent-light);
}

/* 内页内容 */
.page-section {
  padding: 80px 0;
}

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

/* 内页 tech-card 浅色背景适配 */
.page-section .tech-card {
  background: var(--white);
  border: 1px solid var(--gray);
  box-shadow: var(--shadow);
}

.page-section .tech-card:hover {
  background: var(--white);
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.page-section .tech-card h3 {
  color: var(--primary);
}

.page-section .tech-card p {
  color: var(--text-light);
}

/* 仅标题的卡片（无内容描述）标题垂直居中 */
.page-section .tech-card h3:last-child {
  margin-bottom: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.content-text h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.content-text p {
  color: var(--text-light);
  margin-bottom: 18px;
}

/* 品牌定义 · 三级递进防护体系 */
.def-levels {
  margin: 6px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.def-level {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid rgba(0, 60, 150, 0.18);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 2px 10px rgba(0, 90, 138, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.def-level:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 90, 138, 0.12);
}

.def-level-badge {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  border-radius: 20px;
  padding: 4px 14px;
  margin-top: 1px;
  letter-spacing: 0.5px;
}

.def-level-badge--1 { background: linear-gradient(135deg, var(--primary), var(--accent-light)); }
.def-level-badge--2 { background: linear-gradient(135deg, #0072b0, var(--primary)); }
.def-level-badge--3 { background: linear-gradient(135deg, var(--accent), #f39c12); }

.def-level-body {
  color: var(--text-light);
  line-height: 1.7;
}

.def-level-body strong {
  color: var(--primary-dark);
}

/* 资质荣誉 */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.honor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}

.honor-card h3 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.honor-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* 合作伙伴 */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.partner-item {
  background: var(--white);
  border-radius: var(--radius);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.partner-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
}

.partner-grid--2 .partner-item {
  padding: 0 24px;
  line-height: 1.5;
  text-align: center;
}

/* 解决方案页 */
.solution-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.solution-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.solution-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.solution-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.solution-body {
  padding: 28px;
}

.solution-body h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.solution-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.solution-tag {
  display: inline-block;
  background: rgba(232, 93, 4, 0.1);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* 产品中心 */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.product-tab {
  padding: 12px 28px;
  border-radius: 50px;
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: none;
}

.product-tab.active,
.product-tab:hover {
  background: var(--accent);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

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

.product-image {
  height: 220px;
  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.05);
}

.product-body {
  padding: 24px;
}

.product-body h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.product-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-specs span {
  background: var(--bg);
  color: var(--text-light);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* 案例展示 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.case-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.case-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 43, 107, 0.95), rgba(0, 43, 107, 0.3));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
  opacity: 0;
  transition: var(--transition);
}

.case-card:hover .case-overlay {
  opacity: 1;
}

.case-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.case-overlay p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* 联系我们 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(232, 93, 4, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.contact-item h4 {
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.1);
}

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

/* 表单提交状态提示 */
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

.form-status.pending {
  display: block;
  background: rgba(0, 60, 150, 0.08);
  color: var(--primary);
}

.form-status.success {
  display: block;
  background: rgba(22, 163, 74, 0.1);
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.form-status.error {
  display: block;
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.25);
}

/* 响应式 */
@media (max-width: 1024px) {
  .fields-grid,
  .news-grid,
  .product-grid,
  .case-grid,
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .solution-list {
    grid-template-columns: 1fr;
  }
  .honor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 90px 30px 30px;
    gap: 8px;
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }
  .nav.open {
    right: 0;
  }
  .nav-link {
    color: var(--primary);
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray);
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 20px;
  }
  .mobile-toggle {
    display: block;
    position: relative;
    z-index: 1100;
  }
  .brand-grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .brand-features,
  .fields-grid,
  .news-grid,
  .product-grid,
  .case-grid,
  .tech-grid,
  .honor-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats {
    gap: 30px;
  }
  .section {
    padding: 70px 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .solution-thumb {
    height: auto;
  }
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}
