:root {
  --brand-navy: #0d2340;
  --brand-navy-soft: #142d4c;
  --brand-orange: #f28c38;
  --brand-orange-dark: #d96f16;
  --bg-main: #f7f9fc;
  --bg-glow-primary: rgba(242, 140, 56, 0.11);
  --bg-glow-secondary: rgba(13, 35, 64, 0.08);
  --surface-main: #ffffff;
  --surface-soft: #fff5ec;
  --surface-muted: #f1f3f7;
  --card-bg: #ffffff;
  --card-subtle: rgba(250, 251, 252, 0.76);
  --text-main: #202434;
  --text-muted: #667085;
  --text-inverse: #ffffff;
  --border-main: #e6eaf0;
  --primary-orange: var(--brand-orange);
  --primary-orange-dark: var(--brand-orange-dark);
  --accent-teal: var(--brand-navy);
  --accent-yellow: #f7b955;
  --header-bg: rgba(255, 255, 255, 0.88);
  --footer-bg: #f4f7fb;
  --footer-text: #667085;
  --shadow-main: 0 16px 42px rgba(45, 49, 66, 0.08);
  --shadow-hover: 0 22px 54px rgba(45, 49, 66, 0.14);
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1160px;
  --phone-width: 320px;
  --phone-height: 650px;
  --phone-radius: 40px;
  --bezel-thickness: 10px;
  --nvd-dark: #0a0a0a;
  --nvd-neon: #00ffcc;
  --nvd-neon-soft: #10b981;
}

body[data-theme="dark"] {
  --bg-main: #08111f;
  --bg-glow-primary: rgba(242, 140, 56, 0.12);
  --bg-glow-secondary: rgba(16, 185, 129, 0.08);
  --surface-main: #1b1d21;
  --surface-soft: rgba(255, 104, 66, 0.12);
  --surface-muted: #272a30;
  --card-bg: #1b1d21;
  --card-subtle: rgba(255, 255, 255, 0.035);
  --text-main: #f3f4f6;
  --text-muted: #a5adba;
  --text-inverse: #ffffff;
  --border-main: #30343b;
  --header-bg: rgba(7, 20, 38, 0.92);
  --footer-bg: #050b14;
  --footer-text: rgba(255, 255, 255, 0.72);
  --shadow-main: 0 18px 46px rgba(0, 0, 0, 0.28);
  --shadow-hover: 0 24px 58px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text-main);
  font-family:
    "Noto Sans TC",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background:
    radial-gradient(
      circle at top left,
      var(--bg-glow-primary),
      transparent 30rem
    ),
    radial-gradient(
      circle at 85% 18%,
      var(--bg-glow-secondary),
      transparent 28rem
    ),
    var(--bg-main);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - clamp(24px, 5vw, 48px)), var(--max-width));
  margin-inline: auto;
}

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

:focus-visible {
  outline: 3px solid rgba(255, 90, 43, 0.42);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-main);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.header-actions,
.submit-btn,
.language-toggle,
.brand-voice-toggle,
.theme-toggle {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 12px;
  padding: 0;
  border-radius: 12px;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  max-height: 40px;
  object-fit: contain;
  padding: 5px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.86);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

body[data-theme="dark"] .brand {
  background: transparent;
  box-shadow: none;
}

.brand-logo-dark {
  display: none;
}

body[data-theme="dark"] .brand-logo-light {
  display: none;
}

body[data-theme="dark"] .brand-logo-dark {
  display: block;
}

.brand-text {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: nowrap;
  color: var(--text-main);
  font-size: clamp(1.08rem, 1.2vw, 1.22rem);
  font-weight: 800;
  letter-spacing: 0;
}

body[data-theme="dark"] .brand-text {
  color: #f8fafc;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--text-inverse);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent),
    linear-gradient(135deg, var(--brand-navy) 0 48%, var(--brand-orange) 49%);
  border: 1px solid rgba(13, 35, 64, 0.16);
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(13, 35, 64, 0.18);
}

.brand-mark i {
  transform: rotate(-18deg);
}

.nav-links {
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  min-height: 76px;
  border-bottom: 3px solid transparent;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.nav-links a:hover {
  color: var(--brand-orange-dark);
}

.nav-links a.active {
  color: var(--brand-navy);
  border-bottom-color: var(--brand-orange);
  font-weight: 900;
}

.nav-links .nav-report-cta {
  min-height: 38px;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  border-color: var(--brand-orange);
  border-radius: 999px;
  background: var(--brand-orange);
  box-shadow: 0 8px 18px rgba(242, 140, 56, 0.22);
}

.nav-links .nav-report-cta:hover {
  color: #fff;
  border-color: var(--brand-orange-dark);
  background: var(--brand-orange-dark);
}

body[data-theme="dark"] .nav-links a.active {
  color: #ffffff;
}

body[data-theme="dark"] .nav-links a:hover {
  color: #ffb06b;
}

.header-actions {
  flex: 0 0 auto;
  gap: 10px;
}

.language-menu {
  position: relative;
}

.language-toggle {
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  color: var(--text-main);
  background: var(--surface-main);
  border: 1px solid var(--border-main);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(45, 49, 66, 0.04);
  font-weight: 800;
  transition: all 0.25s ease;
}

.language-toggle:hover,
.language-menu.open .language-toggle {
  border-color: rgba(255, 90, 43, 0.38);
  transform: translateY(-1px);
}

.language-toggle i:first-child {
  color: var(--primary-orange);
}

.language-toggle i:last-child {
  color: var(--text-muted);
  font-size: 0.72rem;
  transition: transform 0.25s ease;
}

.language-menu.open .language-toggle i:last-child {
  transform: rotate(180deg);
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  min-width: 116px;
  padding: 6px;
  background: var(--surface-main);
  border: 1px solid var(--border-main);
  border-radius: 14px;
  box-shadow: var(--shadow-main);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
}

.language-menu.open .language-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  color: var(--text-main);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
}

.language-option:hover,
.language-option.active {
  color: var(--text-inverse);
  background: var(--primary-orange);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--surface-main);
  border: 1px solid var(--border-main);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(45, 49, 66, 0.04);
}

.language-switcher .lang-btn {
  width: auto;
  min-height: 34px;
  padding: 0 11px;
  justify-content: center;
  color: var(--text-main);
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.8rem;
  font-weight: 900;
}

.language-switcher .language-option:hover,
.language-switcher .language-option.active {
  color: var(--text-inverse);
  background: var(--primary-orange);
}

.language-switcher .brand-voice-toggle:hover {
  border: 0;
  transform: none;
}

.mobile-language-controls {
  display: none;
}

.mobile-language-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  justify-content: center;
  color: var(--primary-orange);
  background: var(--surface-main);
  border: 1px solid var(--border-main);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(45, 49, 66, 0.04);
  transition: all 0.3s ease;
}

.brand-voice-toggle {
  min-height: 42px;
  padding: 0 14px;
  gap: 8px;
  color: var(--brand-navy);
  background: var(--surface-main);
  border: 1px solid var(--border-main);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(45, 49, 66, 0.04);
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.brand-voice-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 90, 43, 0.38);
}

.brand-voice-toggle.is-official {
  color: var(--brand-navy);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(240, 253, 250, 0.92)
  );
  border-color: rgba(16, 185, 129, 0.34);
  box-shadow:
    0 4px 12px rgba(45, 49, 66, 0.04),
    inset 0 -2px 0 rgba(16, 185, 129, 0.18);
}

body[data-theme="dark"] .brand-voice-toggle {
  color: #ffcf9d;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

body[data-theme="dark"] .brand-voice-toggle.is-official {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(94, 234, 212, 0.28);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.14),
    inset 0 -2px 0 rgba(94, 234, 212, 0.22);
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 90, 43, 0.38);
}

.mobile-nav-toggle {
  width: 42px;
  height: 42px;
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--text-main);
  background: var(--surface-main);
  border: 1px solid var(--border-main);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(45, 49, 66, 0.04);
  transition: all 0.25s ease;
}

.mobile-nav-toggle span {
  width: 17px;
  height: 2px;
  display: block;
  background: currentcolor;
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.mobile-nav-toggle:hover {
  color: var(--accent-teal);
  transform: translateY(-1px);
}

.site-header.nav-open .mobile-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .mobile-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .mobile-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.submit-btn {
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  color: var(--text-inverse);
  font-weight: 800;
  background: var(--primary-orange);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(255, 90, 43, 0.22);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-btn:hover {
  transform: translateY(-2px);
  background: var(--primary-orange-dark);
  box-shadow: 0 12px 28px rgba(255, 90, 43, 0.3);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 10vw, 128px) 0 clamp(66px, 8vw, 96px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18% auto auto 50%;
  width: min(78vw, 920px);
  aspect-ratio: 2.7 / 1;
  border: clamp(18px, 4vw, 48px) solid rgba(13, 35, 64, 0.05);
  border-right-color: rgba(242, 140, 56, 0.12);
  border-radius: 999px;
  transform: translateX(-50%) rotate(-7deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-kicker {
  width: fit-content;
  margin: 0 auto 16px;
  padding: 9px 16px;
  color: var(--brand-navy);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(13, 35, 64, 0.12);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 12px 34px rgba(13, 35, 64, 0.06);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  color: var(--primary-orange);
  background: var(--surface-soft);
  border: 1px solid rgba(255, 90, 43, 0.16);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero h1 {
  max-width: 880px;
  margin: 22px auto 14px;
  color: var(--brand-navy);
  font-size: clamp(2.45rem, 5.5vw, 4.55rem);
  line-height: 1.08;
  font-weight: 800;
}

body[data-theme="dark"] .hero h1,
body[data-theme="dark"] .hero-subtitle strong {
  color: #f8fafc;
}

body[data-theme="dark"] .hero-kicker {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero p,
.hero-subtitle {
  max-width: 760px;
  margin: 0 auto 34px;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  line-height: 1.85;
}

.hero-subtitle strong {
  color: var(--brand-navy);
  background: linear-gradient(
    120deg,
    var(--bg-glow-primary) 0%,
    rgba(255, 90, 43, 0.03) 100%
  );
  padding: 2px 7px;
  border-radius: 7px;
  font-weight: 800;
  border: 1px solid rgba(255, 90, 43, 0.12);
  margin: 2px 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

body[data-theme="dark"] .hero-subtitle strong {
  border-color: rgba(255, 90, 43, 0.22);
}

.hero-subtitle .tagline {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 800;
  color: var(--primary-orange);
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 34px 0 0;
}

.primary-link-btn,
.secondary-link-btn,
.tertiary-link-btn {
  box-sizing: border-box;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  border-radius: 999px;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Noto Sans TC",
    sans-serif;
  font-weight: 900;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.primary-link-btn {
  color: #fff;
  background: var(--brand-orange);
  border: 1px solid var(--brand-orange);
  box-shadow: 0 14px 30px rgba(242, 140, 56, 0.26);
}

.secondary-link-btn {
  min-height: 44px;
  padding: 0 4px;
  color: var(--brand-navy);
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
}

.tertiary-link-btn {
  min-height: 44px;
  padding: 0 4px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
}

body[data-theme="dark"] .secondary-link-btn {
  color: #ffb06b;
}

.primary-link-btn:hover {
  transform: translateY(-2px);
  background: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
  box-shadow: 0 18px 34px rgba(242, 140, 56, 0.32);
}

.secondary-link-btn:hover,
.tertiary-link-btn:hover {
  color: var(--brand-orange-dark);
  opacity: 0.82;
  transform: translateX(4px);
}

.search-box {
  width: min(100%, 660px);
  min-height: 60px;
  margin-inline: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-main);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box:focus-within {
  border-color: rgba(255, 90, 43, 0.46);
  box-shadow: 0 20px 48px rgba(255, 90, 43, 0.12);
  transform: translateY(-2px);
}

.search-box i {
  color: var(--primary-orange);
  font-size: 1.25rem;
}

.search-box input {
  width: 100%;
  color: var(--text-main);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 500;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.hero-stats {
  width: fit-content;
  margin: 24px auto 0;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #667085;
  background: #f3f4f6;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Noto Sans TC",
    sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-stats strong {
  color: #111827;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0;
}

.stat-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  display: inline-block;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-breathing 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.count-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-breathing 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-breathing {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

body[data-theme="dark"] .hero-stats {
  color: rgba(190, 205, 229, 0.86);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .hero-stats strong {
  color: #f8fafc;
}

.values-section,
.loop-section {
  padding: 96px 0;
}

.centered-heading {
  justify-content: center;
  text-align: center;
}

.centered-heading > div {
  max-width: 780px;
}

.section-lead {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.78;
}

.centered-heading .section-lead {
  margin-inline: auto;
}

.values-grid,
.loop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.value-card,
.loop-card,
.dual-friction-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  background: var(--card-bg);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main);
}

.value-card {
  padding: 32px;
}

.value-icon,
.dual-friction-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--primary-orange);
  background: var(--surface-soft);
  border-radius: 16px;
  font-size: 1.15rem;
}

.value-card h3,
.dual-friction-card h3,
.loop-card h3 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 900;
}

.value-card p,
.dual-friction-card p,
.loop-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.72;
}

.home-flow-list,
.home-chip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.home-flow-list span,
.home-chip-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  color: var(--text-main);
  background: var(--card-bg);
  border: 1px solid var(--border-main);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(46, 58, 89, 0.08);
  font-weight: 800;
}

.home-flow-list span + span::before {
  content: "→";
  margin-right: 12px;
  color: var(--primary-orange);
}

.home-section-actions {
  justify-content: center;
  margin-top: 28px;
}

#about,
#team,
#official-profile,
#contact {
  scroll-margin-top: 96px;
}

.about-section {
  padding: 96px 0 48px;
}

.about-copy {
  max-width: 900px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.about-copy p {
  margin: 0 0 18px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-focus-section {
  padding: 48px 0 96px;
}

.about-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.about-focus-grid .value-card {
  min-height: 310px;
}

.team-section {
  padding: 96px 0;
  background: var(--surface-muted);
  border-block: 1px solid var(--border-main);
}

.team-member-card,
.team-section .team-card {
  max-width: 920px;
  margin: 34px auto 0;
  padding: clamp(26px, 4vw, 42px);
  text-align: left;
  background: var(--card-bg);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main);
}

.team-section .team-card + .team-card {
  margin-top: 24px;
}

.team-section .team-photo {
  display: block;
  width: min(180px, 100%);
  aspect-ratio: 1;
  margin: 0 0 18px;
  object-fit: cover;
  border: 1px solid var(--border-main);
  border-radius: 8px;
}

.team-section .team-content {
  color: var(--text-muted);
  line-height: 1.85;
}

.team-section .team-content h2 {
  margin: 0 0 16px;
  color: var(--text-main);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
}

.team-section .team-content p {
  margin: 0 0 16px;
}

.team-member-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.team-member-heading h3 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.team-member-heading .eyebrow {
  margin-bottom: 4px;
}

.team-card__avatar {
  position: relative;
  width: 88px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--primary-orange);
  background: var(--surface-soft);
  border: 1px solid var(--border-main);
  border-radius: 8px;
}

.team-card__placeholder {
  display: none;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
}

.team-card__avatar--placeholder .team-card__placeholder {
  display: block;
}

.team-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__photo[hidden] {
  display: none;
}

.team-member-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--primary-orange);
  background: var(--surface-soft);
  border-radius: 16px;
  font-size: 1.2rem;
}

.team-member-copy {
  color: var(--text-muted);
  line-height: 1.85;
}

.team-member-copy p {
  margin: 0 0 16px;
}

.team-member-link {
  width: fit-content;
  margin-top: 8px;
}

.official-profile-section {
  padding: 96px 0;
}

.official-profile-card {
  max-width: 920px;
  margin: 28px auto 0;
  padding: clamp(26px, 4vw, 40px);
  color: var(--text-main);
  background: var(--card-bg);
  border: 1px solid var(--border-main);
  border-left: 5px solid var(--primary-orange);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
  user-select: text;
}

.official-profile-card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.9;
}

.join-hero {
  padding: clamp(76px, 10vw, 118px) 0 64px;
}

.join-hero .section-heading {
  margin-bottom: 0;
}

.join-hero h1 {
  margin: 8px auto 0;
  color: var(--text-main);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.12;
}

.join-paths-section,
.join-prepare-section,
.join-contact-section {
  padding: 64px 0 96px;
}

.join-paths-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.join-path-card {
  min-height: 230px;
}

.join-path-card:last-child {
  grid-column: 1 / -1;
  min-height: 200px;
}

.join-prepare-card,
.join-contact-card {
  max-width: 920px;
}

.join-prepare-card h2 {
  margin: 8px 0 22px;
  color: var(--text-main);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.join-preparation-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.join-preparation-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-main);
  line-height: 1.75;
}

