/* =========================================================
   WPS6 — Ink & Bamboo Theme
   Base: #f9f9f9 | Ink: #1a1a1a | Bamboo: #008c69 | Gray: #666
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #1a1a1a;
  --ink-light: #333;
  --bamboo: #008c69;
  --bamboo-light: #00a67c;
  --bamboo-pale: #e6f3f0;
  --gray-bg: #f9f9f9;
  --gray-border: #e0e0e0;
  --gray-text: #666;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--white); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Layout & Common ---- */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sec { padding: 80px 0; }
.sec-gray { background: var(--gray-bg); }
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-title { font-size: 2.5rem; font-weight: 800; line-height: 1.3; color: var(--ink); margin-bottom: 16px; }
.sec-sub { font-size: 1.1rem; color: var(--gray-text); max-width: 680px; margin: 0 auto; }
.btn {
  display: inline-block;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-bamboo { background: var(--bamboo); color: var(--white); }
.btn-bamboo:hover { background: var(--bamboo-light); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 140, 105, 0.2); }
.btn-outline { border-color: var(--bamboo); color: var(--bamboo); }
.btn-outline:hover { background: var(--bamboo-pale); }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ---- Navigation ---- */
.navbar { 
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-border);
  z-index: 100;
  transition: box-shadow 0.2s;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.nav-brand { display: flex; align-items: center; gap: 8px; font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.nav-brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 32px; }
.nav-link a { font-size: 1rem; font-weight: 500; color: var(--gray-text); transition: color 0.2s; position: relative; padding: 8px 0; }
.nav-link a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--bamboo); transform: scaleX(0); transition: transform 0.3s ease; }
.nav-link a:hover, .nav-link.active a { color: var(--ink); }
.nav-link.active a::after { transform: scaleX(1); }

/* ---- Hero Section ---- */
#hero { text-align: center; padding: 100px 0; background: linear-gradient(180deg, var(--white) 0%, var(--gray-bg) 100%); }
.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-title .hl { color: var(--bamboo); }
.hero-sub { font-size: 1.2rem; color: var(--gray-text); margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; justify-content: center; gap: 16px; margin-bottom: 48px; }
.hero-stats { display: flex; justify-content: center; gap: 40px; border-top: 1px solid var(--gray-border); padding-top: 40px; max-width: 800px; margin: 0 auto; }
.stat-item { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 700; color: var(--bamboo); }
.stat-label { font-size: 0.9rem; color: var(--gray-text); }

/* ---- Features Section ---- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }
.feature-card { background: var(--white); padding: 32px; border-radius: 12px; border: 1px solid var(--gray-border); text-align: center; transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feature-icon { margin: 0 auto 20px; width: 48px; height: 48px; color: var(--bamboo); }
.feature-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.feature-desc { color: var(--gray-text); font-size: 0.95rem; }

.feature-deep { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.feature-deep:nth-child(even) .deep-img { order: -1; }
.deep-img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.deep-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; }
.deep-desc { color: var(--gray-text); margin-bottom: 24px; }
.deep-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.deep-list svg { width: 20px; height: 20px; color: var(--bamboo); flex-shrink: 0; }

/* ---- Platforms Section ---- */
.platforms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.platform-card { background: var(--gray-bg); padding: 24px; border-radius: 12px; text-align: center; border: 1px solid var(--gray-border); }
.platform-icon { margin: 0 auto 16px; width: 48px; height: 48px; color: var(--ink); }
.platform-name { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.platform-req { font-size: 0.85rem; color: var(--gray-text); margin-bottom: 20px; min-height: 3em; }

/* ---- Reviews Section ---- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-card { background: var(--white); padding: 24px; border-radius: 12px; border: 1px solid var(--gray-border); display: flex; flex-direction: column; }
.review-stars { color: #f59e0b; margin-bottom: 12px; }
.review-text { color: var(--gray-text); margin-bottom: 16px; flex-grow: 1; }
.review-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--gray-border); padding-top: 16px; }
.author-name { font-weight: 600; }

/* ---- Security Section ---- */
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }
.security-item { text-align: center; }
.security-icon { margin: 0 auto 16px; width: 48px; height: 48px; color: var(--bamboo); }
.security-title { font-weight: 600; }

.comparison-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.comparison-table th, .comparison-table td { padding: 16px; border: 1px solid var(--gray-border); text-align: center; }
.comparison-table th { background: var(--bamboo-pale); font-weight: 600; }
.comparison-table td:first-child { text-align: left; font-weight: 500; }
.comparison-table .check { color: var(--bamboo); font-size: 1.5rem; }
.comparison-table .cross { color: #d1d5db; font-size: 1.5rem; }

/* ---- Versions Section ---- */
.versions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.version-card { background: var(--white); padding: 32px; border-radius: 12px; border: 1px solid var(--gray-border); text-align: center; display: flex; flex-direction: column; }
.version-card.featured { border-color: var(--bamboo); border-width: 2px; transform: scale(1.05); }
.version-tag { display: inline-block; background: var(--bamboo-pale); color: var(--bamboo); font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 12px; margin-bottom: 12px; }
.version-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.version-price { font-size: 2.2rem; font-weight: 800; margin-bottom: 24px; }
.version-price .unit { font-size: 1rem; font-weight: 500; color: var(--gray-text); }
.version-features { text-align: left; margin-bottom: 32px; flex-grow: 1; }
.version-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.version-features svg { width: 18px; height: 18px; color: var(--bamboo); }

/* ---- FAQ Section ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1.1rem; }
.faq-chevron { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-a-inner { padding: 0; color: var(--gray-text); transition: padding 0.4s ease-out; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-a-inner { padding: 0 0 20px; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #a0a0a0; padding: 40px 0; text-align: center; font-size: 0.9rem; }
