/* ===== 基础重置 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ff7a59;
  --primary-dark: #e85d3a;
  --primary-light: #fff1ec;
  --text: #2d2a2e;
  --text-light: #6b676e;
  --bg: #ffffff;
  --bg-soft: #faf7f5;
  --border: #ece7e3;
  --shadow: 0 8px 30px rgba(45, 42, 46, 0.06);
  --shadow-hover: 0 14px 40px rgba(255, 122, 89, 0.18);
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-light);
  transition: color 0.2s;
}

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

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 122, 89, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 14px 30px rgba(255, 122, 89, 0.45);
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-light:hover {
  background: #fff8f5;
}

/* ===== 首屏 Hero ===== */
.hero {
  text-align: center;
  padding: 110px 24px 100px;
  background: radial-gradient(
      circle at 50% 0%,
      var(--primary-light) 0%,
      transparent 60%
    ),
    var(--bg);
}

.hero-title {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  background: linear-gradient(120deg, var(--text) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--text-light);
  margin-bottom: 40px;
}

/* ===== 通用标题 ===== */
.section-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-desc {
  text-align: center;
  color: var(--text-light);
  font-size: 17px;
  margin-bottom: 56px;
}

/* ===== 特性卡片 ===== */
.features {
  padding: 90px 0;
  background: var(--bg-soft);
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 14px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 15.5px;
}

/* ===== 底部 CTA ===== */
.cta {
  padding: 96px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}

.cta-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 18px;
  opacity: 0.92;
  margin-bottom: 40px;
}

/* ===== 联系页 ===== */
.contact {
  padding: 90px 0;
  text-align: center;
  background: radial-gradient(
      circle at 50% 0%,
      var(--primary-light) 0%,
      transparent 55%
    ),
    var(--bg);
  min-height: calc(100vh - 68px - 80px);
}

.page-title {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-desc {
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 56px;
}

.contact-card {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 52px 36px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.contact-icon {
  font-size: 52px;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.contact-email {
  display: inline-block;
  font-size: 19px;
  color: var(--primary);
  font-weight: 600;
  word-break: break-all;
  transition: color 0.2s;
}

.contact-email:hover {
  color: var(--primary-dark);
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
}

.site-footer p {
  color: var(--text-light);
  font-size: 14px;
}

/* 备案号 */
.beian {
  margin-top: 8px;
}

.beian a {
  color: var(--text-light);
  font-size: 13px;
  transition: color 0.2s;
}

.beian a:hover {
  color: var(--primary);
}

/* ===== 响应式 ===== */
@media (max-width: 860px) {
  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 70px 20px 64px;
  }

  .features,
  .cta,
  .contact {
    padding: 60px 0;
  }

  .feature-card {
    padding: 36px 24px;
  }

  .btn {
    padding: 13px 30px;
    font-size: 15px;
  }
}