.join-preparation-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent-teal);
  content: "?";
  font-weight: 900;
}

.join-contact-card {
  display: grid;
  gap: 22px;
}

.join-contact-address a {
  color: var(--brand-navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.join-contact-address {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body[data-theme="dark"] .join-contact-address a {
  color: #ffb06b;
}

.join-contact-actions {
  display: flex;
  flex-wrap: wrap;
}

.join-contact-notice {
  padding: 18px 20px;
  color: var(--text-muted);
  background: var(--surface-soft);
  border-left: 4px solid var(--accent-teal);
  border-radius: var(--radius-sm);
}

.join-next-steps {
  margin-top: 56px;
  text-align: center;
}

.join-next-steps h2 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.join-link-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-top: 22px;
}

.join-link-group a {
  min-height: 44px;
  padding: 0 4px;
  color: var(--brand-navy);
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Noto Sans TC",
    sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
}

body[data-theme="dark"] .join-link-group a {
  color: #ffb06b;
}

.join-link-group a:hover,
.join-link-group a:focus-visible {
  color: var(--brand-orange-dark);
  opacity: 0.82;
  transform: translateX(4px);
}

.report-action-card {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin: 32px 0 40px;
}

.report-action-card__title {
  margin: 8px 0 10px;
  color: var(--text-main);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.report-action-card__desc {
  color: var(--text-muted);
}

.report-steps {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.report-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-weight: 700;
}

.report-steps li::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  content: "";
  border-radius: 50%;
  background: var(--brand-orange);
}

.report-action-card__cta {
  white-space: nowrap;
}

.hub-demo-count-card,
.dashboard-growth-card {
  min-height: 118px;
}

.dashboard-growth-card {
  background: linear-gradient(145deg, rgba(255, 176, 107, 0.15), rgba(16, 185, 129, 0.1));
}

.hub-demo-count-card small,
.dashboard-growth-card small {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-weight: 700;
}

.hub-demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hub-demo-reset {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.hub-demo-summary {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.hub-demo-meta {
  grid-column: 1 / -1;
}

.hub-demo-list-grid,
.hub-demo-insights {
  display: grid;
  gap: 16px;
}

.hub-demo-list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hub-demo-list-grid h3,
.hub-demo-insights h3 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 0.95rem;
}

.hub-demo-list-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub-demo-list-grid li,
.hub-demo-insights p,
.hub-demo-record p,
.hub-demo-disclaimer p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.hub-demo-list-grid li::before {
  color: var(--accent-teal);
  content: "‧ ";
  font-weight: 900;
}

.hub-demo-insights {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-demo-insights section,
.hub-demo-record,
.hub-demo-flow span {
  padding: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-sm);
}

.hub-demo-flow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.hub-demo-flow span {
  display: grid;
  place-items: center;
  min-height: 58px;
  color: var(--text-main);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.hub-demo-record {
  grid-column: 1 / -1;
}

.hub-demo-record strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-main);
}

.hub-demo-disclaimer {
  margin: 34px 0 0;
}

.hub-demo-disclaimer a {
  color: #6ee7d8;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(110, 231, 216, 0.42);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.hub-demo-disclaimer a:hover,
.hub-demo-disclaimer a:focus-visible {
  color: #f8faf7;
  text-decoration-color: #63c84d;
}

.dual-friction-section {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(47, 134, 255, 0.08), rgba(255, 104, 66, 0.08)),
    var(--surface-muted);
}

body[data-theme="dark"] .dual-friction-section {
  background:
    linear-gradient(90deg, rgba(47, 134, 255, 0.08), rgba(255, 104, 66, 0.1)),
    rgba(255, 255, 255, 0.025);
}

.dual-friction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.dual-friction-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
}

.dual-friction-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0.12;
}

.digital-card::after {
  background: #2f86ff;
}

.physical-card::after {
  background: var(--primary-orange);
}

.filter-section {
  padding: 74px 0 18px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--primary-orange);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.result-count {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 800;
  background: var(--surface-muted);
  padding: 6px 14px;
  border-radius: 999px;
}

.category-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 20px;
  color: var(--text-muted);
  font-weight: 800;
  background: var(--surface-main);
  border: 1px solid var(--border-main);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(45, 49, 66, 0.03);
  transition: all 0.3s ease;
}

.category-tab:hover,
.category-tab.active {
  color: var(--text-inverse);
  background: var(--text-main);
  border-color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(45, 49, 66, 0.15);
}

.category-tab-icon {
  margin-right: 6px;
  color: var(--primary-orange);
}

body[data-theme="dark"] .category-tab:hover,
body[data-theme="dark"] .category-tab.active {
  color: #121212;
  background: #f3f4f6;
  border-color: #f3f4f6;
}

.tools-section {
  padding: 12px 0 72px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-header-visual {
  position: relative;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff1e9, #f8fafc);
  border-bottom: 1px solid var(--border-main);
  overflow: hidden;
}

.card-visual-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 16%,
      rgba(255, 104, 66, 0.16),
      transparent 34%
    ),
    radial-gradient(
      circle at 80% 28%,
      rgba(247, 185, 85, 0.12),
      transparent 36%
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 104, 66, 0.04));
  z-index: 1;
}

body[data-theme="dark"] .card-header-visual {
  background: linear-gradient(135deg, #241d1a, #1d2525);
}

body[data-theme="dark"] .card-visual-gradient {
  background:
    radial-gradient(
      circle at 18% 16%,
      rgba(255, 104, 66, 0.18),
      transparent 34%
    ),
    radial-gradient(
      circle at 80% 28%,
      rgba(24, 169, 153, 0.12),
      transparent 36%
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 104, 66, 0.03));
}

.tool-icon-badge {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--surface-main);
  color: var(--primary-orange);
  border: 1px solid var(--border-main);
  border-radius: 16px;
  font-size: 1.7rem;
  box-shadow: 0 8px 22px rgba(45, 49, 66, 0.08);
}

.tool-icon-badge.theme-0 {
  color: #ff6842;
}

.tool-icon-badge.theme-1 {
  color: #f28c38;
}

.tool-icon-badge.theme-2 {
  color: #18a999;
}

.tool-icon-badge.theme-3 {
  color: #8b6f5a;
}

.card-body {
  padding: 20px 20px 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  padding: 4px 10px;
  color: var(--text-muted);
  background: var(--surface-muted);
  border: 1px solid var(--border-main);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.tool-title {
  margin: 0 0 8px;
  color: var(--text-main);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.4;
}

.tool-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.card-footer {
  margin-top: 20px;
  padding: 16px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--card-subtle);
  border-top: 1px dashed var(--border-main);
}

.favorite-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  background: var(--surface-main);
  border: 1px solid var(--border-main);
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(45, 49, 66, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.favorite-btn:hover {
  color: var(--primary-orange);
  border-color: rgba(255, 90, 43, 0.32);
  transform: scale(1.05);
}

.favorite-btn.active {
  color: var(--text-inverse);
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  box-shadow: 0 6px 16px rgba(255, 90, 43, 0.25);
}

.footer-actions-left {
  display: flex;
  gap: 8px;
}

.share-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  background: var(--surface-main);
  border: 1px solid var(--border-main);
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(45, 49, 66, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-btn:hover {
  color: var(--accent-teal);
  border-color: rgba(24, 169, 153, 0.32);
  transform: scale(1.05);
}

.visit-btn {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-inverse);
  font-size: 0.92rem;
  font-weight: 800;
  background: var(--primary-orange);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(255, 90, 43, 0.15);
  transition: all 0.3s ease;
}

.visit-btn:hover {
  background: var(--primary-orange-dark);
  box-shadow: 0 8px 18px rgba(255, 90, 43, 0.25);
  transform: translateX(2px);
}

.empty-state {
  max-width: 480px;
  margin: 40px auto 0;
  padding: 48px 24px;
  text-align: center;
  background: var(--surface-main);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main);
}

.empty-state i {
  color: var(--primary-orange);
  font-size: 2.5rem;
}

.empty-state h3 {
  margin: 16px 0 8px;
  font-weight: 800;
}

.empty-state p {
  margin: 0;
  color: var(--text-muted);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.workflow-step {
  padding: clamp(18px, 2.4vw, 24px);
  background: var(--card-bg);
  border: 1px solid var(--border-main);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(45, 49, 66, 0.05);
}

.workflow-step span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--primary-orange);
  background: var(--surface-soft);
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 900;
}

.workflow-step h3 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 900;
}

.workflow-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.security-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
  align-items: start;
  padding: clamp(22px, 3vw, 32px);
  background:
    linear-gradient(135deg, rgba(24, 169, 153, 0.12), transparent 42%),
    var(--card-bg);
  border: 1px solid var(--border-main);
  border-radius: 22px;
  box-shadow: var(--shadow-main);
}

.security-callout i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--accent-teal);
  background: rgba(24, 169, 153, 0.12);
  border-radius: 16px;
  font-size: 1.25rem;
}

.security-callout h2 {
  margin-top: 0;
}

.download-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.download-check-item {
  min-width: 0;
  padding: 16px;
  background: var(--surface-main);
  border: 1px solid var(--border-main);
  border-radius: 16px;
}

.download-check-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.download-check-item strong {
  display: block;
  color: var(--text-main);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.security-details {
  margin-top: 18px;
  padding: 14px 16px;
  color: var(--text-muted);
  background: var(--surface-main);
  border: 1px solid var(--border-main);
  border-radius: 16px;
}

.security-details summary {
  color: var(--text-main);
  font-weight: 900;
  cursor: pointer;
}

.security-details ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 1.2rem;
  line-height: 1.7;
}

.security-details li::marker {
  color: var(--accent-teal);
}

.verification-list {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
}

.verification-list div {
  display: grid;
  grid-template-columns: minmax(90px, 0.28fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.verification-list dt {
  color: var(--text-main);
  font-weight: 900;
}

.verification-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.hash-value {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.65;
}

.resilience-section {
  padding: clamp(64px, 8vw, 96px) 0;
  color: #eafff8;
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(0, 255, 204, 0.18),
      transparent 28rem
    ),
    radial-gradient(
      circle at 86% 30%,
      rgba(16, 185, 129, 0.16),
      transparent 30rem
    ),
    linear-gradient(135deg, #050706, #0d0d0d 54%, #061611);
  border-top: 1px solid rgba(0, 255, 204, 0.12);
  border-bottom: 1px solid rgba(0, 255, 204, 0.12);
}

.nvd-demo-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.nvd-demo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(0, 255, 204, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 204, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(
    180deg,
    transparent,
    #000 18%,
    #000 82%,
    transparent
  );
}

.nvd-demo-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 255, 204, 0.035),
    transparent
  );
  animation: demoSectionScan 6s linear infinite;
}

.resilience-demo-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
}

.resilience-copy {
  max-width: 780px;
}

.resilience-copy h1 {
  margin: 10px 0 14px;
  color: #f8fffc;
  font-size: clamp(2.15rem, 5.4vw, 4.8rem);
  line-height: 1.05;
  font-weight: 900;
}

.resilience-copy p {
  margin: 0;
  color: rgba(226, 255, 247, 0.76);
  line-height: 1.82;
}

.demo-step-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.step-bar-container {
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 185, 129, 0.16);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.demo-step-button {
  position: relative;
  min-height: 36px;
  padding: 0 12px;
  color: rgba(226, 255, 247, 0.72);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 204, 0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}

.step-bar-container .demo-step-button {
  color: #526174;
  background: rgba(248, 250, 252, 0.86);
  border-color: rgba(148, 163, 184, 0.18);
}

.demo-step-button:hover,
.demo-step-button.active {
  color: #001a14;
  background: var(--nvd-neon);
  box-shadow: 0 0 22px rgba(0, 255, 204, 0.34);
}

.step-bar-container .demo-step-button.active {
  color: #052e2b;
  background: linear-gradient(135deg, #00ffcc, #8fffea);
  box-shadow:
    0 0 0 1px rgba(0, 255, 204, 0.36),
    0 12px 26px rgba(0, 255, 204, 0.22);
}

.nvd-demo-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.25fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.nvd-demo-panel {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.nvd-demo-front {
  display: grid;
  gap: 18px;
}

.demo-panel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(0, 255, 204, 0.16);
  border-radius: 18px;
  box-shadow: inset 0 0 24px rgba(0, 255, 204, 0.04);
}

.demo-panel-heading span {
  display: block;
  color: rgba(226, 255, 247, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-panel-heading strong {
  display: block;
  color: #f8fffc;
  font-size: 1rem;
}

.demo-status-dot,
.pulse-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background: var(--nvd-neon);
  border-radius: 50%;
  box-shadow:
    0 0 0 7px rgba(0, 255, 204, 0.12),
    0 0 22px rgba(0, 255, 204, 0.72);
  animation: demoPulseDot 1.6s ease-in-out infinite;
}

.resilience-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resilience-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(226, 255, 247, 0.72);
  line-height: 1.62;
}

.resilience-list i {
  margin-top: 5px;
  color: var(--nvd-neon);
}

.nvd-mockup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  background-color: transparent;
}

.pixel-shell {
  position: relative;
  width: min(var(--phone-width), 100%);
  height: var(--phone-height);
  flex: 0 0 auto;
  margin-inline: auto;
  background: var(--nvd-dark);
  border: 1px solid #333;
  border-radius: var(--phone-radius);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(16, 185, 129, 0.2),
    inset 0 0 18px rgba(255, 255, 255, 0.035);
  padding: var(--bezel-thickness);
  box-sizing: border-box;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  border-radius: calc(var(--phone-radius) - var(--bezel-thickness));
}

.camera-hole {
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 10;
  width: 12px;
  height: 12px;
  background: #1a1a1a;
  border-radius: 50%;
  box-shadow: inset 0 0 2px #000;
  transform: translateX(-50%);
}

.screen-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.road-vision {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(9, 16, 18, 0.2), rgba(0, 0, 0, 0.88)),
    linear-gradient(160deg, #475569 0 32%, #262626 33% 100%);
}

.road-skyline {
  position: absolute;
  inset: 0 0 auto;
  height: 38%;
  background:
    linear-gradient(
      90deg,
      transparent 0 8%,
      rgba(255, 255, 255, 0.12) 8% 10%,
      transparent 10% 19%,
      rgba(255, 255, 255, 0.1) 19% 23%,
      transparent 23% 100%
    ),
    linear-gradient(180deg, #334155, #111827);
  opacity: 0.72;
}

.road-surface {
  position: absolute;
  inset: 34% 0 0;
  background:
    radial-gradient(
      circle at 58% 50%,
      rgba(255, 255, 255, 0.16),
      transparent 7rem
    ),
    linear-gradient(
      108deg,
      transparent 0 45%,
      rgba(255, 255, 255, 0.12) 46% 48%,
      transparent 49% 100%
    ),
    linear-gradient(145deg, #3f3f46, #18181b 72%);
  transform: perspective(360px) rotateX(16deg) scale(1.08);
  transform-origin: top;
}

.crack {
  position: absolute;
  display: block;
  height: 3px;
  background: #0a0a0a;
  box-shadow: 0 0 16px rgba(0, 255, 204, 0.22);
  transform-origin: left center;
}

.crack-a {
  top: 42%;
  left: 42%;
  width: 92px;
  transform: rotate(18deg);
}

.crack-b {
  top: 46%;
  left: 48%;
  width: 56px;
  transform: rotate(112deg);
}

.crack-c {
  top: 54%;
  left: 36%;
  width: 74px;
  transform: rotate(-26deg);
}

.phone-topbar {
  position: absolute;
  top: 28px;
  left: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: #eafff8;
  font-size: 0.74rem;
  font-weight: 900;
}

.phone-topbar strong {
  color: var(--nvd-neon);
  text-shadow: 0 0 14px rgba(0, 255, 204, 0.8);
}

.target-lock {
  position: absolute;
  top: 47%;
  left: 50%;
  z-index: 3;
  width: 218px;
  min-height: 102px;
  display: grid;
  place-items: center;
  padding: 18px 16px;
  border: 1px solid rgba(0, 255, 204, 0.72);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  filter: drop-shadow(0 0 12px rgba(0, 255, 204, 0.52));
}

.target-lock > span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--nvd-neon);
}

