:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-muted: #f1f5f9;
  --brand: #00308F;
  --brand-hover: #002570;
  --accent: #2563eb;
  --accent-soft: #eff6ff;
  --text-body: #475569;
  --text-heading: #0f172a;
  --text-muted: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.06);
  --font-display: 'Outfit', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --nav-h: 64px;
  --section-gap: clamp(4.5rem, 10vw, 7rem);
  --content-w: min(1120px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 10%, transparent 70%);
}

.page-wrap {
  position: relative;
  z-index: 1;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  width: var(--content-w);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-heading);
  flex-shrink: 0;
}

.logo img {
  flex-shrink: 0;
  height: 32px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1.35rem);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--brand);
  outline: none;
}

.nav-links a.active {
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-heading);
  flex-shrink: 0;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) 1.25rem 4rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(37, 99, 235, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 45% 35% at 15% 60%, rgba(0, 48, 143, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 85% 55%, rgba(37, 99, 235, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.hero-neural {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 45%, black 20%, transparent 78%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

.hero-glow--left {
  width: clamp(200px, 28vw, 360px);
  height: clamp(200px, 28vw, 360px);
  left: -8%;
  top: 28%;
  background: rgba(0, 48, 143, 0.12);
  animation: glow-drift 12s ease-in-out infinite;
}

.hero-glow--right {
  width: clamp(180px, 24vw, 320px);
  height: clamp(180px, 24vw, 320px);
  right: -6%;
  top: 22%;
  background: rgba(37, 99, 235, 0.1);
  animation: glow-drift 14s ease-in-out infinite reverse;
}

@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(12px, -18px) scale(1.08); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-orbit-item {
  position: absolute;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--brand);
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(0, 48, 143, 0.18);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 48, 143, 0.06);
  white-space: nowrap;
  opacity: 0;
  animation: orbit-in 0.9s ease forwards;
}

.hero-orbit-item:nth-child(1) { top: 18%; left: 6%; animation-delay: 0.7s; }
.hero-orbit-item:nth-child(2) { top: 32%; right: 5%; animation-delay: 0.85s; }
.hero-orbit-item:nth-child(3) { bottom: 28%; left: 8%; animation-delay: 1s; }
.hero-orbit-item:nth-child(4) { bottom: 22%; right: 7%; animation-delay: 1.15s; }

@keyframes orbit-in {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 1.75rem;
  opacity: 0;
  animation: fade-up 0.8s 0.48s forwards;
}

.hero-chip {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--brand);
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(0, 48, 143, 0.15);
  border-radius: 100px;
  background: rgba(239, 246, 255, 0.75);
  backdrop-filter: blur(6px);
}

.hero-chip strong {
  font-weight: 600;
  color: var(--text-heading);
}

.hero-stream {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--brand) 50%, var(--accent) 80%, transparent);
  opacity: 0.2;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-stream::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(0, 48, 143, 0.25);
  transform: translateX(-50%);
  animation: pulse-dot 3s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.3); }
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fade-up 0.8s 0.1s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-heading);
  max-width: 16ch;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fade-up 0.8s 0.25s forwards;
}

.hero-tagline {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.06em;
  opacity: 0;
  animation: fade-up 0.8s 0.35s forwards;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  font-weight: 300;
  color: var(--text-body);
  max-width: 50ch;
  line-height: 1.75;
  opacity: 0;
  animation: fade-up 0.8s 0.4s forwards;
}

.hero-actions {
  margin-top: 2.75rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fade-up 0.8s 0.55s forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text-heading);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--brand);
  background: var(--accent-soft);
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fade-up 0.8s 0.8s forwards;
  z-index: 2;
}

.scroll-hint-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--brand), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ── Sections ── */
.section {
  padding: var(--section-gap) 1.25rem;
}

.section-inner {
  width: var(--content-w);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section-desc {
  margin-top: 0.75rem;
  color: var(--text-muted);
  max-width: 56ch;
  font-weight: 300;
  line-height: 1.75;
}

.company-intro {
  max-width: 72ch;
  color: var(--text-body);
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.85;
}

.company-hero {
  min-height: auto;
  padding: calc(var(--nav-h) + 4rem) 1.25rem 4rem;
}

.company-hero .hero-content {
  max-width: 40rem;
}

.company-hero .hero-title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.25;
}

.scope-list {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 52rem;
}

.scope-list li {
  position: relative;
  padding: 0.9rem 1.15rem 0.9rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.65;
  box-shadow: inset 3px 0 0 var(--brand);
}

.scope-note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 52rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Home overview ── */
.overview-section {
  background: var(--bg);
  padding-top: clamp(3rem, 8vw, 5rem);
}

.loop-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2.5rem 0 3rem;
}

.loop-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.loop-node {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brand);
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(0, 48, 143, 0.2);
  border-radius: 4px;
  background: var(--accent-soft);
  white-space: nowrap;
}

