/* ==========================================================================
   E-State Tech · 进化版主页样式 (2026-06-25)
   目标: 对标 Apple Pro 官网
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ---------- Root Tokens (light + dark via data-theme) ---------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #000000;
  --bg-dark-alt: #1d1d1f;
  --text: #1d1d1f;
  --text-soft: #6e6e73;
  --text-inverse: #f5f5f7;
  --text-inverse-soft: #a1a1a6;
  --accent: #0071e3;       /* Apple Blue */
  --accent-hover: #0077ed;
  --purple: #a855f7;
  --purple-soft: #f3e8ff;
  --green: #16a34a;
  --orange: #ea580c;
  --border: #d2d2d7;
  --card-bg: #ffffff;
  --card-shadow: 0 1px 3px rgba(0,0,0,.06);
  --card-shadow-hover: 0 8px 24px rgba(0,0,0,.08);
  --radius: 18px;
  --radius-sm: 12px;
  --transition: 200ms cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #1d1d1f;
  --bg-dark: #000000;
  --bg-dark-alt: #0a0a0c;
  --text: #ffffff;
  --text-soft: #c7c7cc;
  --text-inverse: #ffffff;
  --text-inverse-soft: #c7c7cc;
  --accent: #2997ff;
  --accent-hover: #4dacff;
  --purple: #bf5af2;
  --purple-soft: #2d1b4e;
  --border: #424245;
  --card-bg: #1d1d1f;
  --card-shadow: 0 1px 3px rgba(0,0,0,.4);
  --card-shadow-hover: 0 8px 24px rgba(0,0,0,.6);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC",
               "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--transition), color var(--transition);
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Sticky Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

[data-theme="dark"] .nav { background: rgba(0,0,0,.72); }

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text);
}

.nav-brand {
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--text);
  opacity: .88;
  font-size: 14px;
  transition: opacity var(--transition);
}
.nav-links a:hover { opacity: 1; }

.nav-actions { display: flex; gap: 16px; align-items: center; }
.nav-actions button {
  background: none; border: none; cursor: pointer;
  color: var(--text); font-size: 14px;
  padding: 4px 8px; border-radius: 6px;
  transition: background var(--transition);
}
.nav-actions button:hover { background: var(--bg-alt); }

/* ---------- Section · Apple Pro Rhythm ---------- */
.section {
  padding: 120px 0;
  position: relative;
}
.section--light { background: var(--bg); color: var(--text); }
.section--gray { background: var(--bg-alt); color: var(--text); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark-alt { background: var(--bg-dark-alt); color: #fff; }

.section-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 64px;
}
.section-head .eyebrow {
  font-size: 17px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.section-head h2 {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.07;
  margin-bottom: 12px;
}
.section-head p {
  font-size: 21px;
  color: var(--text-soft);
  line-height: 1.4;
}
.section--dark .section-head p,
.section--dark-alt .section-head p { color: rgba(255,255,255,.7); }

/* ---------- Hero (Apple Pro Style) ---------- */
.hero {
  min-height: 92vh;
  background: var(--bg-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  font-size: 21px;
  color: #fff;
  opacity: .9;
  margin-bottom: 8px;
  font-weight: 500;
}

.hero h1 {
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 900px;
  margin: 0 auto 16px;
}

.hero h2 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.005em;
  opacity: .85;
  max-width: 720px;
  margin: 0 auto 36px;
}

.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--ghost:hover { background: var(--accent); color: #fff; }
.btn--on-dark {
  background: #fff;
  color: #000;
}
.btn--on-dark:hover { background: rgba(255,255,255,.85); color: #000; }
.btn--ghost-on-dark {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--ghost-on-dark:hover { background: var(--accent); color: #fff; }

/* hero scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text);
  opacity: .55;
  font-size: 13px;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: hintFade 1100ms ease forwards;
  animation-delay: 2400ms;
}
.hero-scroll-hint svg {
  width: 18px; height: 18px;
  animation: dropDown 2.4s ease-in-out infinite;
}
@keyframes hintFade { to { opacity: .7; } }
@keyframes dropDown {
  0%   { transform: translateY(-8px); opacity: .15; }
  50%  { transform: translateY(0);    opacity: 1; }
  100% { transform: translateY(8px);  opacity: .15; }
}

/* hero background decoration (animated SVG dots) */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  overflow: hidden;
}
.hero-bg svg { width: 100%; height: 100%; }
.hero-bg .glow1 { animation: glowDrift1 24s ease-in-out infinite alternate; transform-origin: 30% 40%; }
.hero-bg .glow2 { animation: glowDrift2 28s ease-in-out infinite alternate; transform-origin: 75% 65%; }
@keyframes glowDrift1 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.55; }
  100% { transform: translate(100px, -60px) scale(1.18); opacity: 0.95; }
}
@keyframes glowDrift2 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.45; }
  100% { transform: translate(-80px, 50px) scale(1.25); opacity: 0.9; }
}

/* Hero title — char by char reveal */
.hero h1 .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(48px) rotate(10deg);
  animation: charReveal 1100ms cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes charReveal {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

/* Hero subtitle + ctas — slide in after title */
.hero h2, .hero-ctas {
  opacity: 0;
  transform: translateY(28px);
  animation: slideUp 1100ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: 1600ms;
}
.hero-ctas { animation-delay: 2000ms; }
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}
.hero .hero-eyebrow {
  opacity: 0;
  animation: fadeIn 900ms ease forwards;
  animation-delay: 350ms;
}
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Promo Strip (ES-Code) ---------- */
.promo-strip {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff;
  padding: 24px 0;
}
.promo-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.promo-strip .title { font-weight: 600; font-size: 19px; margin-bottom: 4px; }
.promo-strip .desc { font-size: 14px; opacity: .9; }
.promo-strip .badge {
  background: rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 8px;
  display: inline-flex;
}
.promo-strip .btn-link {
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 14px;
  transition: background var(--transition);
}
.promo-strip .btn-link:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ---------- Card Grid ---------- */
.grid {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1280px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 68px; }
  .section-head h2 { font-size: 48px; }
}