.target-lock > span:nth-child(1) {
  top: -1px;
  left: -1px;
  border-top: 3px solid;
  border-left: 3px solid;
}

.target-lock > span:nth-child(2) {
  top: -1px;
  right: -1px;
  border-top: 3px solid;
  border-right: 3px solid;
}

.target-lock > span:nth-child(3) {
  bottom: -1px;
  left: -1px;
  border-bottom: 3px solid;
  border-left: 3px solid;
}

.target-lock > span:nth-child(4) {
  right: -1px;
  bottom: -1px;
  border-right: 3px solid;
  border-bottom: 3px solid;
}

.detection-readout {
  display: grid;
  gap: 8px;
  width: 100%;
  color: #eafff8;
  text-align: left;
}

.detection-readout strong,
.detection-readout small {
  display: block;
  line-height: 1.45;
  text-shadow: 0 0 16px rgba(0, 255, 204, 0.32);
}

.detection-readout strong {
  font-size: 0.86rem;
  font-weight: 900;
}

.detection-readout small {
  color: rgba(226, 255, 247, 0.78);
  font-size: 0.75rem;
  font-weight: 800;
}

.radar-scan {
  position: absolute;
  top: 28%;
  left: -20%;
  z-index: 2;
  width: 140%;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--nvd-neon), transparent);
  box-shadow: 0 0 26px rgba(0, 255, 204, 0.85);
}

.phone-map-card,
.semantic-tags,
.phone-submit-hint,
.phone-submit {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 4;
}

.phone-map-card {
  bottom: 118px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  color: #eafff8;
  background: rgba(5, 12, 13, 0.82);
  border: 1px solid rgba(0, 255, 204, 0.22);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform: translateY(16px);
  backdrop-filter: blur(16px);
}

.phone-map-card strong,
.phone-map-card span {
  display: block;
  font-size: 0.74rem;
}

.phone-map-card > div:last-child > span {
  margin: 4px 0 8px;
  color: var(--nvd-neon);
  font-family: Consolas, "Courier New", monospace;
}

.mini-map {
  position: relative;
  min-height: 56px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 255, 204, 0.11) 1px, transparent 1px),
    linear-gradient(rgba(0, 255, 204, 0.11) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: 14px 14px;
  border-radius: 12px;
}

.map-node {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 10px;
  height: 10px;
  background: var(--nvd-neon);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(0, 255, 204, 0.16);
}

.map-route {
  position: absolute;
  height: 2px;
  background: rgba(0, 255, 204, 0.58);
  transform-origin: left center;
}

.route-a {
  top: 21px;
  left: 8px;
  width: 58px;
  transform: rotate(24deg);
}

.route-b {
  top: 40px;
  left: 14px;
  width: 48px;
  transform: rotate(-18deg);
}

.gis-progress {
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.gis-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--nvd-neon), #86efac);
  border-radius: inherit;
}

.semantic-tags {
  bottom: 72px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
}

.semantic-tags button {
  min-height: 32px;
  flex: 1;
  color: rgba(226, 255, 247, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.phone-submit-hint {
  bottom: 72px;
  margin: 0;
  color: rgba(226, 255, 247, 0.86);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s ease;
  text-shadow: 0 0 14px rgba(0, 255, 204, 0.22);
}

.phone-submit {
  bottom: 22px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #03130f;
  background: var(--nvd-neon);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(0, 255, 204, 0.24);
  opacity: 1;
}

.data-beam-layer {
  position: absolute;
  inset: 8% 0 4%;
  z-index: 1;
  width: 100%;
  height: 88%;
  pointer-events: none;
  opacity: 0;
}

.beam {
  fill: none;
  stroke: var(--nvd-neon);
  stroke-width: 3;
  stroke-dasharray: 16 18;
  filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.86));
}

.beam-secondary {
  stroke: #86efac;
  stroke-width: 2;
  opacity: 0.76;
}

.beam-particle {
  fill: var(--nvd-neon);
  filter: drop-shadow(0 0 12px rgba(0, 255, 204, 0.9));
}

.resilience-dashboard {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  color: #e8fff8;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.025)
    ),
    radial-gradient(
      circle at 72% 26%,
      rgba(0, 255, 204, 0.2),
      transparent 18rem
    ),
    #07110f;
  border: 1px solid rgba(0, 255, 204, 0.24);
  border-radius: 28px;
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.38),
    inset 0 0 45px rgba(0, 255, 204, 0.04);
}

.resilience-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035) 50%,
    transparent 50%
  );
  background-size: 100% 7px;
  mix-blend-mode: screen;
  opacity: 0.22;
}

.dashboard-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 255, 204, 0.16);
}

.dashboard-header small {
  grid-column: 2;
  color: rgba(226, 255, 247, 0.58);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.backend-screen {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
}

.taiwan-map {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 255, 204, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 50% 68%,
      rgba(0, 255, 204, 0.16),
      transparent 9rem
    ),
    rgba(255, 255, 255, 0.035);
}

.taiwan-map svg {
  width: min(72%, 210px);
  overflow: visible;
}

.taiwan-shape {
  fill: rgba(0, 255, 204, 0.08);
  stroke: rgba(0, 255, 204, 0.82);
  stroke-width: 3;
  filter: drop-shadow(0 0 16px rgba(0, 255, 204, 0.36));
}

.taiwan-grid {
  fill: none;
  stroke: rgba(134, 239, 172, 0.28);
  stroke-width: 1.4;
}

.kaohsiung-node {
  position: absolute;
  bottom: 72px;
  left: 45%;
  width: 14px;
  height: 14px;
  background: var(--nvd-neon);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(0, 255, 204, 0.82);
}

.backend-data {
  display: grid;
  gap: 16px;
}

.score-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(0, 255, 204, 0.18);
  border-radius: 20px;
}

.score-card span {
  display: block;
  margin-bottom: 10px;
  color: rgba(226, 255, 247, 0.62);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-card strong {
  color: var(--nvd-neon);
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 255, 204, 0.45);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.metric-card span {
  display: block;
  margin-bottom: 10px;
  color: rgba(226, 255, 247, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
}

.metric-card strong {
  color: #7dd3fc;
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  letter-spacing: 0.04em;
}

.backend-toast {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  padding: 14px 16px;
  color: #dffff8;
  background: rgba(0, 255, 204, 0.1);
  border: 1px solid rgba(0, 255, 204, 0.28);
  border-radius: 16px;
  box-shadow: 0 0 26px rgba(0, 255, 204, 0.08);
  opacity: 0;
  transform: translateY(10px);
}

.backend-toast i {
  color: var(--nvd-neon);
}

.log-stream {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: rgba(134, 239, 172, 0.76);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.74rem;
}

.nvd-demo-stage[data-step="0"] .target-lock,
.nvd-demo-stage[data-step="1"] .target-lock,
.nvd-demo-stage[data-step="2"] .target-lock,
.nvd-demo-stage[data-step="3"] .target-lock,
.nvd-demo-stage[data-step="4"] .target-lock {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: all 0.45s ease;
}

.nvd-demo-stage[data-step="0"] .radar-scan,
.nvd-demo-stage[data-step="1"] .radar-scan,
.nvd-demo-stage[data-step="2"] .radar-scan,
.nvd-demo-stage[data-step="3"] .radar-scan,
.nvd-demo-stage[data-step="4"] .radar-scan {
  opacity: 1;
  animation: radarSweep 1.55s linear infinite;
}

.nvd-demo-stage[data-step="1"] .phone-map-card,
.nvd-demo-stage[data-step="2"] .phone-map-card,
.nvd-demo-stage[data-step="3"] .phone-map-card,
.nvd-demo-stage[data-step="4"] .phone-map-card {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.45s ease;
}

.nvd-demo-stage[data-step="1"] .gis-progress span,
.nvd-demo-stage[data-step="2"] .gis-progress span,
.nvd-demo-stage[data-step="3"] .gis-progress span,
.nvd-demo-stage[data-step="4"] .gis-progress span {
  width: 100%;
  transition: width 1.2s ease;
}

.nvd-demo-stage[data-step="2"] .semantic-tags,
.nvd-demo-stage[data-step="3"] .semantic-tags,
.nvd-demo-stage[data-step="4"] .semantic-tags {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.45s ease;
}

.nvd-demo-stage[data-step="2"] .phone-submit-hint,
.nvd-demo-stage[data-step="3"] .phone-submit-hint {
  opacity: 1;
  transform: translateY(0);
}

.nvd-demo-stage[data-step="2"] .semantic-tags [data-tag="height"],
.nvd-demo-stage[data-step="3"] .semantic-tags [data-tag="height"],
.nvd-demo-stage[data-step="4"] .semantic-tags [data-tag="height"] {
  color: #03130f;
  background: var(--nvd-neon);
  border-color: var(--nvd-neon);
  box-shadow: 0 0 18px rgba(0, 255, 204, 0.45);
}

.nvd-demo-stage[data-step="3"] .phone-submit,
.nvd-demo-stage[data-step="4"] .phone-submit {
  opacity: 1;
  animation: submitGlow 1s ease-in-out infinite;
}

.nvd-demo-stage.is-submitting .phone-submit {
  pointer-events: none;
}

.nvd-demo-stage.is-submitting .phone-submit::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(0, 255, 204, 0.72);
  border-radius: inherit;
  animation: submitRipple 0.72s ease-out;
}

.nvd-demo-stage[data-step="3"] .data-beam-layer,
.nvd-demo-stage[data-step="4"] .data-beam-layer {
  opacity: 1;
}

.nvd-demo-stage[data-step="3"] .beam,
.nvd-demo-stage[data-step="4"] .beam {
  animation: beamFlow 1s linear infinite;
}

.nvd-demo-stage[data-step="3"] .particle-a,
.nvd-demo-stage[data-step="4"] .particle-a {
  offset-path: path("M190 310 C360 190 610 170 830 250");
  animation: particleMove 1.4s ease-in-out infinite;
}

.nvd-demo-stage[data-step="3"] .particle-b,
.nvd-demo-stage[data-step="4"] .particle-b {
  offset-path: path("M205 360 C420 470 620 120 850 205");
  animation: particleMove 1.6s 0.12s ease-in-out infinite;
}

.nvd-demo-stage[data-step="4"] .kaohsiung-node::before,
.nvd-demo-stage[data-step="4"] .kaohsiung-node::after {
  content: "";
  position: absolute;
  inset: -22px;
  border: 1px solid rgba(0, 255, 204, 0.62);
  border-radius: 50%;
  animation: mapPulse 1.4s ease-out infinite;
}

.nvd-demo-stage[data-step="4"] .kaohsiung-node::after {
  animation-delay: 0.35s;
}

.nvd-demo-stage[data-step="4"] .backend-toast {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}

.nvd-demo-stage[data-step="4"] .score-card {
  border-color: rgba(0, 255, 204, 0.42);
  box-shadow: 0 0 28px rgba(0, 255, 204, 0.13);
}

.nvd-demo-section {
  color: #172033;
  background:
    radial-gradient(
      circle at 16% 10%,
      rgba(0, 255, 204, 0.14),
      transparent 28rem
    ),
    radial-gradient(
      circle at 86% 32%,
      rgba(16, 185, 129, 0.1),
      transparent 24rem
    ),
    linear-gradient(180deg, #ffffff, #f7faf9);
  border-color: rgba(15, 23, 42, 0.08);
}

.nvd-demo-section::before {
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.06) 1px, transparent 1px);
}

.nvd-demo-section::after {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 255, 204, 0.08),
    transparent
  );
}

.resilience-copy h1 {
  color: #162033;
}

.resilience-copy p,
.resilience-list li {
  color: #53627a;
}

.demo-step-button,
.demo-panel-heading {
  color: #243047;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(16, 185, 129, 0.22);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.step-bar-container .demo-step-button.active {
  color: #052e2b;
  background: linear-gradient(135deg, #00ffcc, #8fffea);
  border-color: rgba(0, 255, 204, 0.52);
  box-shadow:
    0 0 0 1px rgba(0, 255, 204, 0.3),
    0 12px 26px rgba(0, 255, 204, 0.22);
}

.demo-panel-heading span {
  color: #64748b;
}

.demo-panel-heading strong {
  color: #172033;
}

.pixel-shell {
  background: linear-gradient(145deg, #ffffff, #e8edea), #f4f7f5;
  border-color: #d8dfdc;
  box-shadow:
    0 26px 56px rgba(15, 23, 42, 0.14),
    0 0 28px rgba(0, 255, 204, 0.18),
    inset 0 0 18px rgba(255, 255, 255, 0.9);
}

.camera-hole {
  width: 14px;
  height: 14px;
  background:
    radial-gradient(
      circle at 35% 34%,
      #334155 0 18%,
      #050505 19% 55%,
      #20242a 56%
    ),
    #111827;
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 0 4px rgba(0, 0, 0, 0.9),
    0 1px 2px rgba(15, 23, 42, 0.3);
}

.phone-screen {
  background: #eef3f1;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.screen-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(3, 7, 18, 0.2)),
    radial-gradient(circle at 70% 82%, rgba(16, 185, 129, 0.22), transparent 17%),
    linear-gradient(155deg, transparent 0 30%, rgba(148, 163, 184, 0.55) 31% 44%, transparent 45%),
    linear-gradient(180deg, #dbe3df 0 22%, #87908c 23% 100%);
  filter: grayscale(80%) contrast(1.2) brightness(0.6);
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
}

.nvd-demo-stage.is-submitting .screen-content::before,
.nvd-demo-stage.scanning .screen-content::before {
  filter: grayscale(80%) contrast(1.2) brightness(0.6);
  transform: scale(1.04);
}

.road-vision {
  z-index: 1;
  background:
    radial-gradient(
      circle at 50% 54%,
      rgba(0, 255, 204, 0.08),
      transparent 9rem
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(5, 12, 13, 0.24));
}

.road-skyline,
.road-surface,
.crack {
  display: none;
}

.lidar-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(0, 255, 204, 0.13) 0 1px,
      transparent 1px 18px
    ),
    linear-gradient(
      115deg,
      transparent 0 38%,
      rgba(0, 255, 204, 0.46) 48%,
      transparent 58%
    );
  opacity: 0.5;
  mix-blend-mode: screen;
  transform: translateX(-45%);
  animation: lidarSweep 2.8s linear infinite;
}

.scan-line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 16%;
  z-index: 4;
  height: 2px;
  background: #10b981;
  border-radius: 999px;
  box-shadow:
    0 0 14px rgba(16, 185, 129, 0.92),
    0 0 30px rgba(16, 185, 129, 0.45);
  opacity: 0;
  transform: translateY(-24px);
}

.target-box.scanning-active ~ .scan-line,
.nvd-demo-stage.scanning .scan-line,
.nvd-demo-stage.is-submitting .scan-line {
  opacity: 1;
  animation: scanLineMove 1.5s ease-in-out infinite;
}

