/* ============================================
   优焙云 · 一站式烘焙店智能管理软件
   主样式表
   ============================================ */

/* -------- 设计令牌 -------- */
:root {
  --brand-1: #F5A623;
  --brand-2: #E67E22;
  --brand-3: #C2410C;
  --choco:   #6B4423;
  --choco-2: #8B5E3C;
  --cream:   #FFF8EE;
  --cream-2: #FFFBF4;
  --bg:      #FFFFFF;
  --bg-soft: #FAF7F1;
  --ink:     #1F2937;
  --ink-2:   #374151;
  --ink-3:   #6B7280;
  --line:    #EAE3D2;
  --line-2:  #F1E9D6;

  --c-green: #16A34A;
  --c-green-soft: #ECFDF5;
  --c-blue:  #2563EB;
  --c-blue-soft: #EFF6FF;
  --c-pink:  #DB2777;
  --c-pink-soft: #FDF2F8;
  --c-purple:#7C3AED;
  --c-purple-soft:#F5F3FF;
  --c-cyan:  #0891B2;
  --c-cyan-soft: #ECFEFF;

  --shadow-sm: 0 4px 16px rgba(230, 126, 34, .08);
  --shadow:    0 10px 30px rgba(230, 126, 34, .10);
  --shadow-lg: 0 24px 60px rgba(230, 126, 34, .14);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --maxw: 1200px;
}

/* -------- Reset & Base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5 { margin: 0; font-weight: 700; line-height: 1.3; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* -------- 通用按钮 -------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-sm  { padding: 8px 16px; font-size: 13px; }
.btn-lg  { padding: 16px 30px; font-size: 15px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 22px rgba(245,166,35,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(245,166,35,.45); }
.btn-ghost {
  background: transparent;
  color: var(--choco);
  border: 1.5px solid var(--choco);
}
.btn-ghost:hover { background: var(--choco); color: #fff; }
.btn-ghost-light {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.btn-ghost-light:hover { background: #fff; color: var(--choco); border-color: #fff; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* -------- 顶部导航 -------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all .25s ease;
}
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.brand-mark { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 20px; color: var(--choco); letter-spacing: 1px; }
.brand-text em { font-size: 11px; color: var(--ink-3); font-style: normal; font-weight: 500; }

.main-nav {
  display: flex; gap: 28px; align-items: center;
}
.main-nav a {
  position: relative;
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand-2); }
.main-nav a::after {
  content: "";
  position: absolute; left: 50%; bottom: -8px;
  width: 0; height: 2px;
  background: var(--brand-2);
  transition: all .25s ease;
  transform: translateX(-50%);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 22px; }

/* ===== 下拉子菜单 ===== */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.caret {
  display: inline-block; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.has-dropdown.open .caret { transform: translateY(0) rotate(225deg); }
.dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(2px);
  min-width: 150px; padding: 8px 0;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  display: none; flex-direction: column;
}
.has-dropdown.open .dropdown {
  display: flex;
}
.dropdown a {
  padding: 10px 20px; font-size: 14px; font-weight: 500;
  color: var(--ink-2); white-space: nowrap;
}
.main-nav .dropdown a::after { display: none; }
.dropdown a:hover { color: var(--brand-2); background: rgba(245,166,35,.08); }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.phone-mini {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--choco); font-weight: 600; font-size: 14px;
}
.hamburger { display: none; }

