/* ==========================================
   Genban — Global Styles
   ========================================== */

/* ── Design Tokens ── */
:root {
  /* Teal 主色 */
  --primary-900: #064e3b;
  --primary-800: #065f46;
  --primary-700: #047857;
  --primary-600: #059669;
  --primary-500: #0d9488;
  --primary-400: #14b8a6;
  --primary-300: #5eead4;
  --primary-200: #a7f3d0;
  --primary-100: #ccfbf1;
  --primary-50:  #f0fdfa;

  /* 中性色 */
  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;

  /* 功能色 */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* 语义色 */
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-tertiary: #9ca3af;
  --border-default: #e5e7eb;
  --bg-page: #f9fafb;
  --bg-card: #ffffff;

  /* 尺寸 */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --max-w: 1200px;
  --max-w-full: 1440px;
  --header-h: 56px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

/* ── Page Variants ── */
.page-home,
.page-product,
.page-solution,
.page-case,
.page-pricing,
.page-blog,
.page-about,
.page-contact {
  /* Extend as needed per page */
}


/* ==========================================
   Site Header (Sticky Navigation)
   ========================================== */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.header-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.site-header .header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 24px;
}

.site-header .header-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  text-decoration: none;
  white-space: nowrap;
}

.site-header .header-logo img {
  height: 28px;
  width: auto;
}

.site-header .header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-header .header-nav a,
.site-header .header-nav button {
  font-size: 14px;
  color: var(--gray-600);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.site-header .header-nav a:hover,
.site-header .header-nav button:hover {
  color: var(--gray-900);
}

.site-header .header-nav a.active {
  color: var(--primary-600);
  font-weight: 600;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-600);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 7px 18px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

.header-cta:hover {
  background-color: var(--primary-700);
}

/* ── Nav Dropdown ── */
.nav-group {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-weight: 500;
}

.nav-trigger span {
  font-size: 11px;
  transition: transform 0.15s ease;
}

.nav-dropdown {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  left: 50%;
  width: min(940px, calc(100vw - 48px));
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(229, 231, 235, 0.78);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.16), 0 8px 24px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  padding: 12px;
  display: block;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.nav-group:hover .nav-trigger span,
.nav-group:focus-within .nav-trigger span,
.nav-group.open .nav-trigger span {
  transform: rotate(180deg);
}

.nav-dropdown a {
  color: inherit;
}

.nav-dropdown a:hover {
  color: inherit;
}

.mega-menu {
  overflow: hidden;
}

.mega-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 12px;
}

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

.mega-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 92px;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.mega-item:hover {
  background: rgba(249, 250, 251, 0.92);
  border-color: rgba(209, 213, 219, 0.72);
  transform: translateY(-1px);
}

.mega-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 20px;
}

.mega-item strong,
.mega-item em {
  display: block;
  white-space: normal;
}

.mega-item strong {
  color: var(--gray-900);
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 4px;
}

.mega-item em {
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.mega-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 204px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--gray-900);
  color: #fff;
}

.mega-side span {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 9999px;
  background: rgba(20, 184, 166, 0.16);
  color: var(--primary-200);
  font-size: 12px;
  font-weight: 700;
}

.mega-side strong,
.mega-side p,
.mega-side a {
  display: block;
}

.mega-side strong {
  margin-top: 16px;
  color: #fff;
  font-size: 19px;
  line-height: 1.35;
}

.mega-side p {
  margin-top: 8px;
  color: #d1d5db;
  font-size: 13px;
  line-height: 1.6;
}

.mega-side a {
  margin-top: 18px;
  color: var(--primary-200);
  font-size: 13px;
  font-weight: 750;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: 4px;
}

.nav-login {
  color: var(--gray-600);
  font-weight: 500;
}


/* ==========================================
   Mobile Header
   ========================================== */

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--gray-700);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(104%);
  width: 280px;
  height: 100vh;
  background: #fff;
  z-index: 100;
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
  display: none;
}

.mobile-menu-overlay.show {
  display: block;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-header .header-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  text-decoration: none;
}

.mobile-menu-header .close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--gray-500);
  cursor: pointer;
  padding: 4px;
}

.mobile-menu .nav-item {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  min-height: 44px;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.mobile-menu .nav-item:hover {
  background-color: var(--gray-50);
}

.mobile-menu .nav-item.active {
  color: var(--primary-600);
  font-weight: 600;
}

.mobile-nav-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 650;
}

.mobile-nav-trigger span {
  font-size: 12px;
  transition: transform 0.15s ease;
}

.mobile-nav-trigger.open span {
  transform: rotate(180deg);
}