.mini-data-overlay {
  position: absolute;
  top: 74px;
  left: 18px;
  z-index: 5;
  width: min(210px, calc(100% - 36px));
  padding: 10px 12px;
  color: #d1fae5;
  background: rgba(3, 7, 18, 0.38);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(3, 7, 18, 0.18);
  backdrop-filter: blur(12px);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.68rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.nvd-demo-stage.scanning .mini-data-overlay,
.nvd-demo-stage.is-submitting .mini-data-overlay,
.mini-data-overlay.is-active {
  opacity: 1;
  transform: translateY(0);
}

.target-box {
  top: 58%;
  left: 58%;
  width: 232px;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(0, 255, 204, 0.95);
  box-shadow:
    0 0 0 1px rgba(0, 255, 204, 0.18),
    0 0 26px rgba(0, 255, 204, 0.35),
    inset 0 0 22px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.target-box.scanning-active {
  animation: pulse 1.1s ease-in-out infinite;
}

.target-box.target-locked {
  border-style: solid;
  border-color: #10b981;
  animation: none;
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.55),
    0 0 34px rgba(16, 185, 129, 0.58),
    inset 0 0 24px rgba(16, 185, 129, 0.12);
}

.nvd-demo-stage.is-submitting .target-box,
.nvd-demo-stage[data-step="4"] .target-box {
  animation: targetBreath 0.9s ease-in-out infinite;
}

.nvd-demo-stage .target-box.target-locked {
  animation: none;
}

.detection-readout strong,
.detection-readout small {
  color: #f8fffc;
}

.detection-result-card {
  position: absolute;
  right: 18px;
  bottom: 182px;
  z-index: 7;
  max-width: calc(100% - 36px);
  padding: 12px 14px;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.36s ease,
    transform 0.36s ease;
}

.detection-result-card strong {
  color: #10b981;
}

.detection-result-card.is-visible,
.nvd-demo-stage[data-step="2"] .detection-result-card,
.nvd-demo-stage[data-step="3"] .detection-result-card,
.nvd-demo-stage[data-step="4"] .detection-result-card {
  opacity: 1;
  transform: translateY(0);
}

.animate-pulse {
  animation: pulse 1.35s ease-in-out infinite;
}

.font-bold {
  font-weight: 900;
}

.text-\[\#10b981\] {
  color: #10b981;
}

.active-step {
  color: #03241d !important;
  background: #10b981 !important;
  border-color: rgba(16, 185, 129, 0.74) !important;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.24);
}

@keyframes scanLineMove {
  0% {
    opacity: 0;
    transform: translateY(-28px);
  }

  16%,
  82% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(280px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.98);
    box-shadow:
      0 0 0 1px rgba(16, 185, 129, 0.22),
      0 0 22px rgba(16, 185, 129, 0.28),
      inset 0 0 20px rgba(16, 185, 129, 0.08);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.02);
    box-shadow:
      0 0 0 6px rgba(16, 185, 129, 0.12),
      0 0 34px rgba(16, 185, 129, 0.54),
      inset 0 0 28px rgba(16, 185, 129, 0.14);
  }
}

.phone-topbar {
  z-index: 5;
}

.phone-ui {
  position: absolute;
  inset: auto 18px 20px;
  z-index: 6;
  display: grid;
  gap: 10px;
}

.phone-map-card,
.semantic-tags,
.phone-submit-hint,
.phone-submit {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
}

.step-card,
.phone-map-card {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(16, 185, 129, 0.22);
  color: #172033;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.phone-map-card > div:last-child > span {
  color: #047857;
}

.semantic-tags button {
  color: #134e4a;
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(16, 185, 129, 0.22);
}

.phone-submit-hint {
  color: #0f3b35;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 14px;
  padding: 9px 10px;
}

.phone-submit {
  color: #03241d;
  background: linear-gradient(135deg, #00ffcc, #7cffd7);
  box-shadow:
    0 12px 24px rgba(0, 255, 204, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.data-beam-layer {
  filter: drop-shadow(0 0 14px rgba(0, 255, 204, 0.42));
}

.resilience-dashboard,
.taiwan-map,
.score-card,
.metric-card {
  color: #172033;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9),
      rgba(249, 253, 251, 0.78)
    ),
    #ffffff;
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.1);
}

.resilience-dashboard::before {
  opacity: 0.12;
  background: linear-gradient(
    180deg,
    rgba(16, 185, 129, 0.12) 50%,
    transparent 50%
  );
}

.dashboard-header,
.dashboard-header small,
.score-card span,
.metric-card span {
  color: #64748b;
}

.dashboard-header strong {
  color: #172033;
}

.taiwan-shape {
  fill: rgba(0, 255, 204, 0.1);
  stroke: #00cfa8;
}

.taiwan-grid {
  stroke: rgba(15, 118, 110, 0.26);
}

.kaohsiung-node {
  top: 75%;
  left: 45%;
  bottom: auto;
  background: #00ffcc;
}

.crowd-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #00ffcc;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(0, 255, 204, 0.68);
  animation: crowdPulse 1.8s ease-out forwards;
}

.backend-toast {
  color: #064e3b;
  background: rgba(0, 255, 204, 0.12);
}

.receipt-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 8;
  width: min(82%, 420px);
  display: grid;
  gap: 10px;
  padding: 24px;
  color: #172033;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 255, 204, 0.42);
  border-radius: 22px;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.18),
    0 0 34px rgba(0, 255, 204, 0.16);
  opacity: 0;
  transform: translate(-50%, -46%) scale(0.96);
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition: all 0.35s ease;
}

.receipt-modal strong {
  min-height: 22px;
  color: #047857;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.receipt-modal em {
  width: max-content;
  padding: 6px 12px;
  color: #03241d;
  background: #00ffcc;
  border-radius: 999px;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(0, 255, 204, 0.42);
}

.receipt-kicker {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.nvd-demo-stage.show-receipt .receipt-modal {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@keyframes lidarSweep {
  0% {
    transform: translateX(-55%);
  }

  100% {
    transform: translateX(55%);
  }
}

@keyframes targetBreath {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    box-shadow: 0 0 38px rgba(0, 255, 204, 0.62);
    transform: translate(-50%, -50%) scale(1.03);
  }
}

@keyframes crowdPulse {
  0% {
    opacity: 0.9;
    transform: scale(0.4);
  }

  100% {
    opacity: 0;
    transform: scale(3.1);
  }
}

@keyframes demoSectionScan {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}

@keyframes demoPulseDot {
  0%,
  100% {
    transform: scale(0.88);
  }

  50% {
    transform: scale(1.12);
  }
}

@keyframes radarSweep {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(280px);
  }
}

@keyframes submitGlow {
  0%,
  100% {
    box-shadow: 0 0 28px rgba(0, 255, 204, 0.24);
    transform: scale(1);
  }

  50% {
    box-shadow:
      0 0 0 12px rgba(0, 255, 204, 0.08),
      0 0 38px rgba(0, 255, 204, 0.5);
    transform: scale(1.03);
  }
}

@keyframes submitRipple {
  0% {
    opacity: 0.86;
    transform: scale(0.92);
  }

  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes beamFlow {
  0% {
    stroke-dashoffset: 120;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes particleMove {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }

  14%,
  84% {
    opacity: 1;
  }

  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

@keyframes mapPulse {
  0% {
    opacity: 0.82;
    transform: scale(0.35);
  }

  100% {
    opacity: 0;
    transform: scale(2.25);
  }
}

.loop-card {
  position: relative;
  padding: 32px;
  overflow: hidden;
}

.loop-card span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: var(--primary-orange);
  background: var(--surface-soft);
  border-radius: 12px;
  font-weight: 900;
}

.loop-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -70px;
  width: 140px;
  height: 140px;
  background: rgba(255, 104, 66, 0.1);
  border-radius: 50%;
}

.friction-section {
  padding: 74px 0 84px;
  background: linear-gradient(180deg, rgba(255, 243, 237, 0.54), transparent);
  border-top: 1px solid var(--border-main);
}

body[data-theme="dark"] .friction-section {
  background: linear-gradient(180deg, rgba(255, 104, 66, 0.04), transparent);
}

.friction-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.friction-heading h2 {
  margin: 0 0 14px;
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.18;
  font-weight: 800;
}

.friction-heading > p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.friction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.friction-card {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.friction-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.friction-card img {
  width: 100%;
  height: 230px;
  padding: 16px;
  display: block;
  object-fit: contain;
  background: var(--surface-main);
  border-bottom: 1px solid var(--border-main);
}

.friction-card-featured img {
  transform-origin: right bottom;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.friction-card-featured:hover img {
  transform: rotate(-1deg) translateY(-4px) scale(1.02);
  filter: saturate(1.08) contrast(1.03);
}

.friction-copy {
  padding: 22px;
}

.friction-copy span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  background: var(--surface-soft);
  border-radius: 12px;
  font-weight: 800;
}

.friction-copy h3 {
  margin: 14px 0 8px;
  color: var(--text-main);
  font-size: 1.22rem;
  font-weight: 800;
}

.friction-copy p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.hero-inner,
.section-heading,
.centered-heading,
.resilience-copy,
.friction-heading,
.demo-section-heading {
  text-align: center;
}

.section-heading,
.centered-heading {
  justify-content: center;
}

.section-heading > div,
.centered-heading > div,
.resilience-copy,
.friction-heading,
.demo-section-heading {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.hero-inner h1,
.section-heading h1,
.section-heading h2,
.resilience-copy h1,
.friction-heading h2,
.demo-section-heading h2 {
  margin-right: auto;
  margin-left: auto;
}

.hero-subtitle,
.section-lead,
.resilience-copy p,
.friction-heading p,
.demo-section-heading p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.value-card,
.loop-card,
.tool-card,
.workflow-step,
.audience-list,
.dual-friction-card,
.friction-card,
.manifesto-card,
.backend-screen,
.phone-ui,
.receipt-modal,
.legal-panel,
.footer-column,
form,
label,
input,
textarea,
select {
  text-align: left;
}

.manifesto-section {
  padding: 82px 0 92px;
  background:
    radial-gradient(
      circle at 12% 6%,
      rgba(16, 185, 129, 0.13),
      transparent 28rem
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(0, 255, 204, 0.08),
      transparent 24rem
    ),
    linear-gradient(180deg, #ffffff, #f8fafc);
  border-top: 1px solid var(--border-main);
}

body[data-theme="dark"] .manifesto-section {
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(255, 104, 66, 0.12),
      transparent 28rem
    ),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.025));
}

.manifesto-intro {
  max-width: 820px;
  margin-bottom: 30px;
}

.manifesto-intro-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.manifesto-intro h2 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.18;
  font-weight: 800;
}

.manifesto-intro blockquote {
  margin: 22px 0 14px;
  color: #10b981;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.45;
  font-weight: 800;
}

.manifesto-mode-toggle {
  position: relative;
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.mode-option {
  position: relative;
  z-index: 2;
  min-width: 86px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.28s ease;
}

.mode-track {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 1;
  width: calc(50% - 5px);
  height: calc(100% - 10px);
  background: linear-gradient(135deg, #10b981, #00ffcc);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.32);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.manifesto-mode-toggle:not(.is-human) .mode-hardcore,
.manifesto-mode-toggle.is-human .mode-human {
  color: #03241d;
}

.manifesto-mode-toggle.is-human .mode-track {
  transform: translateX(100%);
}

.manifesto-intro > p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.manifesto-card {
  min-height: 310px;
  position: relative;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 185, 129, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  transition:
    opacity 0.3s ease,
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.manifesto-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent 34%),
    radial-gradient(
      circle at 100% 0%,
      rgba(0, 255, 204, 0.12),
      transparent 12rem
    );
  opacity: 0.7;
}

.manifesto-card:hover {
  border-color: rgba(16, 185, 129, 0.34);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
  transform: translateY(-5px);
}

.manifesto-grid.is-switching .manifesto-card {
  opacity: 0;
  transform: rotateX(8deg) translateY(12px);
}

.manifesto-card:nth-child(1),
.manifesto-card:nth-child(2),
.manifesto-card:nth-child(3) {
  grid-column: span 2;
}

.manifesto-card:nth-child(4),
.manifesto-card:nth-child(5) {
  grid-column: span 3;
}

.manifesto-index {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #047857;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 14px;
  font-weight: 800;
}

.manifesto-symbol {
  position: relative;
  z-index: 1;
  margin: 18px 0 10px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.6;
  font-weight: 800;
}

.manifesto-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 800;
}

.manifesto-card p:last-child {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.82;
}

body[data-theme="dark"] .manifesto-card {
  background: rgba(21, 24, 33, 0.76);
  border-color: rgba(16, 185, 129, 0.18);
}

.site-footer {
  padding: clamp(34px, 5vw, 48px) 0 clamp(22px, 3vw, 28px);
  color: var(--footer-text);
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(242, 140, 56, 0.12),
      transparent 26rem
    ),
    radial-gradient(
      circle at 92% 0%,
      rgba(13, 35, 64, 0.08),
      transparent 24rem
    ),
    linear-gradient(180deg, #ffffff 0%, var(--footer-bg) 100%);
  border-top: 1px solid var(--border-main);
  font-size: 0.95rem;
}

body[data-theme="dark"] .site-footer {
  color: rgba(236, 241, 248, 0.8);
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(255, 104, 66, 0.12),
      transparent 25rem
    ),
    radial-gradient(
      circle at 92% 0%,
      rgba(32, 201, 151, 0.12),
      transparent 24rem
    ),
    linear-gradient(180deg, #151821 0%, #090d14 100%);
  border-top-color: rgba(255, 104, 66, 0.18);
}

.footer-top {
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 46px);
  justify-items: center;
  text-align: center;
}

.footer-column {
  min-width: 0;
}

.footer-column h2 {
  margin: 0 0 16px;
  color: var(--brand-navy);
  font-size: 0.95rem;
  font-weight: 800;
}

body[data-theme="dark"] .footer-column h2 {
  color: #f8fafc;
}

.footer-column ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: var(--text-muted);
  line-height: 1.5;
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

body[data-theme="dark"] .footer-column a {
  color: rgba(182, 211, 246, 0.86);
}

.footer-column a:hover {
  color: var(--brand-orange);
  transform: translateY(-1px);
}

body[data-theme="dark"] .footer-column a:hover {
  color: #ffb091;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #2e3a59;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #d8dee8;
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease,
    background 0.25s ease;
}

.footer-social__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social__link:hover {
  color: #1e2225;
  background: #f8faf7;
  border-color: #63c84d;
  box-shadow: 0 8px 18px rgba(46, 58, 89, 0.08);
  transform: translateY(-2px);
}

