/* 算数·财税 · 宣传页（提夫尼青绿 · 高对比商务）
   字体使用系统栈，避免 Google Fonts 国内不可用导致 FOUT */
:root {
  --bg: #eef6f5;
  --bg-alt: #dff0ee;
  --surface: #ffffff;
  --ink: #102826;
  --ink-2: #1a3a37;
  --muted: #3d5a56;
  --fog: #254540;
  --line: #b8d4d0;
  --line-soft: #d4e8e5;
  --accent: #0abab5;
  --accent-deep: #067a76;
  --accent-soft: rgba(10, 186, 181, .14);
  --steel: #0e6e6a;
  --steel-soft: rgba(6, 122, 118, .1);
  --ok: #0d8a5f;
  --warn: #c45c2a;
  --text: var(--ink);
  --amber: var(--warn);
  --mint: var(--ok);
  --gold: var(--accent-deep);
  --display: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --shadow: 0 12px 28px rgba(16, 40, 38, .08);
  --shadow-sm: 0 2px 8px rgba(16, 40, 38, .05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(ellipse 90% 55% at 8% -8%, rgba(10, 186, 181, .16), transparent 52%),
    radial-gradient(ellipse 55% 45% at 96% 4%, rgba(6, 122, 118, .1), transparent 48%),
    linear-gradient(180deg, #f4fbfa 0%, var(--bg) 40%, #e8f4f2 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* —— 顶栏 —— */
.intro-nav {
  position: fixed; inset: 0 0 auto; z-index: 30;
  display: flex; align-items: center; gap: 1rem;
  padding: .75rem 5vw;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.8), var(--shadow-sm);
}
.intro-nav .nav-top { display: contents; }
.intro-nav .brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 900; font-size: 1.05rem; color: var(--ink); order: 0;
}
.intro-nav .nav-logo { height: 36px; width: auto; flex-shrink: 0; }
.intro-nav .brand span {
  font-family: var(--display);
  font-weight: 800;
  color: var(--accent); letter-spacing: .04em; white-space: nowrap;
}
.intro-nav .nav-links {
  display: flex; align-items: center; gap: 1.1rem;
  flex: 1; justify-content: center; min-width: 0; order: 1;
}
.intro-nav .nav-links a {
  color: var(--fog); font-size: .88rem; font-weight: 700; white-space: nowrap;
}
.intro-nav .nav-links a:hover,
.intro-nav .nav-links a.is-on { color: var(--ink); }
.intro-nav .nav-links a.is-on {
  box-shadow: inset 0 -2px 0 var(--accent-deep); padding-bottom: .15rem;
}
.nav-link-roles {
  color: #fff !important;
  border: 1px solid var(--accent-deep);
  padding: .35rem .75rem; border-radius: 6px;
  background: var(--accent-deep); box-shadow: none !important;
}
.nav-link-roles:hover { background: var(--ink) !important; border-color: var(--ink); }
.intro-nav .actions { display: flex; gap: .5rem; flex-shrink: 0; order: 2; }

.btn-intro, .btn-gold, .btn-ghost, .btn-dark {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.55rem; padding: .65rem 1.2rem;
  border-radius: 8px; font-weight: 700; border: 1px solid transparent;
  cursor: pointer; font-size: .95rem;
}
.btn-intro.primary, .btn-gold {
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 16px rgba(10, 122, 114, .22);
}
.btn-intro.primary:hover, .btn-gold:hover { background: var(--accent-deep); }
.btn-intro.ghost, .btn-ghost {
  border-color: var(--line); color: var(--ink); background: var(--surface);
}
.btn-intro.ghost:hover, .btn-ghost:hover {
  border-color: var(--accent); color: var(--accent);
}
.btn-dark {
  background: var(--steel-soft); border-color: transparent; color: var(--steel);
}

/* —— Hero 轮播：左文案 + 右产品截图 —— */
.hero-deck {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 50% at 88% 35%, rgba(10, 186, 181, .18), transparent 58%),
    radial-gradient(ellipse 45% 40% at 8% 18%, rgba(6, 122, 118, .12), transparent 52%),
    linear-gradient(165deg, #f7fcfb 0%, #eaf7f5 45%, #e2f2f0 100%);
}
.hero-track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(340px, 1.15fr);
  align-items: center;
  gap: 2rem;
  padding: 6.5rem 5vw 7.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility .7s;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1; visibility: visible; pointer-events: auto; z-index: 1;
}
.hero-media {
  position: relative;
  order: 2;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow:
    0 24px 48px rgba(27, 42, 59, .1),
    0 2px 0 rgba(255, 255, 255, .8) inset;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transform: translate3d(0, 0, 0) scale(1);
  animation: heroFloat 14s ease-in-out infinite alternate;
  filter: none;
}
.hero-slide.is-active .hero-media img { animation-play-state: running; }
@keyframes heroFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, -1.2%, 0) scale(1.02); }
}
.hero-veil {
  display: none;
}
.hero-inner {
  position: relative; z-index: 2;
  order: 1;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 560px;
  padding: 0;
  min-height: 0;
}
.hero-brand {
  margin: 0 0 .6rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.1; letter-spacing: .01em;
  color: var(--ink);
}
.hero-brand span {
  display: block;
  font-size: .78rem;
  letter-spacing: .14em;
  color: var(--accent-deep);
  font-family: inherit;
  font-weight: 800;
  margin-bottom: .55rem;
}
.hero-inner h2 {
  margin: 0 0 .85rem;
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 800; color: var(--ink);
}
.hero-inner > p {
  margin: 0 0 1.5rem;
  color: var(--fog);
  font-size: 1.05rem; max-width: 34rem; line-height: 1.75;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-chrome {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 0 5vw 1.2rem;
}
.hero-progress {
  height: 2px; background: rgba(27, 42, 59, .08); margin-bottom: .75rem; overflow: hidden;
  border-radius: 2px;
}
.hero-progress i {
  display: block; height: 100%; width: 0; background: var(--accent);
  transition: width .1s linear;
}
.hero-controls {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
}
.hero-nav-btn {
  width: 2.4rem; height: 2.4rem; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font-size: 1.4rem; cursor: pointer; line-height: 1;
  box-shadow: var(--shadow-sm);
}
.hero-nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.hero-dots { display: flex; gap: .4rem; flex: 1; flex-wrap: wrap; }
.hero-dot {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .7rem; border-radius: 8px;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.92);
  color: var(--muted); cursor: pointer; font-size: .78rem;
}
.hero-dot em { font-style: normal; color: var(--accent); font-weight: 800; }
.hero-dot.is-active, .hero-dot:hover {
  color: var(--ink); border-color: rgba(10, 122, 114, .4); background: #fff;
  box-shadow: var(--shadow-sm);
}
.hero-index { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--muted); }
.hero-index strong { color: var(--ink); font-size: 1.1rem; margin-right: .2rem; }

