/* ============================================================
   湖畔家园 Homestead — 官网样式
   浅色暖调 · 大字号 · 克制的动效
   ============================================================ */

:root {
  --bg:        #fbfaf7;
  --bg-soft:   #f3f1ec;
  --card:      #ffffff;
  --ink:       #1b1b1d;
  --ink-2:     #5a5a61;
  --ink-3:     #8c8c93;
  --line:      rgba(27, 27, 29, .10);
  --line-soft: rgba(27, 27, 29, .06);
  --grass:     #5f8f4a;
  --lake:      #3d7ba3;
  --roof:      #c85a3e;
  --sun:       #c99a34;

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --maxw: 1160px;

  --ease: cubic-bezier(.22, .68, .3, 1);
  --shadow-s: 0 1px 2px rgba(27,27,29,.05), 0 6px 20px -8px rgba(27,27,29,.12);
  --shadow-m: 0 2px 6px rgba(27,27,29,.05), 0 18px 44px -14px rgba(27,27,29,.20);
  --shadow-l: 0 4px 12px rgba(27,27,29,.06), 0 40px 90px -30px rgba(27,27,29,.30);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }

kbd {
  font: inherit;
  font-size: .82em;
  font-weight: 600;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: .05em .45em;
  margin: 0 .1em;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86em;
  background: rgba(27,27,29,.05);
  border-radius: 5px;
  padding: .12em .4em;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   导航
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.scrolled {
  background: rgba(251, 250, 247, .78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.brand img { border-radius: 8px; }
.nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 15px;
  color: var(--ink-2);
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 17px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  flex-shrink: 0;
  transition: transform .25s var(--ease), opacity .25s;
}
.nav-cta:hover { transform: scale(1.045); opacity: .88; }

/* ============================================================
   首屏
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: -6%;
  z-index: 0;
  background: url("assets/img/hero-bg.jpg") center / cover no-repeat;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(74% 64% at 50% 46%,
      rgba(251,250,247,.90) 0%,
      rgba(251,250,247,.66) 40%,
      rgba(251,250,247,.18) 74%,
      rgba(251,250,247,0) 100%),
    linear-gradient(180deg,
      rgba(251,250,247,.58) 0%,
      rgba(251,250,247,0) 22%,
      rgba(251,250,247,0) 56%,
      rgba(251,250,247,.96) 100%);
}

/* 首屏两侧浮动的截图卡 */
.hero-cards {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hc {
  position: absolute;
  margin: 0;
  width: 264px;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-m);
}
.hc img { width: 100%; height: auto; }
.hc-l {
  left: 2.4%;
  bottom: 13%;
  transform: rotate(-7deg);
  animation: floaty 9.5s ease-in-out infinite;
}
.hc-r {
  right: 2.4%;
  bottom: 19%;
  transform: rotate(6.5deg);
  animation: floaty 11.5s ease-in-out infinite reverse;
}
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -18px; }
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 820px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(58px, 11.5vw, 128px);
  letter-spacing: .02em;
  margin: 22px 0 0;
}
.wordmark {
  font-size: clamp(11px, 1.4vw, 14px);
  font-weight: 600;
  letter-spacing: .46em;
  text-indent: .46em;
  color: var(--ink-3);
  margin: 16px 0 0;
}
.lead {
  font-size: clamp(16px, 2vw, 19.5px);
  color: var(--ink-2);
  line-height: 1.75;
  margin: 26px auto 0;
  max-width: 720px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 38px;
}
.hero-meta {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 26px;
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(27,27,29,.24);
  border-radius: 100px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  z-index: 3;
}
.scroll-hint span {
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: rgba(27,27,29,.42);
  animation: hint 1.9s var(--ease) infinite;
}
@keyframes hint {
  0%   { transform: translateY(0);    opacity: 0; }
  30%  { opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.005em;
  padding: 14px 30px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              background .22s, color .22s, border-color .22s;
  will-change: transform;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 2px rgba(27,27,29,.2), 0 10px 26px -10px rgba(27,27,29,.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(27,27,29,.2), 0 18px 38px -12px rgba(27,27,29,.55);
}
.btn-ghost {
  background: rgba(255,255,255,.62);
  color: var(--ink);
  border-color: rgba(27,27,29,.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-s);
}
.btn-block { display: flex; width: 100%; margin-top: 20px; }

/* 平台按钮 */
.os-btn { padding: 13px 24px; position: relative; }
.os-ico { width: 19px; height: 19px; flex: 0 0 auto; }
.os-btn .tag {
  position: absolute;
  top: -9px;
  right: -6px;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  background: var(--roof);
  border-radius: 100px;
  padding: 3px 8px;
  box-shadow: 0 2px 6px rgba(200,90,62,.4);
  white-space: nowrap;
}
.os-btn.is-yours { transform: translateY(-1px); }

/* ============================================================
   主视觉大图
   ============================================================ */
.shot {
  padding: 0 24px;
  margin-top: -104px;
  position: relative;
  z-index: 2;
}
.shot-frame {
  max-width: 1080px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-l);
  border: 1px solid var(--line-soft);
}
.shot-frame img { width: 100%; height: auto; }
.shot-frame figcaption {
  padding: 18px 26px 20px;
  font-size: 14.5px;
  color: var(--ink-3);
  border-top: 1px solid var(--line-soft);
  text-align: center;
}

/* ============================================================
   截图滚动带
   ============================================================ */
.mq-outer {
  overflow: hidden;
  padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 64px);
}
.mq-tilt {
  transform: rotate(-1.5deg) scale(1.045);
  display: grid;
  gap: 16px;
}
.mq-row {
  display: flex;
  width: max-content;
  will-change: transform;
}
.mq-row:not(.mq-rev) { animation: mq-left 62s linear infinite; }
.mq-row.mq-rev     { animation: mq-right 74s linear infinite; }
.mq-outer:hover .mq-row { animation-play-state: paused; }

