/* 智機通 — 產品介紹站（配色见 ../brand-tokens.css + docs/COLOR-GUIDELINES.md） */
:root {
  /* zjtPro 语义别名 → 共享 token */
  --primary: var(--primary-dark);
  --primary-deep: var(--bg-dark);
  --accent: var(--action-color);
  --accent-hover: var(--action-hover);
  --bg: var(--bg-secondary);
  --bg-card: var(--bg-primary);
  --bg-section: var(--bg-accent);
  --text: var(--text-primary);
  --text-muted: var(--text-secondary);
  --border: var(--border-color);
  --success: var(--success-color);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 28px rgba(30, 64, 175, 0.08);
  --shadow-lg: 0 16px 56px rgba(15, 23, 42, 0.12);
  --nav-h: 76px;
  --max-w: 1280px;
  --content-pad: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 8vw, 96px);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang TC", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-mono: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --iphone-max: 430px;
}

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

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

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

body {
  font-family: "Noto Sans TC", var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  letter-spacing: 0.01em;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

h1, h2, h3, h4 {
  font-family: "Noto Sans TC", var(--font-sans);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.proof-stat strong,
.stat-card .num,
.demo-credentials,
code {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

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

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

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-brand-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-brand {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.logo-product {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.nav-desktop {
  display: none;
  gap: 8px;
}

.nav-desktop a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active,
.nav-desktop a.is-active {
  background: rgba(30, 58, 138, 0.06);
  color: var(--primary);
}

.header-cta {
  display: none;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff !important;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 999px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28);
}

.header-cta:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--action-deep));
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--orange-rgb), 0.35);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 4px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 12px 16px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
}

.nav-mobile a:hover {
  background: var(--bg);
}

.nav-mobile .mobile-cta {
  margin-top: 8px;
  text-align: center;
  background: var(--accent);
  color: #fff !important;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    gap: 4px;
    align-items: center;
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .nav-desktop a {
    padding: 8px 12px;
    font-size: 0.875rem;
  }
  .header-cta {
    display: inline-flex;
    align-items: center;
  }
  .menu-toggle {
    display: none;
  }
}

/* Hero */
.hero {
  padding: calc(var(--nav-h) + 56px) 0 0;
  background: linear-gradient(
    165deg,
    var(--primary-deep) 0%,
    #1E293B 45%,
    var(--primary) 78%,
    var(--primary-color) 100%
  );
  color: #fff;
  position: relative;
  overflow: clip;
}

.hero-wave {
  position: relative;
  line-height: 0;
  margin-top: 3rem;
}

.hero-wave svg {
  width: 100%;
  height: 56px;
  display: block;
}

/* Proof bar — 與主站對齊 */
.proof-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: clamp(1.5rem, 3vw, 2rem) 0;
}

.proof-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.proof-bar-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.proof-clients {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.proof-client-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.proof-client-pill--featured {
  background: rgba(30, 64, 175, 0.08);
  border-color: rgba(30, 64, 175, 0.18);
  color: var(--primary-color);
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--border);
}

.proof-stat:last-child {
  border-right: none;
}

.proof-stat strong {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.proof-stat span {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

@media (max-width: 768px) {
  .proof-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-stat:nth-child(2) { border-right: none; }
  .proof-stat:nth-child(1),
  .proof-stat:nth-child(2) { border-bottom: 1px solid var(--border); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  opacity: 0.92;
  max-width: 560px;
  margin-bottom: 12px;
}

.hero-value {
  font-size: 0.95rem;
  opacity: 0.85;
  max-width: 560px;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid rgba(255, 255, 255, 0.45);
}

.hero-citf-note {
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 560px;
  margin: 0 0 28px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.hero-citf-note strong {
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.32);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 1024px) {
  .hero {
    padding: calc(var(--nav-h) + 88px) 0 100px;
    min-height: min(88vh, 820px);
    display: flex;
    align-items: center;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
    align-items: center;
  }
  .hero h1 {
    font-size: 3rem;
    max-width: 14ch;
  }
  .hero-lead,
  .hero-value {
    max-width: 520px;
  }
  .hero-visual img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 3.25rem;
  }
  .hero-grid {
    gap: 80px;
  }
}

/* Section common */
.section {
  padding: var(--section-y) 0;
}

.section-alt {
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-color);
  margin-bottom: 12px;
  padding: 0.35rem 0.85rem;
  background: rgba(var(--brand-rgb), 0.1);
  border-radius: 999px;
  border: 1px solid rgba(var(--brand-rgb), 0.15);
}

.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Highlights */
.highlights-grid {
  display: grid;
  gap: 20px;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.highlight-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(30, 64, 175, 0.22);
  transform: translateY(-2px);
}

.highlight-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 64, 175, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.highlight-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.highlight-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

@media (min-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .section-header {
    margin-bottom: 56px;
  }
}

/* Flow */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.flow-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  position: relative;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.flow-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  z-index: 1;
}