.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: .55rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(27, 42, 59, .55));
  color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
}

@media (max-width: 960px) {
  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 1.5rem;
    padding: 5.5rem 5vw 7.5rem;
  }
  .hero-media { order: 1; max-width: none; aspect-ratio: 16 / 11; }
  .hero-inner { order: 2; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* —— 通用区块 —— */
.section { padding: 4.75rem 5vw; }
.section.alt {
  background:
    linear-gradient(180deg, #e3f3f1 0%, #eef8f6 55%, #f4fbfa 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section-head { max-width: 760px; margin-bottom: 1.9rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  color: var(--accent-deep); letter-spacing: .14em; font-size: .8rem;
  font-weight: 800; margin-bottom: .55rem; text-transform: none;
}
.section-head h3, .section h3 {
  margin: 0 0 .55rem; font-size: clamp(1.6rem, 2.9vw, 2.15rem); font-weight: 900;
  color: var(--ink); letter-spacing: -.01em;
}
.section-head p, .section .lead {
  margin: 0; color: var(--fog); line-height: 1.75; font-size: 1.02rem;
}
.section-head a { color: var(--accent-deep); font-weight: 700; }

.screen-board {
  display: grid; gap: .85rem;
  grid-template-columns: repeat(6, 1fr);
  max-width: 1100px; margin: 0 auto;
}
.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px; padding: 1.15rem .9rem; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, transform .2s;
}
.metric:hover { border-color: var(--accent); transform: translateY(-2px); }
.metric b {
  display: block; font-size: 1.85rem; font-weight: 900; color: var(--accent-deep);
  font-variant-numeric: tabular-nums; font-family: var(--display);
}
.metric span { color: var(--fog); font-size: .84rem; font-weight: 600; }
.metric small { color: var(--muted); }

.scene-band {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: .85rem;
  min-height: 340px;
}
.scene-tile {
  position: relative; overflow: hidden; border-radius: 14px; min-height: 220px;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
}
.scene-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.scene-tile:hover img { transform: scale(1.04); }
.scene-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.1rem .95rem;
  background: linear-gradient(transparent, rgba(27, 42, 59, .78));
  color: #fff;
}
.scene-tile strong { display: block; font-size: 1.1rem; margin-bottom: .2rem; }
.scene-tile span { color: rgba(255,255,255,.85); font-size: .88rem; }

