/* ============================================================
   镜见官网 · V2 樱花粉治愈系
   ============================================================ */

:root {
  --sakura-50:  #fff5f7;
  --sakura-100: #ffe4ec;
  --sakura-200: #ffc8d6;
  --sakura-300: #ffa8be;
  --sakura-400: #f07a96;
  --sakura-500: #e0648a;
  --sakura-600: #c44a72;
  --sakura-700: #a3365a;

  --mauve-50:  #f8f4fb;
  --mauve-200: #d8c3e8;
  --mauve-300: #b590cd;
  --mauve-500: #8a5aac;

  --ink-900: #2a1f2e;
  --ink-700: #5b4a62;
  --ink-500: #6b5a74;
  --ink-300: #c9bfd1;

  --surface: #ffffff;
  --surface-soft: #fff9fb;
  --surface-alt: #faf2f6;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 10px rgba(224,100,138,0.06);
  --shadow-md: 0 8px 28px rgba(224,100,138,0.10);
  --shadow-lg: 0 20px 52px rgba(224,100,138,0.16);

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--surface-soft);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- 导航 ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 12px 0;
  background: rgba(255, 249, 251, 0);
  backdrop-filter: blur(0);
  transition: background 0.25s, box-shadow 0.25s, backdrop-filter 0.25s;
}
.nav.scrolled {
  background: rgba(255, 249, 251, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 40px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 17px;
}
.logo-mark {
  width: 34px; height: 34px;
  color: var(--sakura-500);
}
.logo-text { color: var(--ink-900); letter-spacing: 1px; }
.logo-lg { font-size: 20px; }
.logo-lg .logo-mark { width: 40px; height: 40px; }

.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  font-size: 14px; color: var(--ink-700);
  position: relative; padding: 6px 2px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sakura-500); }

.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0648a, #a3365a);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(163, 54, 90, 0.26);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 7px 20px rgba(163, 54, 90, 0.34); }

.nav-burger {
  display: none; margin-left: auto;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; gap: 5px;
  background: transparent; border: none; cursor: pointer;
}
.nav-burger span {
  display: block; height: 2.5px; width: 22px;
  background: var(--ink-700); border-radius: 2px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 80px 28px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fff5f7 0%, #ffe4ec 40%, #faf0f5 70%, #f8f4fb 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px);
  opacity: 0.35;
}
.blob-1 { width: 360px; height: 360px; background: #ffdde5; bottom: -120px; left: -100px; }
.blob-2 { width: 300px; height: 300px; background: #e8d9f0; bottom: -80px; right: -80px; opacity: 0.3; }
.blob-3 { width: 180px; height: 180px; background: #ffccd8; bottom: -60px; left: 50%; opacity: 0.3; transform: translateX(-50%); }

.hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--sakura-200);
  border-radius: 999px;
  font-size: 12.5px; color: var(--sakura-600);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(30px, 5.5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  color: var(--ink-900);
}
.gradient {
  background-image: linear-gradient(135deg, #e0648a, #a3365a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.gradient-purple {
  background-image: linear-gradient(135deg, #8a5aac, #5d3a7f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-desc {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--ink-700); margin-bottom: 36px;
  line-height: 1.8;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
  cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--sakura-400), var(--sakura-600));
  color: #fff;
  box-shadow: 0 6px 20px rgba(224,100,138,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(224,100,138,0.48); }
.btn-ghost {
  background: rgba(255,255,255,0.7);
  color: var(--sakura-600);
  border: 1.5px solid var(--sakura-200);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 18px;
}
.stat { text-align: center; }
.stat-num {
  font-size: 22px; font-weight: 800;
  color: var(--sakura-600); line-height: 1;
}
.stat-label { font-size: 12px; color: var(--ink-500); margin-top: 4px; }
.stat-divider { width: 1px; height: 28px; background: var(--ink-300); }

/* ---- Section 通用 ---- */
.section { padding: 96px 28px; }
.section-alt { background: var(--surface-alt); }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; color: #a3365a;
  padding: 5px 12px;
  background: var(--sakura-100);
  border-radius: 999px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800; color: var(--ink-900);
  margin-bottom: 10px; letter-spacing: 0.5px;
}
.section-sub {
  font-size: clamp(13px, 1.6vw, 15px);
  color: var(--ink-500); max-width: 560px; margin: 0 auto;
}

/* ---- 玩法组 ---- */
.cap-group { margin-bottom: 48px; }
.cap-group:last-child { margin-bottom: 0; }
.cap-group-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700;
  color: var(--sakura-600);
  margin-bottom: 20px; padding-left: 2px;
}
.cap-group-title svg { width: 18px; height: 18px; }

.cap-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.cap-card {
  padding: 24px 18px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(224,100,138,0.08);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex; flex-direction: column;
  word-break: break-word;
}
.cap-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sakura-200);
}
.cap-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sakura-50);
  border-radius: 10px;
  margin-bottom: 14px;
  color: var(--sakura-500);
  flex-shrink: 0;
}
.cap-icon svg { width: 22px; height: 22px; }
.cap-name { font-size: 14.5px; font-weight: 700; color: var(--ink-900); margin-bottom: 4px; }
.cap-desc { font-size: 12px; color: var(--ink-500); line-height: 1.6; overflow-wrap: break-word; }

