/* ============================================================
   四川爱星游网络科技有限公司 · 官网样式
   品牌色沿用「心动CP」：粉 × 紫渐变
   ============================================================ */

:root {
  --pink: #FF8EBC;
  --pink-deep: #FF5C8A;
  --pink-soft: #FFD0E4;
  --purple: #A78BFF;
  --purple-deep: #7C5CFF;
  --peach: #FFC8B4;

  --ink: #2B2338;
  --ink-2: #5C526B;
  --ink-3: #8B8299;
  --line: #F0E7F7;
  --card: #FFFFFF;
  --bg: #FFFAFB;
  --bg-soft: #FFF5F9;

  --grad-main: linear-gradient(135deg, #FFB8D4 0%, #FF94BC 35%, #CBB4FF 100%);
  --grad-pink: linear-gradient(135deg, #FFD0E4 0%, #FF9EC0 100%);
  --grad-purple: linear-gradient(135deg, #D8C8FF 0%, #A78BFF 100%);
  --grad-text: linear-gradient(120deg, #FF5C8A 0%, #FF8EBC 45%, #8B6BFF 100%);

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(160, 120, 180, .08);
  --shadow-md: 0 10px 30px rgba(160, 120, 180, .12);
  --shadow-lg: 0 20px 50px rgba(160, 120, 180, .18);

  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
               "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 92, 138, .34);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(255, 92, 138, .42); }

.btn-ghost {
  background: #fff;
  color: var(--purple-deep);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { box-shadow: var(--shadow-md); }

.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-block { width: 100%; margin-top: 22px; }

/* ============================================================
   顶部导航
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 4px 24px rgba(160, 120, 180, .10);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 14px;
  background: var(--grad-main);
  box-shadow: 0 6px 18px rgba(255, 92, 138, .32);
  flex-shrink: 0;
}
.brand-logo svg { width: 22px; height: 22px; fill: #fff; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: .5px; }
.brand-sub { font-size: 11px; color: var(--ink-3); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--pink-deep); background: #FFF0F6; }
.nav-links a.active { color: var(--pink-deep); background: #FFE9F2; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  margin: 0 auto;
  background: var(--purple-deep);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ============================================================
   首屏
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}
.blob-1 { width: 460px; height: 460px; background: #FFB8D4; top: -120px; left: -100px; }
.blob-2 { width: 400px; height: 400px; background: #CBB4FF; bottom: -140px; right: -80px; }
.blob-3 { width: 300px; height: 300px; background: #FFD0E4; top: 40%; left: 45%; opacity: .4; }

.hearts { position: absolute; inset: 0; }
.hearts .heart {
  position: absolute;
  bottom: -40px;
  color: var(--pink);
  opacity: 0;
  animation: heartUp linear infinite;
}
.hearts .heart svg { width: 100%; height: 100%; fill: currentColor; }

@keyframes heartUp {
  0%   { transform: translateY(0) rotate(0deg) scale(.7); opacity: 0; }
  12%  { opacity: .55; }
  85%  { opacity: .35; }
  100% { transform: translateY(-105vh) rotate(28deg) scale(1.05); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink-deep);
  background: rgba(255, 255, 255, .75);
  border: 1.5px solid var(--pink-soft);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.hero-badge svg { width: 15px; height: 15px; fill: currentColor; }

.hero-title {
  margin: 24px 0 20px;
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -1px;
}

.hero-desc {
  max-width: 540px;
  font-size: 17px;
  color: var(--ink-2);
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}
.hero-meta span {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.hero-meta b { color: var(--pink-deep); margin-right: 4px; }

/* ---------- 首屏视觉：CP 配对 ---------- */
.hero-visual { display: flex; justify-content: center; }

.cp-pair {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  position: absolute;
  width: 88%; height: 88%;
  border: 2px dashed rgba(167, 139, 255, .35);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.orbit-2 {
  width: 62%; height: 62%;
  border-color: rgba(255, 142, 188, .4);
  animation: spin 18s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cp-avatar {
  position: relative;
  width: 116px; height: 116px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.cp-avatar svg { width: 60px; height: 60px; }
.avatar-a { background: var(--grad-pink); color: #fff; margin-right: -14px; animation: floatA 5s ease-in-out infinite; }
.avatar-b { background: var(--grad-purple); color: #fff; margin-left: -14px; animation: floatB 5s ease-in-out infinite; }

@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.cp-heart {
  position: relative;
  z-index: 3;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(255, 92, 138, .35);
  animation: heartbeat 1.8s ease-in-out infinite;
}
.cp-heart svg { width: 30px; height: 30px; fill: var(--pink-deep); }

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.14); }
  30% { transform: scale(1); }
  45% { transform: scale(1.10); }
  60% { transform: scale(1); }
}

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  animation: floatCard 4.5s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14px; font-weight: 800; }
.float-card i { display: block; font-size: 12px; font-style: normal; color: var(--ink-3); }

.card-1 { top: 12%; right: -6px; }
.card-2 { bottom: 14%; left: -10px; animation-delay: 1.2s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.fc-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grad-pink);
  flex-shrink: 0;
  position: relative;
}
.fc-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 92, 138, .35);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.7); opacity: 0; }
}

.fc-capsule {
  width: 34px; height: 20px;
  border-radius: var(--r-pill);
  background: var(--grad-purple);
  flex-shrink: 0;
  position: relative;
}
.fc-capsule::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 2px; height: 20px;
  background: rgba(255, 255, 255, .6);
}

/* ---------- 滚动提示 ---------- */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(139, 107, 255, .4);
  border-radius: var(--r-pill);
  z-index: 2;
}
.scroll-hint span {
  display: block;
  width: 4px; height: 8px;
  margin: 7px auto 0;
  background: var(--purple);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(16px); opacity: 0; }
}

