/* elvin.com.cn · E· Software landing · WCAG 2.2 oriented · v20260703 */
:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #14b8a6;
  --accent: #0891b2;
  --heading: #134e4a;
  --price: #0f766e;
  --link: #0d9488;
  --focus: #2dd4bf;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 12px 40px rgba(15, 118, 110, 0.08);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.12);
  --nav-h: 4.25rem;
  --font: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
  --page-bg: #f8fafc;
  --page-mesh: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(45, 212, 191, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(14, 165, 233, 0.1), transparent),
    linear-gradient(180deg, #f0fdfa 0%, #f8fafc 45%, #f1f5f9 100%);
  --card: rgba(255, 255, 255, 0.92);
  --card-solid: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --body: #334155;
  --intro: #1e293b;
  --line: rgba(15, 118, 110, 0.14);
  --tool-bg: #ffffff;
  --tool-hover-bg: #f0fdfa;
  --nav-bg: rgba(255, 255, 255, 0.82);
  --lang-bg: rgba(255, 255, 255, 0.9);
  --btn-secondary-bg: #fff;
  --theme-color: #f0fdfa;
  --hero-title: linear-gradient(135deg, #0f766e 0%, #0d9488 45%, #0891b2 100%);
}

:root:not([data-theme="light"]) {
  --page-bg: #0b0f14;
  --page-mesh: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(45, 212, 191, 0.12), transparent),
    radial-gradient(ellipse 50% 30% at 100% 0%, rgba(14, 165, 233, 0.08), transparent),
    linear-gradient(180deg, #0f1419 0%, #0b0f14 100%);
  --card: rgba(22, 28, 36, 0.88);
  --card-solid: #161c24;
  --text: #f1f5f9;
  --muted: #a8b4c4;
  --body: #cbd5e1;
  --intro: #e2e8f0;
  --line: rgba(45, 212, 191, 0.16);
  --tool-bg: #161c24;
  --tool-hover-bg: #1a242e;
  --nav-bg: rgba(11, 15, 20, 0.88);
  --lang-bg: rgba(22, 28, 36, 0.95);
  --btn-secondary-bg: #161c24;
  --theme-color: #0f1419;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
  --heading: #5eead4;
  --price: #2dd4bf;
  --hero-title: linear-gradient(135deg, #5eead4 0%, #2dd4bf 50%, #38bdf8 100%);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--page-bg);
  background-image: var(--page-mesh);
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.6;
  overflow-x: clip;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  left: max(1rem, env(safe-area-inset-left));
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.65rem max(1rem, env(safe-area-inset-right)) 0.65rem max(1rem, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.nav-brand-text { display: flex; flex-direction: column; min-width: 0; }

.brand-mark {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--heading);
}

.nav-brand-sub {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

/* 顶栏工具 · 对标 5002 / brand-theme 标配 §2a */
.head-tools {
  --head-tool-h: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.lang {
  display: flex;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--lang-bg);
  backdrop-filter: blur(8px);
}

.lang-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px 10px;
  min-width: 0;
  min-height: 0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
  background: linear-gradient(135deg, #14b8a6 0%, #0ea5e9 100%);
  color: #042f2e;
}

.theme-toggle {
  flex-shrink: 0;
  width: var(--head-tool-h);
  height: var(--head-tool-h);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-solid);
  color: var(--text);
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

@media (hover: hover) {
  .theme-toggle:hover {
    border-color: #14b8a6;
    background: rgba(20, 184, 166, 0.14);
  }
  .lang-btn:hover:not(.active) { color: var(--text); }
}

@media (max-width: 520px) {
  .head-tools {
    --head-tool-h: 26px;
    gap: 4px;
  }
  .lang { padding: 2px; }
  .lang-btn {
    padding: 3px 7px;
    font-size: 0.65rem;
  }
  .theme-toggle { font-size: 0.65rem; }
}

/* Layout */
.wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding:
    clamp(1.25rem, 4vw, 2rem)
    clamp(1rem, 4vw, 1.5rem)
    clamp(2.5rem, 6vw, 4rem);
  padding-left: max(clamp(1rem, 4vw, 1.5rem), env(safe-area-inset-left));
  padding-right: max(clamp(1rem, 4vw, 1.5rem), env(safe-area-inset-right));
}

.wrap.wrap-sub { padding-top: clamp(0.875rem, 3vw, 1.5rem); max-width: 48rem; }

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(0.5rem, 3vw, 1rem) clamp(2rem, 5vw, 2.75rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.hero-glow {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(100%, 36rem);
  height: 12rem;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.22), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.hero-kicker {
  position: relative;
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-title {
  position: relative;
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: var(--hero-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  position: relative;
  margin: 0 auto 1.5rem;
  max-width: 38rem;
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  color: var(--body);
  line-height: 1.75;
}

.hero-cta { justify-content: center; }

/* Trust strip */
.trust-strip {
  list-style: none;
  margin: 0 0 clamp(1.25rem, 4vw, 2rem);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 0.65rem;
}

.trust-strip li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  font-size: 0.84rem;
  color: var(--body);
  line-height: 1.45;
}

.trust-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Cards */
.card {
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 1.85rem);
  box-shadow: var(--shadow);
  margin-bottom: clamp(1rem, 3vw, 1.35rem);
}

.card h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.05rem, 3.2vw, 1.25rem);
  color: var(--heading);
  letter-spacing: -0.01em;
}

.card p { margin: 0 0 0.85rem; line-height: 1.75; color: var(--body); }

.about-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 720px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.intro-lead {
  font-size: clamp(1rem, 3vw, 1.08rem);
  line-height: 1.8;
  color: var(--intro);
}

.intro-list {
  margin: 0 0 0.85rem;
  padding-left: 1.2em;
  line-height: 1.8;
  color: var(--body);
}

.intro-list li { margin-bottom: 0.35rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }

/* About us / culture */
.culture-lead {
  font-size: clamp(0.95rem, 2.8vw, 1.02rem);
  line-height: 1.75;
  color: var(--intro);
  margin-bottom: 1.15rem;
}

.culture-grid {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

@media (min-width: 640px) {
  .culture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.culture-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.05rem;
  background: var(--tool-bg);
}

.culture-item--wide {
  grid-column: 1 / -1;
}

.culture-item h3 {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.culture-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--body);
}

.culture-list {
  margin: 0;
  padding-left: 1.15em;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--body);
}

.culture-list li { margin-bottom: 0.35rem; }
.culture-list li:last-child { margin-bottom: 0; }

.culture-motto {
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, rgba(255, 240, 200, 0.35), rgba(255, 200, 200, 0.22));
  border: 1px solid rgba(255, 184, 176, 0.45);
}

