/* ===== 林录官网 · 全站样式 =====
   调性：温暖极简 + 科技点缀。色板取自品牌背景：
     - 主色 #2C5F2D（林录深绿，主品牌）
     - 辅色 #97BC62FF（嫩芽绿，强调）
     - 文字 #1F2937（深灰主文）、#6B7280（次要）
     - 背景 #FAF8F3（米白）/ #FFFFFF
     - 强调渐变 #FCD34D → #F59E0B（暖橙，CTA 用）
   无人物，纯色渐变 + 微 SVG 装饰，避免冷色调与赛博朋克。 */

:root {
  --linlu-green: #2C5F2D;
  --linlu-green-soft: #97BC62;
  --linlu-green-light: #E8F1E4;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --text-tertiary: #9CA3AF;
  --bg-base: #FAF8F3;
  --bg-card: #FFFFFF;
  --border: #E5E7EB;
  --accent: #F59E0B;
  --accent-soft: #FCD34D;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(44, 95, 45, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-w: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue",
               Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-base);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--linlu-green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== 导航栏 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--linlu-green);
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--linlu-green) 0%, var(--linlu-green-soft) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.15s;
}
.nav-links a:hover {
  color: var(--linlu-green);
  background: var(--linlu-green-light);
  text-decoration: none;
}
.nav-links a.active {
  color: var(--linlu-green);
  background: var(--linlu-green-light);
}
.nav-cta {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%);
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover {
  filter: brightness(1.05);
  text-decoration: none !important;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%) !important;
  color: #fff !important;
}

/* ===== 通用容器 ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Hero（首页独有） ===== */
.hero {
  padding: 80px 0 64px;
  background:
    radial-gradient(ellipse at top right, rgba(151, 188, 98, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(252, 211, 77, 0.12) 0%, transparent 50%);
  position: relative;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-text h1 {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-text h1 .accent {
  color: var(--linlu-green);
  position: relative;
}
.hero-text h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 8px;
  background: linear-gradient(90deg, var(--accent-soft) 0%, transparent 100%);
  opacity: 0.55;
  border-radius: 4px;
  z-index: -1;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none !important;
  transition: all 0.15s;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--linlu-green);
  border: 1.5px solid var(--linlu-green);
}
.btn-secondary:hover {
  background: var(--linlu-green-light);
}
.hero-meta {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.hero-meta strong {
  color: var(--text-secondary);
  font-weight: 600;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--linlu-green-light) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-visual svg {
  width: 78%;
  height: auto;
}
.hero-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== 产品截图块 ===== */
.shot-block {
  margin: 40px auto 0;
  max-width: 920px;
  text-align: center;
}
.shot-wide {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.shot-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Section ===== */
.section {
  padding: 72px 0;
}
.section-alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.section-head p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ===== 功能卡片 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all 0.2s;
}
.feature-card:hover {
  border-color: var(--linlu-green-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--linlu-green-light);
  color: var(--linlu-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== 定价表 ===== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
.price-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  transition: all 0.2s;
}
.price-card:hover {
  border-color: var(--linlu-green-soft);
  box-shadow: var(--shadow-md);
}
.price-card.featured {
  border-color: var(--linlu-green);
  box-shadow: var(--shadow-lg);
}
.price-card.featured::before {
  content: "推荐";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--linlu-green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.price-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--linlu-green);
  margin-bottom: 6px;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 4px;
}
.price-amount .num {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
}
.price-amount .unit {
  font-size: 14px;
  color: var(--text-secondary);
}
.price-tag {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}
.price-list {
  list-style: none;
  margin: 20px 0;
}
.price-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.price-list li::before {
  content: "✓";
  color: var(--linlu-green);
  font-weight: 700;
  flex-shrink: 0;
}
.price-cta {
  display: block;
  text-align: center;
  background: var(--bg-base);
  color: var(--linlu-green);
  padding: 11px 0;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid var(--linlu-green);
  margin-top: 18px;
  text-decoration: none !important;
}
.price-cta:hover {
  background: var(--linlu-green-light);
}
.featured .price-cta {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%);
  color: #fff;
  border-color: transparent;
}
.featured .price-cta:hover {
  filter: brightness(1.06);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-q {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  font-weight: 400;
  font-size: 22px;
  color: var(--text-tertiary);
  transition: transform 0.2s;
}
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding-top: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== 页脚 ===== */
.footer {
  background: #1F2937;
  color: #D1D5DB;
  padding: 40px 0 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.footer ul {
  list-style: none;
}
.footer li {
  margin: 6px 0;
  font-size: 14px;
}
.footer a {
  color: #D1D5DB;
}
.footer a:hover {
  color: #fff;
  text-decoration: none;
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid #374151;
  font-size: 13px;
  color: #9CA3AF;
  text-align: center;
}

/* ===== 下载横幅 ===== */
.download-banner {
  background: linear-gradient(135deg, var(--linlu-green) 0%, #3D7C3F 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.download-banner h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.download-banner p {
  opacity: 0.9;
  font-size: 14px;
}
.download-banner .btn-primary {
  background: #fff;
  color: var(--linlu-green);
  white-space: nowrap;
}

/* ===== About / Legal 文档 ===== */
.legal-doc {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 48px;
}
.legal-doc h2 {
  font-size: 26px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.legal-doc .meta {
  color: var(--text-tertiary);
  font-size: 13px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.legal-doc h3 {
  font-size: 17px;
  color: var(--linlu-green);
  margin: 28px 0 10px;
}
.legal-doc p {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 8px;
}
.legal-doc ol, .legal-doc ul {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.8;
  padding-left: 24px;
  margin-bottom: 8px;
}
.legal-doc li { margin: 4px 0; }
.legal-doc strong { color: var(--text-primary); }

/* ===== 响应式 ===== */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-text h1 { font-size: 32px; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 24px; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .legal-doc {
    padding: 24px 20px;
  }
  .download-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}
@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .legal-doc { padding: 20px 16px; }
}
