/* 全局样式 */
:root {
  --primary-color: #1a2332;
  --primary-light: #2d3e50;
  --secondary-color: #ff6b35;
  --secondary-light: #ff8c61;
  --accent-color: #00b4d8;
  --accent-light: #48cae4;
  --success-color: #06d6a0;
  --text-color: #2b2d42;
  --text-light: #6c757d;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-primary: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
  --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;
  line-height: 1.8;
  color: var(--text-color);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

.logo h1 {
  font-size: 1.4rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-secondary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.nav-links a:hover::after {
  width: 100%;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* 首页横幅样式 */
.hero {
  height: 100vh;
  background: linear-gradient(
      135deg,
      rgba(26, 35, 50, 0.85) 0%,
      rgba(45, 62, 80, 0.75) 100%
    ),
    url("./static/mentou1.jpg") center/cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding-top: 85px;
  position: relative;
  overflow: hidden;

  @media (max-width: 768px) {
    background: linear-gradient(
        135deg,
        rgba(26, 35, 50, 0.85) 0%,
        rgba(45, 62, 80, 0.75) 100%
      ),
      url("./static/mentou2.jpg") center/cover;
  }
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 50%,
      rgba(255, 107, 53, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(0, 180, 216, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
  font-size: 4rem;
  margin-bottom: 25px;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.6rem;
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 800px;
}

.cta-button {
  display: inline-block;
  padding: 18px 50px;
  background: var(--gradient-secondary);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.5);
}

.hero-links {
  margin-top: auto;
}

.hero-link {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  opacity: 0.9;
  transition: all 0.3s ease;
  padding: 10px 25px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  backdrop-filter: blur(5px);
}

.hero-link:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* 章节通用样式 */
.section {
  padding: 120px 0;
  position: relative;
}

.section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 70px;
  color: var(--primary-color);
  font-weight: 700;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.section h2::before {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
  opacity: 0.3;
}

.bg-light {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* 关于我们样式 */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  margin-bottom: 25px;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-light);
}

.about-qr-codes {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  justify-content: flex-start;
}

.about-qr-item {
  text-align: center;
  background: var(--white);
  padding: 20px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.about-qr-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.about-qr-item img {
  width: 130px;
  height: 130px;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.about-qr-item p {
  color: var(--primary-color);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  border-radius: 15px;
  opacity: 0.1;
  z-index: -1;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}

.about-image:hover img {
  transform: scale(1.02);
}

/* 核心业务样式 */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.business-card {
  background: var(--white);
  padding: 45px 35px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.business-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-secondary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.business-card:hover::before {
  transform: scaleX(1);
}

.business-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary-light);
}

.business-card i {
  font-size: 3.5rem;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  display: inline-block;
  transition: transform 0.4s ease;
}

.business-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

.business-card h3 {
  margin-bottom: 25px;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.business-card ul {
  list-style: none;
  text-align: left;
}

.business-card ul li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}

.business-card ul li:before {
  content: "✓";
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2rem;
}

/* 创新实力样式 */
.innovation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.innovation-card {
  background: var(--white);
  padding: 45px 35px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.innovation-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-3);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.innovation-card:hover::before {
  transform: scaleX(1);
}

.innovation-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-light);
}

.innovation-card i {
  font-size: 3.5rem;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  display: inline-block;
  transition: transform 0.4s ease;
}

.innovation-card:hover i {
  transform: scale(1.1) rotate(-5deg);
}

.innovation-card h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.innovation-card p {
  color: var(--text-light);
  line-height: 1.9;
  font-size: 1rem;
}

.qr-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 249, 250, 0.98) 100%
  );
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.4s ease;
  padding: 20px;
}

.innovation-card:hover .qr-overlay {
  opacity: 1;
}

.qr-overlay img {
  width: 160px;
  height: 160px;
  margin-bottom: 15px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.qr-overlay:hover img {
  transform: scale(1.05);
}

.qr-overlay p {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
}

/* 社会责任样式 */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.social-card {
  background: linear-gradient(135deg, var(--white) 0%, #fafbfc 100%);
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.social-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(6, 214, 160, 0.1) 0%,
    transparent 70%
  );
  transition: all 0.6s ease;
  opacity: 0;
}

.social-card:hover::after {
  opacity: 1;
  top: -25%;
  right: -25%;
}

.social-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--success-color);
}