@keyframes mq-left  { from { transform: translate3d(0,0,0); }    to { transform: translate3d(-50%,0,0); } }
@keyframes mq-right { from { transform: translate3d(-50%,0,0); } to { transform: translate3d(0,0,0); } }

.mq-item {
  flex: 0 0 auto;
  width: 330px;
  margin-right: 16px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-s);
}
.mq-item img {
  width: 100%;
  height: 186px;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.mq-item:hover img { transform: scale(1.06); }


/* ============================================================
   通用 section
   ============================================================ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 8.5vw, 112px) 24px;
}
.section-tight { padding-top: clamp(50px, 6vw, 80px); }

.sec-head { max-width: 660px; margin-bottom: clamp(44px, 5.5vw, 68px); }
.sec-head h2 { font-size: clamp(34px, 5.2vw, 54px); margin: 16px 0 0; }
.sec-sub {
  font-size: 17.5px;
  color: var(--ink-2);
  margin-top: 20px;
  line-height: 1.72;
}

/* ---------- 特色卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 32px 30px 34px;
  box-shadow: var(--shadow-s);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.card h3 { font-size: 20px; letter-spacing: -.01em; margin: 22px 0 0; }
.card p { font-size: 15.5px; color: var(--ink-2); line-height: 1.72; margin-top: 12px; }
.ico {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  transition: transform .45s var(--ease);
}
.card:hover .ico { transform: scale(1.08) rotate(-4deg); }
.ico svg { width: 26px; height: 26px; }
.ico-grass { background: rgba(95,143,74,.12);  color: var(--grass); }
.ico-sun   { background: rgba(201,154,52,.14); color: var(--sun); }
.ico-lake  { background: rgba(61,123,163,.12); color: var(--lake); }
.ico-snow  { background: rgba(61,123,163,.09); color: #6d94b5; }
.ico-roof  { background: rgba(200,90,62,.12);  color: var(--roof); }
.ico-wave  { background: rgba(27,27,29,.07);   color: #4a4a52; }

/* ---------- 画面 showcase ---------- */
.show {
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(64px, 8vw, 110px);
}
.show:last-child { margin-bottom: 0; }
.show-flip .show-media { order: 2; }
.show-media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-m);
  border: 1px solid var(--line-soft);
  background: var(--card);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.show-media:hover { transform: translateY(-4px) scale(1.012); box-shadow: var(--shadow-l); }
.show-media img { width: 100%; height: auto; }
.show-media figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px 15px;
  font-size: 12.5px;
  color: var(--ink-3);
  border-top: 1px solid var(--line-soft);
}
.show-media figcaption span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-2);
  background: var(--bg-soft);
  border-radius: 5px;
  padding: 2px 7px;
  flex: 0 0 auto;
}
.show-text h3 { font-size: clamp(25px, 3.2vw, 34px); margin: 14px 0 0; }
.show-text p:not(.eyebrow) {
  font-size: 16.5px;
  color: var(--ink-2);
  line-height: 1.78;
  margin-top: 18px;
}

/* ---------- 截图墙（错落拼贴） ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 158px;
  grid-auto-flow: dense;
  gap: 14px;
}
.b {
  position: relative;
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-s);
}
.b img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.b:hover img { transform: scale(1.07); }
.b figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 15px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(18,18,20,.68), rgba(18,18,20,0));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.b:hover figcaption { opacity: 1; transform: none; }

.b-1  { grid-column: span 2; grid-row: span 2; }
.b-2  { grid-column: span 1; grid-row: span 1; }
.b-3  { grid-column: span 1; grid-row: span 1; }
.b-4  { grid-column: span 1; grid-row: span 1; }
.b-5  { grid-column: span 1; grid-row: span 1; }
.b-6  { grid-column: span 2; grid-row: span 2; }
.b-7  { grid-column: span 1; grid-row: span 1; }
.b-8  { grid-column: span 1; grid-row: span 1; }
.b-9  { grid-column: span 1; grid-row: span 1; }
.b-10 { grid-column: span 1; grid-row: span 1; }
.b-11 { grid-column: span 2; grid-row: span 1; }
.b-12 { grid-column: span 2; grid-row: span 1; }

/* ============================================================
   下载
   ============================================================ */