body[data-theme="dark"] .footer-social__link {
  color: rgba(236, 241, 248, 0.78);
  background: rgba(236, 241, 248, 0.08);
  border-color: rgba(236, 241, 248, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-theme="dark"] .footer-social__link:hover {
  color: #63c84d;
  background: rgba(99, 200, 77, 0.12);
  border-color: rgba(99, 200, 77, 0.48);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.footer-social__link:focus-visible {
  outline: 3px solid rgba(99, 200, 77, 0.28);
  outline-offset: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-main);
  text-align: center;
}

body[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer-brand p,
.footer-bottom > p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  font-weight: 600;
}

.footer-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

body[data-theme="dark"] .footer-logo {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.footer-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-logo i {
  transform: rotate(-18deg);
}

.legal-updated {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.legal-panel p:not(.legal-updated) {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.78;
}

@media (max-width: 980px) {
  .navbar {
    position: relative;
    padding: 12px 0;
  }

  .brand {
    flex: 1 1 auto;
  }

  .mobile-nav-toggle {
    display: flex;
    order: 2;
  }

  .header-actions {
    order: 3;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 80;
    display: grid;
    gap: 6px;
    width: 100%;
    max-height: 0;
    padding: 0 10px;
    overflow: hidden;
    color: var(--text-main);
    background: var(--surface-main);
    border: 1px solid transparent;
    border-radius: 18px;
    box-shadow: var(--shadow-main);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      max-height 0.25s ease,
      padding 0.25s ease,
      opacity 0.2s ease,
      transform 0.2s ease,
      border-color 0.2s ease;
  }

  .site-header.nav-open .nav-links {
    max-height: 420px;
    padding: 10px;
    border-color: var(--border-main);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    min-height: 44px;
    justify-content: flex-start;
    padding: 0 12px;
    border-bottom: 0;
    border-radius: 12px;
  }

  .nav-links a.active {
    color: var(--accent-teal);
    background: rgba(24, 169, 153, 0.1);
  }

  .nav-links .nav-report-cta {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    border-radius: 12px;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-grid,
  .loop-grid,
  .join-paths-grid,
  .about-focus-grid {
    grid-template-columns: 1fr;
  }

  .dual-friction-grid,
  .resilience-layout,
  .resilience-demo-header,
  .nvd-demo-stage {
    grid-template-columns: 1fr;
  }

  .demo-step-controls {
    justify-content: flex-start;
  }

  .data-beam-layer {
    inset: 35% 0 24%;
    transform: rotate(82deg) scale(0.86);
  }

  .backend-screen {
    grid-template-columns: 1fr;
  }

  .taiwan-map {
    min-height: 300px;
  }

  .manifesto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manifesto-intro-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .friction-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-card:nth-child(n) {
    grid-column: span 1;
  }

  .footer-top {
    display: block;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;
  }

}

@media (min-width: 641px) and (max-width: 1024px) {
  .audience-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nvd-demo-stage {
    grid-template-columns: 1fr;
  }

  .backend-screen {
    grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {

  .join-hero,
  .join-paths-section,
  .join-prepare-section,
  .join-contact-section {
    padding: 52px 0;
  }

  .join-path-card:last-child {
    grid-column: auto;
  }

  .join-contact-actions .primary-link-btn,
  .join-link-group a {
    width: 100%;
  }

  .report-action-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .report-action-card__cta {
    width: 100%;
  }
  .header-actions {
    display: none;
  }

  :is(.home-page, .site-page) .mobile-language-controls {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    margin-top: 4px;
    padding: 8px 4px;
    border-top: 1px solid var(--border-main);
  }

  :is(.home-page, .site-page) .mobile-language-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  :is(.home-page, .site-page) .mobile-language-options .mobile-lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0;
    color: var(--text-main);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 0.78rem;
  }

  :is(.home-page, .site-page) .mobile-language-options .mobile-lang-btn + .mobile-lang-btn {
    border-left: 1px solid rgba(226, 232, 240, 0.45);
  }

  :is(.home-page, .site-page) .mobile-language-options .mobile-lang-btn:hover,
  :is(.home-page, .site-page) .mobile-language-options .language-option.active {
    color: var(--primary-orange);
    background: transparent;
  }
}

@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(calc(100% - 28px), 430px);
    max-width: var(--max-width);
    margin-right: auto;
    margin-left: auto;
  }

  .site-header .container {
    width: calc(100% - 60px);
    max-width: 330px;
    margin-right: auto;
    margin-left: auto;
  }

  .navbar {
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    max-height: 38px;
    padding: 4px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-actions {
    gap: 8px;
  }

  .language-toggle {
    min-height: 40px;
    padding: 0 10px;
  }

  .language-toggle #currentLanguageLabel {
    display: none;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .brand-voice-toggle {
    display: none;
  }

  .header-actions .theme-toggle {
    display: none;
  }

  .language-options {
    right: 0;
  }

  .header-actions .language-menu {
    display: none;
  }

  .language-switcher {
    gap: 2px;
    padding: 3px;
  }

  .language-switcher .lang-btn,
  .language-switcher .brand-voice-toggle {
    min-height: 32px;
    display: flex;
    padding-inline: 7px;
    font-size: 0.72rem;
  }

  .submit-btn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .hero {
    padding: 58px 0 44px;
  }

  .hero-inner {
    width: min(100%, calc(100% - 32px));
    max-width: 430px;
    margin-inline: auto;
  }

  .hero h1 {
    width: 100%;
    max-width: min(100%, 320px);
    margin-inline: auto;
    margin-top: 18px;
    font-size: clamp(1.48rem, 6.6vw, 1.86rem);
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .hero-subtitle,
  .section-lead {
    max-width: min(100%, 320px);
    margin-inline: auto;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-subtitle .tagline {
    max-width: 360px;
    margin-inline: auto;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-kicker {
    max-width: calc(100% - 40px);
    margin-bottom: 12px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }

  .search-box {
    min-height: 58px;
    padding: 0 18px;
    border-radius: 14px;
  }

  .hero-stats {
    width: 100%;
    max-width: min(100%, 300px);
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 4px;
    column-gap: 6px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 10px 12px;
    border-radius: 20px;
  }

  .hero-stats strong,
  .hero-stats span:not(.stat-dot) {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    width: 100%;
    padding-inline: 0;
  }

  .hero-actions .primary-link-btn,
  .hero-actions .secondary-link-btn,
  .hero-actions .tertiary-link-btn {
    max-width: min(100%, 300px);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .dual-friction-section,
  .friction-section {
    overflow-x: clip;
  }

  .dual-friction-section .container,
  .friction-section .container {
    width: min(calc(100% - 28px), 430px);
    max-width: var(--max-width);
    margin-inline: auto;
  }

  .dual-friction-section h1,
  .friction-heading h2 {
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .dual-friction-grid,
  .friction-grid,
  .dual-friction-card,
  .friction-card {
    min-width: 0;
  }

  .centered-heading {
    align-items: center;
  }

  .values-section,
  .about-section,
  .about-focus-section,
  .team-section,
  .official-profile-section,
  .dual-friction-section,
  .resilience-section,
  .loop-section,
  .filter-section {
    padding: 52px 0;
  }

  .value-card,
  .dual-friction-card,
  .loop-card {
    min-height: auto;
    padding: 22px;
    border-radius: 16px;
  }

  .about-copy {
    font-size: 0.96rem;
    line-height: 1.82;
  }

  .about-focus-grid .value-card {
    min-height: auto;
  }

  .team-member-card,
  .official-profile-card {
    padding: 22px;
    border-radius: 16px;
  }

  .team-member-heading {
    align-items: flex-start;
  }

  .team-member-link {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .resilience-demo-header {
    margin-bottom: 22px;
  }

  .nvd-demo-section .container {
    width: min(calc(100dvw - 28px), var(--max-width));
    max-width: 430px;
    margin-inline: auto;
  }

  .resilience-copy h1 {
    font-size: clamp(1.9rem, 9.4vw, 2.65rem);
    line-height: 1.12;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .resilience-copy p,
  .resilience-list li {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .demo-step-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-bar-container {
    max-width: min(100%, 300px);
    margin-inline: auto;
    border-radius: 26px;
  }

  .demo-step-button {
    width: 100%;
    padding-inline: 8px;
    font-size: 0.76rem;
  }

  .nvd-demo-front {
    gap: 14px;
  }

  .pixel-shell {
    --phone-width: min(300px, calc(100dvw - 52px));
    --phone-height: min(610px, 168vw);
  }

  .phone-map-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .semantic-tags {
    gap: 6px;
  }

  .semantic-tags button {
    font-size: 0.7rem;
  }

  .data-beam-layer {
    display: none;
  }

  .resilience-dashboard {
    min-height: auto;
    padding: 20px;
    border-radius: 18px;
  }

  .backend-screen {
    grid-template-columns: 1fr;
  }

  .taiwan-map {
    min-height: 260px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .tool-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-actions .primary-link-btn,
  .hero-actions .secondary-link-btn,
  .hero-actions .tertiary-link-btn {
    width: min(100%, 270px);
    white-space: normal;
    text-align: center;
  }

  .security-callout {
    padding: 22px;
  }

  .download-checklist {
    grid-template-columns: 1fr;
  }

  .verification-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .audience-list,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .security-callout {
    grid-template-columns: 1fr;
  }

  .card-header-visual {
    height: 100px;
  }

  .tool-card {
    border-radius: 16px;
  }

  .manifesto-section {
    padding: 56px 0 64px;
  }

  .friction-section {
    padding: 54px 0 62px;
  }

  .friction-card img {
    height: 190px;
    padding: 12px;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-mode-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .mode-option {
    flex: 1;
    min-width: 0;
  }

  .manifesto-card {
    min-height: auto;
    padding: 22px;
  }

  .site-footer {
    padding: 38px 0 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: start;
    text-align: left;
  }

  .footer-column {
    width: 100%;
    padding-bottom: 2px;
  }

  .footer-social {
    gap: 10px;
    justify-content: flex-start;
    margin-top: 16px;
  }

  .footer-social__link {
    width: 40px;
    height: 40px;
  }

  .footer-bottom,
  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================================================
   ?? Toast Notifications (Glassmorphic)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: calc(100% - 48px);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border-main);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(45, 49, 66, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast i {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.toast.success {
  border-left: 4px solid var(--primary-orange);
}

.toast.success i {
  color: var(--primary-orange);
}

.toast.info {
  border-left: 4px solid var(--accent-teal);
}

.toast.info i {
  color: var(--accent-teal);
}

.toast.warning {
  border-left: 4px solid var(--accent-yellow);
}

.toast.warning i {
  color: var(--accent-yellow);
}

.toast-message {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.copy-buffer {
  position: fixed;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

body[data-theme="dark"] .toast {
  background: rgba(27, 29, 33, 0.85);
  border-color: var(--border-main);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   Resilience Simulator: Clean Lab White Refactor
   ========================================================================== */
.nvd-demo-section {
  --bg-primary: #ffffff;
  --bg-secondary: #f9f9f9;
  --text-strong: #111827;
  --text-soft: #4b5563;
  --line-soft: rgba(17, 24, 39, 0.1);
  --nvd-green: #10b981;
  --nvd-green-strong: #047857;
  --nvd-neon: #10b981;
  --phone-width: 320px;
  --phone-height: 650px;
  --phone-radius: 40px;
  --bezel-thickness: 10px;
  color: var(--text-strong);
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(16, 185, 129, 0.12),
      transparent 30rem
    ),
    radial-gradient(
      circle at 88% 22%,
      rgba(0, 255, 204, 0.08),
      transparent 26rem
    ),
    linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  border-color: var(--line-soft);
}

.nvd-demo-section::before {
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.055) 1px, transparent 1px);
}

.nvd-demo-section::after {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(16, 185, 129, 0.08),
    transparent
  );
}

.resilience-demo-header {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
}

.resilience-copy h1 {
  color: var(--text-strong);
}

.resilience-copy p {
  max-width: 680px;
  color: var(--text-soft);
}

.nvd-demo-section .resilience-copy {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.nvd-demo-section .demo-step-controls {
  justify-content: center;
}

.step-bar-container {
  justify-content: space-between;
  padding: 7px;
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(16, 185, 129, 0.2);
}

.step-bar-container .demo-step-button {
  min-height: 38px;
  flex: 1;
  color: #374151;
  background: rgba(249, 250, 251, 0.92);
  border-color: rgba(17, 24, 39, 0.08);
}

.step-bar-container .demo-step-button:hover,
.step-bar-container .demo-step-button.active,
.step-bar-container .demo-step-button.active-step {
  color: #052e2b;
  background: linear-gradient(135deg, #f97316 0%, #5eead4 100%);
  border-color: rgba(249, 115, 22, 0.42);
  box-shadow:
    0 0 0 1px rgba(249, 115, 22, 0.18),
    0 12px 28px rgba(249, 115, 22, 0.2);
}

.nvd-demo-stage {
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: stretch;
  justify-items: center;
}

.nvd-demo-front {
  width: 100%;
  align-content: start;
}

.demo-panel-heading {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.demo-panel-heading span {
  color: #047857;
}

.demo-panel-heading strong {
  color: var(--text-strong);
}

.pixel-shell {
  width: min(var(--phone-width), 100%);
  height: var(--phone-height);
  margin-inline: auto;
  background: linear-gradient(145deg, #ffffff, #e8eeeb 72%), #f4f7f5;
  border: 1px solid #d1d5db;
  border-radius: var(--phone-radius);
  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.16),
    0 0 32px rgba(16, 185, 129, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  padding: var(--bezel-thickness);
}

.camera-hole {
  top: 15px;
  width: 14px;
  height: 14px;
  background:
    radial-gradient(
      circle at 38% 32%,
      #475569 0 16%,
      #050505 17% 55%,
      #1f2937 56%
    ),
    #111827;
  border: 2px solid rgba(255, 255, 255, 0.56);
  box-shadow:
    inset 0 0 4px rgba(0, 0, 0, 0.95),
    0 1px 2px rgba(15, 23, 42, 0.34);
}

.phone-screen {
  background: #eef3f1;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.screen-content {
  isolation: isolate;
}

.street-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(3, 7, 18, 0.3)),
    radial-gradient(circle at 72% 79%, rgba(16, 185, 129, 0.24), transparent 14%),
    linear-gradient(90deg, transparent 0 12%, rgba(255, 255, 255, 0.34) 12% 13%, transparent 13% 87%, rgba(255, 255, 255, 0.26) 87% 88%, transparent 88%),
    linear-gradient(172deg, transparent 0 35%, rgba(15, 23, 42, 0.22) 35% 37%, transparent 37%),
    linear-gradient(155deg, transparent 0 25%, rgba(229, 231, 235, 0.72) 26% 42%, transparent 43%),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.1) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.08) 0 1px, transparent 1px 32px),
    linear-gradient(180deg, #cfd8d5 0 24%, #8c9691 25% 100%);
  filter: grayscale(82%) contrast(1.22) brightness(0.62);
  transition:
    filter 0.36s ease,
    transform 0.36s ease;
}

.street-frame::before,
.street-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.street-frame::before {
  left: 55%;
  top: 58%;
  width: 34%;
  height: 18%;
  border-left: 5px solid rgba(16, 185, 129, 0.72);
  border-bottom: 5px solid rgba(16, 185, 129, 0.64);
  border-radius: 0 0 0 28px;
  transform: rotate(-7deg);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.42);
}

.street-frame::after {
  left: 67%;
  top: 70%;
  width: 70px;
  height: 96px;
  border: 8px solid rgba(15, 23, 42, 0.72);
  border-top: 0;
  border-radius: 0 0 42px 42px;
  transform: rotate(-8deg);
  opacity: 0.72;
}

.nvd-demo-stage.is-submitting .street-frame,
.nvd-demo-stage.scanning .street-frame {
  filter: grayscale(70%) contrast(1.35) brightness(0.82) hue-rotate(18deg);
  transform: scale(1.035);
}

.phone-topbar {
  z-index: 8;
  color: #f8fafc;
}

.phone-topbar strong {
  color: #34d399;
  text-shadow: 0 0 14px rgba(16, 185, 129, 0.82);
}

.lidar-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(16, 185, 129, 0.14) 0 1px,
      transparent 1px 18px
    ),
    linear-gradient(
      115deg,
      transparent 0 38%,
      rgba(16, 185, 129, 0.58) 49%,
      transparent 60%
    );
  opacity: 0.48;
  mix-blend-mode: screen;
  transform: translateX(-55%);
  animation: lidarSweep 2.8s linear infinite;
}

.scan-line {
  position: absolute;
  top: 16%;
  right: 10%;
  left: 10%;
  z-index: 5;
  height: 2px;
  background: #10b981;
  border-radius: 999px;
  box-shadow:
    0 0 14px rgba(16, 185, 129, 0.92),
    0 0 34px rgba(16, 185, 129, 0.48);
  opacity: 0;
}

.nvd-demo-stage.scanning .scan-line,
.nvd-demo-stage.is-submitting .scan-line {
  opacity: 1;
  animation: scanLineMove 1.5s ease-in-out infinite;
}

.target-box {
  top: 58%;
  left: 58%;
  z-index: 6;
  width: min(232px, calc(100% - 38px));
  min-height: 118px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  opacity: 1;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 18px rgba(16, 185, 129, 0.62));
  backdrop-filter: blur(4px);
}

.target-box > span {
  width: 24px;
  height: 24px;
  color: #10b981;
  border-color: #10b981;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.78));
}

.target-box.scanning-active,
.nvd-demo-stage.scanning .target-box {
  animation: targetPulseClean 1.1s ease-in-out infinite;
}

.target-box.target-locked,
.nvd-demo-stage[data-step="4"] .target-box {
  filter: drop-shadow(0 0 24px rgba(16, 185, 129, 0.82));
}

.mini-data-overlay {
  top: 70px;
  left: 18px;
  z-index: 9;
  width: min(216px, calc(100% - 36px));
  color: #dcfce7;
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(16, 185, 129, 0.34);
  backdrop-filter: blur(12px);
}

.phone-ui {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 10;
  display: grid;
  gap: 10px;
}

.detection-readout,
.phone-map-card,
.detection-result-card,
.phone-submit-hint {
  position: static;
  color: #172033;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(12px);
}

.detection-readout {
  padding: 12px 14px;
}

.detection-readout strong {
  color: #111827;
  font-size: 0.84rem;
  line-height: 1.45;
  text-shadow: none;
}

.detection-readout small {
  margin-top: 5px;
  color: #047857;
  text-shadow: none;
}

.phone-map-card {
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 12px;
  opacity: 0;
  transform: translateY(12px);
}

.phone-map-card > div:last-child > span {
  color: #047857;
}

.phone-status-list {
  display: grid;
  gap: 7px;
  margin: -2px 0 0;
}

.phone-status-list span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 27px;
  padding: 6px 10px;
  color: #064e3b;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
  background: rgba(240, 253, 250, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 9px;
}

.phone-status-list i {
  width: 13px;
  color: #f97316;
  text-align: center;
}

.nvd-demo-stage[data-step="1"] .phone-map-card,
.nvd-demo-stage[data-step="2"] .phone-map-card,
.nvd-demo-stage[data-step="3"] .phone-map-card,
.nvd-demo-stage[data-step="4"] .phone-map-card {
  opacity: 1;
  transform: translateY(0);
}

.detection-result-card {
  max-width: none;
  padding: 12px 14px;
  color: #111827;
  font-weight: 800;
  opacity: 0;
  transform: translateY(14px);
}

.detection-result-card strong {
  color: #047857;
}

.detection-result-card.is-visible,
.nvd-demo-stage[data-step="2"] .detection-result-card,
.nvd-demo-stage[data-step="3"] .detection-result-card,
.nvd-demo-stage[data-step="4"] .detection-result-card {
  opacity: 1;
  transform: translateY(0);
}

.phone-submit-hint {
  margin: 0;
  padding: 9px 10px;
  color: #064e3b;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
}

.phone-submit {
  position: relative;
  min-height: 46px;
  color: #03241d;
  background: linear-gradient(135deg, #10b981, #5eead4);
  border-radius: 999px;
  box-shadow:
    0 14px 26px rgba(16, 185, 129, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.phone-submit:hover,
.phone-submit:focus-visible {
  box-shadow:
    0 18px 32px rgba(16, 185, 129, 0.32),
    0 0 0 4px rgba(16, 185, 129, 0.18);
}

.nvd-demo-stage.is-submitting .phone-submit {
  pointer-events: none;
  animation: submitGlow 1s ease-in-out infinite;
}

.data-beam-layer {
  inset: 8% 0 4%;
  z-index: 1;
  opacity: 0;
  filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.48));
}

.nvd-demo-stage[data-step="3"] .data-beam-layer,
.nvd-demo-stage[data-step="4"] .data-beam-layer {
  opacity: 1;
}

.beam {
  fill: none;
  stroke: #10b981;
  stroke-width: 3;
  stroke-dasharray: 18 18;
  stroke-dashoffset: 180;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.86));
}

.beam-secondary {
  stroke: #5eead4;
  stroke-width: 2;
  opacity: 0.78;
}

.nvd-demo-stage[data-step="3"] .beam,
.nvd-demo-stage[data-step="4"] .beam {
  animation: beamFlow 0.92s linear infinite;
}

.beam-particle {
  fill: #10b981;
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.9));
}

.nvd-demo-stage[data-step="3"] .particle-a,
.nvd-demo-stage[data-step="4"] .particle-a {
  offset-path: path("M185 302 C345 150 615 138 848 248");
  animation: particleMove 1.4s ease-in-out infinite;
}

.nvd-demo-stage[data-step="3"] .particle-b,
.nvd-demo-stage[data-step="4"] .particle-b {
  offset-path: path("M195 350 C398 448 620 114 862 205");
  animation: particleMove 1.6s 0.12s ease-in-out infinite;
}

.resilience-dashboard {
  min-height: 100%;
  padding: clamp(22px, 3vw, 32px);
  color: var(--text-strong);
  background:
    radial-gradient(
      circle at 76% 20%,
      rgba(16, 185, 129, 0.13),
      transparent 18rem
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94),
      rgba(249, 250, 251, 0.9)
    ),
    #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 28px;
  box-shadow: 0 30px 76px rgba(15, 23, 42, 0.1);
}

.resilience-dashboard::before {
  opacity: 0.08;
  background: linear-gradient(
    180deg,
    rgba(16, 185, 129, 0.14) 50%,
    transparent 50%
  );
}

.dashboard-header {
  border-bottom-color: rgba(16, 185, 129, 0.18);
}

.dashboard-header strong {
  color: var(--text-strong);
}

.dashboard-header small {
  color: #4b5563;
}

.backend-screen {
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1fr);
  align-items: stretch;
}

.dashboard-score-card {
  grid-column: 1 / -1;
  background: #ffffff;
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.score-card span,
.metric-card span {
  color: #4b5563;
}

.score-card strong {
  color: #047857;
  font-size: clamp(3.2rem, 6.2vw, 5.7rem);
  text-shadow: 0 0 24px rgba(16, 185, 129, 0.2);
}

.resilience-radar-card,
.dashboard-map-card {
  display: grid;
  gap: 18px;
  align-content: stretch;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.radar-vector-chart {
  width: min(100%, 260px);
  margin: 0 auto;
  overflow: visible;
}

.radar-vector-chart circle,
.radar-vector-chart path {
  fill: none;
  stroke: rgba(16, 185, 129, 0.24);
  stroke-width: 1.4;
}

.radar-vector-chart polygon {
  fill: rgba(16, 185, 129, 0.14);
  stroke: #10b981;
  stroke-width: 3;
  filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.24));
}

.dashboard-metric-list {
  display: grid;
  gap: 10px;
}

.dashboard-metric-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: #f9fafb;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
}

.dashboard-metric-list span {
  color: #4b5563;
  font-size: 0.86rem;
  font-weight: 800;
}

.dashboard-metric-list strong {
  color: #064e3b;
  font-family: Consolas, "Courier New", monospace;
}

.taiwan-map {
  min-height: 310px;
  background:
    radial-gradient(
      circle at 50% 72%,
      rgba(16, 185, 129, 0.14),
      transparent 9rem
    ),
    #f9fafb;
  border-color: rgba(16, 185, 129, 0.18);
  box-shadow: none;
}

.taiwan-shape {
  fill: rgba(16, 185, 129, 0.1);
  stroke: #0f766e;
}

.taiwan-grid {
  stroke: rgba(15, 118, 110, 0.28);
}

.kaohsiung-node {
  top: 75%;
  left: 45%;
  bottom: auto;
  background: #10b981;
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.72);
}

.nvd-demo-stage[data-step="4"] .kaohsiung-node::before,
.nvd-demo-stage[data-step="4"] .kaohsiung-node::after {
  border-color: rgba(16, 185, 129, 0.64);
}

.backend-toast {
  position: static;
  margin-top: 0;
  color: #064e3b;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.28);
}

.receipt-modal {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.42);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.18),
    0 0 34px rgba(16, 185, 129, 0.16);
}

.receipt-modal strong,
.receipt-proof {
  color: #047857;
  font-family: Consolas, "Courier New", monospace;
  overflow-wrap: anywhere;
}

.receipt-modal em {
  color: #03241d;
  background: #10b981;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.42);
}

.log-stream {
  color: #047857;
}

body[data-theme="dark"] .nvd-demo-section {
  --bg-primary: #07111f;
  --bg-secondary: #0b1626;
  --text-strong: #f8fafc;
  --text-soft: rgba(226, 232, 240, 0.76);
  --line-soft: rgba(94, 234, 212, 0.18);
  color: var(--text-strong);
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(16, 185, 129, 0.18),
      transparent 30rem
    ),
    radial-gradient(
      circle at 88% 22%,
      rgba(242, 140, 56, 0.08),
      transparent 26rem
    ),
    linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  border-color: var(--line-soft);
}

body[data-theme="dark"] .nvd-demo-section::before {
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.055) 1px, transparent 1px);
}