.module-grid {
  display: grid; gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.module-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.2rem 1.3rem;
  background: var(--surface);
  min-height: 176px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.module-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  pointer-events: none;
}
.module-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.module-card em {
  font-style: normal; color: var(--accent-deep); font-weight: 900;
  font-size: .78rem; letter-spacing: .1em;
}
.module-card h4 { margin: .5rem 0 .45rem; font-size: 1.18rem; color: var(--ink); font-weight: 800; }
.module-card p { margin: 0; color: var(--fog); font-size: .93rem; line-height: 1.65; }
.muted { color: var(--muted); }

.split {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.5rem; align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-media {
  border-radius: 14px; overflow: hidden; min-height: 280px;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.split-copy h4 { margin: 0 0 .6rem; font-size: 1.35rem; color: var(--ink); }
.split-copy p { color: var(--muted); margin: 0 0 1rem; }
.split-copy ul { margin: 0; padding-left: 1.1rem; color: var(--fog); }
.split-copy li { margin-bottom: .35rem; }

.flow {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(5, 1fr);
}
.flow-step {
  border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 1.1rem; background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.flow-step .num {
  color: var(--accent); font-weight: 900; font-size: 1.1rem; margin-bottom: .4rem;
}
.flow-step h4 { margin: 0 0 .35rem; font-size: 1.05rem; color: var(--ink); }
.flow-step p { margin: 0; color: var(--muted); font-size: .88rem; }

.eco-note {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1rem 1.1rem; margin-bottom: 1.2rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 10px 10px 0;
}
.eco-note strong { color: var(--accent); white-space: nowrap; }
.eco-note span { color: var(--fog); font-size: .92rem; }
.eco-grid {
  display: grid; gap: .9rem;
  grid-template-columns: repeat(2, 1fr);
}
.eco-card {
  border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 1.2rem; background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.eco-card h4 { margin: 0 0 .7rem; font-size: 1.1rem; color: var(--ink); }
.eco-card ul { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--muted); font-size: .9rem; }
.eco-card li { margin-bottom: .35rem; }
.eco-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.eco-tags span {
  font-size: .75rem; padding: .25rem .55rem; border-radius: 6px;
  border: 1px solid rgba(10, 122, 114, .25); color: var(--accent);
  background: var(--accent-soft);
}
.eco-foot {
  margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
}
.eco-foot p { flex: 1 1 100%; margin: 0 0 .4rem; color: var(--muted); font-size: .92rem; }

.dual {
  display: grid; gap: .9rem;
  grid-template-columns: repeat(2, 1fr);
}
.dual.triple { grid-template-columns: repeat(3, 1fr); }
.dual-block {
  border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.dual-block .cover { height: 160px; overflow: hidden; }
.dual-block .cover img { width: 100%; height: 100%; object-fit: cover; }
.dual-block .body { padding: 1.15rem; }
.dual-block h4 { margin: 0 0 .55rem; color: var(--ink); }
.dual-block ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }

.roles-callout {
  margin: 0 0 1.25rem; padding: .85rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft); color: var(--fog); font-size: .92rem;
}
#roles { scroll-margin-top: 5.5rem; }
.portal-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.portal {
  display: flex; flex-direction: column; gap: .4rem;
  padding: 1.25rem 1.15rem 1.2rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(165deg, #fff 0%, #f3faf9 100%);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.portal::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent-deep);
}
.portal:hover {
  border-color: var(--accent-deep); transform: translateY(-3px);
  box-shadow: var(--shadow); background: #fff;
}
.portal strong { font-size: 1.15rem; color: var(--ink); font-weight: 900; }
.portal span { color: var(--accent-deep); font-size: .8rem; font-weight: 800; }
.portal em { font-style: normal; color: var(--fog); font-size: .86rem; line-height: 1.5; }
.portal-guide {
  border-color: var(--ink);
  background: linear-gradient(165deg, #143532 0%, #0f2a28 100%);
  color: #fff;
}
.portal-guide::before { background: var(--accent); }
.portal-guide strong { color: #fff; }
.portal-guide span { color: var(--accent); }
.portal-guide em { color: rgba(255,255,255,.78); }
.portal-guide:hover { background: #102826; border-color: var(--accent); }

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #e3f3f1 0%, #d8ebe8 100%);
  padding: 2.5rem 5vw 1.2rem;
}
.footer-panel {
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem;
  align-items: start; margin-bottom: 1.75rem;
}
.footer-brand strong { display: block; font-size: 1.25rem; color: var(--ink); }
.footer-brand span { color: var(--muted); font-size: .9rem; }
.footer-pitch { color: var(--fog); max-width: 36rem; margin: .9rem 0 1rem; }
.footer-phone {
  display: inline-flex; flex-direction: column;
  padding: .85rem 1.1rem; border-radius: 12px;
  border: 1px solid rgba(10, 122, 114, .3); background: #fff;
  margin-bottom: 1rem; box-shadow: var(--shadow-sm);
}
.footer-phone em { font-style: normal; color: var(--muted); font-size: .78rem; }
.footer-phone span { font-size: 1.35rem; font-weight: 900; color: var(--accent); letter-spacing: .04em; }
.footer-phone small { color: var(--fog); }
.footer-links { display: flex; flex-wrap: wrap; gap: .9rem; }
.footer-links a { color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-qr {
  text-align: center; padding: 1rem;
  border: 1px solid var(--line-soft); border-radius: 14px;
  background: #fff; box-shadow: var(--shadow-sm);
}
.footer-qr-label span { display: block; color: var(--accent); font-size: .75rem; letter-spacing: .12em; }
.footer-qr-label strong { display: block; margin: .25rem 0 .7rem; color: var(--ink); }
.footer-qr-frame {
  width: 148px; height: 148px; margin: 0 auto;
  border-radius: 10px; overflow: hidden;
  background: #fff; display: grid; place-items: center;
  border: 1px solid var(--line);
  padding: 8px;
}
.footer-qr-frame img { width: 100%; height: 100%; object-fit: contain; }
.footer-qr-cap { color: var(--muted); font-size: .8rem; margin: .7rem 0 0; }
.footer-bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding-top: 1rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .82rem;
}

.portal-body .section .card,
.portal-body .card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 1.15rem; box-shadow: var(--shadow-sm);
}
.portal-body .grid-2 {
  display: grid; gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.portal-body .card h4 { margin: 0 0 .5rem; color: var(--ink); }
.portal-body .card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.portal-body .card li, .portal-body .card p { color: var(--muted); }

/* —— 登录页 —— */
.login-shell {
  min-height: 100vh; display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  background: var(--bg);
}
.login-left {
  padding: 40px 32px; background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
}
.login-left h1 { margin: 0 0 8px; font-size: 32px; color: var(--ink); }
.login-left .sub { color: var(--muted); margin: 0 0 28px; }
.login-left label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.login-left input {
  width: 100%; margin-bottom: 14px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); padding: 10px 12px;
}
.login-left .btn-gold { width: 100%; border: none; cursor: pointer; margin-top: 6px; }
.login-left .links { margin-top: 18px; color: var(--muted); font-size: 13px; }
.login-left .links a { color: var(--accent); }
.login-right {
  padding: 40px 28px; overflow: auto;
  background:
    linear-gradient(180deg, rgba(243,246,249,.88), rgba(232,238,244,.92)),
    url('./img/dashboard.jpg') center/cover;
}
.login-right h2 { margin: 0 0 8px; color: var(--ink); }
.login-right .hint { color: var(--muted); margin: 0 0 20px; }
.role-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px;
}
.role-card {
  display: block; background: rgba(255,255,255,.92); border: 1px solid var(--line-soft);
  border-radius: 12px; padding: 16px; box-shadow: var(--shadow-sm);
}
.role-card:hover { border-color: var(--accent); }
.role-card .tag { color: var(--accent); font-size: 12px; }
.role-card strong { display: block; margin: 6px 0; font-size: 18px; color: var(--ink); }
.role-card span { color: var(--muted); font-size: 13px; }
.flash-portal {
  background: #fdecea; border: 1px solid #f5c2c0;
  color: #8a2b2b; padding: 10px 12px; border-radius: 10px; margin-bottom: 14px;
}

/* V3 demo */
.flash-bar {
  margin: 5.5rem 5vw 0; padding: .85rem 1.1rem; border-radius: 10px;
  background: #e7f6f1; border: 1px solid #b7e4d4; color: #0d5c48;
}
.flash-bar.error { background: #fdecea; border-color: #f5c2c0; color: #8a2b2b; }
.walk-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; margin-top: 1.2rem;
}
.walk-step {
  display: block; padding: 1.1rem .95rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.walk-step:hover {
  border-color: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow);
}
.walk-step em {
  display: block; color: var(--accent-deep); font-style: normal; font-size: .78rem; font-weight: 800;
}
.walk-step strong { display: block; margin: .4rem 0 .25rem; color: var(--ink); font-size: 1.05rem; }
.walk-step span { color: var(--fog); font-size: .86rem; font-weight: 500; }
.video-embed {
  position: relative; padding-top: 56.25%; margin: 1rem 0 1.5rem;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screen-board.interactive-board .metric {
  font: inherit; color: inherit; cursor: pointer; appearance: none;
  border: 1px solid var(--line-soft); background: var(--surface);
  text-align: left; width: 100%;
  transition: border-color .2s, transform .2s;
}
.screen-board.interactive-board .metric:hover {
  border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow);
}
.screen-board.interactive-board .metric small {
  display: block; margin-top: .35rem; color: var(--accent); font-size: .72rem;
}
.center-link { text-align: center; margin-top: 1.25rem; }
.demo-pop {
  position: fixed; inset: 0; z-index: 40; background: rgba(27, 42, 59, .35);
  display: grid; place-items: center; padding: 1rem;
}
.demo-pop[hidden] { display: none !important; }
.demo-pop-card {
  width: min(420px, 100%); background: #fff; border: 1px solid var(--line-soft);
  border-radius: 16px; padding: 1.25rem; position: relative; box-shadow: var(--shadow);
}
.demo-pop-card h4 { margin: 0 0 .5rem; color: var(--ink); }
.demo-pop-card p { color: var(--muted); margin: 0 0 1rem; }
.demo-pop-x {
  position: absolute; top: .4rem; right: .7rem; border: 0; background: transparent;
  color: var(--muted); font-size: 1.4rem; cursor: pointer;
}
.compare-wrap { overflow-x: auto; margin-top: 1rem; }
.compare-table {
  width: 100%; border-collapse: collapse; min-width: 640px;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: .75rem .9rem; border-bottom: 1px solid var(--line-soft); text-align: center; font-size: .9rem;
}
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table th { color: var(--steel); font-weight: 700; background: #f7fafc; }
.compare-table .yes { color: var(--ok); font-weight: 700; }
.compare-table .no { color: #a0aab4; }
.qr-duo {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .75rem;
}
.qr-duo > div {
  flex: 1; min-width: 140px; text-align: center; padding: .75rem;
  border: 1px solid var(--line-soft); border-radius: 12px; background: #f8fafc;
}
.qr-duo img { margin: 0 auto .5rem; background: #fff; border-radius: 8px; }
.qr-duo strong { display: block; font-size: .9rem; color: var(--ink); }
.qr-duo small { display: block; color: var(--muted); font-size: .75rem; margin: .2rem 0; }
.qr-duo a { color: var(--accent); font-size: .8rem; font-weight: 600; }
.shot-tag {
  position: absolute; left: .75rem; bottom: .75rem;
  background: rgba(255,255,255,.92); color: var(--steel); font-size: .75rem;
  padding: .25rem .55rem; border-radius: 6px; border: 1px solid var(--line-soft);
  font-weight: 700;
}
.cover { position: relative; }
.portal-preview {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem; align-items: center;
  margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--line-soft); border-radius: 16px;
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.portal-preview-frame {
  background: #f0f5f3; color: #1f2a24; border-radius: 18px; padding: .75rem;
  box-shadow: var(--shadow); max-width: 280px; margin-left: auto;
  border: 1px solid var(--line-soft);
}
.ppf-top {
  background: linear-gradient(135deg, #2b5f8a, #0a7a72); color: #fff;
  border-radius: 12px; padding: .7rem .9rem; font-weight: 700; margin-bottom: .6rem;
}
.ppf-card {
  background: #fff; border-radius: 10px; padding: .65rem .8rem; margin-bottom: .45rem;
  display: flex; justify-content: space-between; font-size: .85rem;
  border: 1px solid var(--line-soft);
}
.demo-with-qr {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 200px;
  gap: 1.5rem;
  align-items: start;
  max-width: 920px;
  margin: 1rem auto 0;
}
.consult-cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
}
.consult-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 36rem;
}
.demo-qr-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}
.demo-qr-card img {
  width: 160px; height: 160px; margin: 0 auto .7rem;
  object-fit: contain; background: #fff;
}
.demo-qr-card strong { display: block; color: var(--ink); }
.demo-qr-card small { color: var(--muted); font-size: .8rem; }
.demo-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 0;
}
@media (max-width: 800px) {
  .demo-with-qr { grid-template-columns: 1fr; }
  .demo-qr-card { max-width: 220px; margin: 0 auto; }
}
.demo-form .form-item { display: flex; flex-direction: column; gap: .35rem; }
.demo-form .form-item.full, .demo-form .full { grid-column: 1 / -1; }
.demo-form label { color: var(--muted); font-size: .85rem; }
.demo-form input, .demo-form select {
  min-height: 2.6rem; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); padding: .55rem .8rem; font: inherit;
}
.demo-form-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.demo-hint { color: var(--muted); font-size: .85rem; }
.case-quote { display: block; margin-top: .7rem; color: var(--steel); font-size: .85rem; }
.faq-list { max-width: 800px; margin: 1rem auto 0; }
.faq-list details {
  border: 1px solid var(--line-soft); border-radius: 12px; padding: .85rem 1rem;
  margin-bottom: .6rem; background: var(--surface); box-shadow: var(--shadow-sm);
}
.faq-list summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq-list details p { color: var(--muted); margin: .6rem 0 0; font-size: .92rem; }
.fab-demo {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 35;
  border: 0; border-radius: 999px; padding: .85rem 1.2rem;
  background: var(--accent); color: #fff; font-weight: 800; cursor: pointer;
  box-shadow: 0 10px 28px rgba(10, 122, 114, .3);
}
.fab-demo:hover { background: var(--accent-deep); }
.guide-crumb { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.guide-crumb a { color: var(--accent); font-weight: 600; }
.guide-arch {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin: 1rem 0 1.5rem;
}
.guide-arch div {
  border: 1px solid var(--line-soft); border-radius: 12px; padding: .8rem; text-align: center;
  font-size: .85rem; color: var(--fog); background: var(--surface);
}
.guide-path {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 1rem 0;
}
.guide-path a {
  display: block; border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.guide-path img { width: 100%; height: 110px; object-fit: cover; }
.guide-path span { display: block; padding: .65rem .8rem; font-size: .85rem; color: var(--ink); }
.bound-list { list-style: none; padding: 0; margin: 0; }
.bound-list li { margin: .45rem 0; color: var(--muted); }

@media (max-width: 1100px) {
  .screen-board { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .scene-band { grid-template-columns: 1fr 1fr; }
  .walk-grid { grid-template-columns: repeat(3, 1fr); }
  .guide-path, .guide-arch { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .intro-nav { flex-wrap: wrap; }
  .intro-nav .nav-links { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; padding: .35rem 0 0; }
  .split, .split.reverse, .eco-grid, .dual, .dual.triple, .footer-panel {
    grid-template-columns: 1fr; direction: ltr;
  }
  .login-shell { grid-template-columns: 1fr; }
  .hero-dot span { display: none; }
}
@media (max-width: 720px) {
  .walk-grid, .demo-form, .portal-preview { grid-template-columns: 1fr; }
  .hero-caption { bottom: 8.5rem; }
}
@media (max-width: 640px) {
  .screen-board, .flow, .scene-band { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .hero-inner { padding-bottom: 10rem; }
}
