/* ============================================
   Manwa 官网 · 春天农场浅色主题
   暖奶油底 #FAF6E9 / 深森林绿文字 #14361F / 亮草绿按钮 #22C55E
   ============================================ */

:root {
  --bg: #FAF6E9;
  --bg-soft: #F1EBD6;
  --card: #FFFFFF;
  --line: rgba(20, 54, 31, 0.1);
  --line-strong: rgba(20, 54, 31, 0.22);
  --ink: #14361F;
  --ink-2: #5C7A66;
  --ink-3: #8FA89A;
  --green: #22C55E;
  --green-deep: #16A34A;
  --green-soft: rgba(34, 197, 94, 0.12);
  --lime: #84CC16;
  --lime-soft: rgba(132, 204, 22, 0.14);
  --radius: 16px;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ========== 顶部导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 233, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: 0.3px; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-link { font-size: 14.5px; color: var(--ink-2); transition: color 0.2s; }
.nav-link:hover { color: var(--green-deep); }
.nav-cta {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 9px 22px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 8px;
}
.menu-bar {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px 90px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.2), transparent 65%);
  top: -120px; left: -100px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-kicker {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(56px, 7.5vw, 88px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.02;
  margin-bottom: 18px;
  color: var(--ink);
}
.hero-lead {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  margin-bottom: 16px;
}
.hero-desc {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 22px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.hero-tags li {
  font-size: 13.5px;
  color: var(--green-deep);
  background: var(--green-soft);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  padding: 13px 34px;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}
.btn-line { color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-line:hover { border-color: var(--green-deep); color: var(--green-deep); }

.hero-phone {
  justify-self: center;
  width: 300px;
  border-radius: 26px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 30px 60px rgba(20, 54, 31, 0.18);
  aspect-ratio: 9 / 16;
  background: var(--bg-soft);
}
.hero-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ========== 通用 Section ========== */
section { padding: 80px 24px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-index {
  font-size: 12.5px;
  letter-spacing: 3px;
  color: var(--ink-3);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  margin-bottom: 10px;
}
.section-sub { color: var(--ink-2); font-size: 15px; }

/* ========== 三屏速览 ========== */
.screens { background: var(--bg-soft); }
.screen-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.screen-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.screen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 54, 31, 0.12);
}
.screen-media {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--bg-soft);
}
.screen-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.screen-card figcaption { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.screen-card figcaption strong { font-size: 17px; color: var(--green-deep); }
.screen-card figcaption span { font-size: 14px; color: var(--ink-2); }

/* ========== 软件功能 4卡 ========== */
.feature-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--lime);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.25s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--ink-2); }

/* ========== 下载区 ========== */
.download { padding-top: 40px; padding-bottom: 40px; }
.download-panel {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(132, 204, 22, 0.12));
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 22px;
  padding: 52px 40px;
  text-align: center;
}
.download-title { font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin-bottom: 12px; }
.download-desc { color: var(--ink-2); font-size: 15px; margin-bottom: 28px; }
.domain-mark { color: var(--green-deep); font-weight: 700; }
.btn-download {
  background: var(--green);
  color: #fff;
  padding: 16px 52px;
  font-size: 17px;
}
.btn-download:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(34, 197, 94, 0.4);
}

/* ========== 用户评价 6条 ========== */
.voices { background: var(--bg-soft); }
.voices-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.voice-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.voice-text { font-size: 14.5px; color: var(--ink-2); margin-bottom: 18px; }
.voice-meta { display: flex; align-items: center; gap: 10px; }
.voice-name {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--lime-soft);
  color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.voice-user { font-size: 14px; font-weight: 600; }
.voice-date { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }

/* ========== 大家都在搜 ========== */
.trending-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.chip {
  font-size: 14px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 9px 20px;
  border-radius: 999px;
  transition: all 0.2s;
}
.chip:hover { color: var(--green-deep); border-color: var(--green); }

/* ========== 常见问题 ========== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--green-deep);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ========== 页脚 ========== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 24px 36px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 44px; height: 44px; }
.footer-name { font-size: 16px; font-weight: 800; }
.footer-slogan { font-size: 13px; color: var(--ink-3); }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: var(--ink-2); padding: 10px 0; }
.footer-nav a:hover { color: var(--green-deep); }
.footer-site { text-align: right; }
.footer-domain { font-size: 14px; color: var(--green-deep); font-weight: 700; margin-bottom: 4px; }
.footer-copy { font-size: 12.5px; color: var(--ink-3); }

/* ========== 回到顶部 ========== */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
  transition: transform 0.2s;
  z-index: 90;
}
.back-top:hover { transform: translateY(-2px); }

/* ========== 响应式 ========== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-phone { width: 260px; }
  .screen-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .voices-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header-inner { padding: 12px 18px; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; text-align: center; }
  .menu-toggle { display: flex; }

  .hero { padding: 60px 18px 70px; }
  .hero-tags { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; }
  .screen-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .voices-grid { grid-template-columns: 1fr; }
  .download-panel { padding: 40px 22px; }
  .trending-chips { justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-site { text-align: left; }
}
