/* ============================================
   聚米 Jumy 官网
   风格: 简约 · 排版主导 · 液态玻璃（毛玻璃仅作点缀）
   品牌色: #4ABDDC / 深色 #2985AE
   文字: #1d1d1f 主 / #6e6e73 次（Apple 灰阶）
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1d1d1f;
  background: #fbfbfd;
}

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

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

/* --- 环境底色：极淡的品牌色光，供玻璃元素折射 --- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 82% 6%, rgba(74, 189, 220, 0.13), transparent 65%),
    radial-gradient(720px 520px at 10% 38%, rgba(116, 158, 235, 0.08), transparent 65%),
    radial-gradient(600px 420px at 68% 96%, rgba(74, 189, 220, 0.07), transparent 60%);
}

/* --- 导航：液态玻璃条 --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 251, 253, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: block;
}

.brand-name {
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: 0.01em;
}

.brand-en {
  font-weight: 400;
  color: #6e6e73;
}

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

.nav-links a {
  font-size: 14px;
  color: #424245;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1d1d1f;
}

/* --- Hero：排版主导 --- */
.hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 168px 22px 120px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 15px;
  font-weight: 500;
  color: #2985AE;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(42px, 7.4vw, 68px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #1d1d1f;
}

.hero-sub {
  font-size: clamp(17px, 2.3vw, 21px);
  line-height: 1.65;
  color: #6e6e73;
  margin: 26px auto 0;
  max-width: 620px;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-note {
  font-size: 13px;
  color: #86868b;
}

/* --- 按钮：玻璃胶囊 --- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  background: rgba(41, 133, 174, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 980px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 24px rgba(41, 133, 174, 0.24);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: rgba(41, 133, 174, 1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 28px rgba(41, 133, 174, 0.3);
}

/* --- 功能区：玻璃卡片，无图标 --- */
.features {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px 120px;
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  text-align: center;
  margin-bottom: 48px;
}

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

.card {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  padding: 30px 30px 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 16px 40px rgba(29, 29, 31, 0.05);
}

.card h3 {
  font-size: 19px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.card p {
  font-size: 15px;
  line-height: 1.7;
  color: #515154;
}

/* --- 联系区 --- */
.contact {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px 140px;
  text-align: center;
}

.contact .section-title {
  margin-bottom: 14px;
}

.contact p {
  font-size: 16px;
  color: #6e6e73;
  margin-bottom: 22px;
}

.mail-link {
  font-size: clamp(19px, 3vw, 24px);
  font-weight: 500;
  color: #2985AE;
  border-bottom: 1px solid rgba(41, 133, 174, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.mail-link:hover {
  border-color: #2985AE;
}

/* --- 页脚：小字号，细分割线 --- */
.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(251, 251, 253, 0.8);
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: #86868b;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: #515154;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #1d1d1f;
}

/* --- 法务页（隐私 / 条款） --- */
.legal-page {
  min-height: 100vh;
  padding-top: 52px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 22px 96px;
}

.legal-content h1 {
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  margin-bottom: 8px;
  line-height: 1.25;
}

.last-updated {
  font-size: 14px;
  color: #86868b;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  font-size: 21px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 36px 0 12px;
}

.legal-section h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 22px 0 8px;
}

.legal-section p {
  font-size: 15px;
  color: #424245;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section ul,
.legal-section ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-section li {
  font-size: 15px;
  color: #424245;
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-section strong {
  color: #1d1d1f;
  font-weight: 600;
}

.legal-section a {
  color: #2985AE;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* --- 响应式 --- */
@media (max-width: 700px) {
  .hero {
    padding: 128px 22px 88px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .features,
  .contact {
    padding-bottom: 88px;
  }

  .nav-links {
    gap: 20px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .legal-content h1 {
    font-size: 28px;
  }

  .legal-section h2 {
    font-size: 19px;
  }
}

/* 老浏览器不支持 backdrop-filter 时退化为实底，内容依然可读 */
@supports not (backdrop-filter: blur(1px)) {
  .nav,
  .footer {
    background: #fbfbfd;
  }

  .card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
  }
}

::selection {
  background: rgba(74, 189, 220, 0.25);
  color: #1d1d1f;
}
