/* 追觅风格核心样式 - 极简科技风 */
:root {
  --primary: #6366f1;
  /* 主色调-紫蓝渐变 */
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --bg-dark: #0f172a;
  --bg-light: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-white: #f8fafc;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "PingFang SC", "Microsoft Yahei", sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
li {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
}

/* 按钮样式 - 追觅同款渐变按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: var(--text-white);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
}

/* 头部导航 - 追觅悬浮透明样式 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-item a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
}

.nav-item a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-item a:hover::after,
.nav-item a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-light);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    z-index: 9999;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav-list.show {
    right: 0;
  }

  .nav-toggle {
    display: block;
    z-index: 99999;
  }
}

/* 英雄区 - 追觅全屏视觉 */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f4ff 0%, #e6e9ff 100%);
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  height: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-right: 40px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.hero-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img img {
  max-height: 80vh;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
    align-items: center;
  }

  .hero-img img {
    max-height: 50vh;
  }
}

/* 产品模块 - 追觅卡片样式 */
.products-section {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  height: 240px;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-content {
  padding: 24px;
}

.product-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.product-card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

/* 服务模块 - 追觅极简布局 */
.service-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
  color: var(--text-white);
}

.service-section .section-title,
.service-section .section-desc {
  color: var(--text-white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card-icon i {
  font-size: 24px;
  color: var(--primary-light);
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.service-card-desc {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* 新闻模块 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.news-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  height: 200px;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-content {
  padding: 24px;
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.news-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 联系模块 - 追觅表单样式 */
.contact-section {
  background: var(--bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 64px;
}

.contact-info {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-info-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: var(--transition);
  background: #f8fafc;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

/* 底部 - 追觅深色样式 */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  color: #94a3b8;
  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-4px);
}

/* 页面通用样式（关于/产品/新闻/联系） */
.page-hero {
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
  color: white;
  position: relative;
  margin-top: 80px;
}

.page-hero-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
}

.page-content {
  padding: 80px 0;
}

/* 客诉痛点模块样式 */
.pain-section {
  background-color: #f8f9fc;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.pain-card {
  background: #ffffff;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.pain-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.pain-card-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* 移动端自适应适配 */
@media screen and (max-width: 992px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 576px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* 解决方案模块样式 */
.solution-section {
  background-color: #ffffff;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.solution-card {
  background: #ffffff;
  padding: 32px 28px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-top: 3px solid #165DFF;
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(22, 93, 255, 0.12);
}

.solution-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #165DFF;
  margin-bottom: 12px;
}

.solution-card-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.solution-card-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

/* 移动端自适应 */
@media screen and (max-width: 992px) {
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    padding: 24px 20px;
  }
}