.social-card i {
  font-size: 3.5rem;
  background: linear-gradient(135deg, #06d6a0 0%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  display: inline-block;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.social-card:hover i {
  transform: scale(1.15);
}

.social-card h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.social-card p {
  color: var(--text-light);
  line-height: 1.9;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

/* 运营优势样式 */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.advantage-card {
  background: var(--white);
  padding: 45px 35px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.advantage-card:hover::before {
  transform: scaleX(1);
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-light);
}

.advantage-card i {
  font-size: 3.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  display: inline-block;
  transition: transform 0.4s ease;
}

.advantage-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

.advantage-card h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.advantage-card p {
  color: var(--text-light);
  line-height: 1.9;
  font-size: 1rem;
}

/* 发展愿景样式 */
.vision-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.vision-content p {
  margin-bottom: 50px;
  font-size: 1.2rem;
  line-height: 2.2;
  color: var(--text-light);
  padding: 30px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 249, 250, 0.9) 100%
  );
  border-radius: 15px;
  border-left: 5px solid var(--secondary-color);
  box-shadow: var(--shadow-sm);
}

.vision-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.vision-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1) 0%,
    rgba(0, 180, 216, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.vision-image:hover::before {
  opacity: 1;
}

.vision-image img {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.6s ease;
  display: block;
}

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

/* 联系我们样式 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  background: linear-gradient(135deg, var(--white) 0%, #fafbfc 100%);
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.contact-info:hover {
  border-color: var(--secondary-light);
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.contact-info h3 {
  margin-bottom: 30px;
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

.contact-info p {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: var(--text-color);
  padding: 15px;
  background: var(--white);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-info p:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-sm);
}

.contact-info i {
  margin-right: 15px;
  color: var(--secondary-color);
  font-size: 1.3rem;
  width: 30px;
  text-align: center;
}

.contact-form form {
  display: grid;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.submit-button {
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* 页脚样式 */
.footer {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 70px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-secondary);
}

.footer::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.footer-info h3,
.footer-links h3,
.footer-social h3 {
  margin-bottom: 25px;
  font-size: 1.3rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.footer-info h3::after,
.footer-links h3::after,
.footer-social h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.footer-info p {
  opacity: 0.9;
  line-height: 1.8;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  opacity: 0.9;
  transition: all 0.3s ease;
  padding-left: 0;
  position: relative;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-light);
  opacity: 1;
  padding-left: 20px;
}

.footer-links a:hover::before {
  left: 0;
  opacity: 1;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  color: var(--white);
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.social-icons a:hover {
  background: var(--gradient-secondary);
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  margin-bottom: 10px;
}

.footer-bottom a {
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--secondary-light) !important;
  text-decoration: underline;
}