/* -------- HERO -------- */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 60px;
  background:
    radial-gradient(1200px 500px at 80% -10%, #FFE5BC 0%, transparent 60%),
    radial-gradient(900px 500px at 0% 100%, #FFEBC8 0%, transparent 55%),
    linear-gradient(180deg, #FFFCF5 0%, #FFFFFF 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob-a { width: 420px; height: 420px; background: #FFD9A0; top: -120px; right: -120px; }
.blob-b { width: 360px; height: 360px; background: #FFC987; top: 220px; right: 240px; }
.blob-c { width: 300px; height: 300px; background: #FDE6C7; bottom: -100px; left: -80px; }

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 50px; align-items: center;
}
.hero-copy { max-width: 580px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(245,166,35,.12); color: var(--brand-3);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(245,166,35,.2);
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -1px;
  color: var(--choco);
  margin-bottom: 18px;
  white-space: nowrap;
}
.hero h1 .hl { color: var(--brand-2); }
.hero .lead {
  font-size: 16px; color: var(--ink-2);
  max-width: 560px; margin-bottom: 30px;
}
.hero .lead strong { color: var(--brand-3); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 13px; }

/* Hero Visual */
.hero-visual {
  position: relative; height: 480px;
}
.hv-orb {
  position: absolute; right: -20px; top: 50%;
  width: 380px; height: 380px;
  background: linear-gradient(135deg, #FFC987, #F5A623);
  border-radius: 50%;
  transform: translateY(-50%);
  filter: blur(2px);
  opacity: .35;
}
.hv-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hv-card-1 {
  top: 40px; left: 30px; width: 280px;
  border: 1px solid #FFE5BC;
}
.hv-title { font-size: 13px; font-weight: 700; color: var(--choco); margin-bottom: 10px; }
.hv-line { display: flex; gap: 6px; margin-bottom: 12px; }
.hv-line span { flex: 1; height: 8px; background: #FFE5BC; border-radius: 4px; }
.hv-line span:nth-child(2) { background: #FFC987; }
.hv-line span:nth-child(3) { background: var(--brand-1); width: 50%; }
.hv-pill {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 999px;
  background: linear-gradient(135deg, #F5A623, #E67E22);
  color: #fff; font-weight: 700; font-size: 16px;
}
.hv-card-2 {
  top: 200px; right: 20px; width: 240px;
  animation-delay: 1.2s;
}
.hv-bar { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin-bottom: 8px; }
.hv-bar i {
  flex: 1; background: linear-gradient(180deg, #34D399, #16A34A);
  border-radius: 4px 4px 0 0;
  animation: bar 2s ease-in-out infinite;
}
.hv-bar i:nth-child(2) { animation-delay: .2s; }
.hv-bar i:nth-child(3) { animation-delay: .4s; }
.hv-bar i:nth-child(4) { animation-delay: .6s; }
.hv-bar i:nth-child(5) { animation-delay: .8s; }
.hv-bar i:nth-child(6) { animation-delay: 1s; }
.hv-mini { font-size: 11px; color: var(--ink-3); text-align: center; font-weight: 500; }
.hv-card-3 {
  bottom: 30px; left: 100px; width: 200px;
  animation-delay: 2.4s;
  text-align: center;
}
.hv-cake { display: flex; justify-content: center; margin-bottom: 8px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes bar {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.15); }
}

/* 数据大字 */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid #FFE5BC;
}
.stat { text-align: center; }
.stat b {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat span { font-size: 20px; color: var(--brand-3); font-weight: 700; margin-left: 4px; }
.stat em { display: block; font-style: normal; font-size: 13px; color: var(--ink-3); margin-top: 8px; }

/* -------- 定位标语 -------- */
.positioning {
  background: linear-gradient(135deg, var(--choco), #4A2C16);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.pos-title {
  font-size: clamp(20px, 2.5vw, 28px); font-weight: 700;
  margin-bottom: 14px;
}
.pos-tags {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 12px;
}
.pos-tags li {
  padding: 6px 16px;
  background: rgba(245,166,35,.18);
  border: 1px solid rgba(245,166,35,.4);
  border-radius: 999px;
  font-size: 14px; color: #FFD9A0;
}
.pos-sub { font-size: 14px; color: #FFE5BC; opacity: .9; }

/* -------- 通用 section 头 -------- */
.sec-head { margin-bottom: 50px; }
.sec-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.sec-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(245,166,35,.12); color: var(--brand-3);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 14px;
}
.sec-tag.tag-green { background: var(--c-green-soft); color: var(--c-green); }
.sec-tag.tag-blue  { background: var(--c-blue-soft); color: var(--c-blue); }
.sec-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--choco);
  letter-spacing: -.5px;
}
.grad-text {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-desc {
  margin-top: 16px;
  color: var(--ink-3); font-size: 15px;
}
.sec-head.center .sec-desc { max-width: 640px; margin-left: auto; margin-right: auto; }

.sec-foot-cta {
  margin-top: 40px; text-align: center;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--choco), #4A2C16);
  color: #fff;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
}
.sec-foot-cta.sec-foot-green { background: linear-gradient(135deg, var(--c-green), #15803D); }
.sec-foot-cta.sec-foot-blue  { background: linear-gradient(135deg, var(--c-blue), #1E40AF); }

/* -------- 关于 / 三卡 -------- */
.about-brand { padding: 100px 0 60px; background: var(--cream-2); }
.tri-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 50px;
}
.tri-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.tri-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: linear-gradient(180deg, var(--brand-1), var(--brand-2));
  border-radius: 4px 0 0 4px;
  transform: scaleY(0); transform-origin: top;
  transition: transform .4s ease;
}
.tri-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #FFD9A0; }
.tri-card:hover::before { transform: scaleY(1); }
.tri-num {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245,166,35,.12); color: var(--brand-3);
  border-radius: 6px;
  font-size: 12px; font-weight: 700;
  margin-bottom: 14px;
}
.tri-card h3 { font-size: 20px; color: var(--choco); margin-bottom: 12px; }
.tri-card p { color: var(--ink-3); font-size: 14px; line-height: 1.7; }

/* -------- 平台能力 / 产品矩阵 -------- */
.capability { padding: 100px 0; background: #fff; }
.cap-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  margin-top: 50px;
}
.cap-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid transparent;
  transition: all .3s ease;
}
.cap-card:hover { border-color: #FFE5BC; background: #fff; box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.cap-ico {
  width: 56px; height: 56px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.cap-card h4 { font-size: 16px; color: var(--choco); margin-bottom: 8px; }
.cap-card p { font-size: 13px; color: var(--ink-3); line-height: 1.6; }

.matrix {
  margin-top: 80px; padding-top: 60px;
  border-top: 1px dashed var(--line);
}
.matrix h3 {
  text-align: center; font-size: 26px; color: var(--choco);
  margin-bottom: 8px;
}
.matrix-sub { text-align: center; color: var(--ink-3); font-size: 14px; margin-bottom: 40px; }
.matrix-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.mx-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: all .3s ease;
}
.mx-card:hover { border-color: var(--brand-1); transform: translateY(-4px); box-shadow: var(--shadow); }
.mx-num {
  position: absolute; top: 14px; right: 18px;
  font-size: 30px; font-weight: 800;
  color: rgba(245,166,35,.25);
}
.mx-card h4 { font-size: 17px; color: var(--choco); margin-bottom: 8px; }
.mx-card p { font-size: 13px; color: var(--ink-3); line-height: 1.6; }

/* -------- 门店管理 / 营销 / ERP 通用样式 -------- */
.store, .marketing, .erp {
  padding: 100px 0;
}
.store { background: linear-gradient(180deg, var(--cream-2) 0%, #fff 100%); }
.marketing { background: linear-gradient(180deg, var(--c-green-soft) 0%, #fff 100%); }
.erp { background: linear-gradient(180deg, var(--c-blue-soft) 0%, #fff 100%); }

/* 角色功能轮 */
.role-wheel {
  position: relative;
  width: 580px; height: 580px;
  margin: 40px auto 70px;
}
.rw-center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 200px;
  background: linear-gradient(135deg, #FFF1DC, #FFE5BC);
  border: 2px solid #F5A623;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 12px 40px rgba(245,166,35,.25);
}
.rw-center span { font-size: 18px; font-weight: 700; color: var(--choco); }
.rw-center em { font-style: normal; font-size: 13px; color: var(--brand-3); margin-top: 6px; }

.rw-item {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(-260px) rotate(calc(-1 * var(--a)));
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px;
  width: 320px;
  box-shadow: var(--shadow-sm);
  font-size: 12px; line-height: 1.5;
  transition: all .25s ease;
}
.rw-item:hover { transform: translate(-50%, -50%) rotate(var(--a)) translateY(-260px) rotate(calc(-1 * var(--a))) scale(1.05); box-shadow: var(--shadow); }
.rw-item .rw-ico {
  width: 40px; height: 40px;
  background: var(--bg-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rw-item b { color: var(--brand-3); }
.rw-item div { color: var(--ink-2); }

/* 痛点 */
.problems { margin-top: 30px; }
.prob-row {
  display: grid; grid-template-columns: 110px 1fr 280px; gap: 24px;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  transition: all .3s ease;
}
.prob-row:hover { box-shadow: var(--shadow); }
.prob-num {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 700;
  letter-spacing: .5px;
}
.problems-marketing .prob-num { background: linear-gradient(135deg, #34D399, var(--c-green)); }
.problems-erp .prob-num { background: linear-gradient(135deg, #60A5FA, var(--c-blue)); }
.prob-body h4 { font-size: 18px; color: var(--choco); margin-bottom: 12px; }
.prob-list { margin-bottom: 14px; }
.prob-list li {
  position: relative; padding-left: 18px;
  font-size: 14px; color: var(--ink-2);
  margin-bottom: 4px;
}
.prob-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-2);
}
.prob-list .hl { color: var(--c-green) !important; font-weight: 600; }
.prob-list .hl::before { background: var(--c-green) !important; }
.problems-marketing .prob-list li::before { background: var(--c-green); }

.prob-effect {
  margin-top: 12px; padding: 12px 16px;
  background: linear-gradient(135deg, #FFF8EE, #FFE5BC);
  border-left: 3px solid var(--brand-2);
  border-radius: 8px;
  color: var(--choco);
  font-size: 14px; font-weight: 500;
}
.problems-marketing .prob-effect {
  background: linear-gradient(135deg, var(--c-green-soft), #D1FAE5);
  border-left-color: var(--c-green);
  color: #064E3B;
}
.problems-erp .prob-effect {
  background: linear-gradient(135deg, var(--c-blue-soft), #DBEAFE);
  border-left-color: var(--c-blue);
  color: #1E3A8A;
}
.prob-sol {
  padding: 14px 16px; background: var(--bg-soft);
  border-radius: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.7;
}
.prob-sol b { color: var(--c-blue); }

.typical {
  margin-top: 10px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
}
.typical b { color: var(--c-green); font-size: 14px; display: block; margin-bottom: 6px; }
.typical ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 16px; }
.typical li { font-size: 13px; color: var(--ink-2); }
.typical li span { color: var(--brand-3); font-weight: 600; margin-right: 6px; }

.prob-icons { display: flex; gap: 12px; align-items: center; justify-content: center; }
.pi-card {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px;
  background: var(--bg-soft);
  border-radius: 12px;
  font-size: 12px; font-weight: 500; color: var(--ink-2);
  transition: all .25s ease;
}
.pi-card:hover { background: #FFE5BC; color: var(--brand-3); }
.pi-img {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 10px;
  background: var(--bg-soft);
  border-radius: 12px;
}
.pi-img span { font-size: 12px; color: var(--ink-3); font-weight: 500; }

/* -------- 营销流程条 + 4 渠道 -------- */
.flow-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.fs-step {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--c-green), #15803D);
  color: #fff;
  font-weight: 600; font-size: 15px;
  border-radius: 999px;
  position: relative;
}
.fs-arrow {
  padding: 0 12px; color: var(--c-green); font-size: 20px; font-weight: 700;
}

.channel-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-bottom: 60px;
}
.ch-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  transition: all .3s ease;
}
.ch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ch-card h4 { font-size: 16px; margin-bottom: 12px; }
.ch-card.ch-blue h4   { color: var(--c-blue); }
.ch-card.ch-green h4  { color: var(--c-green); }
.ch-card.ch-pink h4   { color: var(--c-pink); }
.ch-card.ch-orange h4 { color: var(--brand-2); }
.ch-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ch-tags span {
  padding: 4px 10px;
  background: var(--bg-soft);
  border-radius: 6px;
  font-size: 12px; color: var(--ink-2);
}
.ch-card.ch-blue .ch-tags span { background: var(--c-blue-soft); color: var(--c-blue); }
.ch-card.ch-green .ch-tags span { background: var(--c-green-soft); color: var(--c-green); }
.ch-card.ch-pink .ch-tags span { background: var(--c-pink-soft); color: var(--c-pink); }
.ch-card.ch-orange .ch-tags span { background: #FFF1DC; color: var(--brand-3); }

/* AI 私域 6 模块 */
.sub-h3 {
  font-size: 24px; color: var(--c-green);
  text-align: center;
  margin-top: 80px; margin-bottom: 6px;
}
.sub-desc {
  text-align: center; color: var(--ink-3); font-size: 14px;
  margin-bottom: 36px;
}
.ai-flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.af-card {
  background: #fff;
  border: 1px solid #D1FAE5;
  border-radius: var(--radius);
  padding: 22px;
  transition: all .3s ease;
}
.af-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.af-card h4 {
  display: inline-block;
  padding: 5px 14px;
  background: var(--c-green-soft);
  color: var(--c-green);
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 12px;
}
.af-card ul li {
  position: relative; padding-left: 16px;
  font-size: 13px; color: var(--ink-2);
  margin-bottom: 4px;
}
.af-card ul li::before {
  content: "›"; position: absolute; left: 2px; top: 0;
  color: var(--c-green); font-weight: 700;
}
.af-card ul li.hl {
  color: var(--c-green); font-weight: 600;
}

/* -------- ERP 角色 + 流程图 -------- */
.erp-roles {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin-bottom: 60px;
}
.erp-r {
  background: #fff;
  border: 1px solid #DBEAFE;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  transition: all .25s ease;
}
.erp-r:hover { background: var(--c-blue-soft); transform: translateY(-3px); }
.erp-r h5 {
  display: inline-block;
  padding: 4px 12px;
  background: var(--c-blue-soft);
  color: var(--c-blue);
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 10px;
}
.erp-r p { font-size: 12px; color: var(--ink-3); line-height: 1.6; }

.flow-wrap {
  margin-top: 50px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  border: 1px solid #DBEAFE;
  overflow-x: auto;
}
.flow-title {
  text-align: center; font-size: 20px; color: var(--c-blue);
  margin-bottom: 28px;
}
.flow-line {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; min-width: max-content;
  margin-bottom: 14px;
}
.flow-line.flow-sub { margin-top: 14px; padding-left: 100px; }
.fl-sub { font-size: 20px; color: var(--c-cyan); font-weight: 700; padding: 0 8px; }
.fl-node {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px; font-weight: 600; color: #fff;
  white-space: nowrap;
}
.fl-node.n-blue   { background: linear-gradient(135deg, #60A5FA, var(--c-blue)); }
.fl-node.n-orange { background: linear-gradient(135deg, #FBBF24, var(--brand-2)); }
.fl-node.n-green  { background: linear-gradient(135deg, #34D399, var(--c-green)); }
.fl-node.n-purple { background: linear-gradient(135deg, #A78BFA, var(--c-purple)); }
.fl-node.n-cyan   { background: linear-gradient(135deg, #22D3EE, var(--c-cyan)); }
.fl-arrow { color: var(--c-blue); font-weight: 700; font-size: 16px; padding: 0 4px; }

/* -------- 核心优势 -------- */
.advantage { padding: 100px 0; background: var(--cream-2); }
.adv-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.adv-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all .3s ease;
}
.adv-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: #FFD9A0; }
.adv-num {
  position: absolute; top: 18px; right: 24px;
  font-size: 50px; font-weight: 800;
  background: linear-gradient(135deg, #FFE5BC, #FFC987);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.adv-card h4 {
  font-size: 20px; color: var(--choco);
  margin-bottom: 14px; padding-right: 70px;
}
.adv-card p { color: var(--ink-3); font-size: 14px; line-height: 1.7; }
.adv-visual {
  margin-top: 18px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.adv-tag {
  padding: 6px 12px;
  background: #FFF1DC; color: var(--brand-3);
  border-radius: 6px;
  font-size: 12px; font-weight: 500;
}

/* -------- 8 大痛点 -------- */
.pain { padding: 100px 0; background: #fff; }
.pain-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 40px;
}
.pain-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: all .3s ease;
}
.pain-card:hover { background: #fff; border-color: var(--brand-1); box-shadow: var(--shadow); transform: translateY(-4px); }
.pain-card span {
  display: block;
  font-size: 24px; font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 8px;
}
.pain-card h5 { font-size: 15px; color: var(--choco); line-height: 1.5; }
.pain-foot {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, var(--choco), #4A2C16);
  color: #FFD9A0;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
}

/* -------- 客户案例 -------- */
.cases { padding: 100px 0; background: var(--cream-2); }
.case-tier { margin-bottom: 50px; }
.case-tier h3 {
  display: inline-block;
  margin: 0 auto 24px;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  position: relative; left: 50%; transform: translateX(-50%);
}
.case-logos {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px;
}
.case-3 { grid-template-columns: repeat(6, 1fr); }
.case-4 { grid-template-columns: repeat(8, 1fr); }
.logo-tile {
  aspect-ratio: 16/9;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: 13px; font-weight: 600;
  color: var(--c, var(--choco));
  padding: 6px;
  transition: all .25s ease;
}
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--c); }
.cases-foot {
  margin-top: 30px; padding: 18px 24px; text-align: center;
  background: #fff; border: 1px dashed var(--brand-1);
  border-radius: var(--radius);
  color: var(--choco); font-weight: 500;
}

/* -------- 荣誉 -------- */
.honor { padding: 80px 0; background: #fff; }
.honor-grid {
  display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; gap: 16px;
  align-items: stretch;
}
.honor-card {
  background: linear-gradient(135deg, var(--bg-soft), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.honor-card h3 {
  font-size: clamp(36px, 4vw, 48px);
  background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 6px;
}
.honor-card p { color: var(--ink-3); font-size: 14px; }

.soft-cert {
  display: flex; align-items: center; gap: 16px;
  text-align: left;
  background: linear-gradient(135deg, #FFF8EE, #FFE5BC);
  border-color: #FFD9A0;
}
.soft-cert .cert-ico { flex-shrink: 0; }
.soft-cert b { display: block; color: var(--choco); font-size: 16px; }
.soft-cert p { color: var(--ink-3); font-size: 13px; margin-top: 4px; }

/* -------- 新闻动态 -------- */
.news { padding: 100px 0; background: var(--cream-2); }
.news-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: all .3s ease;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: #FFD9A0; }
.news-date {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245,166,35,.12); color: var(--brand-3);
  border-radius: 6px;
  font-size: 12px; font-weight: 600;
  margin-bottom: 14px;
}
.news-card h4 { font-size: 16px; color: var(--choco); margin-bottom: 10px; line-height: 1.5; }
.news-card p { font-size: 13px; color: var(--ink-3); line-height: 1.6; }

/* -------- CTA 转化 -------- */
.cta-final {
  padding: 100px 0;
  background:
    radial-gradient(800px 400px at 80% 0%, #4A2C16 0%, transparent 60%),
    linear-gradient(135deg, var(--choco), #2D1B0F);
  color: #fff;
}
.cta-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px;
  align-items: center;
}
.cta-final .sec-tag { background: rgba(245,166,35,.2); color: #FFC987; }
.cta-final h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 14px; color: #fff; }
.cta-final > .container > div > p { color: #FFE5BC; margin-bottom: 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.contact-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.cc-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cc-row:last-child { border-bottom: 0; }
.cc-ico {
  width: 40px; height: 40px;
  background: rgba(245,166,35,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cc-row b {
  display: block; font-size: 13px; color: var(--ink-3);
  margin-bottom: 4px; font-weight: 500;
}
.cc-row a, .cc-row span {
  font-size: 15px; color: var(--choco); font-weight: 600;
  word-break: break-all;
}
.cc-row a:hover { color: var(--brand-2); }

/* -------- 页脚 -------- */
.footer {
  background: #1A1108;
  color: #C0AC8E;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 50px;
}
.footer .brand-text strong { color: #fff; }
.footer .brand-text em { color: #C0AC8E; }
.f-tag { margin-top: 20px; font-size: 13px; line-height: 1.7; }
.f-qrs { display: flex; gap: 14px; margin-top: 24px; }
.qr-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.qr-img {
  width: 78px; height: 78px;
  background:
    repeating-conic-gradient(#1A1108 0% 25%, #fff 0% 50%) 50% / 12px 12px;
  border: 6px solid #fff;
  border-radius: 6px;
  position: relative;
}
.qr-img::before, .qr-img::after {
  content: ""; position: absolute;
  width: 18px; height: 18px;
  background: #fff;
  border: 4px solid #1A1108;
}
.qr-img::before { top: -4px; left: -4px; }
.qr-img::after { top: -4px; right: -4px; box-shadow:
    18px 0 #fff, 18px 0 0 -4px #1A1108 inset,
    0 18px #fff, 0 18px 0 -4px #1A1108 inset,
    18px 18px #fff, 18px 18px 0 -4px #1A1108 inset;
}
.qr-item span { font-size: 11px; color: #C0AC8E; }
.qr-photo {
  width: 78px; height: 78px;
  border: 6px solid #fff;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
  display: block;
  box-sizing: border-box;
}

.f-col h5 {
  font-size: 14px; color: #fff;
  margin-bottom: 18px;
  font-weight: 600;
}
.f-col a, .f-col p {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  color: #C0AC8E;
  transition: color .2s;
}
.f-col a:hover { color: #FFC987; }

.footer-bottom {
  border-top: 1px solid #2D2014;
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #8B7762;
}

/* -------- 响应式 -------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 380px; }
  .tri-cards { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
  .matrix-grid { grid-template-columns: repeat(3, 1fr); }
  .ai-flow { grid-template-columns: repeat(2, 1fr); }
  .erp-roles { grid-template-columns: repeat(3, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .case-logos, .case-3, .case-4 { grid-template-columns: repeat(4, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .prob-row { grid-template-columns: 1fr; gap: 16px; }
  .prob-icons { justify-content: flex-start; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .role-wheel { width: 460px; height: 460px; }
  .rw-item { width: 280px; }
  .role-wheel { transform: scale(.85); }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .nav-row { height: 64px; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: 64px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-100%);
    transition: transform .3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 8px 12px; }
  .phone-mini { display: none; }
  .hamburger {
    display: flex; flex-direction: column; gap: 4px;
    width: 32px; height: 32px;
    align-items: center; justify-content: center;
  }
  .hamburger span {
    width: 20px; height: 2px;
    background: var(--choco);
    transition: all .3s ease;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero { padding: 50px 0 40px; }
  .hero-visual { height: 320px; }
  .hv-card-1 { width: 220px; left: 10px; top: 20px; }
  .hv-card-2 { width: 200px; right: 10px; top: 140px; }
  .hv-card-3 { width: 170px; left: 30%; bottom: 0; }
  .hv-orb { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px; }

  .tri-cards, .cap-grid, .matrix-grid, .ai-flow, .erp-roles,
  .adv-grid, .pain-grid, .case-logos, .case-3, .case-4,
  .news-grid, .footer-grid, .channel-grid, .honor-grid {
    grid-template-columns: 1fr;
  }
  .role-wheel { width: 320px; height: 320px; transform: scale(.7); }
  .flow-line.flow-sub { padding-left: 0; }
  .footer-bottom .container { flex-direction: column; gap: 6px; }
  section { padding: 70px 0 !important; }
  .sec-foot-cta { padding: 16px 20px; font-size: 14px; }
  .adv-num { font-size: 36px; }
}

/* -------- 滚动揭示动画 -------- */
.reveal { opacity: 0; transform: translateY(20px); transition: all .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== 移动端下拉子菜单（竖排内联展开） ===== */
@media (max-width: 768px) {
  .has-dropdown { flex-direction: column; align-items: stretch; }
  .has-dropdown > a { justify-content: flex-start; }
  .caret { margin-left: auto; }
  .dropdown {
    position: static; transform: none; min-width: 0; padding: 0;
    background: transparent; border: none; border-left: 2px solid var(--brand-2);
    border-radius: 0; box-shadow: none;
    display: none;
  }
  .has-dropdown.open .dropdown { display: flex; padding: 4px 0 8px; }
  .dropdown a { padding: 8px 14px; }
  .dropdown a:hover { background: rgba(245,166,35,.08); }
}

/* ===== 首页滚动横幅轮播（取自 jiaoji.online） ===== */
.banner-carousel { padding: 26px 0 6px; }
.bc-stage {
  position: relative;
  border-radius: 0; /* 通栏铺满，去掉圆角 */
  overflow: hidden;
  background: linear-gradient(135deg, #FFF7EC, #FDEBD6);
  box-shadow: none;
}
.bc-track {
  display: flex;
  height: clamp(300px, 40vw, 560px); /* 通栏全宽，高度略增高更舒展 */
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.bc-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}
.bc-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 横向铺满整个舞台，宽度与下方页面内容一致，消除两侧留白 */
}
.bc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  color: var(--brand-3);
  font-size: 26px; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  transition: background .2s, transform .2s;
  opacity: 0;
}
.bc-stage:hover .bc-arrow { opacity: 1; }
.bc-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.bc-prev { left: 16px; }
.bc-next { right: 16px; }
.bc-dots {
  position: absolute;
  left: 0; right: 0; bottom: 16px;
  display: flex; justify-content: center; gap: 10px;
  pointer-events: none;
}
.bc-dots .bc-dot { pointer-events: auto; }
.bc-dot {
  width: 10px; height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  cursor: pointer;
  transition: width .3s, background .3s;
}
.bc-dot.active { width: 26px; background: var(--brand-2); }

@media (max-width: 768px) {
  .bc-arrow { width: 36px; height: 36px; font-size: 22px; opacity: 1; }
  .bc-prev { left: 8px; }
  .bc-next { right: 8px; }
  .bc-dots { bottom: 10px; }
}