:root:not([data-theme="light"]) .culture-motto {
  background: linear-gradient(135deg, rgba(255, 200, 120, 0.12), rgba(255, 136, 136, 0.1));
  border-color: rgba(255, 184, 176, 0.25);
}

.culture-motto-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.culture-motto-text {
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 3vw, 1.2rem);
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.04em;
}

.culture-motto-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--line);
}

:root:not([data-theme="light"]) .badge {
  color: var(--primary-light);
  background: rgba(45, 212, 191, 0.1);
}

/* Pricing */
.pricing-lead, .catalog-lead, .price-note {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

.price-grid--tiers {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .price-grid--tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.price-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  background: var(--tool-bg);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  border-color: rgba(13, 148, 136, 0.45);
}

.price-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.price-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.price-card--featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(13, 148, 136, 0.22);
  border-color: var(--primary);
}

.tier-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tier-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.tier-price {
  margin: 0.15rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.tier-price strong {
  font-size: clamp(1.75rem, 4vw, 2rem);
  color: var(--price);
  letter-spacing: -0.03em;
}

.tier-price span { font-size: 0.9rem; color: var(--muted); }

.tier-year, .tier-desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

.price-card .tier-desc { flex: 1; }

.price-card--featured .tier-desc { flex: 1; }

.btn-block {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  text-align: center;
  pointer-events: none;
}

/* Catalog */
.cat-group { margin-top: clamp(1.25rem, 3vw, 1.75rem); }
.cat-group:first-of-type { margin-top: 0.75rem; }

.cat-title {
  margin: 0 0 0.25rem;
  font-size: clamp(1.05rem, 2.4vw, 1.15rem);
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cat-desc {
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.qc-sub {
  margin-top: clamp(1.1rem, 2.5vw, 1.5rem);
  padding-top: clamp(0.85rem, 2vw, 1.1rem);
  border-top: 1px solid var(--line);
}

.qc-sub-title {
  margin: 0 0 0.2rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.03em;
}

.qc-sub-desc {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 540px) {
  .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
}

@media (min-width: 960px) {
  .cat-group--quality .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .cat-group--quality .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-group--quality .tool--featured { grid-column: 1 / -1; }
}

.tool {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1rem 1rem 1.1rem;
  background: var(--tool-bg);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  min-width: 0;
}

@media (hover: hover) {
  .tool:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(13, 148, 136, 0.35);
    background: var(--tool-hover-bg);
  }
}

.tool--featured {
  border-color: rgba(13, 148, 136, 0.35);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.06), transparent);
}