/* ============================================================
   通用区块
   ============================================================ */
.section { padding: 104px 0; position: relative; }
.section-soft { background: linear-gradient(180deg, #FFF5F9 0%, #FAF4FF 100%); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-deep);
  background: #F3EDFF;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}

.section-desc { font-size: 16px; color: var(--ink-2); }

/* ---------- 关于我们 ---------- */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-text p {
  font-size: 16px;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.about-list { margin-top: 28px; display: grid; gap: 14px; }
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.about-list svg {
  width: 22px; height: 22px;
  fill: #fff;
  padding: 4px;
  border-radius: 50%;
  background: var(--grad-main);
  flex-shrink: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; fill: #fff; }
.fi-pink { background: var(--grad-pink); }
.fi-purple { background: var(--grad-purple); }
.fi-blue { background: linear-gradient(135deg, #B9D8FF 0%, #7FA8FF 100%); }
.fi-peach { background: linear-gradient(135deg, #FFD8C4 0%, #FFAE94 100%); }

.feature-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--ink-2); }

/* ---------- 产品服务 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-main);
  opacity: 0;
  transition: opacity .3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.product-card:hover::before { opacity: 1; }

.pc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }

.pc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFF0F6 0%, #F3EDFF 100%);
  color: var(--pink-deep);
}
.pc-icon svg { width: 26px; height: 26px; }

.pc-no {
  font-size: 30px;
  font-weight: 900;
  color: rgba(167, 139, 255, .22);
  line-height: 1;
}

.product-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }

.pc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-tags span {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-deep);
  background: #F5F0FF;
  border-radius: var(--r-pill);
}

/* ---------- 数据 ---------- */
.stats-band {
  padding: 76px 0;
  background: var(--grad-main);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
}
.stat-num i { font-style: normal; font-size: .5em; margin-left: 2px; }
.stat-label { margin-top: 8px; font-size: 15px; opacity: .92; }

/* ---------- 企业文化 ---------- */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.culture-card {
  position: relative;
  padding: 34px 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.culture-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.culture-no {
  display: block;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .5;
  margin-bottom: 16px;
}
.culture-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.culture-card p { font-size: 14px; color: var(--ink-2); }

/* ---------- 发展历程 ---------- */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px; bottom: 8px; left: 9px;
  width: 2px;
  background: linear-gradient(180deg, var(--pink-soft) 0%, var(--purple) 100%);
}

.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -40px; top: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--pink);
  box-shadow: 0 0 0 5px rgba(255, 142, 188, .16);
}

.tl-year {
  display: inline-block;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--grad-main);
  border-radius: var(--r-pill);
  margin-bottom: 10px;
}

.tl-content {
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.tl-content h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.tl-content p { font-size: 14px; color: var(--ink-2); }

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: start;
}

.contact-info { display: grid; gap: 16px; }

.ci-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.ci-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }

.ci-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFF0F6 0%, #F3EDFF 100%);
  flex-shrink: 0;
}
.ci-icon svg { width: 24px; height: 24px; fill: var(--purple-deep); }
.ci-item b { display: block; font-size: 15px; font-weight: 800; }
.ci-item i { display: block; font-size: 14px; font-style: normal; color: var(--ink-3); }
.ci-item i a { color: var(--purple-deep); font-weight: 600; transition: color .2s; }
.ci-item i a:hover { color: var(--pink-deep); text-decoration: underline; }

.contact-card {
  padding: 44px 34px;
  text-align: center;
  color: #fff;
  background: var(--grad-main);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 44px rgba(255, 92, 138, .30);
}
.cc-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px; height: 66px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}
.cc-heart svg { width: 32px; height: 32px; fill: #fff; }
.contact-card h3 { font-size: 21px; font-weight: 900; margin-bottom: 10px; }
.contact-card p { font-size: 15px; opacity: .95; }
.contact-card .btn-primary {
  background: #fff;
  color: var(--pink-deep);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .10);
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  padding: 60px 0 34px;
  background: linear-gradient(180deg, #FFF5F9 0%, #F6EFFF 100%);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(167, 139, 255, .18);
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand b { display: block; font-size: 16px; font-weight: 800; }
.footer-brand i { display: block; font-size: 13px; font-style: normal; color: var(--ink-3); }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-links a {
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  transition: color .2s, background .2s;
}
.footer-links a:hover { color: var(--pink-deep); background: #fff; }

.footer-bottom { padding-top: 24px; text-align: center; }
.icp {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: .5px;
}
.copyright { margin-top: 6px; font-size: 13px; color: var(--ink-3); }

/* ============================================================
   滚动动画
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation: none !important; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .product-grid, .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .cp-pair { max-width: 360px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 76px; left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: all .28s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero { min-height: auto; padding: 110px 0 70px; }
  .container { padding: 0 18px; }
  .section { padding: 72px 0; }

  .feature-grid, .product-grid, .culture-grid, .stats-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 32px; }

  .card-1 { right: 0; }
  .card-2 { left: 0; }
  .scroll-hint { display: none; }

  .footer-top { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 420px) {
  .product-grid, .culture-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .cp-avatar { width: 92px; height: 92px; }
  .cp-avatar svg { width: 48px; height: 48px; }
  .cp-heart { width: 52px; height: 52px; }
  .cp-heart svg { width: 25px; height: 25px; }
}

/* 锚点滚动偏移，避免被固定导航栏遮挡 */
section[id] { scroll-margin-top: 90px; }