body[data-theme="dark"] .nvd-demo-section::after {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(94, 234, 212, 0.06),
    transparent
  );
}

body[data-theme="dark"] .resilience-copy h1,
body[data-theme="dark"] .demo-panel-heading,
body[data-theme="dark"] .demo-panel-heading strong,
body[data-theme="dark"] .dashboard-header strong {
  color: var(--text-strong);
}

body[data-theme="dark"] .resilience-copy p,
body[data-theme="dark"] .dashboard-header small,
body[data-theme="dark"] .score-card span,
body[data-theme="dark"] .metric-card span,
body[data-theme="dark"] .dashboard-metric-list span {
  color: var(--text-soft);
}

body[data-theme="dark"] .step-bar-container,
body[data-theme="dark"] .demo-panel-heading,
body[data-theme="dark"] .resilience-dashboard,
body[data-theme="dark"] .dashboard-score-card,
body[data-theme="dark"] .resilience-radar-card,
body[data-theme="dark"] .dashboard-map-card {
  background:
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.92),
      rgba(8, 15, 29, 0.9)
    );
  border-color: rgba(94, 234, 212, 0.2);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-theme="dark"] .step-bar-container .demo-step-button {
  color: rgba(226, 232, 240, 0.82);
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(94, 234, 212, 0.14);
}

body[data-theme="dark"] .step-bar-container .demo-step-button:hover,
body[data-theme="dark"] .step-bar-container .demo-step-button.active,
body[data-theme="dark"] .step-bar-container .demo-step-button.active-step {
  color: #052e2b;
  background: linear-gradient(135deg, #f97316 0%, #5eead4 100%);
  border-color: rgba(249, 115, 22, 0.48);
}

body[data-theme="dark"] .pixel-shell {
  background: linear-gradient(145deg, #1f2937, #0f172a 72%), #111827;
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.38),
    0 0 32px rgba(16, 185, 129, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .phone-screen {
  background: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

body[data-theme="dark"] .detection-readout,
body[data-theme="dark"] .phone-map-card,
body[data-theme="dark"] .phone-status-list span,
body[data-theme="dark"] .detection-result-card,
body[data-theme="dark"] .phone-submit-hint {
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(94, 234, 212, 0.22);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .detection-readout strong,
body[data-theme="dark"] .detection-result-card {
  color: #f8fafc;
}

body[data-theme="dark"] .detection-readout small,
body[data-theme="dark"] .phone-map-card > div:last-child > span,
body[data-theme="dark"] .phone-status-list i,
body[data-theme="dark"] .detection-result-card strong,
body[data-theme="dark"] .dashboard-metric-list strong,
body[data-theme="dark"] .score-card strong,
body[data-theme="dark"] .receipt-modal strong,
body[data-theme="dark"] .receipt-proof {
  color: #5eead4;
}

body[data-theme="dark"] .phone-submit-hint {
  color: #bbf7d0;
}

body[data-theme="dark"] .resilience-dashboard {
  background:
    radial-gradient(
      circle at 76% 20%,
      rgba(94, 234, 212, 0.16),
      transparent 18rem
    ),
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.94),
      rgba(8, 13, 24, 0.92)
    ),
    #07111f;
}

body[data-theme="dark"] .dashboard-metric-list div,
body[data-theme="dark"] .hub-demo-insights section,
body[data-theme="dark"] .hub-demo-record,
body[data-theme="dark"] .hub-demo-flow span,
body[data-theme="dark"] .taiwan-map {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(94, 234, 212, 0.18);
}

body[data-theme="dark"] .taiwan-shape {
  fill: rgba(94, 234, 212, 0.1);
  stroke: #5eead4;
}

body[data-theme="dark"] .taiwan-grid {
  stroke: rgba(94, 234, 212, 0.28);
}

body[data-theme="dark"] .backend-toast {
  color: #bbf7d0;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(94, 234, 212, 0.24);
}

body[data-theme="dark"] .receipt-modal {
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(94, 234, 212, 0.36);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.36),
    0 0 34px rgba(94, 234, 212, 0.12);
}

@keyframes targetPulseClean {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.98);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.28);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.03);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.08);
  }
}

@media (max-width: 1040px) {
  .resilience-demo-header,
  .nvd-demo-stage,
  .backend-screen {
    grid-template-columns: 1fr;
  }

  .nvd-demo-panel,
  .nvd-mockup-container {
    justify-self: center;
    width: min(100%, 720px);
  }

  .data-beam-layer {
    display: none;
  }

  .step-bar-container {
    border-radius: 22px;
  }
}

@media (max-width: 640px) {
  .nvd-demo-section {
    --phone-width: min(320px, calc(100% - 42px));
    --phone-height: min(650px, 78vh);
  }

  .resilience-section {
    padding: 48px 0 56px;
  }

  .step-bar-container {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pixel-shell {
    height: var(--phone-height);
  }

  .target-box {
    left: 56%;
    width: min(220px, calc(100% - 42px));
  }

  .phone-ui {
    inset: auto 14px 14px;
  }

  .backend-screen {
    gap: 14px;
  }

  .dashboard-metric-list div {
    display: grid;
  }

  .hub-demo-list-grid,
  .hub-demo-insights,
  .hub-demo-flow {
    grid-template-columns: 1fr;
  }

  .hub-demo-controls .secondary-link-btn,
  .hub-demo-controls .text-link {
    width: 100%;
    justify-content: center;
  }
}

/* ROAD HUB immersive phone-to-dashboard flow. */
.report-page .nvd-demo-section {
  color: #f8faf7;
  overflow: visible;
  padding-top: clamp(42px, 5vh, 64px);
  padding-bottom: clamp(42px, 5vh, 64px);
  background:
    radial-gradient(circle at 18% 22%, rgba(110, 231, 216, 0.12), transparent 26%),
    radial-gradient(circle at 74% 28%, rgba(99, 200, 77, 0.1), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0b1624 55%, #06101c 100%);
}

.report-page .nvd-demo-section::before {
  background-image:
    linear-gradient(rgba(110, 231, 216, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 231, 216, 0.045) 1px, transparent 1px);
}

.report-page .nvd-demo-section::after {
  opacity: 0.22;
}

.report-page .resilience-demo-header,
.report-page .report-action-card,
.report-page .hub-demo-disclaimer {
  color: #f8faf7;
  background: rgba(7, 17, 31, 0.78);
  border: 1px solid rgba(110, 231, 216, 0.22);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.report-page .step-bar-container {
  background: rgba(7, 17, 31, 0.72);
  border-color: rgba(110, 231, 216, 0.22);
}

.report-page .step-bar-container .demo-step-button {
  color: rgba(248, 250, 247, 0.72);
  background: rgba(10, 24, 38, 0.82);
  border-color: rgba(110, 231, 216, 0.18);
}

.report-page .nvd-demo-stage {
  display: grid;
  grid-template-columns: minmax(340px, 0.32fr) minmax(180px, 0.16fr) minmax(600px, 0.52fr);
  gap: clamp(16px, 1.8vw, 24px);
  align-items: start;
  width: min(1360px, calc(100% - 32px));
  margin-inline: auto;
  min-width: 0;
}

.report-page .nvd-demo-front {
  display: grid;
  visibility: visible;
  gap: clamp(16px, 2vh, 24px);
  width: 100%;
  max-width: 340px;
  justify-self: center;
  align-self: start;
  opacity: 1;
}

.report-page .demo-panel-heading {
  color: #f8faf7;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.report-page .demo-panel-heading span,
.report-page .demo-panel-heading strong {
  color: #f8faf7;
}

.report-page .demo-panel-heading > div > span {
  color: #40f0de;
  font-size: clamp(0.98rem, 1.35vw, 1.22rem);
}

.report-page .demo-panel-heading strong {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
}

.report-page .nvd-demo-section {
  color: #f8faf7;
}

.report-page .nvd-demo-section .resilience-copy h1,
.report-page .nvd-demo-section .resilience-copy p,
.report-page .report-action-card__title,
.report-page .report-action-card__desc,
.report-page .report-steps li {
  color: #f8faf7;
}

.report-page .nvd-demo-section .resilience-copy .eyebrow,
.report-page .report-action-card .eyebrow,
.report-page .report-demo-notice strong,
.report-page .report-action-card__desc strong {
  color: #f28c38;
}

.report-page .nvd-demo-section .resilience-copy p:not(.eyebrow),
.report-page .report-action-card__desc,
.report-page .report-steps li {
  color: rgba(248, 250, 247, 0.74);
}

.report-page .report-action-card {
  color: #f8faf7;
  background: rgba(7, 17, 31, 0.76);
  border-color: rgba(110, 231, 216, 0.22);
}

.report-page .pixel-shell {
  display: block;
  visibility: visible;
  width: clamp(300px, 21vw, 340px);
  max-width: 340px;
  min-width: 300px;
  aspect-ratio: 9 / 16;
  height: clamp(590px, 68vh, 650px);
  min-height: 590px;
  color: #f8faf7;
  background: linear-gradient(180deg, rgba(12, 26, 40, 0.98), rgba(5, 12, 22, 0.98));
  border: 1px solid rgba(110, 231, 216, 0.28);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.48),
    0 0 36px rgba(99, 200, 77, 0.16);
  opacity: 1;
}

.report-page .phone-screen {
  display: block;
  visibility: visible;
  color: #f8faf7;
  background:
    linear-gradient(180deg, rgba(12, 26, 40, 0.96), rgba(7, 17, 31, 0.98));
  opacity: 1;
}

.report-page .screen-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 100%;
  padding: 16px 14px 14px;
}

.report-page .screen-content::before {
  display: none;
}

.report-page .phone-topbar {
  position: static;
  color: #f8faf7;
}

.report-page .phone-topbar strong,
.report-page .phone-topbar span {
  color: #40f0de;
}

.report-page .phone-photo-card {
  position: static;
  inset: auto;
  height: auto;
  display: grid;
  gap: 6px;
  align-items: start;
  padding: 8px;
  color: #f8faf7;
  background: rgba(10, 24, 38, 0.86);
  border: 1px solid rgba(110, 231, 216, 0.22);
  border-radius: 14px;
  filter: none;
  opacity: 1;
  transform: none;
}

.report-page .phone-photo-card::before,
.report-page .phone-photo-card::after {
  display: none;
}

.report-page .phone-photo-card span {
  color: #f8faf7;
  font-weight: 900;
}

.report-page .roadhub-phone-photo-status {
  position: static;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  line-height: 1.25;
  text-shadow: none;
}

.report-page .roadhub-phone-photo-status {
  padding: 3px 8px;
  color: #63c84d;
  font-size: 0.72rem;
  font-weight: 900;
  background: rgba(99, 200, 77, 0.1);
  border: 1px solid rgba(99, 200, 77, 0.24);
  border-radius: 999px;
}

.report-page .roadhub-phone-helper {
  display: none;
}

.report-page .roadhub-phone-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(10, 24, 38, 0.82);
}

.report-page .roadhub-phone-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.08), rgba(7, 17, 31, 0.42));
}

