:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --subtle: #64748b;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent-design: #4f46e5;
  --accent-raw: #0891b2;
  --accent-emb: #ea580c;
  --accent-mesh: #059669;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 50px -12px rgba(37, 99, 235, 0.20);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei UI", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.ver-pill {
  font-size: 12px; font-weight: 600; color: var(--primary);
  background: #eff6ff; border: 1px solid #bfdbfe;
  padding: 2px 10px; border-radius: 999px;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--primary); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 10px;
  transition: all 0.18s ease; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-taobao {
  background: linear-gradient(135deg, #ff5000, #ff6f00); color: #fff;
  box-shadow: 0 6px 18px rgba(255, 80, 0, 0.28);
}
.btn-taobao:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--text); border-color: #cbd5e1; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: #f8fafc; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 12px; }

/* Hero */
.hero {
  padding: 72px 0 64px;
  background: radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.10), transparent 45%),
              radial-gradient(circle at 15% 20%, rgba(234, 88, 12, 0.08), transparent 40%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: #1d4ed8;
  background: #eff6ff; border: 1px solid #bfdbfe;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: 40px; line-height: 1.24; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero h1 span {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 16px; color: var(--muted); margin-bottom: 28px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--subtle); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dot-ok { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; display: inline-block; }

/* Before/After Explorer Visual */
.compare-box {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 20px; box-shadow: var(--shadow-md);
}
.win-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid #f1f5f9;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; background: #cbd5e1; }
.win-dots i:first-child { background: #ef4444; }
.win-dots i:nth-child(2) { background: #f59e0b; }
.win-dots i:nth-child(3) { background: #22c55e; }
.compare-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare-col {
  border-radius: 12px; padding: 14px; border: 1px solid var(--border);
}
.compare-col.before { background: #f8fafc; }
.compare-col.after { background: #f0fdf4; border-color: #bbf7d0; }
.compare-tag {
  font-size: 12px; font-weight: 700; display: inline-block;
  padding: 2px 9px; border-radius: 6px; margin-bottom: 12px;
}
.before .compare-tag { background: #fee2e2; color: #b91c1c; }
.after .compare-tag { background: #dcfce7; color: #15803d; }
.file-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.file-tile {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: 8px 6px; text-align: center;
}
.file-thumb {
  height: 54px; border-radius: 6px; margin-bottom: 6px;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px;
}
.before .file-thumb { background: #f1f5f9; color: #94a3b8; border: 1px dashed #cbd5e1; }
.thumb-psd { background: linear-gradient(135deg, #312e81, #6366f1, #ec4899); color: #fff; }
.thumb-dst { background: linear-gradient(135deg, #fff7ed, #fed7aa); color: #c2410c; border: 1px solid #fdba74; }
.thumb-raw { background: linear-gradient(135deg, #0ea5e9, #10b981); color: #fff; }
.thumb-stp { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #0f172a; }
.file-name { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Sections */
section { padding: 68px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.sec-head h2 { font-size: 30px; margin-bottom: 10px; letter-spacing: -0.01em; }
.sec-head p { color: var(--muted); font-size: 15px; }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 24px 20px; box-shadow: var(--shadow-sm);
}
.feat-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700;
  background: #eff6ff; color: var(--primary);
}
.feat-card h3 { font-size: 16px; margin-bottom: 8px; }
.feat-card p { font-size: 13.5px; color: var(--muted); }

/* Pricing */
.suite-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%);
  color: #fff; border-radius: 20px; padding: 32px 36px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.suite-left { display: flex; align-items: center; gap: 22px; }
.suite-left img { width: 72px; height: 72px; border-radius: 16px; background: rgba(255,255,255,0.1); padding: 4px; }
.suite-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: #fef08a;
  background: rgba(250, 204, 21, 0.16); border: 1px solid rgba(250, 204, 21, 0.35);
  padding: 2px 10px; border-radius: 999px; margin-bottom: 8px;
}
.suite-left h3 { font-size: 24px; margin-bottom: 6px; }
.suite-left p { color: #cbd5e1; font-size: 14px; max-width: 560px; }
.suite-right { text-align: right; flex-shrink: 0; }
.price-big { font-size: 38px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.price-big small { font-size: 16px; font-weight: 600; margin-right: 2px; }
.price-note { font-size: 12.5px; color: #bfdbfe; margin-bottom: 14px; }

.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pkg-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 22px 20px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pkg-card:hover, .pkg-card.highlight {
  transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary);
}
.pkg-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pkg-top img { width: 46px; height: 46px; border-radius: 11px; }
.pkg-top h3 { font-size: 16px; line-height: 1.3; }
.pkg-count { font-size: 12px; color: var(--subtle); }
.pkg-price { font-size: 28px; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.pkg-price small { font-size: 14px; font-weight: 600; }
.pkg-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 18px; flex: 1; align-content: flex-start; }
.pill {
  font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px;
  background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0;
}
.pkg-card .btn { width: 100%; }

/* Formats Directory */
.fmt-panel {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 28px; box-shadow: var(--shadow-sm);
}
.fmt-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 22px;
}
.tab-group { display: flex; flex-wrap: wrap; gap: 8px; }
.tab-btn {
  border: 1px solid var(--border); background: #f8fafc; color: var(--muted);
  font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  transition: all 0.15s ease;
}
.tab-btn.active, .tab-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.search-input {
  padding: 8px 14px; border-radius: 10px; border: 1px solid #cbd5e1; font-size: 14px;
  width: 240px; outline: none; font-family: inherit;
}
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
.fmt-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fmt-item {
  border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #fafcff;
}
.fmt-ext { font-weight: 700; font-size: 13.5px; color: var(--text); font-family: Consolas, monospace; }
.fmt-brand { font-size: 12px; color: var(--subtle); text-align: right; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px;
}
.faq-card h3 { font-size: 15.5px; margin-bottom: 8px; color: var(--text); }
.faq-card p { font-size: 13.5px; color: var(--muted); }

/* Footer */
footer {
  background: #0f172a; color: #94a3b8; padding: 36px 0; font-size: 13px; text-align: center;
}
footer a { color: #cbd5e1; text-decoration: underline; }
footer .icp { margin-top: 8px; font-size: 12px; color: #64748b; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .faq-grid { grid-template-columns: 1fr; }
  .feat-grid, .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .fmt-list { grid-template-columns: repeat(2, 1fr); }
  .suite-banner { flex-direction: column; text-align: center; }
  .suite-left { flex-direction: column; }
  .suite-right { text-align: center; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 28px; }
  .feat-grid, .pkg-grid, .fmt-list, .compare-split { grid-template-columns: 1fr; }
  .search-input { width: 100%; }
}