.flow-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.flow-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.flow-image {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .flow-steps {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
  }
  .flow-step {
    flex: 1 1 18%;
    flex-direction: column;
    text-align: center;
    padding: 0;
    min-width: 140px;
  }
  .flow-step:not(:last-child)::after {
    display: none;
  }
  .flow-num {
    margin: 0 auto 12px;
  }
}

@media (min-width: 1200px) {
  .flow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    flex-wrap: nowrap;
  }
  .flow-step {
    flex: unset;
    min-width: 0;
    padding: 20px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  .flow-num {
    background: var(--gradient-primary);
  }
}

/* Pain table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: linear-gradient(135deg, var(--primary), var(--primary-color));
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) td {
  background: var(--bg-section);
}

td strong {
  color: var(--primary);
}

/* Features */
.features-grid {
  display: grid;
  gap: 16px;
}

.feature-module {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 8px;
}

.feature-module h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-module h3::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 2px;
}

.feature-module .cap {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.feature-module .benefit {
  font-size: 0.85rem;
  color: var(--success);
  font-weight: 600;
}

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

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Specs */
.specs-grid {
  display: grid;
  gap: 12px;
}

.spec-row {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.spec-row dt {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.spec-row dd {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .spec-row {
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: start;
  }
}

.boundary-box {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary-color);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.boundary-box strong {
  color: var(--primary);
}

/* Case study */
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.case-header {
  padding: 32px 40px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary) 50%, var(--primary-color) 100%);
  color: #fff;
}

.case-header h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.case-body {
  padding: 32px;
}

.projects-table {
  margin-bottom: 32px;
}

.stats-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat-card .num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

.stat-card .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.results-cols {
  display: grid;
  gap: 24px;
}

.results-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
}

.results-col ul li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.results-col ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
}

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

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .results-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .case-body {
    padding: 40px 48px;
  }
  .table-wrap {
    border-radius: var(--radius-lg);
  }
  table {
    min-width: 0;
    font-size: 0.95rem;
  }
}

.case-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 24px;
}

/* Compare */
.compare-grid {
  display: grid;
  gap: 16px;
}

.compare-item {
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary-color);
}

.compare-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.compare-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Tech */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.tech-tag {
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.tech-list {
  max-width: 640px;
  margin: 0 auto;
}

.tech-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.tech-list li strong {
  color: var(--primary);
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-grid--dual {
  max-width: 720px;
  grid-template-columns: 1fr;
}

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

.price-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.price-card.featured {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color), var(--shadow-lg);
}

.price-card h3 {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.price-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.price-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card p {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 40px;
}

.demo-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.demo-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.demo-box a.demo-link {
  word-break: break-all;
  font-size: 0.9rem;
}

.demo-credentials {
  margin-top: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: 8px;
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
}

.contact-company .company-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: baseline;
  font-size: 0.95rem;
}

.contact-label {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.contact-list a {
  color: var(--primary-color);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--primary-color);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--border);
}

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

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.qr-item {
  text-align: center;
}

.qr-item img {
  max-width: 180px;
  margin: 0 auto 12px;
  border-radius: var(--radius);
}

.qr-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 48px;
    max-width: 960px;
    margin: 0 auto;
  }
  .qr-grid {
    gap: 32px;
  }
  .qr-item img {
    max-width: 200px;
  }
}