@media (max-width: 980px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; padding: 100px 20px 80px; }
  .hero h1 { font-size: 56px; }
  .hero h2 { font-size: 22px; }
  .hero-ctas { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .section-head h2 { font-size: 36px; }
  .section-head p { font-size: 17px; }
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .promo-strip-inner { flex-direction: column; align-items: flex-start; }
  .promo-strip .title { font-size: 17px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta-strip h3 { font-size: 36px; }
  .cta-strip p { font-size: 17px; }
  .card { padding: 24px; }
  .card h3 { font-size: 20px; }
  .terminal-body { font-size: 12px; padding: 16px; min-height: 180px; }
  /* EN override at tablet */
  html[lang="en"] .hero h1 { font-size: 48px; }
  html[lang="en"] .section-head h2 { font-size: 32px; }
}

@media (max-width: 768px) {
  .hero { min-height: 70vh; padding: 80px 16px 60px; }
  .hero h1 { font-size: 42px; letter-spacing: -0.02em; }
  .hero h2 { font-size: 18px; }
  .hero-eyebrow { font-size: 16px; }
  .hero-scroll-hint { font-size: 11px; bottom: 20px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 30px; }
  .section-head p { font-size: 16px; line-height: 1.5; }
  .stat { padding: 24px 16px; }
  .stat .val { font-size: 32px; }
  .profile-card { padding: 32px 20px; }
  .profile-avatar { width: 72px; height: 72px; font-size: 32px; }
  .card { padding: 20px; border-radius: 14px; }
  .card h3 { font-size: 19px; }
  .cta-strip { padding: 64px 20px; }
  .cta-strip h3 { font-size: 28px; }
  .footer { padding: 32px 16px 24px; font-size: 12px; }
  .footer a { margin: 0 6px; }
  .terminal-body { font-size: 11px; padding: 14px; min-height: 160px; }
  .terminal-head .title { display: none; }
  .v9-banner { padding: 20px; }
  .v9-title { font-size: 20px; }
  /* EN override at mobile */
  html[lang="en"] .hero h1 { font-size: 36px; }
  html[lang="en"] .section-head h2 { font-size: 26px; }
}

@media (max-width: 375px) {
  .hero h1 { font-size: 36px; }
  .hero h2 { font-size: 17px; }
  .section-head h2 { font-size: 26px; }
  .btn { padding: 10px 18px; font-size: 15px; }
  html[lang="en"] .hero h1 { font-size: 30px; }
}

/* ---------- Card ---------- */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: transform 350ms cubic-bezier(.2,.8,.2,1),
              box-shadow 350ms ease,
              border-color 250ms ease;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}
.card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}
.card-icon { transition: transform 400ms cubic-bezier(.2,.8,.2,1); }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); }

/* shimmer line that runs across on hover */
.card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
  transition: left 700ms ease;
}
.card:hover::after { left: 130%; }