.dl-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dl-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 34px 30px 28px;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.dl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.dl-card.is-yours {
  border-color: rgba(200,90,62,.34);
  box-shadow: 0 0 0 1px rgba(200,90,62,.14), var(--shadow-m);
}
.dl-card.is-yours .dl-os { background: rgba(200,90,62,.10); color: var(--roof); }
.dl-os {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--ink);
  transition: transform .45s var(--ease);
}
.dl-card:hover .dl-os { transform: scale(1.07); }
.dl-os svg { width: 27px; height: 27px; }
.dl-card h3 { font-size: 24px; margin: 22px 0 0; letter-spacing: -.015em; }
.dl-file {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  color: var(--ink);
  word-break: break-all;
}
.dl-file span {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--bg-soft);
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
}
.dl-note {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-top: 16px;
  flex: 1;
}
.dl-warn {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.62;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

/* ============================================================
   运行要求
   ============================================================ */
.specs { padding-top: clamp(60px, 7vw, 90px); }
.specs-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.specs-text h2 { font-size: clamp(28px, 4vw, 42px); margin: 16px 0 0; }
.specs-text p:not(.eyebrow) {
  font-size: 16.5px; color: var(--ink-2); line-height: 1.78; margin-top: 20px;
}
.specs-list { margin: 0; }
.specs-list > div {
  display: flex;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15.5px;
}
.specs-list > div:first-child { border-top: 1px solid var(--line-soft); }
.specs-list dt { color: var(--ink-3); flex: 0 0 74px; margin: 0; }
.specs-list dd { color: var(--ink); margin: 0; }


/* ============================================================
   收尾 CTA
   ============================================================ */
.cta-band {
  position: relative;
  margin-top: clamp(30px, 5vw, 60px);
  padding: clamp(90px, 12vw, 150px) 24px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(95,143,74,.10) 0%, rgba(95,143,74,0) 70%),
    radial-gradient(60% 100% at 80% 100%, rgba(61,123,163,.10) 0%, rgba(61,123,163,0) 70%),
    var(--bg-soft);
  border-top: 1px solid var(--line-soft);
}
.cta-in { max-width: 760px; margin: 0 auto; }
.cta-band h2 {
  font-size: clamp(38px, 6.4vw, 68px);
  letter-spacing: .01em;
  margin: 16px 0 0;
}
.cta-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 26px;
  box-shadow: var(--shadow-m);
}
.cta-band .hero-cta { margin-top: 34px; }
.cta-band .btn-ghost { background: rgba(255,255,255,.75); }


/* ============================================================
   页脚
   ============================================================ */
.foot {
  border-top: 1px solid var(--line-soft);
  margin-top: clamp(40px, 6vw, 70px);
  background: var(--bg-soft);
}
.foot-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 46px 24px 54px;
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 13px; }
.foot-brand img { border-radius: 9px; }
.foot-name { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.foot-sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.foot-note {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-left: auto;
  max-width: 460px;
  line-height: 1.65;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1240px) {
  .hero-cards { display: none; }
}

@media (max-width: 980px) {
  .cards, .dl-cards { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .specs-in { grid-template-columns: 1fr; }
  .show { grid-template-columns: 1fr; gap: 26px; }
  .show-flip .show-media { order: 0; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .mq-item { width: 260px; }
  .mq-item img { height: 148px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .dl-cards { grid-template-columns: 1fr; }
  .hero { min-height: 92svh; padding: 104px 20px 76px; }
  .shot { margin-top: -64px; padding: 0 16px; }
  .bento { grid-auto-rows: 128px; gap: 10px; }
  .btn { padding: 13px 24px; font-size: 15.5px; }
  .hero-cta { gap: 8px; }
  .os-btn { padding: 12px 15px; font-size: 14.5px; }
  .os-ico { width: 17px; height: 17px; }
  .card, .dl-card { padding: 26px 22px; }
  .foot-in { padding: 36px 20px 44px; }
  .foot-note { margin-left: 0; }
  .scroll-hint { display: none; }
  .mq-tilt { transform: rotate(-1.5deg) scale(1.1); }
  .os-btn .tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mq-row { animation: none !important; }
  .hc { animation: none !important; }
}