.tool--soon {
  opacity: 0.78;
  cursor: default;
  border-style: dashed;
  background: var(--tool-bg);
}

.tool--soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
  background: var(--tool-bg);
}

.tool-price--soon {
  color: var(--muted);
  background: rgba(100, 116, 139, 0.12);
}

.tool-price {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(13, 148, 136, 0.1);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.tool strong {
  display: block;
  margin: 0 3rem 0.4rem 0;
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.35;
}

.tool span:last-child {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  min-height: 2.85rem;
  line-height: 1.3;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.28);
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--heading);
  border: 1px solid var(--line);
}

@media (hover: hover) {
  .btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
  .btn-secondary:hover { border-color: var(--primary); }
}

@media (max-width: 639px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}

/* Brand typography (inline in i18n) */
.brand-e {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-weight: 800;
  font-style: italic;
  font-size: 1.12em;
  color: var(--primary);
}

.brand-dot {
  font-weight: 700;
  color: var(--accent);
  margin: 0 0.08em;
}

/* Contact & footer */
.contact {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--body);
}

footer {
  margin-top: clamp(1.5rem, 4vw, 2rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.foot-links {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
}

.foot-links a {
  color: var(--link);
  text-decoration: none;
  padding: 0.25rem;
}

.foot-links a:hover { text-decoration: underline; }

#icp { margin-top: 0.65rem; line-height: 1.6; }

#icp a { color: inherit; text-decoration: none; }
#icp a:hover { text-decoration: underline; }

.icp-meta { margin-left: 0.5rem; opacity: 0.75; }

/* 页脚备案区由 .site-footer__icp 控制布局 */

/* Sub pages (terms / refund) */
.page-head { margin-bottom: 1.25rem; }
.page-head h1 {
  margin: 0.6rem 0 0.35rem;
  font-size: clamp(1.2rem, 4vw, 1.55rem);
  color: var(--heading);
}
.muted { color: var(--muted); font-size: 0.9rem; margin: 0; }
.back {
  color: var(--link);
  text-decoration: none;
  font-size: 0.92rem;
  display: inline-block;
  padding: 0.25rem 0;
}
.back:hover { text-decoration: underline; }
.sub-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 0.75rem;
}
.prose h2 {
  font-size: clamp(0.98rem, 3vw, 1.05rem);
  color: var(--heading);
  margin: 1.35em 0 0.55em;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { line-height: 1.75; color: var(--body); }
.prose ul { padding-left: 1.2em; margin: 0 0 0.85rem; }

/* Legacy compat */
header.site-head { margin-bottom: 1.5rem; }
.site-head-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.head-main { min-width: 0; }
h1 { margin: 0; font-size: clamp(1.2rem, 4.8vw, 1.75rem); line-height: 1.3; }
.sub { margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; }
.price-grid:not(.price-grid--tiers) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}
.price-grid:not(.price-grid--tiers) .price-card strong { font-size: 1.35rem; color: var(--price); }

/* ── Corporate top nav (multi-page · ref gz-hoko) ── */
.corp-nav {
  position: sticky;
  top: 0;
  z-index: 200;
}

.corp-nav__bar {
  background: linear-gradient(180deg, #1a6bb5 0%, #155a9a 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(15, 50, 90, 0.25);
}

.corp-nav__inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.25rem;
}

.corp-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
  min-width: 0;
}

.corp-nav__brand .logo {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.corp-nav__brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.corp-nav__brand .brand-mark {
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
}

.corp-nav__brand-sub {
  font-size: 0.68rem;
  opacity: 0.88;
  line-height: 1.25;
}

.corp-nav__menu {
  flex: 1;
  min-width: 0;
}

.corp-nav__menu > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.corp-nav__item {
  position: relative;
}

.corp-nav__link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.85rem 0.95rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
}

.corp-nav__chev {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

.corp-nav__item.is-active > .corp-nav__link,
.corp-nav__link:hover,
.corp-nav__item:focus-within > .corp-nav__link {
  background: rgba(255, 255, 255, 0.12);
}

.corp-nav__drop {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 10.5rem;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 220;
  pointer-events: none;
}

.corp-nav__drop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.45rem;
  height: 0.45rem;
}