/* stats — animated counter */
.stat .val[data-count] {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon.blue { background: #dbeafe; color: #1e40af; }
.card-icon.green { background: #dcfce7; color: #166534; }
.card-icon.orange { background: #ffedd5; color: #9a3412; }
.card-icon.purple { background: var(--purple-soft); color: #6b21a8; }
.card-icon.pink { background: #fce7f3; color: #9d174d; }
[data-theme="dark"] .card-icon.blue { background: #1e3a8a; color: #93c5fd; }
[data-theme="dark"] .card-icon.green { background: #14532d; color: #86efac; }
[data-theme="dark"] .card-icon.orange { background: #7c2d12; color: #fdba74; }
[data-theme="dark"] .card-icon.purple { background: var(--purple-soft); color: #d8b4fe; }
[data-theme="dark"] .card-icon.pink { background: #831843; color: #f9a8d4; }

.card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.card p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
}

.card .meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.card .badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 980px;
}
.badge--ver { background: #dcfce7; color: var(--green); }
.badge--ent { background: #fce7f3; color: #be185d; }
.badge--concept { background: var(--purple-soft); color: #7c3aed; }
[data-theme="dark"] .badge--ver { background: #14532d; color: #86efac; }
[data-theme="dark"] .badge--ent { background: #831843; color: #f9a8d4; }
[data-theme="dark"] .badge--concept { background: var(--purple-soft); color: #d8b4fe; }

/* Step badge (upgrade path cards) */
.step-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* Card badge (innovation cards on v8-formula) */
.card-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 15px;
  margin-top: 12px;
}

/* ---------- Profile Card ---------- */
.profile-card {
  text-align: center;
  padding: 48px 32px;
}
.profile-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.profile-card h3 { font-size: 28px; margin-bottom: 4px; }
.profile-card .role { color: var(--accent); font-size: 15px; margin-bottom: 12px; }
.profile-card p { font-size: 15px; color: var(--text-soft); line-height: 1.65; max-width: 380px; margin: 0 auto; }

/* ---------- Stats Bar ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.stat { background: var(--bg); padding: 32px 24px; text-align: center; }
.stat .val { font-size: 40px; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }
.stat .lab { font-size: 14px; color: var(--text-soft); margin-top: 4px; }
@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat .val { font-size: 32px; }
}

/* ---------- V9 Banner (preserved) ---------- */
.v9-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px dashed #f59e0b;
  border-radius: var(--radius);
  padding: 32px 36px;
}
[data-theme="dark"] .v9-banner {
  background: linear-gradient(135deg, #1c1408 0%, #2d1e0a 100%);
  border-color: #b45309;
}
.v9-stamp {
  display: inline-block;
  background: #f59e0b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
  margin-right: 6px;
}
.v9-stamp.blue { background: var(--accent); }
.v9-title { font-size: 24px; font-weight: 700; color: #92400e; margin: 12px 0 8px; }
[data-theme="dark"] .v9-title { color: #fcd34d; }
.v9-desc { font-size: 15px; color: #78350f; line-height: 1.65; }
[data-theme="dark"] .v9-desc { color: #fde68a; }

/* ---------- CTA Strip ---------- */
.cta-strip {
  background: var(--bg-dark);
  color: #fff;
  padding: 96px 24px;
  text-align: center;
}
.cta-strip h3 { font-size: 56px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 16px; }
.cta-strip p { font-size: 21px; color: rgba(255,255,255,.75); margin-bottom: 32px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-alt);
  color: var(--text-soft);
  padding: 48px 24px 32px;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
}
.footer a { color: var(--text-soft); margin: 0 12px; }
.footer a:hover { color: var(--text); }
.footer .police { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.footer .police img { width: 16px; height: 17px; vertical-align: middle; }

/* ---------- Scroll Fade-In (replayable) ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1100ms ease-out, transform 1100ms ease-out;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- English typography overrides ---------- */
/* EN strings are wider than CN, shrink H1/H2 + open tracking + leading */
html[lang="en"] .hero h1 {
  font-size: 68px;
  letter-spacing: -0.018em;
  line-height: 1.08;
}
html[lang="en"] .hero h2 {
  font-size: 24px;
  letter-spacing: -0.002em;
  line-height: 1.35;
}
html[lang="en"] .section-head h2 {
  font-size: 48px;
  letter-spacing: -0.012em;
  line-height: 1.1;
}
html[lang="en"] .section-head p {
  font-size: 19px;
  line-height: 1.5;
}
html[lang="en"] .cta-strip h3 {
  font-size: 48px;
}
html[lang="en"] .promo-strip .title {
  font-size: 17px;
}
html[lang="en"] .card h3 {
  font-size: 22px;
  line-height: 1.3;
}

/* ---------- Terminal Mock (for ES-Code demo) ---------- */
.terminal {
  background: #1d1d1f;
  color: #f5f5f7;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  max-width: 880px;
  margin: 0 auto;
}
.terminal-head {
  background: #2d2d30;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.terminal-head .dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.terminal-head .title { margin-left: 12px; color: #a1a1a6; font-size: 13px; }
.terminal-body { padding: 24px; min-height: 240px; }
.terminal-body .prompt { color: #28c840; }
.terminal-body .cmd { color: #f5f5f7; }
.terminal-body .output { color: #a1a1a6; }
.terminal-body .highlight { color: #2997ff; }
.terminal-body .tag { color: #bf5af2; }
.terminal-body .cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: #f5f5f7;
  vertical-align: middle;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ==========================================================================
   Product Page Styles (Apple Pro)
   ========================================================================== */
.product-hero {
  background: var(--bg);
  padding: 140px 24px 100px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.product-hero .back {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: .85;
  transition: opacity var(--transition);
}
.product-hero .back:hover { opacity: 1; }
.product-hero .ver {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 980px;
  margin-bottom: 16px;
}
[data-theme="dark"] .product-hero .ver { background: #1d1d1f; }
.product-hero h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.product-hero p.tagline {
  font-size: 21px;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.4;
}
.product-hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.feature-card .num {
  display: inline-block;
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feature-card p { font-size: 15px; color: var(--text-soft); line-height: 1.55; }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.spec-table th { color: var(--text-soft); font-weight: 500; width: 40%; }
.spec-table td { color: var(--text); font-weight: 500; }

/* Breadcrumb / nav back */
.product-back-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  font-size: 13px;
}
.product-back-nav a { color: var(--accent); }
.product-back-nav .sep { color: var(--text-soft); margin: 0 8px; }

@media (max-width: 768px) {
  .product-hero { padding: 110px 20px 70px; }
  .product-hero h1 { font-size: 36px; }
  .product-hero p.tagline { font-size: 17px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 24px; }
  .spec-table th, .spec-table td { padding: 12px 14px; font-size: 14px; }
}
html[lang="en"] .product-hero h1 { font-size: 56px; }
@media (max-width: 768px) {
  html[lang="en"] .product-hero h1 { font-size: 32px; }
}/* ==========================================================================
   游戏 Widget + Feature Section
   ========================================================================== */

/* 顶部排行榜小条 */
.game-widget {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
[data-theme="dark"] .game-widget {
  background: var(--bg-dark-alt);
}
.game-widget-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 20px;
  color: var(--text);
  text-decoration: none;
  flex-wrap: wrap;
  transition: var(--transition);
}
.game-widget-link:hover {
  background: var(--card-bg);
}
.game-widget-icon {
  font-size: 16px;
}
.game-widget-title {
  font-weight: 600;
  letter-spacing: 0.5px;
}
.game-widget-divider {
  color: var(--text-soft);
  opacity: 0.4;
}
.game-widget-ranks {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-soft);
}
.lb-item strong {
  color: var(--text);
  margin: 0 2px;
  font-weight: 600;
}
.lb-score {
  color: var(--accent);
  font-weight: 500;
  margin-left: 2px;
}
.game-widget-cta {
  margin-left: 6px;
  color: var(--accent);
  font-weight: 500;
  transition: var(--transition);
}
.game-widget-link:hover .game-widget-cta {
  transform: translateX(2px);
}

/* 游戏特性区 */
.game-feature {
  background: var(--bg);
  padding: 80px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .game-feature {
  background: var(--bg);
}
.game-feature-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: var(--transition);
}
[data-theme="dark"] .game-feature-inner {
  background: var(--bg-alt);
}
.game-feature-inner:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.game-feature-art {
  font-size: 96px;
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.game-feature-body {
  flex: 1;
}
.game-feature-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.game-feature-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 12px;
}
.game-feature-desc {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-soft);
  margin-bottom: 24px;
}
.game-feature .btn--primary {
  background: var(--accent);
  color: white;
  padding: 12px 28px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
}
.game-feature .btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .game-widget-link {
    padding: 8px 14px;
    font-size: 12px;
  }
  .game-widget-ranks {
    gap: 8px;
  }
  .game-feature {
    padding: 40px 16px;
  }
  .game-feature-inner {
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
    text-align: center;
  }
  .game-feature-art {
    width: 100px;
    height: 100px;
    font-size: 56px;
  }
  .game-feature-title {
    font-size: 24px;
  }
  .game-feature-desc {
    font-size: 15px;
  }
}