/* YTD marketing — Stripe design system (popular-web-designs/stripe) */

:root {
  --brand-primary: #533afd;
  --brand-primary-hover: #4434d4;
  --brand-navy: #061b31;
  --brand-navy-soft: #273951;
  --brand-dark: #1c1e54;
  --surface-white: #ffffff;
  --surface-soft: #f6f9fc;
  --surface-muted: #eef3f8;
  --text-dark: #061b31;
  --text-muted: #64748d;
  --text-on-dark: rgba(255, 255, 255, 0.96);
  --text-muted-on-dark: rgba(255, 255, 255, 0.72);
  --border: #e5edf5;
  --border-strong: #d6dee8;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 4px 14px rgba(50, 50, 93, 0.08);
  --shadow-md: 0 18px 50px rgba(50, 50, 93, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 28px 70px rgba(50, 50, 93, 0.16), 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-stripe: 0 13px 27px -5px rgba(50, 50, 93, 0.25), 0 8px 16px -8px rgba(0, 0, 0, 0.1);
  --header-h: 68px;
  --space-section: clamp(3.5rem, 7vw, 5.5rem);
  --brand-blue: var(--brand-primary);
  --brand-blue-dark: var(--brand-primary-hover);
}

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

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'PingFang SC', 'Microsoft YaHei', 'Noto Sans TC', sans-serif;
  color: var(--text-dark);
  background: var(--surface-white);
  line-height: 1.65;
  text-wrap: pretty;
  font-weight: 400;
}