/* ==========================================
   Site Footer
   ========================================== */

.site-footer {
  background-color: var(--gray-900);
  color: var(--gray-400);
  padding: 64px 24px 32px;
}

.site-footer .footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--gray-400);
  padding: 4px 0;
  transition: color 0.15s ease;
}

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

.footer-col p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-500);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-500);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gray-500);
  padding: 4px;
  text-decoration: none;
  transition: color 0.15s ease;
}

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


/* ==========================================
   Section — Common
   ========================================== */

.section {
  padding: 100px 24px;
}

.section-sm {
  padding: 60px 24px;
}

.section-lg {
  padding: 120px 24px;
}

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header.left {
  text-align: left;
}

.section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--primary-600);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.section-desc {
  font-size: 18px;
  font-weight: 400;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.section-header.left .section-desc {
  margin-left: 0;
}


/* ==========================================
   Button System
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
  line-height: 1.4;
}

.btn-primary {
  background-color: var(--primary-600);
  color: #fff;
  padding: 10px 24px;
  box-shadow: 0 1px 3px rgba(6, 94, 84, 0.15);
}

.btn-primary:hover {
  background-color: var(--primary-700);
  box-shadow: 0 4px 12px rgba(6, 94, 84, 0.25);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid var(--primary-600);
  color: var(--primary-600);
  background: transparent;
  padding: 10px 24px;
}

.btn-outline:hover {
  background-color: var(--primary-50);
}

.btn-ghost {
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  background: transparent;
  padding: 10px 24px;
}

.btn-ghost:hover {
  background-color: var(--gray-50);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 12px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}


/* ==========================================
   Card System
   ========================================== */

.card {
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-icon {
  font-size: 28px;
  margin-bottom: 12px;
  line-height: 1;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}


/* ==========================================
   Grid / Layout
   ========================================== */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

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

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}


/* ==========================================
   Hero
   ========================================== */

.hero {
  padding: 72px 24px 56px;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero .hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-700);
  background-color: var(--primary-50);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.hero h1,
.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--gray-900);
  max-width: 800px;
  margin-bottom: 20px;
}

.hero-copy > p,
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-500);
  max-width: 600px;
  margin-bottom: 32px;
}

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

.hero-visual {
  min-width: 0;
}

.workspace-preview {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.12), 0 6px 18px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.workspace-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 13px;
}

.workspace-topbar strong {
  margin-left: 6px;
  color: var(--gray-900);
}

.workspace-topbar .dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: var(--gray-300);
}

.workspace-topbar .dot:first-child {
  background: #f87171;
}

.workspace-topbar .dot:nth-child(2) {
  background: #fbbf24;
}

.workspace-topbar .dot:nth-child(3) {
  background: var(--success);
}

.workspace-body {
  padding: 22px;
  background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
}

.customer-panel,
.reply-panel {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.reply-panel {
  margin-top: 14px;
  border-color: var(--primary-200);
}

.panel-label,
.demo-label {
  display: block;
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 8px;
  font-weight: 700;
}

.customer-panel h3 {
  font-size: 18px;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.customer-panel p,
.reply-panel p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span {
  background: var(--primary-50);
  color: var(--primary-700);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
}

.reply-panel button {
  margin-top: 14px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--primary-600);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
}

.insight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.insight-row div {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 12px;
}

.insight-row strong,
.insight-row span {
  display: block;
}

.insight-row strong {
  color: var(--primary-600);
  font-size: 18px;
  line-height: 1.2;
}

.insight-row span {
  color: var(--gray-500);
  font-size: 12px;
  margin-top: 4px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.trust-strip {
  background: #fff;
  padding: 24px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.pain-section {
  background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
}

.pain-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.38fr);
  gap: 32px;
  align-items: stretch;
}

.pain-copy {
  background: var(--gray-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.16);
}

.pain-copy .section-label {
  color: var(--primary-300);
}

.pain-copy .section-title {
  color: #fff;
  font-size: 34px;
}

.pain-copy .section-desc {
  color: #d1d5db;
  font-size: 16px;
  margin: 0;
}

.pain-summary {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pain-summary strong,
.pain-summary span {
  display: block;
}

.pain-summary strong {
  color: var(--primary-300);
  font-size: 13px;
  margin-bottom: 8px;
}

.pain-summary span {
  color: #f9fafb;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 650;
}

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

.pain-card {
  min-height: 251px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.pain-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pain-card .card-icon {
  margin: 0;
}

.pain-index {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 800;
}

.pain-card h3 {
  color: var(--gray-900);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.pain-card p {
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pain-tag {
  margin-top: auto;
  align-self: flex-start;
  border-radius: 9999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
}

.hero-stats .stat-item {
  text-align: center;
  min-width: 90px;
}

.hero-stats .stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
}

.hero-stats .stat-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 2px;
}

.section--muted {
  background: var(--gray-50);
}

.section--cta {
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff 100%);
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: stretch;
}

.solution-intro {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.solution-intro .section-title {
  font-size: 34px;
  margin-bottom: 14px;
}

.solution-intro .section-desc {
  max-width: none;
  margin: 0;
  font-size: 16px;
}

.solution-flow {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.solution-flow div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 3px 12px;
  padding: 14px 0;
  border-top: 1px solid var(--gray-200);
}

.solution-flow span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 12px;
  font-weight: 800;
}

.solution-flow strong {
  color: var(--gray-900);
  font-size: 15px;
}

.solution-flow p {
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.6;
}

.solution-cta {
  width: 100%;
  justify-content: center;
}

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

.solution-card {
  min-height: 246px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-200);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.09);
}