.loop-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
  opacity: 0.5;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pillar-card {
  background: var(--bg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}

.pillar-card:hover {
  border-color: rgba(0, 48, 143, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.pillar-icon {
  width: 32px;
  height: 32px;
  color: var(--brand);
}

.pillar-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
}

.pillar-role {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.pillar-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.pillar-link {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-top: 0.25rem;
}

/* ── Module detail ── */
.module-section {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.module-section:nth-of-type(even) {
  background: var(--bg-soft);
}

.module-header {
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.module-lead {
  margin-top: 1rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
}

.module-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.module-point {
  padding: 1.5rem 1.75rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s;
}

.module-section:nth-of-type(even) .module-point {
  background: #fff;
}

.module-point:hover {
  box-shadow: var(--shadow-md);
}

.module-point-num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.module-point h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.module-point p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
}

.compare-strip {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  border: 1px solid rgba(0, 48, 143, 0.15);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg) 100%);
}

.compare-strip h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.compare-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
}

.compare-list li {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}

.compare-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
}

/* ── About ── */
.about-section {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.about-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
}

.about-card.highlight {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg) 60%);
  border-color: rgba(0, 48, 143, 0.18);
  text-align: center;
  padding: clamp(2.5rem, 6vw, 3.5rem) 2rem;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}

.about-card p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-slogan {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.about-slogan-en {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.dialogue-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.dialogue-pillar {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.dialogue-pillar h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.dialogue-pillar p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Contact ── */
.contact-section {
  text-align: center;
  padding-bottom: calc(var(--section-gap) * 0.6);
  background: var(--bg-soft);
}

.contact-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(3rem, 8vw, 5rem) 2rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.6;
}

.contact-box .section-title {
  margin: 0 auto;
}

.contact-box .section-desc {
  margin: 0.75rem auto 0;
}

.contact-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 600;
  color: var(--text-heading);
  text-decoration: none;
  letter-spacing: 0.06em;
  margin: 1.25rem 0 1rem;
  transition: color 0.25s;
}

.contact-phone:hover,
.contact-phone:focus-visible {
  color: var(--brand);
  outline: none;
}

.contact-sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
}

.contact-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-wechat {
  margin: 1.75rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  max-width: 28rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  text-align: left;
}

.contact-wechat-qr {
  width: 168px;
  height: 168px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  flex-shrink: 0;
}

.contact-wechat-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
}

.contact-wechat-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 16ch;
}

/* ── WeChat float ── */
.wechat-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.wechat-card {
  width: 11.5rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.wechat-card[hidden] {
  display: none;
}

.wechat-card-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-heading);
}

