/* ===========================================================
   北京瑞创泽思文化科技有限公司 · 企业官网
   风格：简约大气 · 科技蓝白
   =========================================================== */

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #1e3a8a;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-deep: #0b1220;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-blue: 0 18px 40px rgba(37, 99, 235, .18);
  --maxw: 1180px;
  --font: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn--primary { background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(37, 99, 235, .28); }
.btn--ghost { background: #fff; color: var(--blue-700); border-color: var(--blue-200); }
.btn--ghost:hover { border-color: var(--blue-500); background: var(--blue-50); }
.btn--dark { background: var(--bg-deep); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; letter-spacing: .5px; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-400, #60a5fa));
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 16px;
  box-shadow: var(--shadow-blue);
}
.brand__sub { font-size: 12px; color: var(--muted); font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 15px; color: var(--ink-2); font-weight: 500; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue-600); transition: width .2s; }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--blue-700); }
.nav__toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 86px 0 72px; background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(620px 320px at 85% -10%, rgba(37, 99, 235, .14), transparent 60%),
    radial-gradient(520px 280px at 5% 10%, rgba(96, 165, 250, .12), transparent 60%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--blue-200); color: var(--blue-700); font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero__title { font-size: 46px; line-height: 1.18; font-weight: 850; letter-spacing: -.5px; margin: 0 0 18px; }
.hero__title .hl { background: linear-gradient(120deg, var(--blue-700), var(--blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: 18px; color: var(--ink-2); max-width: 540px; margin: 0 0 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 34px; margin-top: 40px; }
.hero__stats .num { font-size: 30px; font-weight: 800; color: var(--blue-700); }
.hero__stats .lab { font-size: 13px; color: var(--muted); }

/* 装饰面板 */
.hero__panel {
  position: relative; border-radius: 22px; padding: 26px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.hero__panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(37,99,235,.06), transparent 55%); }
.panel-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); position: relative; }
.panel-row:last-child { border-bottom: none; }
.panel-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); font-weight: 800; }
.panel-row h4 { margin: 0; font-size: 16px; }
.panel-row p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- 区块通用 ---------- */
.section { padding: 78px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--blue-600); text-transform: uppercase; margin-bottom: 12px; }
.section__title { font-size: 34px; font-weight: 800; letter-spacing: -.4px; margin: 0 0 14px; }
.section__lead { font-size: 17px; color: var(--muted); margin: 0; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }

.service-card .svc-ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); color: #fff; box-shadow: var(--shadow-blue);
}
.service-card h3 { font-size: 20px; margin: 0 0 8px; }
.service-card .svc-sub { color: var(--blue-600); font-weight: 600; font-size: 14px; margin: 0 0 12px; }
.service-card p { color: var(--ink-2); margin: 0 0 16px; font-size: 15px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.feature-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font-size: 12.5px; padding: 4px 11px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100); }

