/* ============================================================
   映策 YingCe · 品牌宣传站 — 暖调编辑风视觉系统
   颜色 / 字体 / 布局 / 组件 / 响应式
   ============================================================ */

/* ---------- 字体 ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=Noto+Serif+SC:wght@500;700;900&display=swap');

:root {
  /* 品牌色板 */
  --paper:      #FAF6EF;  /* 奶油纸底 */
  --paper-2:    #F4EEE3;  /* 略深纸底（分区） */
  --ink:        #211C16;  /* 暖墨（正文/标题） */
  --ink-soft:   #4A4239;  /* 次级文字 */
  --muted:      #918676;  /* 辅助/副文字 */
  --orange:     #D9622B;  /* 信号暖橘（主强调） */
  --orange-deep:#B84E1F;
  --gold:       #E0A23C;  /* 暖金（次强调） */
  --charcoal:   #1E1A15;  /* 暖炭深底 */
  --line:       #EAE3D9;  /* 分隔线 */
  --line-soft:  #F0EADA;
  --chip:       #F5F0EB;  /* 浅暖底（标签） */
  --chip-orange:#F6E4D7;  /* 橘调浅底（标签） */
  --white:      #FFFFFF;

  /* 字体 */
  --font-sans: "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif:"Noto Serif SC", Georgia, "Songti SC", serif;

  /* 尺度 */
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 48px rgba(33,28,22,.10);
  --shadow-sm: 0 6px 20px rgba(33,28,22,.07);
  --gap: 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; font-family: var(--font-serif); font-weight: 700; line-height: 1.25; letter-spacing: .01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