a { color: var(--brand-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.wrap { width: min(1140px, 92vw); margin: 0 auto; }
.text-center { text-align: center; }

h1, h2, h3 { font-weight: 300; letter-spacing: -0.025em; color: var(--brand-navy); }
.section h2, .section-header h2 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.12; }

.section-label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.section-header { margin-bottom: 2rem; max-width: 42rem; }
.section-intro { margin: 0; color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.5rem;
  min-height: var(--header-h);
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    gap: 0.65rem 0.75rem;
    padding: 0.5rem 0;
    min-height: auto;
  }
  .brand { grid-area: brand; min-width: 0; }
  .site-nav {
    grid-area: nav;
    justify-self: stretch;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .header-actions { grid-area: actions; flex-shrink: 0; overflow: visible; z-index: 120; }

  .site-nav-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-top: 0.5rem;
    margin-top: 0.15rem;
    border-top: 1px solid var(--border);
  }

  .site-nav-link {
    padding: 0.38rem 0.7rem;
    font-size: 0.78rem;
    min-height: 36px;
  }

  .brand-name { font-size: 0.88rem; }
  .brand-en { font-size: 0.62rem; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: var(--radius-sm); flex-shrink: 0; }

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.brand-en {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-brand-en {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.site-nav {
  justify-self: center;
  min-width: 0;
}

.site-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.site-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  color: var(--brand-navy-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.site-nav-link:hover {
  color: var(--brand-navy);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-nav-link.active {
  color: var(--brand-navy);
  font-weight: 600;
  background: var(--surface-white);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.site-nav-link.active:hover {
  background: var(--surface-white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
  position: relative;
  z-index: 110;
}

.lang-switch { display: flex; align-items: center; position: relative; }

.lang-menu {
  position: relative;
}

.lang-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0.35rem 0.65rem;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-white);
  color: var(--brand-navy-soft);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.lang-menu-trigger:hover {
  border-color: var(--border-strong);
  color: var(--brand-navy);
}

.lang-menu.is-open > .lang-menu-trigger {
  border-color: rgba(83, 58, 253, 0.35);
  color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(83, 58, 253, 0.12);
}

.lang-menu-icon {
  flex-shrink: 0;
  opacity: 0.72;
}

.lang-menu-current {
  letter-spacing: 0.02em;
}

.lang-menu-chevron {
  flex-shrink: 0;
  opacity: 0.55;
  transition: transform 0.15s ease;
}

.lang-menu.is-open .lang-menu-chevron {
  transform: rotate(180deg);
}

.lang-menu-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 200;
  min-width: 10.5rem;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-white);
  box-shadow: var(--shadow-md);
}

.lang-menu.is-open .lang-menu-panel {
  display: block;
}

.lang-menu-panel[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .lang-menu.is-open .lang-menu-panel {
    box-shadow: var(--shadow-md), 0 12px 40px rgba(15, 23, 42, 0.12);
  }
}

.lang-menu-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: calc(var(--radius-md) - 2px);
  color: var(--brand-navy-soft);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease;
}

.lang-menu-option:hover {
  background: var(--surface-soft);
  color: var(--brand-navy);
  text-decoration: none;
}

.lang-menu-option--active {
  color: var(--brand-primary);
  font-weight: 600;
  background: rgba(83, 58, 253, 0.06);
}

.lang-menu-check {
  flex-shrink: 0;
  color: var(--brand-primary);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--brand-primary);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.header-cta:hover {
  background: var(--brand-primary-hover);
  text-decoration: none;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

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

.btn-primary:hover {
  background: var(--brand-primary-hover);
  box-shadow: var(--shadow-stripe);
}

.btn-primary-light {
  background: #fff;
  color: var(--brand-navy);
  box-shadow: var(--shadow-md);
}

.btn-primary-light:hover { background: var(--surface-soft); }

.btn-secondary-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary-dark:hover { background: rgba(255, 255, 255, 0.08); }

.btn-secondary {
  background: var(--surface-white);
  color: var(--brand-navy);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover { background: var(--surface-soft); }

.btn:hover { text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover { background: var(--surface-soft); }

.btn-on-light {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-on-light:hover { background: var(--brand-primary-hover); }

/* ── Hero ── */
.hero {
  border-bottom: 1px solid var(--border);
  padding: var(--space-section) 0;
}

.hero-mesh {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(83, 58, 253, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(234, 34, 97, 0.05), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.page-hero-mesh {
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(83, 58, 253, 0.07), transparent 50%),
    var(--surface-soft);
  border-bottom: 1px solid var(--border);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.page-hero-mesh h1 { margin: 0 0 0.75rem; font-size: clamp(1.75rem, 4vw, 2.35rem); }
.page-hero-mesh .lead { margin: 0; max-width: 52ch; color: var(--text-muted); font-size: 1.05rem; }

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

.hero-copy { display: grid; gap: 1.15rem; }

.hero-eyebrow {
  display: inline-block;
  width: fit-content;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.035em;
}

.hero .lead {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 52ch;
  font-weight: 400;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.98rem;
  color: var(--brand-navy-soft);
  line-height: 1.45;
}

.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

.hero-visual-live {
  position: relative;
}

.live-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(220, 38, 38, 0.92);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.hero-shot {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-stripe);
  border: 1px solid var(--border);
}

.hero-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--surface-muted);
}

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

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

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

.text-link:hover { text-decoration: underline; }

.card-service .text-link { margin-top: 0.25rem; }

.section-label-light { color: rgba(255, 255, 255, 0.72); }

.contact-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ── Product proof (screenshots) ── */
.hero-visual .proof-shot {
  max-width: min(100%, 300px);
  margin: 0 auto;
}

.proof-grid {
  display: grid;
  gap: 1.25rem 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.proof-grid--gallery {
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid--spotlight {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0.5rem;
}

.proof-grid--spotlight .proof-shot-frame {
  box-shadow: var(--shadow-stripe);
}

.proof-subhead {
  margin: 1.75rem 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.proof-subhead--more { margin-top: 2.25rem; }

@media (max-width: 768px) {
  .proof-grid--spotlight { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto 0.5rem; }
}

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

@media (max-width: 768px) {
  .proof-grid,
  .proof-grid--gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .proof-grid,
  .proof-grid--gallery {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }
}

.proof-shot {
  margin: 0;
}

.proof-shot-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: #0a0f18;
  line-height: 0;
}

.proof-shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.proof-shot figcaption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-navy);
  text-align: center;
  line-height: 1.35;
}

.proof-desc {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

.proof-item { display: flex; flex-direction: column; }

/* ── Engagement steps ── */
.engage-steps {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .engage-steps { grid-template-columns: 1fr; }
}

.engage-step {
  padding: 1.35rem 1.25rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.section-soft .engage-step { background: var(--surface-white); }

.engage-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.engage-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.case-brief-inner { max-width: 42rem; }

.case-brief-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 300px);
  gap: 2.5rem;
  align-items: center;
}

.case-brief-copy .section-header { margin-bottom: 1.25rem; }

.case-brief-visual .proof-shot {
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .case-brief-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .case-brief-visual { order: -1; }
}

.page-hero-copy { max-width: 42rem; }

/* ── Metrics bar ── */
.metrics-bar {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.35rem 0;
}

@media (max-width: 768px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.35rem 0;
  text-align: center;
}

.metric-item strong {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.metric-item span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.02em;
}

/* ── Trust bar (legacy) ── */
.trust-bar {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.trust-grid {
  display: grid;
  gap: 0.75rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.trust-item {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-navy-soft);
  padding-left: 1.1rem;
  position: relative;
}

.trust-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
}

/* ── Page hero ── */
.page-hero {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
  padding: clamp(2.75rem, 5vw, 3.75rem) 0;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 300;
}

.page-hero .lead {
  margin: 0;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ── Sections ── */
.section { padding: var(--space-section) 0; }
.section-soft { background: var(--surface-soft); }

.section-dark {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-navy) 100%);
  color: var(--text-on-dark);
}

.section-dark h2,
.section-dark h3,
.section-dark .section-label { color: #fff; }

.section-dark .section-label { color: rgba(183, 185, 249, 0.95); }

.section-dark .section-intro { color: var(--text-muted-on-dark); }

.check-list-light li {
  color: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.check-list-light li::before { background: var(--brand-primary); }

.shot-frame-glow {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.section-header { margin-bottom: 1.75rem; }

.section-intro {
  margin: 0;
  color: var(--text-muted);
  max-width: 62ch;
  font-size: 1.05rem;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  padding: 1.5rem 1.5rem 1.35rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.section-soft .card { background: var(--surface-white); }

.card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0 0 0.85rem; color: var(--text-muted); font-size: 0.95rem; }
.card p:last-child { margin-bottom: 0; }

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.75rem;
}

.card-bullets {
  margin: 0 0 1rem;
  padding: 0 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card-bullets li { margin-bottom: 0.35rem; }
.card-bullets li:last-child { margin-bottom: 0; }

.card-service { min-height: 100%; display: flex; flex-direction: column; }
.card-service .btn-outline { margin-top: auto; align-self: flex-start; }

/* ── Flow / architecture ── */
.flow-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.flow-node {
  padding: 1.35rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.flow-num {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(83, 58, 253, 0.1);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.65rem;
}

.flow-node h3 { margin: 0 0 0.4rem; font-size: 1rem; font-weight: 600; }
.flow-node p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* ── Module chips ── */
.module-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.module-chip {
  padding: 0.75rem 1rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand-navy-soft);
  box-shadow: var(--shadow-sm);
}

.section-soft .module-chip { background: var(--surface-white); }

/* ── Capability cards (获客向) ── */
.capability-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

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

.capability-card {
  padding: 1.35rem 1.5rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.capability-card:hover {
  box-shadow: var(--shadow-stripe);
  transform: translateY(-2px);
}

.section-soft .capability-card { background: var(--surface-white); }

.capability-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.capability-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ── Machine type cards ── */
.machine-type-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

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

.machine-type-card {
  padding: 1.5rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.machine-type-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.machine-type-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ── Explain block (内页说明) ── */
.explain-block {
  padding: 1.5rem 1.75rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.explain-list {
  margin: 0;
  padding: 0 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.explain-list li { margin-bottom: 0.65rem; }
.explain-list li:last-child { margin-bottom: 0; }

/* ── Case narrative ── */
.narrative-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

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

.narrative-card {
  padding: 1.5rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.narrative-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.narrative-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

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

@media (max-width: 768px) {
  .flow-grid-3 { grid-template-columns: 1fr; }
}

/* ── Persona / pain grids (获客叙事) ── */
.persona-grid,
.pain-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .persona-grid,
  .pain-grid { grid-template-columns: 1fr; }
}

.persona-card,
.pain-card {
  padding: 1.5rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.section-soft .persona-card { background: var(--surface-white); }

.persona-card h3,
.pain-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-navy);
  line-height: 1.35;
}

.persona-card p,
.pain-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.pain-card h3 { color: var(--brand-primary); font-size: 0.98rem; }

/* ── Case highlight ── */
.case-highlight-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

@media (max-width: 900px) {
  .case-highlight-inner { grid-template-columns: 1fr; }
}

.case-highlight .cta-row { margin-top: 0.5rem; }

/* ── Phases ── */
.phase-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.phase-card {
  padding: 1.5rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.phase-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.phase-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.phase-head h3 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.phase-dur { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; font-weight: 500; }
.phase-card > p { margin: 0 0 0.75rem; color: var(--text-muted); font-size: 0.95rem; }

/* ── Split content / specs ── */
.split-content {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

@media (max-width: 768px) {
  .split-content { grid-template-columns: 1fr; }
}

.spec-panel {
  padding: 1.5rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.spec-panel h2 { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 600; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

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

.spec-table th {
  width: 38%;
  color: var(--text-muted);
  font-weight: 500;
  padding-right: 1rem;
}

.spec-table td { color: var(--brand-navy); font-weight: 500; }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }

/* ── Legacy screenshot frames (dark sections) ── */
.shot-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.shot-frame {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.shot-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--surface-muted);
}

/* ── CTA band ── */
.cta-band {
  background: var(--brand-navy);
  color: var(--text-on-dark);
  padding: var(--space-section) 0;
  text-align: center;
}

.cta-band-dark {
  background: linear-gradient(120deg, var(--brand-dark) 0%, #0d253d 50%, var(--brand-navy) 100%);
  text-align: left;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band-inner .btn { flex-shrink: 0; }

@media (max-width: 640px) {
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-weight: 300;
}

.cta-band p {
  margin: 0 0 1.35rem;
  color: var(--text-muted-on-dark);
}

.cta-band .btn-primary { box-shadow: var(--shadow-md); }

/* ── Lists ── */
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

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

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-primary);
}

.case-note {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  background: var(--surface-soft);
  border-left: 3px solid var(--brand-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── FAQ ── */
.faq-list { display: grid; gap: 1rem; }

.faq-list--teaser {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.25rem;
}

@media (max-width: 900px) {
  .faq-list--teaser { grid-template-columns: 1fr; }
}

.faq-teaser .faq-item {
  height: 100%;
  padding: 1.15rem 1.25rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.faq-teaser .faq-item h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.faq-item {
  padding: 1.35rem 1.5rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.faq-item h2,
.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-item p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ── Contact ── */
.contact-page {
  padding: clamp(2.5rem, 6vw, 4rem) 0 var(--space-section);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(83, 58, 253, 0.06), transparent 55%),
    var(--surface-soft);
  border-bottom: 1px solid var(--border);
}

.contact-page-inner {
  max-width: 560px;
  margin: 0 auto;
}

.contact-page-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.contact-page-head h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.contact-page-head .lead {
  margin: 0 auto;
  max-width: 36ch;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.contact-card {
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-card-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.contact-direct {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-soft);
  color: var(--brand-navy);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-chip:hover {
  border-color: var(--brand-primary);
  text-decoration: none;
}

.contact-chip--wa {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.35);
}

.form-row-2 {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

.form-hint {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.lead-form--compact {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  gap: 0.85rem;
}

.btn-block {
  width: 100%;
  margin-top: 0.35rem;
}

@media (max-width: 480px) {
  .wrap { width: min(1140px, 94vw); }

  .hero { padding: clamp(2rem, 5vw, 3rem) 0; }
  .hero h1 { font-size: 1.85rem; }
  .hero .lead { font-size: 0.98rem; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }

  .contact-page { padding-top: 1.5rem; }
  .contact-card { padding: 1.25rem 1rem; }
  .contact-chip { width: 100%; justify-content: center; }

  .engage-steps { gap: 0.85rem; }
  .card-service { padding: 1.15rem; }

  .contact-band-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .contact-band-actions .btn { width: 100%; }
}

.contact-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-aside {
  padding: 1.5rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-aside h2 { margin: 0 0 0.75rem; font-size: 1.1rem; font-weight: 600; }
.contact-aside p { margin: 0 0 1rem; color: var(--text-muted); }
.contact-aside .btn { width: 100%; margin-bottom: 0.5rem; }

.contact-prep {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.contact-prep .check-list {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.lead-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--brand-navy-soft);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--text-dark);
  background: var(--surface-white);
}

.lead-form textarea { min-height: 120px; resize: vertical; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status { margin: 0; font-size: 0.9rem; min-height: 1.25rem; }
.form-status.ok { color: #108c3d; }
.form-status.err { color: #c0392b; }

/* ── Footer ── */
.site-footer {
  padding: 2.5rem 0 1.5rem;
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.footer-brand p { margin: 0; line-height: 1.5; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col strong {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.site-footer a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-bottom { padding-top: 1.25rem; text-align: center; }
.footer-bottom p { margin: 0; }

/* ── Language picker ── */
.lang-picker-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--surface-soft);
}

.lang-picker {
  text-align: center;
  color: var(--brand-navy);
  padding: 2rem 0;
}

.lang-picker img {
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.lang-picker h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 300;
}

.lang-picker .lead {
  margin: 0 0 2rem;
  color: var(--text-muted);
}

.lang-cards {
  display: grid;
  gap: 0.75rem;
  max-width: 360px;
  margin: 0 auto;
}

.lang-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--brand-navy);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.lang-card:hover {
  border-color: var(--brand-primary);
  text-decoration: none;
}