/* 案例卡 */
.case-card { padding: 0; overflow: hidden; }
.case-card .case-top { height: 132px; position: relative; overflow: hidden; }
.case-card .case-top.blue { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.case-card .case-top.cyan { background: linear-gradient(135deg, #0e7490, #06b6d4); }
.case-card .case-top.indigo { background: linear-gradient(135deg, #3730a3, #6366f1); }
.case-card .case-top.teal { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.case-card .case-top::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.12); }
.case-body { padding: 22px 24px 26px; }
.case-body .cat { font-size: 12.5px; font-weight: 700; color: var(--blue-600); letter-spacing: 1px; }
.case-body h3 { font-size: 18px; margin: 8px 0 10px; }
.case-body p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* 公司新闻卡 */
.news-card .case-top { display: flex; align-items: flex-end; padding: 0 22px 16px; }
.news-cat { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; color: #fff; opacity: .92; }
.news-card .news-summary { color: var(--ink-2); line-height: 1.7; }
.news-card .news-detail { margin-top: 12px; color: var(--ink-2); line-height: 1.8; font-size: 14px; }
.news-card .news-detail p { margin: 0 0 10px; color: var(--ink-2); }
.news-toggle { margin-top: 14px; background: none; border: none; color: var(--blue-600); font-weight: 600; font-size: 14px; cursor: pointer; padding: 0; }
.news-toggle:hover { color: var(--blue-700); }

/* 优势 */
.adv-card { text-align: left; }
.adv-card .adv-no { font-size: 14px; font-weight: 800; color: var(--blue-500); }
.adv-card h3 { font-size: 18px; margin: 10px 0 8px; }
.adv-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* CTA 条 */
.cta-band { background: linear-gradient(135deg, var(--blue-900), var(--blue-600)); color: #fff; border-radius: 24px; padding: 54px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow-blue); }
.cta-band h2 { font-size: 30px; margin: 0 0 8px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.82); font-size: 16px; }

/* ---------- 关于我们 ---------- */
.about-hero { padding: 70px 0 30px; }
.about-hero h1 { font-size: 40px; font-weight: 850; margin: 0 0 14px; letter-spacing: -.5px; }
.about-hero p { font-size: 18px; color: var(--ink-2); max-width: 760px; }
.values-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.values-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.values-list .v-ico { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; font-weight: 800; margin-top: 2px; }

/* 时间线 */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--blue-100); }
.timeline li { position: relative; padding: 0 0 26px 52px; }
.timeline .dot { position: absolute; left: 6px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--blue-600); }
.timeline .year { font-weight: 800; color: var(--blue-700); font-size: 16px; }
.timeline .ev { color: var(--ink-2); font-size: 15px; }

/* ---------- 产品服务详情 ---------- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: none; }
.svc-detail--rev { direction: rtl; }
.svc-detail--rev > * { direction: ltr; }
.svc-detail .svc-visual { border-radius: var(--radius); min-height: 220px; padding: 30px; color: #fff; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-md); }
.svc-visual.v1 { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.svc-visual.v2 { background: linear-gradient(135deg, #0e7490, #06b6d4); }
.svc-visual.v3 { background: linear-gradient(135deg, #3730a3, #6366f1); }
.svc-visual h3 { font-size: 24px; margin: 0 0 10px; }
.svc-visual p { color: rgba(255,255,255,.85); margin: 0; font-size: 15px; }
.svc-detail h2 { font-size: 26px; margin: 0 0 10px; }
.svc-detail .svc-sub { color: var(--blue-600); font-weight: 600; margin: 0 0 14px; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info .info-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-ico { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; }
.contact-info .info-item .k { font-size: 13px; color: var(--muted); }
.contact-info .info-item .v { font-size: 16px; font-weight: 600; color: var(--ink); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.field textarea { min-height: 120px; resize: vertical; }
.field .err { color: #dc2626; font-size: 12.5px; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #dc2626; }
.field.invalid .err { display: block; }

.attach-box { border: 1px dashed var(--blue-200); border-radius: var(--radius-sm); padding: 16px; background: var(--blue-50); }
.attach-box .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.attach-box .hint { font-size: 13px; color: var(--muted); }
.attach-status { font-size: 13px; color: var(--blue-700); margin-top: 8px; min-height: 18px; }

.auth-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.auth-note a { color: var(--blue-600); font-weight: 600; }

.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.form-success .ok { width: 56px; height: 56px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: grid; place-items: center; margin: 0 auto 14px; font-size: 28px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-deep); color: #cbd5e1; padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer .brand { color: #fff; }
.footer .brand__sub { color: #94a3b8; }
.footer p.about { color: #94a3b8; font-size: 14px; max-width: 320px; margin: 16px 0 0; }
.footer h5 { color: #fff; font-size: 15px; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: #cbd5e1; font-size: 14px; }
.footer ul a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 20px; font-size: 13px; color: #94a3b8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 100; box-shadow: var(--shadow-md);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast--success { background: #16a34a; }
.toast--error { background: #dc2626; }

/* ---------- 响应式 ---------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail--rev { direction: ltr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  .nav__links { position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(11, 18, 32, .35); display: none; max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; width: 100%; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
}
@media (max-width: 680px) {
  .hero__title { font-size: 34px; }
  .hero__stats { gap: 22px; flex-wrap: wrap; }
  .section { padding: 56px 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
}


/* ===== 常见问题 FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; font-size: 16px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 700; color: var(--blue-600); margin-left: 12px; }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* ===== 官网二维码卡片 ===== */
.qr-box {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.qr-box img { width: 96px; height: 96px; border-radius: 8px; flex: 0 0 auto; display: block; }
.qr-box__txt .k { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.qr-box__desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 680px) {
  .qr-box img { width: 84px; height: 84px; }
}