/* Footer */
.site-footer {
  padding: 3rem 0 calc(1.5rem + env(safe-area-inset-bottom));
  background: #000;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-col p {
  margin-bottom: 0.65rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col strong {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer .logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-entity {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 0.75rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-copy {
  opacity: 0.6;
  font-size: 0.8125rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

.footer-company {
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

/* Roles */
.roles-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.role-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.role-card h4 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 6px;
}

.role-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

@media (min-width: 1024px) {
  .roles-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .features-grid {
    gap: 20px;
  }
  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .pricing-grid--dual {
    max-width: 840px;
    gap: 32px;
  }
  .price-card {
    padding: 44px 36px;
  }
}

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

.features-grid--compact {
  margin-top: 2rem;
}

.features-grid--compact .feature-module {
  padding: 1rem 1.1rem;
}

.features-grid--compact .feature-module h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.features-grid--compact .cap {
  margin: 0;
  font-size: 0.875rem;
}

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

.screenshot-duo .screenshot {
  margin-top: 0;
}

.boundary-box--compact {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  padding: 1rem 1.15rem;
}

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

.fit-note {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
}

.fit-note h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.65rem;
}

.fit-note p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .fit-notes {
    grid-template-columns: 1fr;
  }
}

.case-highlights {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.case-highlights li + li {
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .highlights-grid--compact {
    grid-template-columns: 1fr;
  }

  .screenshot-duo {
    grid-template-columns: 1fr;
  }
}

.screenshot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 40px;
  border: 1px solid var(--border);
}

.screenshot img {
  width: 100%;
  display: block;
}

.pricing-contact-note {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* —— iPhone 17 等窄屏（逻辑宽度约 393px，含安全区）—— */
@media (max-width: 430px) {
  :root {
    --nav-h: 64px;
    --content-pad: max(16px, env(safe-area-inset-left));
  }

  .site-header {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .nav-mobile {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .hero {
    padding-top: calc(var(--nav-h) + 32px);
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .highlight-card,
  .feature-module,
  .role-card {
    padding: 20px;
  }

  .case-header,
  .case-body {
    padding: 20px;
  }

  .stat-card .num {
    font-size: 1.5rem;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .table-wrap {
    margin-left: calc(-1 * var(--content-pad));
    margin-right: calc(-1 * var(--content-pad));
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

/* 三語言切換（與主站 i18n.js 配套） */
.header-lang {
  display: inline-flex;
  align-items: center;
}

.header-lang.mobile-lang {
  display: block;
  padding: 12px 0;
  margin-bottom: 8px;
}

.lang-switcher {
  position: relative;
}

.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-switcher-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 9.5rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 1200;
}

.lang-switcher-menu.open {
  display: block;
}

.lang-switcher-menu button,
.lang-switcher-menu a,
.lang-switcher-menu .lang-switcher-active {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 0.875rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.lang-switcher-menu button:hover,
.lang-switcher-menu a:hover,
.lang-switcher-menu .is-active {
  background: var(--bg-section);
  color: var(--primary-color);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   v1.1.0 — International SaaS product-page polish
   ═══════════════════════════════════════════════════════════ */

/* Hero device frame */
.hero-visual {
  position: relative;
  border: none;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.hero-device-frame {
  position: relative;
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  padding: 10px;
  backdrop-filter: blur(8px);
}

.hero-device-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 10px;
}

.hero-device-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.hero-device-frame img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-device-frame::after {
  content: "";
  position: absolute;
  inset: -40px -20px -60px;
  background: radial-gradient(ellipse 60% 50% at 50% 80%, rgba(59, 130, 246, 0.35), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

@media (min-width: 1024px) {
  .hero {
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 0;
    min-height: auto;
  }

  .hero .container.hero-grid {
    flex: 1;
    display: grid;
    align-content: center;
    min-height: min(72vh, 720px);
  }

  .hero-visual img {
    aspect-ratio: auto;
  }
}

/* Proof bar — SaaS variant */
.proof-bar--saas {
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
  border-bottom: none;
}

.proof-bar--saas .proof-bar-inner {
  gap: 1.75rem;
}

.proof-bar-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.proof-bar--saas .proof-bar-label {
  margin: 0;
}

.proof-client-pill--accent,
.proof-client-pill--featured {
  background: rgba(var(--brand-rgb), 0.08);
  border-color: rgba(var(--brand-rgb), 0.18);
  color: var(--primary-color);
}

.proof-stats--saas {
  border: none;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  gap: 0;
}

.proof-stats--saas .proof-stat {
  padding: 1.35rem 1rem;
  border-color: var(--border);
  transition: background var(--transition);
}

.proof-stats--saas .proof-stat:hover {
  background: var(--bg-section);
}

.proof-stats--saas .proof-stat strong {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  background: linear-gradient(135deg, var(--primary), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Value stack — bento layout */
.value-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.highlight-card {
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.highlights-grid--compact {
  gap: 1.25rem;
}

.highlights-grid--compact .highlight-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
}

.highlights-grid--compact .highlight-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  margin-bottom: 1rem;
}

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

@media (min-width: 768px) {
  .features-grid--compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.features-grid--compact .feature-module {
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  background: var(--bg-card);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.features-grid--compact .feature-module:hover {
  border-color: rgba(30, 64, 175, 0.25);
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.06);
}

/* Screenshot duo — polished */
.screenshot-duo--polished {
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.screenshot--float {
  margin-top: 0;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.screenshot--float:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

.screenshot--float figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-section);
}

.screenshot--float img {
  display: block;
}

.boundary-box--compact {
  text-align: center;
  border-left: none;
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  border: 1px solid var(--border);
}

/* Case showcase */
.case-showcase {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.case-showcase-header {
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 55%, var(--primary-color) 100%);
  color: #fff;
  text-align: center;
}

.case-showcase-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.case-showcase-title {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.case-showcase-meta {
  font-size: 0.9375rem;
  opacity: 0.88;
}

.stats-grid--polished {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid--polished .stat-card {
  background: var(--bg-card);
  border-radius: 0;
  padding: 1.5rem 1rem;
  transition: background var(--transition);
}

.stats-grid--polished .stat-card:hover {
  background: var(--bg-section);
}

.stats-grid--polished .stat-card .num {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  background: linear-gradient(135deg, var(--primary), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stats-grid--polished .stat-card .label {
  font-size: 0.8125rem;
  line-height: 1.4;
  max-width: 12rem;
  margin: 0.35rem auto 0;
}

.case-showcase-body {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 900px) {
  .stats-grid--polished {
    grid-template-columns: repeat(4, 1fr);
  }

  .case-showcase-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 2.5rem;
  }
}

.case-highlights--check {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-highlights--check li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.75rem;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.55;
  border-bottom: 1px solid var(--border);
}

.case-highlights--check li:last-child {
  border-bottom: none;
}

.case-highlights--check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

.screenshot--case {
  margin-top: 0;
  border-radius: var(--radius-lg);
}

/* Contact panel */
.contact-panel {
  display: grid;
  gap: 1.5rem;
  max-width: 1040px;
  margin: 0 auto;
}

.contact-panel--rows {
  gap: 1rem;
}

.contact-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .contact-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.contact-cell {
  min-width: 0;
}

.contact-app-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.qr-frame--inline {
  flex-shrink: 0;
  padding: 0.5rem;
}

.qr-frame--inline img {
  display: block;
  width: 120px;
  height: auto;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .qr-frame--inline img {
    width: 132px;
  }
}

.contact-app-copy {
  flex: 1;
  min-width: 0;
}

.contact-app-copy .qr-download-caption {
  margin-top: 0;
  font-size: 0.875rem;
}

.contact-app-copy .qr-download-hint {
  margin-top: 0.25rem;
  margin-bottom: 0.65rem;
}

.apk-install-notes--inline {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 0.75rem;
  line-height: 1.5;
  list-style: none;
}

.apk-install-notes--inline li {
  position: relative;
  padding-left: 0.85rem;
  margin-bottom: 0.3rem;
  color: var(--text-secondary);
}

.apk-install-notes--inline li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.demo-accounts--horizontal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-list--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem 1.25rem;
}

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

  .contact-list--grid .contact-list-full {
    grid-column: 1 / -1;
  }
}

.contact-list--grid li {
  grid-template-columns: auto 1fr;
  gap: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.contact-cell--actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-actions-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-align: center;
}

.contact-actions--stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0;
}

.contact-actions--stack .btn {
  width: 100%;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
}

.section-header--compact {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.section-header--compact p {
  max-width: 36rem;
}

.contact-panel-main {
  display: grid;
  gap: 1.25rem;
}

.demo-box--elevated {
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.demo-box--elevated:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 64, 175, 0.2);
}

.demo-box--admin {
  background: linear-gradient(145deg, rgba(30, 58, 138, 0.04), var(--bg-card));
}

.demo-box-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: -0.25rem 0 0.75rem;
}

.demo-box--admin .demo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9375rem;
  word-break: break-all;
}

.demo-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.demo-credentials span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.demo-accounts {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

.demo-account-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.demo-account-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.demo-account-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.65rem;
  font-size: 0.875rem;
}

.demo-tenant-tag {
  display: inline-flex;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.demo-cred code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  padding: 0.1rem 0.35rem;
  background: var(--bg);
  border-radius: 4px;
  color: var(--text);
}

.qr-download-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-link);
}

.apk-install-notes {
  width: 100%;
  max-width: 520px;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--bg-accent);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-secondary);
  text-align: left;
}

.apk-install-notes-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.apk-install-notes ul {
  margin: 0 0 0.65rem 1.1rem;
  padding: 0;
}

.apk-install-notes a {
  color: var(--text-link);
  font-weight: 600;
}

.apk-install-notes li {
  margin-bottom: 0.35rem;
}

.contact-panel-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.qr-panel-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  text-align: center;
}

.qr-grid--polished {
  gap: 1.5rem;
  width: 100%;
}

.qr-grid--single {
  display: flex;
  justify-content: center;
}

.qr-grid--single .qr-item {
  text-align: center;
  max-width: 280px;
}

.qr-grid--single .qr-item img {
  max-width: 200px;
  width: 100%;
  height: auto;
}

.qr-download-caption {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.qr-grid--single .qr-download-hint {
  display: block;
  margin-top: 0.35rem;
}

.qr-frame {
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.qr-grid--polished .qr-item img {
  max-width: 140px;
  margin: 0;
  border-radius: 8px;
}

.qr-grid--polished .qr-item p {
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .qr-grid--polished .qr-item img {
    max-width: 128px;
  }
}

.contact-actions {
  margin-top: 2.5rem;
  gap: 0.75rem;
}

.contact-actions .btn {
  border-radius: 999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
}

/* Section rhythm refinements */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

#contact.section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-section) 100%);
}

@media (max-width: 640px) {
  .proof-bar-top {
    gap: 0.75rem;
  }

  .proof-clients {
    gap: 0.5rem;
  }

  .proof-client-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }

  .case-showcase-body {
    padding: 1.25rem;
  }
}

@media (max-width: 767px) {
  .contact-app-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .apk-install-notes--inline li {
    padding-left: 0;
  }

  .apk-install-notes--inline li::before {
    display: none;
  }

  .demo-accounts--horizontal {
    grid-template-columns: 1fr;
  }
}

/* 電話諮詢 — 佛山 / 香港選擇 */
.phone-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.phone-picker-modal[hidden] {
  display: none;
}

.phone-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.phone-picker-panel {
  position: relative;
  width: min(100%, 400px);
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
}

.phone-picker-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted, #64748b);
  cursor: pointer;
}

.phone-picker-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--primary-dark, #1e3a8a);
}

.phone-picker-lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted, #64748b);
}

.phone-picker-options {
  display: grid;
  gap: 0.75rem;
}

.phone-picker-option {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.phone-picker-option:hover,
.phone-picker-option:focus-visible {
  border-color: var(--primary, #2563eb);
  background: rgba(37, 99, 235, 0.04);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
  outline: none;
}

.phone-picker-city {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary, #2563eb);
}

.phone-picker-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text, #0f172a);
}

/* 帳號刪除 / 法律說明頁 */
.legal-doc-page .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.legal-doc {
  padding: calc(var(--nav-h) + 1.5rem) 0 var(--section-y);
}

.legal-doc-inner {
  max-width: 760px;
}

.legal-breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.legal-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.legal-breadcrumb a:hover {
  text-decoration: underline;
}

.legal-doc-header {
  margin-bottom: 2rem;
}

.legal-doc-app,
.legal-doc-dev {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.legal-doc-header h1 {
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  margin: 0.75rem 0 0.5rem;
  color: var(--primary);
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-doc-section {
  margin-top: 2rem;
}

.legal-doc-section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.legal-doc-section p,
.legal-doc-section li {
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-doc-section ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.deletion-steps-box {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
}

.deletion-steps-box h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.deletion-steps-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1rem;
}

.deletion-steps-list {
  padding-left: 1.35rem;
  margin: 0 0 1rem;
}

.deletion-steps-list li {
  margin-bottom: 0.65rem;
  color: var(--text);
  line-height: 1.7;
}

.deletion-steps-list a {
  color: var(--primary);
  font-weight: 600;
}

.deletion-steps-contact {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.deletion-steps-contact a {
  color: var(--primary);
  font-weight: 600;
}

.footer-legal-links {
  margin-top: 0.35rem;
  font-size: 0.875rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

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