.solution-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.solution-card p {
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.7;
}

.product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.solution-card.product-link {
  display: flex;
}

.product-link .link-arrow {
  font-size: 13px;
  color: var(--primary-600);
  margin-top: 12px;
  display: block;
  font-weight: 600;
}

.demo-grid {
  margin-bottom: 48px;
}

.demo-card {
  padding: 32px;
  border: 2px solid var(--primary-100);
}

.demo-card--active {
  position: relative;
  border-color: var(--primary-500);
}

.message-card {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.ai-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--primary-600);
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 9999px;
  font-weight: 600;
}

.reply-copy {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
}

.metric-card {
  text-align: center;
}

.metric-card .card-icon {
  text-align: center;
}

.metric-card h3 {
  font-size: 24px;
  color: var(--primary-600);
}

.final-cta .section-desc {
  margin-bottom: 32px;
}

.final-cta .btn-lg {
  font-size: 18px;
  padding: 16px 40px;
}

.faq-wrap {
  max-width: 700px;
  margin: 60px auto 0;
}

.faq-wrap .section-label {
  font-size: 11px;
}

/* ==========================================
   Product Hero (Inner Pages)
   ========================================== */

.hero-product {
  padding: 80px 24px;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-hero-text .hero-h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.product-hero-media {
  background-color: var(--gray-100);
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 14px;
  overflow: hidden;
}

.product-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================
   Trust Bar
   ========================================== */

/* ==========================================
   Compare Table
   ========================================== */

.compare-table-wrap {
  overflow-x: auto;
  margin: 0 auto;
  max-width: 900px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  text-align: center;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
}

.compare-table th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-400);
  background-color: var(--gray-50);
}

.compare-table .highlight-col {
  background-color: var(--primary-50);
  color: var(--primary-700);
  font-weight: 600;
}

.compare-table .check {
  color: var(--success);
}

.compare-table .cross {
  color: var(--error);
}


/* ==========================================
   Steps Process
   ========================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  padding: 24px;
}

.step-num {
  width: 48px;
  height: 48px;
  background-color: var(--primary-100);
  color: var(--primary-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}


/* ==========================================
   FAQ Accordion
   ========================================== */

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  align-items: center;
  color: var(--gray-900);
  user-select: none;
}

.faq-answer {
  padding: 0 0 16px;
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-toggle {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--gray-400);
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
}


/* ==========================================
   Breadcrumb
   ========================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 16px;
}

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

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

.breadcrumb .sep {
  color: var(--gray-300);
}


/* ==========================================
   Case Study Grid
   ========================================== */

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.2s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.case-card .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.badge-manufacturing {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.badge-export {
  background-color: #d1fae5;
  color: #047857;
}

.badge-industrial {
  background-color: #ede9fe;
  color: #6d28d9;
}

.badge-b2b {
  background-color: #ffedd5;
  color: #c2410c;
}

.case-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.case-card .case-result {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-600);
  margin-bottom: 8px;
}

.case-card .case-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

.case-card .link-arrow {
  font-size: 13px;
  color: var(--primary-600);
  margin-top: 12px;
  display: block;
  font-weight: 500;
}


/* ==========================================
   Pricing Cards
   ========================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  transition: all 0.2s ease;
}

.pricing-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
  border: 2px solid var(--primary-500);
  box-shadow: 0 0 0 1px var(--primary-500);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-600);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 9999px;
  white-space: nowrap;
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--gray-900);
}

.plan-desc {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.plan-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--gray-900);
}

.plan-price .unit {
  font-size: 16px;
  color: var(--gray-400);
  font-weight: 400;
}

.plan-period {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.plan-features li {
  padding: 10px 0;
  font-size: 13px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}

.plan-features .feat-icon {
  color: var(--primary-600);
  margin-right: 8px;
  font-weight: 700;
}


/* ==========================================
   Blog Grid
   ========================================== */

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