/* ---- 为什么选镜见 ---- */
.hl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hl-card {
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(224,100,138,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.hl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hl-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--sakura-100), var(--mauve-100));
  border-radius: 12px;
  margin-bottom: 14px;
  color: var(--sakura-500);
}
.hl-icon svg { width: 24px; height: 24px; }
.hl-card h3 {
  font-size: 15px; font-weight: 700; color: var(--ink-900);
  margin-bottom: 8px;
}
.hl-card p {
  font-size: 13px; color: var(--ink-700); line-height: 1.65;
}

/* ---- 四端 ---- */
.end-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.end-card {
  padding: 28px 20px 22px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(224,100,138,0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  text-align: center;
  display: flex; flex-direction: column;
}
.end-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sakura-200);
}
.end-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sakura-50);
  border-radius: 50%;
  color: var(--sakura-500);
}
.end-icon svg { width: 26px; height: 26px; }
.end-name { font-size: 15px; font-weight: 700; color: var(--ink-900); margin-bottom: 6px; }
.end-desc { font-size: 12px; color: var(--ink-500); line-height: 1.6; flex: 1; }
.end-link {
  margin-top: 14px;
  font-size: 12px; font-weight: 600;
  color: var(--sakura-500);
}
.end-link.soon {
  align-self: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(107, 90, 116, 0.10);
  color: var(--ink-500);
  font-weight: 500;
}
/* 未上线的端：不可点，弱化处理 */
.end-card.is-soon {
  cursor: default;
  background: linear-gradient(180deg, #fff, #fdf9fb);
  border-style: dashed;
  border-color: rgba(224, 100, 138, 0.16);
  box-shadow: none;
}
.end-card.is-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(224, 100, 138, 0.16);
}
.end-card.is-soon .end-icon { color: var(--ink-500); background: rgba(107, 90, 116, 0.07); }

/* ---- 反宿命 ---- */
.destiny-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 56px 48px;
  background: linear-gradient(135deg, var(--sakura-50), var(--mauve-50));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  align-items: center;
}
.destiny-text h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800; color: var(--ink-900);
  margin: 10px 0 16px; line-height: 1.35;
}
.destiny-text p {
  font-size: 14px; color: var(--ink-700); line-height: 1.8; margin-bottom: 10px;
}
.destiny-quote {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 3px solid var(--sakura-300);
  color: var(--sakura-700);
  font-weight: 500;
}
.destiny-visual { display: flex; justify-content: center; }
.destiny-circle svg { width: 240px; height: 240px; }

/* ---- Footer ---- */
.footer {
  padding: 56px 28px 32px;
  background: var(--ink-900);
  color: #cfc2d6;
}
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 48px; margin-bottom: 36px;
}
.footer-brand .logo-text { color: #fff; }
.footer-slogan { margin-top: 12px; font-size: 14px; color: #9a8aa3; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: 1px; }
.footer-col a {
  display: block; font-size: 13px; color: #9a8aa3;
  padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--sakura-300); }

.footer-bottom {
  max-width: 1160px; margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: #9a8aa3;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
  .cap-cards { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .cap-cards { grid-template-columns: repeat(3, 1fr); }
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .end-grid { grid-template-columns: repeat(2, 1fr); }
  .destiny-card { grid-template-columns: 1fr; gap: 36px; padding: 48px 32px; }
  .destiny-circle svg { width: 200px; height: 200px; }
  .section { padding: 80px 28px; }
  .hero { padding: 60px 28px; }
}

@media (max-width: 599px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface-soft);
    padding: 18px 28px;
    box-shadow: var(--shadow-md);
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; margin-left: 0; }
  .nav-inner { gap: 12px; padding: 0 20px; }
  .nav-cta { margin-left: auto; padding: 8px 15px; font-size: 13px; }

  .hero { padding: 50px 20px; }
  .hero-stats { gap: 14px; }
  .stat-num { font-size: 20px; }
  .blob-1 { width: 240px; height: 240px; bottom: -80px; left: -60px; }
  .blob-2 { width: 200px; height: 200px; bottom: -60px; right: -60px; }

  .section { padding: 64px 20px; }
  .section-head { margin-bottom: 40px; }
  .cap-group { margin-bottom: 36px; }

  .cap-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cap-card { padding: 20px 16px; }
  .cap-icon { width: 38px; height: 38px; margin-bottom: 12px; }
  .cap-icon svg { width: 20px; height: 20px; }

  .hl-grid { grid-template-columns: 1fr; }
  .hl-card { padding: 24px 20px; }

  .end-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .end-card { padding: 22px 14px 18px; }
  .end-icon { width: 48px; height: 48px; }
  .end-icon svg { width: 22px; height: 22px; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
}