/* 平板优化 */
@media (max-width: 1024px) and (min-width: 769px) {
  .logo h1 {
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

  .section h2 {
    font-size: 2.5rem;
  }

  .business-grid,
  .innovation-grid,
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  /* 防止横向滚动 */
  * {
    max-width: 100%;
  }

  .container {
    padding: 0 15px;
  }

  /* 移动端菜单 */
  .mobile-menu-toggle {
    display: flex;
  }

  .navbar .container {
    height: 70px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    gap: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    width: 100%;
  }

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

  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links a {
    display: block;
    padding: 15px 20px;
    font-size: 1.05rem;
  }

  .nav-links a::after {
    display: none;
  }

  .logo h1 {
    font-size: 1rem;
    letter-spacing: 0;
    word-break: keep-all;
    white-space: normal;
    line-height: 1.3;
    max-width: 200px;
  }

  .hero {
    background: linear-gradient(
        135deg,
        rgba(26, 35, 50, 0.85) 0%,
        rgba(45, 62, 80, 0.75) 100%
      ),
      url("./static/mentou2.jpg") center/cover;
    background-attachment: scroll;
    padding-top: 70px;
    min-height: 100vh;
    height: auto;
  }

  .hero .container {
    padding: 60px 15px 40px;
    width: 100%;
    gap: 30px;
  }

  .hero-content {
    gap: 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    word-break: keep-all;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 10px;
    word-break: keep-all;
    margin-bottom: 25px;
  }

  .cta-button {
    padding: 14px 30px;
    font-size: 0.95rem;
    margin-bottom: 0;
  }

  .hero-links {
    margin-top: 30px;
    padding-bottom: 20px;
  }

  .hero-link {
    font-size: 0.95rem;
    padding: 10px 25px;
    display: inline-block;
  }

  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-text {
    width: 100%;
    overflow-wrap: break-word;
  }

  .about-text p {
    font-size: 0.95rem;
    word-break: break-word;
  }

  .about-qr-codes {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .about-qr-item {
    padding: 15px;
    flex: 0 0 auto;
  }

  .about-qr-item img {
    width: 100px;
    height: 100px;
  }

  .about-image {
    width: 100%;
  }

  .about-image::before {
    top: -10px;
    right: -10px;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  .section {
    padding: 50px 0;
    width: 100%;
    overflow: hidden;
  }

  .section h2 {
    font-size: 1.6rem;
    margin-bottom: 35px;
    padding: 0 15px;
    word-break: keep-all;
    white-space: normal;
  }

  .section h2::after {
    width: 50px;
  }

  .section h2::before {
    width: 80px;
  }

  .business-grid,
  .innovation-grid,
  .social-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }

  .business-card,
  .innovation-card,
  .social-card,
  .advantage-card {
    padding: 25px 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .business-card h3,
  .innovation-card h3,
  .social-card h3,
  .advantage-card h3 {
    font-size: 1.25rem;
    word-break: keep-all;
  }

  .business-card i,
  .innovation-card i,
  .social-card i,
  .advantage-card i {
    font-size: 2.8rem;
  }

  .business-card ul {
    width: 100%;
  }

  .business-card ul li {
    font-size: 0.9rem;
    word-break: break-word;
  }

  .innovation-card p,
  .social-card p,
  .advantage-card p {
    font-size: 0.9rem;
    word-break: break-word;
  }

  .qr-overlay {
    padding: 15px;
  }

  .qr-overlay img {
    width: 130px;
    height: 130px;
  }

  .qr-overlay p {
    font-size: 0.9rem;
  }

  .vision-content {
    padding: 0;
    width: 100%;
  }

  .vision-content p {
    font-size: 0.95rem;
    padding: 20px 15px;
    line-height: 1.9;
    word-break: break-word;
  }

  .vision-image {
    width: 100%;
  }

  .vision-image img {
    width: 100%;
    height: auto;
  }

  .contact-grid {
    width: 100%;
    padding: 0;
  }

  .contact-info {
    padding: 25px 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-info h3 {
    font-size: 1.4rem;
  }

  .contact-info p {
    font-size: 0.95rem;
    padding: 10px;
    word-break: break-word;
    flex-wrap: wrap;
  }

  .contact-info i {
    font-size: 1rem;
    flex-shrink: 0;
  }

  .footer {
    padding: 40px 0 20px;
    width: 100%;
  }

  .footer-content {
    gap: 30px;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .footer-info,
  .footer-links,
  .footer-social {
    width: 100%;
  }

  .footer-info h3,
  .footer-links h3,
  .footer-social h3 {
    font-size: 1.15rem;
  }

  .footer-info p {
    word-break: break-word;
  }

  .social-icons {
    justify-content: center;
  }

  .social-icons a {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
  }

  .footer-bottom {
    font-size: 0.85rem;
    word-break: break-word;
    padding: 20px 15px 0;
  }

  .footer-bottom p,
  .footer-bottom a {
    word-break: break-word;
  }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
  .navbar .container {
    height: 65px;
  }

  .logo h1 {
    font-size: 0.85rem;
    max-width: 180px;
  }

  .mobile-menu-toggle {
    padding: 5px;
  }

  .mobile-menu-toggle span {
    width: 22px;
    height: 2.5px;
  }

  .nav-links {
    top: 65px;
    max-height: calc(100vh - 65px);
  }

  .hero {
    padding-top: 65px;
  }

  .hero .container {
    padding: 50px 15px 30px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .cta-button {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .hero-link {
    font-size: 0.9rem;
    padding: 8px 20px;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  .business-card,
  .innovation-card,
  .social-card,
  .advantage-card {
    padding: 20px 15px;
  }

  .about-qr-item img {
    width: 90px;
    height: 90px;
  }

  .qr-overlay img {
    width: 120px;
    height: 120px;
  }
}
