@charset "utf-8";
/* 全局重置 + 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Roboto', sans-serif; /* 现代无衬线字体 */
}
html {
  scroll-behavior: smooth; /* 平滑滚动，提升体验 */
}
body {
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.6;
}
/* 容器样式（自适应） */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* 按钮样式（现代化） */
.btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: #2563eb; /* 主色调：科技蓝 */
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}
.btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}
/* 标题样式 */
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1e293b;
}
h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e293b;
}
h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #1e293b;
}
p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #475569;
}
/* 卡片样式（现代化） */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 24px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
/* 响应式断点（手机适配） */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  .btn {
    padding: 8px 18px;
    font-size: 14px;
  }
}

/* 头部样式（自适应） */
.page-header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}
.page-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span {
  color: #1e293b;
}
/* 导航样式（桌面端） */
.nav {
  display: flex;
  gap: 24px;
}
.nav a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}
.nav a:hover,
.nav a.active {
  color: #2563eb;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #2563eb;
  transition: width 0.3s ease;
}
.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}
/* 汉堡菜单（移动端） */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background-color: #1e293b;
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* 移动端导航展开样式 */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    left: -100%;
    flex-direction: column;
    gap: 16px;
    background-color: #fff;
    width: 100%;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
  }
  .nav.show {
    left: 0;
  }
  .hamburger {
    display: flex;
  }
}

/* 主体内容样式 */
.main {
  padding: 60px 0;
  min-height: calc(100vh - 192px); /* 适配底部，避免内容被遮挡 */
}
/* 首页内容样式 */
.index-banner {
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  border-radius: 16px;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
}
.index-banner p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 24px;
  color: #334155;
}
.index-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

/* 关于我们页面样式 */
.about-content {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-indent: 2em;
}

.about-section {
  margin-bottom: 32px;
}


.about-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}
.about-advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}



/* 商务合作页面样式 */
.cooperation-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.cooperation-process {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}
.process-step {
  text-align: center;
  flex: 1;
  min-width: 200px;
}
.process-step .step-number {
  width: 48px;
  height: 48px;
  background-color: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

/* 联系我们页面样式 */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-form {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #1e293b;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-item i {
  width: 40px;
  height: 40px;
  background-color: #eff6ff;
  color: #2563eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
}

/* 隐私协议页面样式 */
.privacy-content {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-indent: 2em;
}
.privacy-section {
  margin-bottom: 32px;
}
.privacy-section:last-child {
  margin-bottom: 0;
}
/* 🔥 通用响应式图片：居中 + 不超出容器 + 自适应 */
.img-center {
  /* 块级元素 + 自动边距 = 水平居中 */
  display: block;
  margin: 20px auto;
  /* 最大宽度100%：永远不会超出父容器宽度 */
  max-width: 100%;
  /* 高度自适应，不变形 */
  height: auto;
  /* 可选：圆角美化，和网站风格统一 */
  border-radius: 12px;
}

/* 页脚样式（丰富内容） */
.page-footer {
  background-color: #1e293b;
  color: #fff;
  padding: 60px 0 20px;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}
.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.footer-logo span {
  color: #93c5fd;
}
.footer-desc {
  color: #94a3b8;
  margin-bottom: 20px;
}
.footer-links h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}
.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #2563eb;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
}
.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}
.footer-bottom p {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-contact-item {
    justify-content: center;
  }
}/* CSS Document */