/* ---------- 布局 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--paper2 { background: var(--paper-2); }
.section--charcoal { background: var(--charcoal); color: #F3EDE3; }

/* ---------- 排版工具 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--orange); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.section__title { font-size: clamp(26px, 3.4vw, 40px); margin: 16px 0 14px; color: var(--ink); }
.section--charcoal .section__title { color: #F3EDE3; }
.section__lead { font-size: 17px; color: var(--ink-soft); max-width: 720px; }
.section--charcoal .section__lead { color: #C9BFB0; }
.center { text-align: center; }
.center .section__lead { margin-left: auto; margin-right: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 700;
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(217,98,43,.30); }
.btn--primary:hover { background: var(--orange-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--light { background: #fff; color: var(--ink); }
.btn--ghost-light { background: transparent; color: #F3EDE3; border-color: rgba(255,255,255,.25); }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,239,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 20px; color: var(--ink); }
.brand__name small { font-family: var(--font-sans); font-weight: 500; font-size: 12px; color: var(--muted); display: block; letter-spacing: .12em; margin-top: -2px; }
.nav { margin-left: auto; display: flex; gap: 28px; align-items: center; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .15s; }
.nav a:hover, .nav a.is-active { color: var(--orange); }
.nav__cta { margin-left: 8px; padding: 9px 20px; font-size: 14px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; font-size: 20px; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #C9BFB0; padding: 64px 0 32px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #F3EDE3; font-size: 15px; margin-bottom: 16px; font-family: var(--font-sans); font-weight: 700; }
.site-footer a { display: block; color: #B7AC9C; font-size: 14px; margin-bottom: 10px; transition: color .15s; }
.site-footer a:hover { color: var(--gold); }
.footer-brand img { width: 52px; border-radius: 12px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #8C8273; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 84px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.18; }
.hero__title em { color: var(--orange); font-style: normal; }
.hero__desc { font-size: 18px; color: var(--ink-soft); margin: 22px 0 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--chip-orange); color: var(--orange-deep); font-size: 13px; font-weight: 500; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* Hero 右栏：品牌 + 产品预览卡 */
.hero__brand { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.hero__brand img { width: 76px; height: 76px; border-radius: 18px; box-shadow: var(--shadow); }
.hero__brand-text .zh { font-family: var(--font-serif); font-weight: 900; font-size: 52px; color: var(--ink); line-height: 1; }
.hero__brand-text .en { font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--orange); margin-top: 4px; }
.hero__brand-text .tag { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* 产品预览卡（映策·提案工作台） */
.mock { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: var(--charcoal); }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; }
.mock__dot--o { background: var(--orange); }
.mock__dot--g { background: var(--gold); }
.mock__dot--m { background: #8C8273; }
.mock__title { margin-left: 8px; color: #EDE6DA; font-size: 14px; font-weight: 500; }
.mock__body { padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--paper); }
.mock__bubble { align-self: flex-end; max-width: 86%; background: #F1E7D8; padding: 10px 14px; border-radius: 14px; font-size: 14px; color: var(--ink); }
.mock__label { font-size: 13px; font-weight: 700; color: var(--orange); }
.mock__steps { background: #FCF9F2; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mock__step { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.mock__num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mock__num--ok { background: #5B8C5B; }
.mock__num--gold { background: var(--gold); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--chip-orange); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--ink-soft); }
.card--dark { background: var(--charcoal); border-color: transparent; color: #EDE6DA; }
.card--dark h3 { color: #F3EDE3; }
.card--dark p { color: #B7AC9C; }

/* ---------- 能力矩阵（带编号步骤） ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.flow__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.flow__num { font-family: var(--font-serif); font-size: 30px; font-weight: 900; color: var(--chip-orange); line-height: 1; }
.flow__item h3 { font-size: 18px; margin: 10px 0 6px; }
.flow__item p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 支持平台三卡 ---------- */
.platforms__sub { font-size: 16px; color: var(--ink-soft); max-width: 760px; margin: 14px 0 36px; }
.platform-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}
.platform-card__title { flex: none; font-size: 15px; font-weight: 700; color: var(--orange); margin-bottom: 18px; letter-spacing: .04em; }
/* 正文区占满剩余高度并垂直居中 —— 保证三卡标题在同一水平线对齐 */
.platform-card__body { flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: center; }
.platform-card__list { width: 100%; display: flex; flex-direction: column; gap: 10px; }
/* 网格间距：行距放大，chip 更舒展（推理大模型 6 行 / AI 平台 4 行） */
.platform-card__grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 13px; }
/* AI 平台项数少（8 项 4 行），行距再放宽，避免上下留白过大 */
.platform-card__grid--airy { column-gap: 12px; row-gap: 20px; }
.platform-card__wrap { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; }

/* 平台/模型 标签（真实产品 Logo + 名称） */
.tag-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 12px; background: var(--chip); width: 100%; }
/* 平台/模型 真实产品 Logo（官方矢量图标，统一暖墨色） */
.platform-logo { flex: none; width: 24px; height: 24px; object-fit: contain; display: block; }
.os-row .platform-logo { width: 30px; height: 30px; }
.tag-name { font-size: 13px; font-weight: 500; color: var(--ink); }
/* 卡片底部说明（填充尾部留白，与 OS 卡呼应） */
.platform-card__note { margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }

/* OS 行（三行版本罗列） */
.os-list { width: 100%; display: flex; flex-direction: column; }
.os-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.os-row:last-child { border-bottom: none; }
.os-name { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.os-ver { font-size: 12.5px; color: var(--muted); }
.os-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- 数字背书 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-serif); font-size: clamp(34px, 4vw, 52px); font-weight: 900; color: var(--gold); line-height: 1; }
.stat__label { font-size: 14px; color: #C9BFB0; margin-top: 10px; }

/* ---------- 低调定价块 ---------- */
.pricing { background: var(--paper-2); }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 820px; margin: 36px auto 0; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.price-card--pro { border-color: var(--orange); box-shadow: 0 12px 30px rgba(217,98,43,.14); }
.price-card h3 { font-size: 18px; margin-bottom: 6px; }
.price-card .amount { font-family: var(--font-serif); font-size: 34px; font-weight: 900; color: var(--ink); margin: 10px 0 4px; }
.price-card .amount span { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 16px 0 20px; text-align: left; }
.price-card li { font-size: 14px; color: var(--ink-soft); padding: 6px 0 6px 24px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.faq { max-width: 760px; margin: 48px auto 0; }
.faq__item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq__q { font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq__a { font-size: 15px; color: var(--ink-soft); margin-top: 10px; display: none; }
.faq__item.open .faq__a { display: block; }
.faq__q .plus { color: var(--orange); font-size: 20px; transition: transform .2s; }
.faq__item.open .plus { transform: rotate(45deg); }

/* ---------- CTA 收尾 ---------- */
.cta { text-align: center; }
.cta__card { background: linear-gradient(135deg, #2A2419, var(--charcoal)); border-radius: 24px; padding: 64px 32px; color: #F3EDE3; }
.cta__card h2 { font-size: clamp(26px, 3.6vw, 40px); color: #F3EDE3; margin-bottom: 14px; }
.cta__card p { color: #C9BFB0; font-size: 17px; max-width: 560px; margin: 0 auto 28px; }
.cta__card .hero__cta { justify-content: center; }

/* ---------- 子页：通用页头 ---------- */
.page-hero { padding: 64px 0 40px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.page-hero p { font-size: 18px; color: var(--ink-soft); margin-top: 14px; max-width: 760px; }

/* 方法论 / 模板条目 */
.method-group { margin-bottom: 48px; }
.method-group__title { font-size: 22px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.method-group__title .k { background: var(--chip-orange); color: var(--orange); font-family: var(--font-sans); font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 8px; }
.method-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.method-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.method-card h4 { font-family: var(--font-sans); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.method-card p { font-size: 14px; color: var(--ink-soft); }
.method-card .meta { margin-top: 12px; font-size: 12px; color: var(--muted); }

/* 案例展示 */
.case-show { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 64px; }
.case-show:nth-child(even) .case-show__media { order: 2; }
.case-show__media { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.case-show__media img { width: 100%; }
.case-show__body .tag { color: var(--orange); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.case-show__body h3 { font-size: 24px; margin: 10px 0 12px; }
.case-show__body p { font-size: 16px; color: var(--ink-soft); }
.case-show__body ul { margin: 14px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: 15px; }
.case-show__body li { margin-bottom: 6px; }

/* ---------- 上线弹窗（即将上线各大平台） ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__overlay { position: absolute; inset: 0; background: rgba(30,26,21,.55); backdrop-filter: blur(6px); }
.modal__panel { position: relative; width: 100%; max-width: 640px; background: var(--paper); border-radius: 20px; padding: 36px 32px 28px; box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: translateY(16px) scale(.98); transition: transform .25s ease; max-height: calc(100vh - 48px); overflow-y: auto; }
.modal.is-open .modal__panel { transform: translateY(0) scale(1); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--chip); color: var(--ink-soft); font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.modal__close:hover { background: var(--chip-orange); color: var(--orange); }
.modal__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--orange-deep); background: var(--chip-orange); padding: 6px 14px; border-radius: 999px; }
.modal__title { font-size: 26px; margin: 16px 0 10px; }
.modal__desc { font-size: 15px; color: var(--ink-soft); line-height: 1.8; }
.modal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.modal__foot { margin-top: 22px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .method-cards { grid-template-columns: repeat(2, 1fr); }
  .case-show { grid-template-columns: 1fr; gap: 20px; }
  .case-show:nth-child(even) .case-show__media { order: 0; }
  .platforms-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.is-open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--paper); padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 18px; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid--2, .grid--3, .grid--4, .price-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .method-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .platform-card { height: auto; }
  .hero__brand-text .zh { font-size: 42px; }
  .hero__cta .btn { flex: 1; }
  .modal { padding: 16px; }
  .modal__panel { padding: 28px 22px 22px; }
  .modal__grid { grid-template-columns: 1fr; }
}
