/* ===== Lanerc 官网样式 =====
   配色来源：App Logo（浅蓝 #6FB1E8 × 樱粉 #F6B8D0） */

:root {
  --blue: #6fb1e8;
  --blue-deep: #4a8fd4;
  --pink: #f6b8d0;
  --pink-deep: #ef8fb6;
  --ink: #2b3245;
  --ink-soft: #6b7280;
  --bg: #f6f9fd;
  --card: #ffffff;
  --grad: linear-gradient(120deg, var(--blue) 0%, var(--pink) 100%);
  --shadow: 0 12px 40px rgba(111, 177, 232, 0.18);
  --radius: 20px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(111, 177, 232, 0.15);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 6px 24px rgba(111, 177, 232, 0.15); }

.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad);
  box-shadow: 0 4px 14px rgba(111, 177, 232, 0.35);
  object-fit: cover;
}
.brand-name {
  font-size: 22px; font-weight: 800; letter-spacing: 0.5px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink); transition: color 0.25s; }
.nav-links a:hover { color: var(--blue-deep); }
.nav-cta {
  padding: 9px 22px; border-radius: 999px;
  background: var(--grad); color: #fff !important;
  box-shadow: 0 6px 18px rgba(239, 143, 182, 0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(239, 143, 182, 0.5); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2.5px; border-radius: 2px;
  background: var(--ink); transition: 0.3s;
}

/* ---------- 首屏 Hero ---------- */
.hero { position: relative; padding: 160px 0 110px; overflow: hidden; }

.hero-bg .blob, .download-bg .blob {
  position: absolute; border-radius: 50%; filter: blur(90px);
  opacity: 0.45; pointer-events: none;
  animation: float 12s ease-in-out infinite;
}
.blob-blue { width: 480px; height: 480px; background: #b7d8f6; top: -120px; left: -120px; }
.blob-pink { width: 420px; height: 420px; background: #f9d3e3; bottom: -140px; right: -100px; animation-delay: -6s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.08); }
}

.hero-inner {
  position: relative; max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: #fff; box-shadow: 0 4px 14px rgba(111, 177, 232, 0.15);
  color: var(--ink-soft);
}
.badge b { color: var(--blue-deep); }
.badge-date b { color: var(--pink-deep); }

.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.25; font-weight: 900; letter-spacing: 1px;
  margin-bottom: 22px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 16.5px; color: var(--ink-soft); max-width: 540px; margin-bottom: 34px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 36px; border-radius: 999px; font-size: 16px; font-weight: 700;
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 28px rgba(239, 143, 182, 0.45);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(239, 143, 182, 0.55); }
.btn-ghost {
  background: #fff; color: var(--blue-deep);
  border: 2px solid rgba(111, 177, 232, 0.4);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.hero-stats { display: flex; gap: 44px; }
.stat b {
  display: block; font-size: 30px; font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { font-size: 13.5px; color: var(--ink-soft); }

/* ----- 三截图叠加展示 ----- */
.hero-shots { position: relative; }
.shot-stack { position: relative; height: 480px; }

.shot {
  position: absolute; width: 56%; border-radius: 24px; overflow: hidden;
  background: #fff; box-shadow: 0 24px 60px rgba(43, 50, 69, 0.18);
  border: 6px solid #fff;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.55s, z-index 0s, opacity 0.55s;
  cursor: pointer;
}
.shot img {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  background: linear-gradient(160deg, #dbeafe 0%, #fce7f1 100%);
}
.shot figcaption {
  padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--ink-soft);
  background: #fff; text-align: center;
}

.shot-1 { top: 6%; left: 0; z-index: 1; transform: rotate(-7deg); }
.shot-2 { top: 0; left: 22%; z-index: 2; transform: rotate(0deg) translateY(10px); }
.shot-3 { top: 12%; right: 0; z-index: 3; transform: rotate(7deg); }

/* 悬停哪张看哪张 */
.shot:hover, .shot.active {
  z-index: 10;
  transform: rotate(0deg) translateY(-14px) scale(1.14);
  box-shadow: 0 34px 80px rgba(111, 177, 232, 0.35);
}
.shot-stack:hover .shot:not(:hover) { opacity: 0.55; transform: scale(0.94) rotate(0deg); }

.shot-tip { text-align: center; margin-top: 18px; font-size: 13px; color: var(--ink-soft); letter-spacing: 1px; }

/* ---------- 通用 Section ---------- */
.section { padding: 96px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(111,177,232,0.07) 0%, rgba(246,184,208,0.09) 100%);
}
.sec-title {
  text-align: center; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: 1px;
}
.sec-title::after {
  content: ""; display: block; width: 64px; height: 5px; border-radius: 3px;
  background: var(--grad); margin: 16px auto 0;
}
.sec-sub { text-align: center; color: var(--ink-soft); margin: 16px 0 52px; font-size: 16px; }

/* ---------- 功能亮点 ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.feature-card {
  background: var(--card); border-radius: var(--radius); padding: 36px 30px;
  box-shadow: 0 8px 30px rgba(111, 177, 232, 0.1);
  border: 1px solid rgba(111, 177, 232, 0.12);
  transition: transform 0.35s, box-shadow 0.35s;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(239, 143, 182, 0.22);
}
.feature-icon {
  width: 60px; height: 60px; border-radius: 16px; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(111,177,232,0.16), rgba(246,184,208,0.2));
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 用户评价 ---------- */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.review-card {
  background: var(--card); border-radius: var(--radius); padding: 30px;
  box-shadow: 0 8px 30px rgba(111, 177, 232, 0.1);
  border: 1px solid rgba(246, 184, 208, 0.25);
  transition: transform 0.35s, box-shadow 0.35s;
}
.review-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(111, 177, 232, 0.2); }
.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff;
  background: var(--av-bg, var(--blue));
  box-shadow: 0 6px 16px rgba(43, 50, 69, 0.18);
}
.review-head b { font-size: 16px; }
.stars { color: #f5a623; font-size: 14px; letter-spacing: 2px; }
.review-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 常见问题 ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(111, 177, 232, 0.15);
  box-shadow: 0 6px 20px rgba(111, 177, 232, 0.08);
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 26px; background: none; border: none; cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--ink); text-align: left;
  font-family: inherit;
}
.faq-arrow {
  width: 12px; height: 12px; flex-shrink: 0; margin-left: 16px;
  border-right: 2.5px solid var(--blue-deep); border-bottom: 2.5px solid var(--blue-deep);
  transform: rotate(45deg); transition: transform 0.3s;
}
.faq-item.open .faq-arrow { transform: rotate(-135deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.faq-a p { padding: 0 26px 22px; color: var(--ink-soft); font-size: 14.5px; }
.faq-item.open { border-color: rgba(239, 143, 182, 0.4); }

/* ---------- 下载模块 ---------- */
.download { position: relative; padding: 110px 0; overflow: hidden; }
.download-inner { position: relative; text-align: center; }
.download-logo {
  width: 96px; height: 96px; border-radius: 26px; margin: 0 auto 26px;
  background: var(--grad); object-fit: cover;
  box-shadow: 0 16px 44px rgba(239, 143, 182, 0.4);
}
.download h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; letter-spacing: 1px; }
.download-sub { color: var(--ink-soft); margin: 14px 0 24px; font-size: 16px; }

.download-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.badge-size b { color: var(--ink); }

.download-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.dl-btn {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 38px; border-radius: 20px; min-width: 260px;
  color: #fff; box-shadow: 0 14px 36px rgba(43, 50, 69, 0.22);
  transition: transform 0.3s, box-shadow 0.3s;
}
.dl-btn:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 22px 50px rgba(43, 50, 69, 0.3); }
.dl-android { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); }
.dl-ios { background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%); }
.dl-icon { display: flex; align-items: center; justify-content: center; }
.dl-icon svg { width: 34px; height: 34px; fill: #fff; }
.dl-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.35; }
.dl-text small { font-size: 12.5px; opacity: 0.85; }
.dl-text b { font-size: 18px; font-weight: 800; }

.download-note { margin-top: 28px; font-size: 13px; color: var(--ink-soft); }

/* ---------- 页脚 ---------- */
.footer { padding: 52px 0 40px; background: #fff; border-top: 1px solid rgba(111, 177, 232, 0.15); }
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer .brand { justify-content: center; }
.footer p { color: var(--ink-soft); font-size: 14px; }
.copyright { font-size: 12.5px !important; opacity: 0.7; }

/* ---------- 滚动入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 130px 0 90px; }
  .hero-text { text-align: center; }
  .hero-badges, .hero-actions { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 68px; right: 0; left: 0;
    flex-direction: column; gap: 4px; padding: 16px 24px 24px;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(111, 177, 232, 0.2);
    transform: translateY(-130%); transition: transform 0.35s ease;
    box-shadow: 0 16px 32px rgba(43, 50, 69, 0.12);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 12px 0; text-align: center; }
  .nav-cta { margin-top: 8px; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .review-grid { grid-template-columns: 1fr; }
  .shot-stack { height: 420px; }
}

@media (max-width: 540px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .stat b { font-size: 24px; }
  .dl-btn { width: 100%; min-width: unset; justify-content: center; }
  .shot-stack { height: 380px; }
  .section { padding: 70px 0; }
}