.wechat-card-sub {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.wechat-card-qr {
  display: block;
  width: 148px;
  height: 148px;
  margin: 0.75rem auto 0.55rem;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.wechat-card-hint {
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.wechat-trigger {
  width: 3.25rem;
  height: 3.25rem;
  border: none;
  border-radius: 999px;
  background: #07c160;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, background 0.2s;
}

.wechat-trigger:hover {
  background: #06ad56;
  transform: translateY(-1px);
}

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

.wechat-trigger svg {
  width: 1.45rem;
  height: 1.45rem;
}

@media (max-width: 480px) {
  .wechat-float {
    right: 0.85rem;
    bottom: 1.15rem;
  }

  .wechat-card {
    width: 10.5rem;
  }

  .wechat-card-qr {
    width: 128px;
    height: 128px;
  }

  .contact-wechat {
    flex-direction: column;
    text-align: center;
  }

  .contact-wechat-hint {
    max-width: none;
  }
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 1.25rem;
  background: var(--bg);
}

.footer-inner {
  width: var(--content-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
}

.footer-nav a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--brand);
  outline: none;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
}

.footer-icp {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-icp:hover,
.footer-icp:focus-visible {
  color: var(--brand);
  outline: none;
}

.footer-complaint {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.25s;
}

.footer-complaint:hover,
.footer-complaint:focus-visible {
  color: var(--brand);
  outline: none;
}

.complaint-dialog {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.complaint-dialog[hidden] {
  display: none;
}

.complaint-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.complaint-dialog-panel {
  position: relative;
  z-index: 1;
  width: min(22rem, 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.complaint-dialog-close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.complaint-dialog-close:hover,
.complaint-dialog-close:focus-visible {
  color: var(--text-heading);
  outline: none;
}

.complaint-dialog-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.complaint-dialog-title {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
}

.complaint-dialog-desc {
  margin: 0.75rem 0 1.15rem;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
}

.complaint-dialog-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-heading);
  text-decoration: none;
  transition: color 0.25s;
}

.complaint-dialog-phone:hover,
.complaint-dialog-phone:focus-visible {
  color: var(--brand);
  outline: none;
}

.complaint-dialog-sub {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.complaint-dialog-wechat {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.complaint-dialog-qr {
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.complaint-dialog-hint {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.back-top {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}

.back-top:hover,
.back-top:focus-visible {
  color: var(--brand);
  outline: none;
}

/* ── Mobile ── */
@media (max-width: 960px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dialogue-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }

  .nav-toggle { display: block; }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 1.5rem 1.25rem 1.75rem;
    gap: 1.1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .pillars-grid,
  .module-points,
  .about-grid,
  .compare-list {
    grid-template-columns: 1fr;
  }

  .loop-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .loop-step {
    flex-direction: column;
    align-items: stretch;
  }

  .loop-arrow {
    text-align: center;
    transform: rotate(90deg);
  }

  .module-point,
  .about-card {
    padding: 1.5rem 1.25rem;
  }

  .hero-title { max-width: none; }

  .hero-orbit { display: none; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .hero-sub br { display: none; }

  .hero-sub { max-width: 36ch; }

  .module-overview-table { display: none; }

  .module-overview-cards { display: flex; }

  .contact-phone {
    min-height: 44px;
    line-height: 44px;
    padding: 0.25rem 0;
  }
}

/* ── Status badges ── */
.status-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.status-badge--live {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid rgba(4, 120, 87, 0.25);
}

.status-badge--planned {
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 1px solid var(--line);
}

.pillar-card .status-badge,
.module-header .status-badge {
  margin-left: 0;
  margin-bottom: 0.35rem;
}

/* ── About page ── */
.about-page-hero {
  min-height: auto;
  padding: calc(var(--nav-h) + 3rem) 1.25rem 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 30%, rgba(37, 99, 235, 0.07) 0%, transparent 65%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.about-page-hero .hero-sub {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  opacity: 1;
  animation: none;
}

.about-page-hero .hero-eyebrow,
.about-page-hero .hero-title,
.about-page-hero .hero-tagline {
  opacity: 1;
  animation: none;
}

.highlight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.highlight-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
  min-width: 1.5rem;
}

.highlight-item p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.75;
}

.def-table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
}

.def-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

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

.def-table th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-heading);
  background: var(--bg-soft);
  width: 6rem;
}

.def-table td {
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.65;
}

.module-overview-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.88rem;
}

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

.module-overview-table th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-heading);
  background: var(--bg-soft);
}

.module-overview-cards {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.module-overview-card {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.module-overview-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.module-overview-card p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.diff-card {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
}

.diff-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.diff-card p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
}

.about-teaser {
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  text-align: center;
}

.about-teaser-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.25rem 0 1.75rem;
  text-align: left;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.about-teaser-list li {
  font-size: 0.92rem;
  color: var(--text-body);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.about-teaser-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.nav-links a.nav-external.active {
  font-weight: 500;
  color: var(--brand);
}

/* ── Pricing ── */
.pricing-section {
  background: var(--bg-soft);
}

.pricing-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.pricing-head .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 auto 2rem;
  max-width: 22rem;
  padding: 0.3rem;
  border-radius: 10px;
  background: var(--bg-muted);
  border: 1px solid var(--line);
}

.pricing-tab {
  flex: 1;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.pricing-tab:hover:not(.active) {
  color: var(--text-heading);
}

.pricing-tab.active {
  background: var(--bg);
  color: var(--text-heading);
  box-shadow: var(--shadow-sm), inset 3px 0 0 var(--brand);
}

.pricing-tab:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.pricing-card-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing-card-header {
  padding: 1.5rem 1.75rem 1.15rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pricing-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0;
}

.pricing-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  background: var(--bg-muted);
  color: var(--text-heading);
}

.pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.pricing-table thead th {
  padding: 0.75rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  vertical-align: bottom;
}

.pricing-table thead th:first-child {
  text-align: left;
}

.pricing-table .unit {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

.pricing-table tbody td {
  padding: 0.85rem 1.15rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--line);
}

.pricing-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-heading);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background: var(--bg-soft);
}

.pricing-table .price-highlight {
  color: var(--brand);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-display);
}

.pricing-card-footer {
  padding: 1.25rem 1.75rem 1.75rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.pricing-footnote {
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pricing-features {
  max-width: 860px;
  margin: 1.75rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pricing-features--3 {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-feat-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.pricing-feat-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text-heading);
}

.pricing-feat-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-feat-card ul li {
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 0.35rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}

.pricing-feat-card ul li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--brand);
}

.pricing-ent-body {
  padding: 2.5rem 2rem;
  text-align: center;
}

.pricing-ent-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.pricing-ent-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.pricing-ent-stats {
  display: flex;
  justify-content: center;
  gap: 2.25rem;
  flex-wrap: wrap;
}

.pricing-ent-stat {
  text-align: center;
}

.pricing-ent-stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
}

.pricing-ent-stat-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pricing-contact-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-contact-note a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.pricing-contact-note a:hover,
.pricing-contact-note a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.pricing-ent-panel[hidden],
.pricing-lite-panel[hidden] {
  display: none;
}

@media (max-width: 960px) {
  .pricing-features--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pricing-table thead th,
  .pricing-table tbody td {
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
  }

  .pricing-card-header {
    padding: 1.15rem 1.1rem 0.9rem;
  }

  .pricing-card-header h3 {
    font-size: 1.05rem;
  }

  .pricing-features {
    grid-template-columns: 1fr;
  }

  .pricing-card-footer {
    padding: 1rem 1.1rem 1.35rem;
  }

  .pricing-ent-body {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .pricing-table .unit {
    display: none;
  }

  .pricing-table .price-highlight {
    font-size: 0.9rem;
  }
}

@media (max-width: 960px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .highlight-item {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
  }
}