/* ==========================================
   Animations & Utilities
   ========================================== */

.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* Gap helpers */
.gap-4  { gap: 4px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}


/* ==========================================
   Responsive — 1024px
   ========================================== */

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

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

  .product-hero-grid {
    grid-template-columns: 1fr;
  }

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

  .hero h1,
  .hero-title {
    font-size: 40px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pain-layout {
    grid-template-columns: 1fr;
  }

  .pain-copy {
    min-height: 0;
  }

  .solution-layout {
    grid-template-columns: 1fr;
  }

  .solution-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 24px 30px;
    align-items: start;
  }

  .solution-intro .section-label,
  .solution-intro .section-title,
  .solution-intro .section-desc,
  .solution-cta {
    grid-column: 1;
  }

  .solution-flow {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin: 0;
  }
}

/* ==========================================
   Responsive — 768px
   ========================================== */

@media (max-width: 768px) {
  .hero h1,
  .hero-title {
    font-size: 32px;
  }

  .hero-sub,
  .hero p {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .section {
    padding: 60px 16px;
  }

  .section-lg {
    padding: 80px 16px;
  }

  .section-sm {
    padding: 40px 16px;
  }

  .hero {
    padding: 48px 16px 36px;
  }

  .hero-inner {
    gap: 28px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-title,
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .workspace-body {
    padding: 14px;
  }

  .workspace-preview {
    max-height: none;
  }

  .workspace-topbar {
    min-height: 40px;
  }

  .reply-panel,
  .insight-row {
    display: none;
  }

  .hero-product {
    padding: 50px 16px;
  }
  .hero-stats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .trust-strip {
    padding: 16px;
    overflow: hidden;
  }

  .hero-stats::-webkit-scrollbar {
    display: none;
  }

  .hero-stats .stat-item {
    flex: 0 0 118px;
    min-width: 0;
    padding: 12px 8px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: #fff;
  }

  .hero-stats .stat-num {
    font-size: 22px;
  }

  .hero-stats .stat-label {
    font-size: 12px;
  }


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

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-auto {
    grid-template-columns: 1fr;
  }

  .pain-copy {
    padding: 24px;
  }

  .pain-copy .section-title {
    font-size: 28px;
  }

  .pain-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pain-card {
    min-height: 0;
    padding: 22px;
  }

  .solution-intro {
    display: block;
    padding: 24px;
  }

  .solution-intro .section-title {
    font-size: 28px;
  }

  .solution-flow {
    margin: 22px 0;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .solution-card {
    min-height: 0;
    padding: 22px;
  }

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

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

  /* 桌面导航隐藏，汉堡按钮显示 */
  .site-header .header-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-stats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-text {
    order: 1;
  }

  .product-hero-media {
    order: 0;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section-desc {
    font-size: 16px;
  }

  .product-hero-text .hero-h1 {
    font-size: 28px;
  }
}

/* ==========================================
   Responsive — 480px
   ========================================== */

@media (max-width: 480px) {
  .hero h1,
  .hero-title {
    font-size: 28px;
  }

  .section {
    padding: 40px 12px;
  }

  .section-lg {
    padding: 60px 12px;
  }

  .hero {
    padding: 36px 12px 30px;
  }

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

  .workspace-preview {
    border-radius: var(--radius-lg);
    max-height: none;
  }

  .mobile-menu {
    width: min(320px, 86vw);
  }

  .pricing-card {
    padding: 24px;
  }

  .plan-price {
    font-size: 32px;
  }
}

/* ==========================================
   Mobile Menu Styles (moved from inline)
   ========================================== */
.mobile-menu .nav-trigger {
  position: relative;
}

.mobile-menu .nav-dropdown {
  position: static;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 0;
  min-width: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  background: var(--gray-50);
}

.mobile-menu .mobile-nav-dropdown {
  display: none;
}

.mobile-menu .mobile-nav-dropdown.open {
  display: block;
}

.mobile-menu .mobile-nav-dropdown .nav-item {
  padding-left: 28px;
  font-size: 15px;
  background: transparent;
}

.mobile-menu .nav-item.cta-btn {
  background: var(--primary-600);
  color: #fff;
  text-align: center;
  margin: 12px 16px;
  border-radius: 8px;
}
.mobile-menu-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-700);
}

.mobile-menu-header button {
  margin-left: auto;
  font-size: 18px;
}
