/* 吃光冰箱官网 — 品牌色：冰柜绿 + 灶台暖橙，避免通用紫/奶油红陶套路 */
:root {
  --bg: #f3f8f4;
  --bg-deep: #e4f0e7;
  --ink: #14261c;
  --ink-soft: #3d5a48;
  --muted: #5f7a6a;
  --line: rgba(20, 38, 28, 0.12);
  --brand: #2f8f5b;
  --brand-deep: #1f6b43;
  --accent: #e8873a;
  --surface: rgba(255, 255, 255, 0.72);
  --radius: 18px;
  --max: 1080px;
  --font-display: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  background:
    radial-gradient(1200px 600px at 10% -10%, #d9f0df 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ffe8d4 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #eef6f0 45%, var(--bg-deep) 100%);
  min-height: 100vh;
}

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

a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(243, 248, 244, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand-lockup img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.brand-lockup strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover {
  color: var(--brand-deep);
}

/* —— Hero：首屏只做品牌 + 一句主张 + CTA —— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero-plane {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(20, 38, 28, 0.08) 0%, transparent 42%),
    url("assets/logo-512.png") right 6% center / min(48vw, 420px) no-repeat,
    linear-gradient(160deg, #dff0e4 0%, #f7fbf8 48%, #ffeeda 100%);
  opacity: 1;
  z-index: 0;
}

.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -35deg,
      transparent,
      transparent 22px,
      rgba(47, 143, 91, 0.04) 22px,
      rgba(47, 143, 91, 0.04) 23px
    );
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  font-weight: 700;
  max-width: 12ch;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 28ch;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--ink-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-deep);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  color: var(--brand-deep);
}

/* —— Sections —— */
section {
  padding: 4.25rem 0;
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  line-height: 1.25;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.prose {
  max-width: 42rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.prose p:last-child {
  margin-bottom: 0;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--brand);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  backdrop-filter: blur(6px);
}

.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.98rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1.2;
  min-width: 2.4rem;
}

.steps h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.platform-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-plane {
    background-position: right 8% center, right 8% center, 0 0;
  }
}

.platform {
  padding: 1.4rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
}

.platform h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
}

.platform p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--brand);
  font-weight: 400;
  font-size: 1.25rem;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.about-box {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.about-box dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.about-box dt {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-box dd {
  margin: 0.15rem 0 0;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: grid;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.beian {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
  opacity: 0.9;
}

.beian a {
  color: var(--muted);
  text-decoration: none;
}

.beian a:hover {
  text-decoration: underline;
}

.beian-gongan {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.beian-gongan img {
  display: block;
  width: 16px;
  height: 16px;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero-lead,
  .cta-row {
    animation: rise 0.8s ease both;
  }

  .hero-lead {
    animation-delay: 0.08s;
  }

  .cta-row {
    animation-delay: 0.16s;
  }

  .hero-plane {
    animation: drift 14s ease-in-out infinite alternate;
  }

  .feature-list li {
    transition: transform 0.25s ease, background 0.25s ease;
  }

  .feature-list li:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.92);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    background-position: right 4% center, right 4% center, 0 0;
  }
  to {
    background-position: right 10% 48%, right 10% 48%, 0 0;
  }
}

@media (max-width: 719px) {
  .hero {
    min-height: auto;
    padding-top: 2.25rem;
    padding-bottom: 3rem;
  }

  .hero-plane {
    background:
      linear-gradient(180deg, rgba(243, 248, 244, 0.2) 35%, rgba(243, 248, 244, 0.92) 68%),
      url("assets/logo-512.png") center top 12% / min(58vw, 220px) no-repeat,
      linear-gradient(160deg, #dff0e4 0%, #f7fbf8 55%, #ffeeda 100%);
  }

  .hero h1 {
    max-width: none;
    margin-top: 8.5rem;
  }

  .nav {
    display: none;
  }
}