.corp-nav__drop a {
  display: block;
  padding: 0.55rem 1rem;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.corp-nav__drop a:hover {
  background: #f0f9ff;
  color: #155a9a;
}

.corp-nav__item.has-drop:hover .corp-nav__drop,
.corp-nav__item.has-drop:focus-within .corp-nav__drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.corp-nav .head-tools {
  flex-shrink: 0;
  margin-left: auto;
  position: relative;
  z-index: 120;
}

.corp-nav .lang {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.45);
}

.corp-nav .lang-btn {
  color: rgba(255, 255, 255, 0.72);
}

.corp-nav .lang-btn.active {
  background: linear-gradient(135deg, #14b8a6 0%, #0ea5e9 100%);
  color: #042f2e;
}

.corp-nav .theme-toggle {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
}

.corp-nav .theme-toggle:hover {
  border-color: #14b8a6;
  background: rgba(20, 184, 166, 0.2);
}

.corp-nav__toggle {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
}

.corp-nav__toggle-icon {
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.page-banner {
  background: linear-gradient(135deg, rgba(21, 90, 154, 0.08), rgba(13, 148, 136, 0.06));
  border-bottom: 1px solid var(--line);
  padding: clamp(1.25rem, 4vw, 2rem) max(1rem, env(safe-area-inset-left));
}

.page-banner h1 {
  margin: 0;
  max-width: 72rem;
  margin-inline: auto;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  color: var(--heading);
}

.page-banner p {
  max-width: 72rem;
  margin: 0.5rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .corp-nav__inner {
    flex-wrap: wrap;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .corp-nav__toggle {
    display: inline-flex;
  }

  .corp-nav__menu {
    display: none;
    order: 4;
    flex-basis: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    margin-bottom: 0.25rem;
  }

  .corp-nav--open .corp-nav__menu {
    display: block;
  }

  .corp-nav__menu > ul {
    flex-direction: column;
    align-items: stretch;
  }

  .corp-nav__link {
    padding: 0.75rem 1rem;
  }

  .corp-nav__drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0;
    display: none;
    padding: 0;
    pointer-events: auto;
  }

  .corp-nav--open .corp-nav__item.has-drop .corp-nav__drop {
    display: block;
  }

  .corp-nav__drop a {
    color: #fff;
    padding-left: 1.75rem;
  }

  .corp-nav__drop a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .corp-nav .head-tools {
    order: 3;
  }
}

/* ── Compliance footer (ICP · USCC · legal links) ── */
.site-footer {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.site-footer__copy {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: var(--body);
}

.site-footer__meta {
  margin: 0.25rem 0;
  line-height: 1.65;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.1rem;
  margin: 1rem 0 0.75rem;
}

.site-footer__links a {
  color: var(--link);
  text-decoration: none;
  padding: 0.2rem 0;
}

.site-footer__links a:hover { text-decoration: underline; }

.site-footer__icp {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  line-height: 1.7;
}

.site-footer__icp a {
  color: inherit;
  text-decoration: none;
}

.site-footer__icp a:hover { text-decoration: underline; }

.site-footer__mps {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.site-footer__sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.site-footer__mps-icon {
  display: inline-block;
  width: 14px;
  height: 16px;
  max-width: none;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 0;
}

.icp-meta {
  flex-basis: 100%;
  margin: 0;
  opacity: 0.75;
  font-size: 0.75rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 0.75rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  width: 34%;
  max-width: 12rem;
  background: rgba(13, 148, 136, 0.06);
  color: var(--heading);
  font-weight: 600;
}

.wrap > [id].card,
.catalog-root .cat-group[id] {
  scroll-margin-top: calc(var(--nav-h) + 1.25rem);
}

body.has-promo-strip .wrap > [id].card,
body.has-promo-strip .catalog-root .cat-group[id] {
  scroll-margin-top: calc(var(--nav-h) + 2.75rem);
}

.card--legal { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* ── V1.5 Hero split + featured + promos ── */
.hero--split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  text-align: left;
}

@media (min-width: 900px) {
  .hero--split {
    grid-template-columns: 1fr min(44%, 28rem);
    text-align: left;
  }
  .hero--split .hero-cta { justify-content: flex-start; }
}

.hero-copy { position: relative; z-index: 1; }

.hero-visual-slot { position: relative; z-index: 1; }

.hero-visual {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(13, 148, 136, 0.18);
  border: 1px solid var(--line);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  vertical-align: middle;
}

.hero-visual picture {
  display: block;
  width: 100%;
}

.featured-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.featured-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}

.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.featured-card__poster {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--line);
}

.featured-card__poster--animate {
  object-fit: contain;
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  pointer-events: none;
}

.featured-card:hover .featured-card__poster--animate {
  filter: brightness(1.05);
}

.featured-card__poster--placeholder {
  min-height: 8rem;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(8, 145, 178, 0.1));
}

.featured-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.featured-card__price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

.catalog-badge-soon {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted, #64748b);
  background: rgba(100, 116, 139, 0.12);
  border-radius: 0.35rem;
  vertical-align: middle;
}

.featured-card__body strong { color: var(--heading); }

.featured-card__body span:last-child {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.featured-card--spotlight {
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.12);
}

.catalog-root .cat-group + .cat-group {
  margin-top: 1.75rem;
}

.catalog-grid {
  margin-top: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .cat-group--quality .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .cat-group--quality .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.catalog-lead {
  margin: -0.25rem 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.catalog-more-link {
  margin: 1rem 0 0;
  text-align: center;
}

.catalog-more-link a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.catalog-more-link a:hover {
  text-decoration: underline;
}

.catalog-error {
  color: var(--muted);
  padding: 1rem 0;
}

/* Promo strip (below nav) */
.promo-strip {
  background: linear-gradient(90deg, #0f766e, #0d9488);
  color: #fff;
  font-size: 0.88rem;
}

.promo-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.55rem 1rem;
}

.promo-strip__badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
}

.promo-strip__text {
  flex: 1 1 12rem;
  margin: 0;
  font-weight: 500;
}

.promo-strip__cta.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.promo-strip__close {
  margin-left: auto;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  padding: 0.15rem 0.35rem;
}

.promo-strip__close:hover { opacity: 1; }

body.has-promo-strip .page-banner { scroll-margin-top: calc(var(--nav-h) + 2.5rem); }

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  min-height: 2.25rem;
  line-height: 1.2;
}

/* Bottom-right float promo */
.promo-float-root {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 9000;
  pointer-events: none;
}

.promo-float {
  pointer-events: auto;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  max-width: min(calc(100vw - 2rem), 20rem);
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}

.promo-float--accent {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 12px 40px rgba(13, 148, 136, 0.2);
}

.promo-float--slide-in-once {
  animation: promo-slide-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes promo-slide-in {
  from {
    opacity: 0;
    transform: translateX(1.25rem) translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-float--slide-in-once {
    animation: none;
  }
}

.promo-float__close {
  position: absolute;
  top: 0.25rem;
  right: 0.35rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem;
}

.promo-float__img {
  flex-shrink: 0;
  border-radius: 10px;
}

.promo-float__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  padding-right: 0.5rem;
}

.promo-float__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.promo-float__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
  padding-right: 1.25rem;
}

.promo-float__sub {
  margin: 0.2rem 0 0.55rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.promo-float__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  margin-top: 0.35rem;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 639px) {
  .promo-float-root {
    left: 1rem;
    right: 1rem;
  }
  .promo-float {
    max-width: none;
  }
}

/* P1-7 · localStorage 告知条 */
.beian-consent {
  position: fixed;
  z-index: 200;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--card-solid);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.beian-consent__text {
  flex: 1 1 14rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--body);
}