.report-page .roadhub-phone-photo {
  display: block;
  width: 100%;
  height: 66px;
  object-fit: cover;
  border: 1px solid rgba(110, 231, 216, 0.22);
  border-radius: 14px;
  filter: saturate(0.92) contrast(1.05) brightness(0.78);
}

.report-page .lidar-scan,
.report-page .scan-line,
.report-page .target-box,
.report-page .data-beam-layer {
  opacity: 0;
  animation: none !important;
}

.report-page .nvd-demo-stage .data-beam-layer,
.report-page .nvd-demo-stage[data-step="3"] .data-beam-layer,
.report-page .nvd-demo-stage[data-step="4"] .data-beam-layer {
  display: none !important;
  opacity: 0 !important;
  animation: none !important;
}

.report-page .nvd-demo-stage .target-box {
  display: none;
  opacity: 0 !important;
}

.report-page .mini-data-overlay {
  display: none;
}

.report-page .phone-ui {
  position: static;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  visibility: visible;
  inset: auto;
  gap: 6px;
  min-block-size: 0;
  opacity: 1;
}

.report-page .detection-readout,
.report-page .phone-map-card,
.report-page .phone-status-list > span,
.report-page .detection-result-card,
.report-page .phone-submit-hint {
  position: static;
  display: grid;
  visibility: visible;
  color: #f8faf7;
  background: rgba(10, 24, 38, 0.86);
  border: 1px solid rgba(110, 231, 216, 0.22);
  border-radius: 14px;
  box-shadow: none;
  opacity: 1;
  transform: none;
}

.report-page .detection-readout {
  padding: 8px 10px;
}

.report-page .phone-map-card {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 9px;
  padding: 8px 10px;
  overflow: hidden;
}

.report-page .phone-map-card small {
  display: block;
  margin-top: 2px;
  color: rgba(248, 250, 247, 0.72);
  font-size: 0.64rem;
  font-weight: 800;
}

.report-page .mini-map {
  min-height: 50px;
  border-radius: 13px;
  opacity: 0.88;
}

.report-page .gis-progress {
  height: 3px;
  margin-top: 4px;
  opacity: 0.38;
}

.report-page .phone-status-list {
  display: grid;
  gap: 6px;
  margin: 0;
}

.report-page .phone-status-list > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  gap: 2px 8px;
  overflow: hidden;
}

.report-page .phone-status-list > span > span {
  display: block;
  min-height: 0;
  padding: 0;
  color: rgba(248, 250, 247, 0.62);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.report-page .phone-status-list strong {
  grid-column: 2;
  display: block;
  min-height: 0;
  padding: 0;
  color: #f8faf7;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.report-page .phone-status-list i {
  grid-row: 1 / span 2;
  color: #6ee7d8;
}

.report-page .detection-readout small,
.report-page .phone-map-card > div:last-child > span,
.report-page .detection-result-card strong {
  color: rgba(248, 250, 247, 0.72);
}

.report-page .detection-result-card {
  padding: 6px 9px;
}

.report-page .phone-submit-hint {
  margin: 0;
  padding: 0 4px;
  color: rgba(248, 250, 247, 0.54);
  font-size: 0.6rem;
  background: transparent;
  border: 0;
  text-align: center;
}

.report-page .phone-action-row {
  position: static;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: auto;
}

.report-page .phone-capture {
  position: static;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 900;
}

.report-page .phone-capture {
  color: #07111f;
  background: #63c84d;
  border: 0;
  box-shadow: 0 12px 26px rgba(99, 200, 77, 0.2);
}

.report-page .phone-capture i {
  display: none;
}

.report-page .phone-submit {
  color: #07111f;
  background: #63c84d;
  border: 0;
  box-shadow: none;
  opacity: 1;
}

.report-page .roadhub-flow {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  justify-items: center;
  align-content: center;
  min-height: 300px;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  color: rgba(248, 250, 247, 0.72);
  text-align: center;
}

.report-page .roadhub-flow p {
  margin: 0;
  color: #40f0de;
  font-size: clamp(1.2rem, 1.55vw, 1.5rem);
  font-weight: 900;
  text-shadow: 0 0 18px rgba(64, 240, 222, 0.24);
}

.report-page .roadhub-flow span {
  max-width: 20rem;
  font-size: clamp(0.94rem, 1vw, 1.05rem);
  line-height: 1.6;
}

.report-page .roadhub-flow-line {
  position: relative;
  width: min(390px, 100%);
  max-width: calc(100% - 34px);
  height: 40px;
  border-radius: 999px;
  background: transparent;
}

.report-page .roadhub-flow-line::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 17px;
  left: 17px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(110, 231, 216, 0.16), rgba(99, 200, 77, 0.34), rgba(110, 231, 216, 0.16));
  transform: translateY(-50%);
}

.report-page .roadhub-flow-line::after,
.report-page .roadhub-flow-node {
  content: "";
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(110, 231, 216, 0.42);
  background: rgba(10, 24, 38, 0.92);
  transform: translateY(-50%);
  box-shadow: 0 0 24px rgba(110, 231, 216, 0.2);
}

.report-page .roadhub-flow-node {
  left: 0;
  display: block;
}

.report-page .roadhub-flow-line::after {
  right: 0;
}

.report-page .roadhub-flow-pulse {
  position: absolute;
  top: 50%;
  left: 20px;
  z-index: 3;
  width: 54px;
  height: 12px;
  border-radius: 999px;
  background: #40f0de;
  box-shadow: 0 0 20px rgba(64, 240, 222, 0.44);
  transform: translateY(-50%);
  animation: roadHubFlowPulse 900ms ease-in-out infinite alternate;
}