.beian-consent__text a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.beian-consent__btn {
  flex-shrink: 0;
  min-height: 2.5rem;
}

@media (max-width: 639px) {
  .beian-consent {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

/* —— 产品动态 —— */
.updates-section {
  padding: 0;
  overflow: hidden;
}

.updates-list-host {
  min-height: 4rem;
}

.updates-loading,
.updates-empty,
.updates-error {
  margin: 1.25rem 1.5rem;
  color: var(--muted);
}

.updates-feed {
  display: flex;
  flex-direction: column;
}

.updates-card {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.updates-card:last-child {
  border-bottom: none;
}

.updates-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.updates-card__cat {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  font-weight: 600;
}

.updates-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1.35;
}

.updates-card__summary {
  margin: 0 0 0.75rem;
  line-height: 1.6;
  color: var(--body);
}

.updates-card__link {
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
}

.updates-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── 大屏自适应（桌面 1200px+ / 1600px+ 渐宽）── */
@media (min-width: 1200px) {
  .wrap         { max-width: 84rem; }
  .nav-inner    { max-width: 84rem; }
  .hero-lead    { max-width: 44rem; }
  .corp-nav__inner { max-width: 88rem; }
}

@media (min-width: 1600px) {
  .wrap         { max-width: 96rem; }
  .nav-inner    { max-width: 96rem; }
  .hero-lead    { max-width: 50rem; }
  .corp-nav__inner { max-width: 100rem; }
}