.report-page .resilience-dashboard {
  min-height: auto;
  width: 100%;
  scroll-margin-top: clamp(56px, 6vh, 72px);
  padding: clamp(18px, 1.6vw, 24px);
  color: #f8faf7;
  background: rgba(7, 17, 31, 0.78);
  border: 1px solid rgba(110, 231, 216, 0.22);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.report-page .dashboard-header {
  grid-template-columns: auto auto 1fr;
  gap: 10px;
}

.report-page .dashboard-header strong {
  color: #f8faf7;
  font-size: clamp(1.02rem, 1.45vw, 1.34rem);
}

.report-page .dashboard-header small {
  display: none;
}

.report-page .backend-screen {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.report-page .hub-demo-count-card,
.report-page .dashboard-growth-card {
  grid-column: span 6;
}

.report-page .hub-demo-summary,
.report-page .hub-demo-meta {
  grid-column: 1 / -1;
}

.report-page .hub-demo-summary,
.report-page .hub-demo-meta,
.report-page .receipt-modal,
.report-page .log-stream {
  display: none;
}

.report-page .hub-demo-analysis-grid,
.report-page .hub-demo-flow,
.report-page .hub-demo-record {
  grid-column: 1 / -1;
}

.report-page .score-card,
.report-page .resilience-radar-card,
.report-page .dashboard-map-card,
.report-page .hub-demo-insights section,
.report-page .hub-demo-record,
.report-page .hub-demo-flow span {
  color: #f8faf7;
  background: rgba(10, 24, 38, 0.82);
  border: 1px solid rgba(110, 231, 216, 0.22);
  border-radius: 16px;
  box-shadow: none;
}

.report-page .score-card {
  min-height: 124px;
  padding: 18px 20px;
}

.report-page .score-card strong {
  color: #63c84d;
  font-size: clamp(2.55rem, 3.75vw, 4.1rem);
  line-height: 1;
  text-shadow: none;
}

.report-page .score-card span {
  text-transform: none;
}

.report-page .dashboard-growth-card strong {
  color: #6ee7d8;
}

.report-page .hub-demo-controls {
  grid-column: 7 / -1;
  display: flex;
  justify-content: flex-end;
  align-self: end;
  margin-top: -4px;
}

.report-page .hub-demo-controls .text-link {
  min-height: 32px;
  padding: 0 12px;
  color: rgba(248, 250, 247, 0.66);
  font-size: 0.78rem;
  background: transparent;
  border: 1px solid rgba(110, 231, 216, 0.18);
  border-radius: 999px;
}

.report-page .hub-demo-controls .text-link:hover,
.report-page .hub-demo-controls .text-link:focus-visible {
  color: #f8faf7;
  background: rgba(110, 231, 216, 0.08);
  border-color: rgba(110, 231, 216, 0.32);
}

.report-page .radar-vector-chart,
.report-page .taiwan-map {
  display: none;
}

.report-page .hub-demo-analysis-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.report-page .resilience-radar-card {
  display: contents;
  padding: 0;
  background: transparent;
  border: 0;
}

.report-page .resilience-radar-card section,
.report-page .hub-demo-insights section,
.report-page .dashboard-map-card {
  min-height: 132px;
  padding: 14px;
}

.report-page .resilience-radar-card section {
  display: grid;
  gap: 10px;
  color: #f8faf7;
  background: rgba(10, 24, 38, 0.82);
  border: 1px solid rgba(110, 231, 216, 0.22);
  border-radius: 16px;
}

.report-page .hub-demo-analysis-title {
  grid-column: 1 / -1;
  width: auto;
  min-width: max-content;
}

.report-page .hub-demo-analysis-title span {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: max-content;
  white-space: nowrap;
  color: #40f0de;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
}

.report-page .hub-demo-list-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-page .hub-demo-list-grid li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(78px, 0.8fr) 42px;
  gap: 12px;
  align-items: center;
  color: rgba(248, 250, 247, 0.84);
  font-size: 0.74rem;
  line-height: 1.18;
}

.report-page .hub-demo-list-grid li span {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-page .hub-demo-list-grid li::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #63c84d 42%, rgba(110, 231, 216, 0.12) 42%);
}

.report-page .hub-demo-list-grid li.bar-31::before {
  background: linear-gradient(90deg, #63c84d 31%, rgba(110, 231, 216, 0.12) 31%);
}

.report-page .hub-demo-list-grid li.bar-27::before {
  background: linear-gradient(90deg, #63c84d 27%, rgba(110, 231, 216, 0.12) 27%);
}

.report-page .hub-demo-list-grid li.bar-26::before {
  background: linear-gradient(90deg, #63c84d 26%, rgba(110, 231, 216, 0.12) 26%);
}

.report-page .hub-demo-list-grid li.bar-24::before {
  background: linear-gradient(90deg, #63c84d 24%, rgba(110, 231, 216, 0.12) 24%);
}

.report-page .hub-demo-list-grid li.bar-21::before {
  background: linear-gradient(90deg, #63c84d 21%, rgba(110, 231, 216, 0.12) 21%);
}

.report-page .hub-demo-list-grid li.bar-19::before {
  background: linear-gradient(90deg, #63c84d 19%, rgba(110, 231, 216, 0.12) 19%);
}

.report-page .hub-demo-list-grid li.bar-18::before {
  background: linear-gradient(90deg, #63c84d 18%, rgba(110, 231, 216, 0.12) 18%);
}

.report-page .hub-demo-list-grid li.bar-17::before {
  background: linear-gradient(90deg, #63c84d 17%, rgba(110, 231, 216, 0.12) 17%);
}

.report-page .hub-demo-list-grid li.bar-15::before {
  background: linear-gradient(90deg, #63c84d 15%, rgba(110, 231, 216, 0.12) 15%);
}

.report-page .hub-demo-list-grid li.bar-13::before {
  background: linear-gradient(90deg, #63c84d 13%, rgba(110, 231, 216, 0.12) 13%);
}

.report-page .hub-demo-list-grid li.bar-10::before {
  background: linear-gradient(90deg, #63c84d 10%, rgba(110, 231, 216, 0.12) 10%);
}

.report-page .hub-demo-list-grid li b {
  grid-column: 3;
  grid-row: 1;
  color: #f8faf7;
  font-size: 0.8rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.report-page .hub-demo-insights {
  display: grid;
  grid-column: span 6;
  grid-template-columns: 1fr;
  min-width: 0;
}

.report-page .hub-demo-insights section {
  display: grid;
  gap: 10px;
  min-height: 132px;
}

.report-page .hub-demo-insights h3,
.report-page .dashboard-map-card h3,
.report-page .hub-demo-list-grid h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  color: #f8faf7;
  font-size: 0.94rem;
  line-height: 1.2;
}

.report-page .hub-demo-insights h3 i,
.report-page .dashboard-map-card h3 i,
.report-page .hub-demo-list-grid h3 i {
  display: inline-grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #6ee7d8;
  background: rgba(110, 231, 216, 0.1);
  border: 1px solid rgba(110, 231, 216, 0.22);
  border-radius: 50%;
}

.report-page .hub-impact-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-page .hub-impact-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.report-page .hub-impact-list li > span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 28px;
  padding: 4px 9px;
  color: rgba(248, 250, 247, 0.86);
  background: rgba(110, 231, 216, 0.08);
  border: 1px solid rgba(110, 231, 216, 0.16);
  border-radius: 10px;
}

.report-page .hub-impact-list li > span span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-page .hub-impact-list i {
  width: 18px;
  color: #40f0de;
}

.report-page .hub-impact-list b {
  color: #f8faf7;
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.report-page .hub-demo-flow {
  display: none;
}

.report-page .hub-demo-record {
  display: none;
}

.report-page .dashboard-map-card {
  display: grid;
  grid-column: span 6;
  gap: 10px;
  align-content: start;
  min-width: 0;
  min-height: 132px;
}

.report-page .backend-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 7px 10px;
  color: #f8faf7;
  background: rgba(7, 17, 31, 0.72);
  border: 1px solid rgba(110, 231, 216, 0.22);
  border-radius: 12px;
  opacity: 1;
  transform: none;
  box-shadow: none;
}

.report-page .backend-toast span {
  color: #63c84d;
  min-width: 0;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-page .dashboard-map-card.is-updated,
.report-page .hub-demo-list-grid li.is-highlighted {
  border-color: rgba(99, 200, 77, 0.58);
  background: rgba(99, 200, 77, 0.08);
  box-shadow: 0 0 0 1px rgba(99, 200, 77, 0.18);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.report-page .hub-demo-list-grid li.is-highlighted::before {
  box-shadow: 0 0 16px rgba(99, 200, 77, 0.28);
}

.report-page .dashboard-map-card p {
  margin: 0;
  color: rgba(248, 250, 247, 0.72);
}

.report-page .hub-demo-disclaimer {
  margin-top: 22px;
  font-size: 0.9rem;
}

.report-page .is-flowing .roadhub-flow-pulse {
  animation-duration: 320ms;
}

body.report-page:not([data-theme="dark"]) .nvd-demo-section {
  color: #202434;
  background:
    radial-gradient(circle at 18% 20%, rgba(110, 231, 216, 0.22), transparent 28%),
    radial-gradient(circle at 74% 28%, rgba(99, 200, 77, 0.14), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #eef7f4 54%, #fff7ef 100%);
}

body.report-page:not([data-theme="dark"]) .nvd-demo-section::before {
  background-image:
    linear-gradient(rgba(13, 35, 64, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 35, 64, 0.055) 1px, transparent 1px);
}

body.report-page:not([data-theme="dark"]) .nvd-demo-section::after {
  opacity: 0.12;
}

body.report-page:not([data-theme="dark"]) .resilience-demo-header,
body.report-page:not([data-theme="dark"]) .report-action-card,
body.report-page:not([data-theme="dark"]) .resilience-dashboard,
body.report-page:not([data-theme="dark"]) .score-card,
body.report-page:not([data-theme="dark"]) .resilience-radar-card,
body.report-page:not([data-theme="dark"]) .resilience-radar-card section,
body.report-page:not([data-theme="dark"]) .dashboard-map-card,
body.report-page:not([data-theme="dark"]) .hub-demo-insights section,
body.report-page:not([data-theme="dark"]) .hub-demo-disclaimer {
  color: #202434;
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(13, 35, 64, 0.12);
  box-shadow: 0 20px 54px rgba(13, 35, 64, 0.1);
}

body.report-page:not([data-theme="dark"]) .nvd-demo-section .resilience-copy h1,
body.report-page:not([data-theme="dark"]) .report-action-card__title,
body.report-page:not([data-theme="dark"]) .dashboard-header strong,
body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li b,
body.report-page:not([data-theme="dark"]) .dashboard-map-card h3,
body.report-page:not([data-theme="dark"]) .hub-demo-insights h3,
body.report-page:not([data-theme="dark"]) .hub-impact-list b,
body.report-page:not([data-theme="dark"]) .hub-demo-record strong {
  color: #202434;
}

body.report-page:not([data-theme="dark"]) .nvd-demo-section .resilience-copy p:not(.eyebrow),
body.report-page:not([data-theme="dark"]) .report-action-card__desc,
body.report-page:not([data-theme="dark"]) .report-steps li,
body.report-page:not([data-theme="dark"]) .score-card span,
body.report-page:not([data-theme="dark"]) .dashboard-map-card p,
body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li,
body.report-page:not([data-theme="dark"]) .hub-demo-insights p,
body.report-page:not([data-theme="dark"]) .hub-impact-list li > span {
  color: #5b6678;
}

body.report-page:not([data-theme="dark"]) .nvd-demo-section .resilience-copy .eyebrow,
body.report-page:not([data-theme="dark"]) .report-action-card .eyebrow,
body.report-page:not([data-theme="dark"]) .report-action-card__desc strong,
body.report-page:not([data-theme="dark"]) .hub-demo-analysis-title span {
  color: #f28c38;
}

body.report-page:not([data-theme="dark"]) .step-bar-container {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(13, 35, 64, 0.12);
  box-shadow: 0 12px 34px rgba(13, 35, 64, 0.08);
}

body.report-page:not([data-theme="dark"]) .step-bar-container .demo-step-button {
  color: #667085;
  background: rgba(248, 250, 252, 0.9);
  border-color: rgba(13, 35, 64, 0.1);
}

body.report-page:not([data-theme="dark"]) .step-bar-container .demo-step-button.active,
body.report-page:not([data-theme="dark"]) .step-bar-container .demo-step-button.active-step {
  color: #07111f;
  background: linear-gradient(135deg, #f28c38 0%, #8fdcc2 100%);
}

body.report-page:not([data-theme="dark"]) .demo-panel-heading {
  color: #202434;
}

body.report-page:not([data-theme="dark"]) .demo-panel-heading span,
body.report-page:not([data-theme="dark"]) .demo-panel-heading strong,
body.report-page:not([data-theme="dark"]) .roadhub-flow p {
  color: #0f766e;
  text-shadow: none;
}

body.report-page:not([data-theme="dark"]) .roadhub-flow,
body.report-page:not([data-theme="dark"]) .roadhub-flow span {
  color: #5b6678;
}

body.report-page:not([data-theme="dark"]) .roadhub-flow-line {
  background: transparent;
}

body.report-page:not([data-theme="dark"]) .score-card strong {
  color: #0f766e;
}

body.report-page:not([data-theme="dark"]) .dashboard-growth-card strong {
  color: #159c8a;
}

body.report-page:not([data-theme="dark"]) .backend-toast {
  color: #0f513f;
  background: rgba(236, 253, 245, 0.92);
  border-color: rgba(16, 185, 129, 0.22);
}

body.report-page:not([data-theme="dark"]) .dashboard-map-card.is-updated,
body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li.is-highlighted {
  border-color: rgba(15, 118, 110, 0.32);
  background: rgba(236, 253, 245, 0.9);
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.1);
}

body.report-page:not([data-theme="dark"]) .hub-demo-controls .text-link {
  color: #667085;
  border-color: rgba(13, 35, 64, 0.12);
}

body.report-page:not([data-theme="dark"]) .resilience-radar-card {
  background: rgba(255, 255, 255, 0.88);
}

body.report-page:not([data-theme="dark"]) .hub-demo-list-grid h3,
body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li span,
body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li b {
  color: #202434;
}

body.report-page:not([data-theme="dark"]) .hub-impact-list li > span {
  background: rgba(236, 253, 245, 0.74);
  border-color: rgba(15, 118, 110, 0.14);
}

body.report-page:not([data-theme="dark"]) .hub-impact-list i,
body.report-page:not([data-theme="dark"]) .hub-demo-insights h3 i,
body.report-page:not([data-theme="dark"]) .dashboard-map-card h3 i,
body.report-page:not([data-theme="dark"]) .hub-demo-list-grid h3 i {
  color: #0f766e;
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(15, 118, 110, 0.18);
}

body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li::before {
  background: linear-gradient(90deg, #10b981 42%, rgba(15, 118, 110, 0.12) 42%);
}

body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li.bar-31::before {
  background: linear-gradient(90deg, #10b981 31%, rgba(15, 118, 110, 0.12) 31%);
}

body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li.bar-27::before {
  background: linear-gradient(90deg, #10b981 27%, rgba(15, 118, 110, 0.12) 27%);
}

body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li.bar-26::before {
  background: linear-gradient(90deg, #10b981 26%, rgba(15, 118, 110, 0.12) 26%);
}

body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li.bar-24::before {
  background: linear-gradient(90deg, #10b981 24%, rgba(15, 118, 110, 0.12) 24%);
}

body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li.bar-21::before {
  background: linear-gradient(90deg, #10b981 21%, rgba(15, 118, 110, 0.12) 21%);
}

body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li.bar-19::before {
  background: linear-gradient(90deg, #10b981 19%, rgba(15, 118, 110, 0.12) 19%);
}

body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li.bar-18::before {
  background: linear-gradient(90deg, #10b981 18%, rgba(15, 118, 110, 0.12) 18%);
}

body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li.bar-17::before {
  background: linear-gradient(90deg, #10b981 17%, rgba(15, 118, 110, 0.12) 17%);
}

body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li.bar-15::before {
  background: linear-gradient(90deg, #10b981 15%, rgba(15, 118, 110, 0.12) 15%);
}

body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li.bar-13::before {
  background: linear-gradient(90deg, #10b981 13%, rgba(15, 118, 110, 0.12) 13%);
}

body.report-page:not([data-theme="dark"]) .hub-demo-list-grid li.bar-10::before {
  background: linear-gradient(90deg, #10b981 10%, rgba(15, 118, 110, 0.12) 10%);
}

body.report-page:not([data-theme="dark"]) .roadhub-phone-photo {
  filter: saturate(1.04) contrast(1.08) brightness(0.98);
}

body.report-page:not([data-theme="dark"]) .roadhub-phone-photo-wrap::after {
  background: linear-gradient(180deg, rgba(7, 17, 31, 0), rgba(7, 17, 31, 0.18));
}

body[data-theme="dark"].report-page .resilience-demo-header,
body[data-theme="dark"].report-page .report-action-card,
body[data-theme="dark"].report-page .resilience-dashboard,
body[data-theme="dark"].report-page .score-card,
body[data-theme="dark"].report-page .dashboard-map-card,
body[data-theme="dark"].report-page .hub-demo-insights section,
body[data-theme="dark"].report-page .hub-demo-disclaimer {
  color: #f8faf7;
  background: rgba(7, 17, 31, 0.86);
  border-color: rgba(110, 231, 216, 0.3);
}

body[data-theme="dark"].report-page .nvd-demo-section .resilience-copy h1,
body[data-theme="dark"].report-page .report-action-card__title,
body[data-theme="dark"].report-page .dashboard-header strong,
body[data-theme="dark"].report-page .hub-demo-analysis-title span,
body[data-theme="dark"].report-page .hub-demo-list-grid h3,
body[data-theme="dark"].report-page .hub-demo-insights h3,
body[data-theme="dark"].report-page .dashboard-map-card h3,
body[data-theme="dark"].report-page .hub-demo-list-grid li b {
  color: #f8faf7;
}

body[data-theme="dark"].report-page .nvd-demo-section .resilience-copy p:not(.eyebrow),
body[data-theme="dark"].report-page .report-action-card__desc,
body[data-theme="dark"].report-page .report-steps li,
body[data-theme="dark"].report-page .score-card span,
body[data-theme="dark"].report-page .dashboard-map-card p,
body[data-theme="dark"].report-page .hub-demo-list-grid li,
body[data-theme="dark"].report-page .hub-demo-insights p,
body[data-theme="dark"].report-page .hub-demo-controls .text-link {
  color: rgba(248, 250, 247, 0.84);
}

body[data-theme="dark"].report-page .phone-map-card small,
body[data-theme="dark"].report-page .phone-status-list > span > span,
body[data-theme="dark"].report-page .phone-submit-hint,
body[data-theme="dark"].report-page .detection-result-card span {
  color: rgba(248, 250, 247, 0.72);
}

body[data-theme="dark"].report-page .phone-map-card > div:last-child > span,
body[data-theme="dark"].report-page .phone-status-list strong,
body[data-theme="dark"].report-page .detection-result-card strong {
  color: #f8faf7;
}

body[data-theme="dark"].report-page .hub-demo-analysis-title span,
body[data-theme="dark"].report-page .demo-panel-heading > div > span,
body[data-theme="dark"].report-page .roadhub-flow p {
  color: #6ee7d8;
}

body[data-theme="dark"].report-page .score-card strong {
  color: #63c84d;
}

body[data-theme="dark"].report-page .dashboard-growth-card strong {
  color: #6ee7d8;
}

@keyframes roadHubFlowPulse {
  from {
    left: 20px;
  }

  to {
    left: calc(100% - 74px);
  }
}

@media (min-width: 1400px) {
  .report-page .nvd-demo-stage {
    grid-template-columns: minmax(360px, 0.9fr) minmax(290px, 0.65fr) minmax(720px, 1.65fr);
    gap: clamp(14px, 1.4vw, 22px);
    width: min(1640px, calc(100dvw - 40px));
    left: 50%;
    margin-inline: auto;
    transform: translateX(-50%);
  }
}

@media (min-width: 1580px) {
  .report-page .nvd-demo-stage {
    grid-template-columns: minmax(390px, 0.9fr) minmax(310px, 0.65fr) minmax(780px, 1.65fr);
  }
}

@media (max-width: 1180px) {
  .report-page .nvd-demo-stage {
    grid-template-columns: minmax(320px, 0.38fr) minmax(0, 0.62fr);
  }

  .report-page .roadhub-flow {
    grid-column: 1 / -1;
    order: 3;
  }

  .report-page .nvd-demo-backend {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .report-page .nvd-demo-section {
    overflow-x: clip;
  }

  .report-page .nvd-demo-section .container,
  .report-page .resilience-demo-header,
  .report-page .report-action-card,
  .report-page .nvd-demo-stage,
  .report-page .nvd-demo-backend,
  .report-page .resilience-dashboard {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
  }

  .report-page .nvd-demo-stage {
    width: 100%;
    margin-inline: 0;
    gap: 28px;
  }

  .report-page .resilience-demo-header,
  .report-page .report-action-card {
    margin-inline: 0;
    padding-inline: 22px;
  }

  .report-page .report-action-card > * {
    min-width: 0;
  }

  .report-page .nvd-demo-section .resilience-copy h1 {
    max-width: min(100%, 330px);
    margin-inline: auto;
    font-size: clamp(1.72rem, 8.4vw, 2.2rem);
    line-height: 1.16;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .report-page .nvd-demo-section .resilience-copy p,
  .report-page .report-action-card__desc {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .report-page .report-action-card__desc {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .report-page .report-action-card__desc strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .report-page .report-action-card__cta {
    display: inline-flex;
    justify-content: center;
    justify-self: stretch;
    box-sizing: border-box;
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    margin-inline: auto;
    min-height: 48px;
    padding-inline: 16px;
    white-space: normal;
    text-align: center;
  }

  .report-page .nvd-demo-stage,
  .report-page .backend-screen,
  .report-page .hub-demo-analysis-grid,
  .report-page .hub-demo-list-grid,
  .report-page .hub-demo-insights {
    grid-template-columns: 1fr;
  }

  .report-page .nvd-demo-front {
    max-width: min(340px, 100%);
  }

  .report-page .pixel-shell {
    width: min(100%, calc(100% - 58px), 328px);
    min-width: 0;
    min-height: 610px;
    height: min(680px, 178vw);
  }

  .report-page .roadhub-flow {
    min-height: 210px;
  }

  .report-page .hub-demo-count-card,
  .report-page .dashboard-growth-card,
  .report-page .dashboard-map-card,
  .report-page .hub-demo-insights,
  .report-page .hub-demo-analysis-grid,
  .report-page .resilience-radar-card,
  .report-page .resilience-radar-card section {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
  }

  .report-page .hub-demo-list-grid li {
    grid-template-columns: minmax(112px, 1.15fr) minmax(86px, 0.85fr) 44px;
    gap: 8px;
    font-size: 0.76rem;
  }

  .report-page .hub-demo-list-grid li span {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .report-page .resilience-radar-card section,
  .report-page .dashboard-map-card,
  .report-page .hub-demo-insights section {
    padding: 14px 12px;
  }

  .report-page .hub-impact-list li {
    grid-template-columns: minmax(0, 1fr) 44px;
  }
}

@media (max-width: 430px) {
  .report-page .hub-demo-list-grid li {
    grid-template-columns: minmax(0, 1fr) minmax(70px, 0.72fr) 40px;
    gap: 7px;
    font-size: 0.72rem;
  }

  .report-page .hub-demo-list-grid li::before {
    height: 7px;
  }

  .report-page .hub-demo-list-grid li b,
  .report-page .hub-impact-list b {
    font-size: 0.76rem;
  }
}

@media (max-width: 430px) {
  .home-page .hero-inner {
    width: min(100%, calc(100% - 32px));
    max-width: 343px;
    margin-inline: auto;
  }

  .home-page .hero h1 {
    width: 100%;
    max-width: 310px;
    font-size: clamp(1.42rem, 6.3vw, 1.76rem);
    line-height: 1.22;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .home-page .hero-subtitle,
  .home-page .hero-subtitle strong {
    max-width: 310px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .home-page .hero-actions .primary-link-btn,
  .home-page .hero-actions .secondary-link-btn,
  .home-page .hero-actions .tertiary-link-btn,
  .home-page .hero-stats {
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
  }

  .home-page .hero-stats {
    display: flex;
    flex-wrap: wrap;
    white-space: normal;
  }
}
