/* 服部官网 — 静态样式（由 服部官网.dc.html 设计稿编译） */

:root {
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --brand: #1266a6;
  --brand-dark: #0d4d7e;
  --ink: #17293a;
  --ink-2: #46586b;
  --ink-3: #5c7085;
  --navy: #0c2439;
  --teal: #4fd1c5;
  --line: #e3e9ef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f7f9fb;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--serif); }

/* ============ 动画 ============ */
@keyframes fbBurst {
  0%   { transform: translate(0, 0) rotate(0deg) scale(0.15); opacity: 0; }
  6%   { opacity: var(--op); }
  55%  { opacity: var(--op); }
  100% { transform: translate(var(--tx), var(--ty)) rotate(var(--r)) scale(1); opacity: 0; }
}
@keyframes fbCross {
  0%   { transform: translate(var(--x0), var(--y0)) rotate(var(--r0)); opacity: 0; }
  6%   { opacity: var(--op); }
  94%  { opacity: var(--op); }
  100% { transform: translate(var(--x1), var(--y1)) rotate(var(--r1)); opacity: 0; }
}
@keyframes fbFlowDot {
  0%   { top: -4px; opacity: 0; }
  12%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { top: calc(100% - 4px); opacity: 0; }
}
@keyframes fbSway {
  0%   { transform: translateY(-12px) rotate(-7deg); }
  100% { transform: translateY(14px) rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) {
  [data-folder-mount] { display: none !important; }
}

/* ============ 导航 ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 32px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 32px; height: 32px; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 900; font-size: 18px; border-radius: 6px;
}
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-outline {
  padding: 9px 20px; font-size: 14px; font-weight: 600; color: var(--brand);
  border: 1px solid #b9cfe0; border-radius: 6px;
}
.btn-outline:hover { border-color: var(--brand); background: #eef4f9; }
.btn-solid {
  padding: 9px 20px; font-size: 14px; font-weight: 600; color: #fff;
  background: var(--brand); border-radius: 6px;
}
.btn-solid:hover { background: var(--brand-dark); color: #fff; }

/* ============ Hero ============ */
.hero {
  position: relative; color: #fff; padding: 128px 32px 100px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% -10%, #163f5f 0%, #0c2439 55%, #081a2b 100%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(80% 60% at 50% 20%, #000 0%, transparent 75%);
}
.hero-glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 560px;
  background: radial-gradient(closest-side, rgba(18,102,166,0.5), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero-inner {
  position: relative; max-width: 900px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.hero h1 {
  font-weight: 900; font-size: 56px; line-height: 1.35; margin: 0; text-wrap: balance;
}
.hero-h1-grad {
  background: linear-gradient(95deg, #ffffff 0%, #9fd0ee 55%, #4fa3d1 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 620px;
}
.hero-tags span {
  font-size: 13px; color: #a8c4da; letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.04);
  border-radius: 999px; padding: 6px 16px;
}
.hero-ctas { display: flex; gap: 16px; margin-top: 8px; }
.btn-cta-light {
  padding: 14px 36px; font-size: 16px; font-weight: 600; color: var(--navy);
  background: #fff; border-radius: 8px; transition: all 0.25s ease;
}
.btn-cta-light:hover {
  background: #dcebf7; color: var(--navy); transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.btn-cta-ghost {
  padding: 14px 36px; font-size: 16px; font-weight: 600; color: #fff;
  border: 1px solid #4a708f; border-radius: 8px; transition: all 0.25s ease;
}
.btn-cta-ghost:hover {
  color: #fff; border-color: #8fb8d6; background: rgba(255,255,255,0.06); transform: translateY(-2px);
}
.hero .btn-cta-light { padding: 14px 36px; }
.cta-band .btn-cta-light, .cta-band .btn-cta-ghost { padding: 14px 40px; }

/* ============ 区块标题 ============ */
.section-head {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 3px; color: var(--brand);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 24px; height: 1px; background: #b9cfe0; }
.section-head h2 { font-weight: 700; font-size: 38px; margin: 0; color: var(--ink); }
.section-sub { margin: 0; font-size: 17px; color: var(--ink-3); }
.dark .eyebrow { color: #6fa8cf; }
.dark .eyebrow::before, .dark .eyebrow::after { background: #35597a; }

/* ============ 痛点 ============ */
.pain { position: relative; padding: 100px 32px; background: #f7f9fb; overflow: hidden; }
.pain-mount { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.pain-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }
.pain .section-head { max-width: 680px; margin: 0 auto 64px; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 34px 30px; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.pain-card:hover {
  transform: translateY(-6px); box-shadow: 0 20px 44px rgba(12,36,57,0.12); border-color: var(--brand);
}
.pain-no {
  position: absolute; top: 8px; right: 20px; font-family: var(--serif);
  font-weight: 900; font-size: 76px; line-height: 1; color: #f0f4f8;
  pointer-events: none; user-select: none;
}
.pain-bar { position: relative; width: 34px; height: 3px; border-radius: 2px; background: var(--brand); margin-bottom: 4px; }
.pain-card h3 { position: relative; margin: 0; font-size: 20px; font-weight: 700; color: var(--ink); }
.pain-card p { position: relative; margin: 0; font-size: 14.5px; color: var(--ink-3); text-wrap: pretty; }

/* ============ 工作方式 ============ */
.flow { padding: 100px 32px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow-inner { max-width: 880px; margin: 0 auto; }
.flow .section-head { margin-bottom: 56px; }
.flow-input {
  position: relative; background: #fff; border: 1px solid #d8e4ee; border-radius: 16px;
  padding: 30px 36px 32px; box-shadow: 0 10px 30px -18px rgba(12,36,57,0.15);
}
.flow-input-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.flow-role {
  flex-shrink: 0; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--brand);
  border: 1px solid #b9cfe0; background: #eef4f9; border-radius: 999px; padding: 5px 14px;
}
.flow-input-head p { margin: 0; font-size: 16px; color: var(--ink); font-weight: 500; }
.flow-files { display: flex; flex-wrap: wrap; gap: 10px; }
.flow-file {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2);
  background: #f7f9fb; border: 1px dashed #c5d5e3; border-radius: 8px; padding: 8px 14px;
}
.flow-connector { position: relative; height: 84px; display: flex; justify-content: center; }
.flow-line { position: relative; width: 2px; height: 100%; background: linear-gradient(180deg, #c5d5e3, #1266a6); overflow: visible; }
.flow-dot {
  position: absolute; left: 50%; margin-left: -3px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 10px 2px rgba(79,209,197,0.7);
  animation: fbFlowDot 1.6s ease-in infinite;
}
.flow-output {
  position: relative; border: 1px solid #2a4d6b; border-radius: 16px;
  padding: 52px 36px 40px; overflow: visible; box-shadow: 0 30px 60px -30px rgba(12,36,57,0.5);
  background: radial-gradient(90% 70% at 50% 0%, #164066 0%, #10344f 55%, #0c2439 100%);
}
.flow-avatar-wrap {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
}
.flow-avatar {
  width: 52px; height: 52px; border-radius: 14px; background: var(--brand);
  border: 3px solid #fff; box-shadow: 0 10px 24px rgba(18,102,166,0.4); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 900; font-size: 24px;
}
.flow-badge-row { display: flex; justify-content: center; margin-bottom: 28px; }
.flow-badge {
  font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--teal);
  border: 1px solid rgba(79,209,197,0.35); background: rgba(79,209,197,0.08);
  border-radius: 999px; padding: 6px 18px;
}
.flow-tasks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.flow-task {
  background: rgba(255,255,255,0.05); border: 1px solid #2a4d6b; border-radius: 10px;
  padding: 16px 20px; font-size: 15px; color: #d6e4f0;
  display: flex; align-items: center; gap: 14px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.flow-task:hover { background: rgba(79,209,197,0.08); border-color: #4fa3d1; transform: translateX(4px); }
.flow-task-n {
  flex-shrink: 0; font-family: var(--serif); font-weight: 900; font-size: 13px; color: var(--teal);
  width: 26px; height: 26px; border-radius: 50%; background: rgba(79,209,197,0.12);
  border: 1px solid rgba(79,209,197,0.3);
  display: flex; align-items: center; justify-content: center;
}

/* ============ 核心功能 ============ */
.features { position: relative; padding: 100px 32px 110px; background: #f7f9fb; }
.features-inner { max-width: 1180px; margin: 0 auto; }
.features .section-head { margin-bottom: 56px; }
.features-layout { display: grid; grid-template-columns: 72px 1fr; gap: 0; align-items: stretch; }
.ftabs { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.ftab {
  position: relative; height: 58px; margin-right: -14px; border: none;
  border-radius: 10px 0 0 10px; cursor: pointer; background: #e7edf2; color: #7b8b9a;
  font-family: var(--serif); font-weight: 900; font-size: 15px;
  transition: background 0.3s ease, color 0.3s ease, margin 0.3s ease;
}
.ftab.is-active {
  margin-right: -22px; background: var(--brand); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(18,102,166,0.5);
}
.fstage { position: relative; min-height: 440px; }
.fstage-shadow1 { position: absolute; inset: 16px -12px -12px 16px; background: #e7edf2; border-radius: 18px; transform: rotate(1.1deg); }
.fstage-shadow2 { position: absolute; inset: 8px -6px -6px 8px; background: #eef2f6; border-radius: 18px; transform: rotate(-0.6deg); }
.fleaf {
  position: absolute; inset: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  opacity: 0; transform: translateX(36px) rotate(4deg); transform-origin: left center;
  z-index: 1; pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.22,1,0.36,1), transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.fleaf.is-prev { transform: translateX(-36px) rotate(-4deg); }
.fleaf.is-active {
  opacity: 1; transform: translateX(0) rotate(0deg); z-index: 2; pointer-events: auto;
  box-shadow: 0 26px 54px -20px rgba(12,36,57,0.22);
}
.fleaf-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  height: 100%; padding: 44px 48px;
}
.fleaf-text { display: flex; flex-direction: column; gap: 18px; }
.fleaf-spacer { width: 56px; height: 56px; }
.fleaf-text h3 { margin: 0; font-size: 27px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.fleaf-text p { margin: 0; font-size: 15px; color: var(--ink-3); line-height: 1.85; text-wrap: pretty; max-width: 400px; }
.fleaf-shot {
  position: relative; aspect-ratio: 4 / 3.9; border-radius: 14px;
  background: linear-gradient(135deg, #0c2439 0%, #12395a 100%);
  border: 1px solid #1c3f5c; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 50px -22px rgba(12,36,57,0.35);
}
.fleaf-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============ 对比 ============ */
.compare { padding: 100px 32px; background: #fff; border-top: 1px solid var(--line); }
.compare-inner { max-width: 920px; margin: 0 auto; }
.compare .section-head { margin-bottom: 64px; }
.compare-table { border: 1px solid #d8e4ee; border-radius: 12px; overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-row + .compare-row { border-bottom: 1px solid #e9eef4; }
.compare-head-generic {
  padding: 18px 32px; background: #f2f5f8; font-family: var(--serif); font-weight: 700;
  font-size: 17px; color: var(--ink-3); border-bottom: 1px solid #d8e4ee; text-align: right;
}
.compare-head-fubu {
  padding: 18px 32px; background: var(--brand); font-family: var(--serif); font-weight: 700;
  font-size: 17px; color: #fff; border-bottom: 1px solid #d8e4ee;
}
.compare-body-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #e9eef4; }
.compare-table .compare-body-row:last-child { border-bottom: none; }
.compare-generic {
  padding: 20px 32px; font-size: 15px; color: #7b8b9a; background: #fafbfc;
  display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-align: right;
}
.compare-generic .mark { color: #c2ccd6; flex-shrink: 0; }
.compare-fubu {
  padding: 20px 32px; font-size: 15px; color: var(--ink); font-weight: 500; background: #eef4f9;
  display: flex; align-items: center; gap: 10px;
}
.compare-fubu .mark { color: var(--brand); flex-shrink: 0; }

/* ============ 数据安全 ============ */
.security { padding: 100px 32px; background: var(--navy); color: #fff; }
.security-inner { max-width: 1080px; margin: 0 auto; }
.security .section-head { margin-bottom: 64px; }
.security .section-head h2 { color: #fff; text-wrap: balance; }
.security-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.security-card {
  border: 1px solid #2a4d6b; border-radius: 12px; padding: 28px 20px;
  display: flex; flex-direction: column; gap: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.security-card:hover { transform: translateY(-5px); border-color: #4fa3d1; }
.security-glyph {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(79,163,209,0.14);
  border: 1px solid #2a4d6b; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 900; font-size: 16px; color: var(--teal);
}
.security-card h3 { margin: 0; font-size: 16px; font-weight: 700; color: #fff; line-height: 1.5; }
.security-card p { margin: 0; font-size: 13.5px; color: #a8c4da; }

/* ============ 持续进化 ============ */
.evolve { padding: 100px 32px; background: #f7f9fb; }
.evolve-inner {
  max-width: 880px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.evolve-text { display: flex; flex-direction: column; gap: 18px; }
.evolve-text .eyebrow { align-self: flex-start; }
.evolve-text h2 { font-weight: 700; font-size: 34px; margin: 0; color: var(--ink); }
.evolve-lead { margin: 0; font-size: 16px; color: var(--ink-2); font-weight: 500; }
.evolve-desc { margin: 0; font-size: 15px; color: var(--ink-3); text-wrap: pretty; }
.evolve-fig {
  aspect-ratio: 4 / 3; border-radius: 12px; border: 1px solid #d8e4ee; overflow: hidden;
  background: repeating-linear-gradient(45deg, #eef4f9 0, #eef4f9 12px, #f7fafc 12px, #f7fafc 24px);
  display: flex; align-items: center; justify-content: center;
}
.evolve-fig img { width: 100%; height: 100%; object-fit: cover; }

/* ============ CTA ============ */
.cta-band { padding: 110px 32px; background: linear-gradient(180deg, #10344f 0%, #0c2439 100%); color: #fff; }
.cta-inner {
  max-width: 760px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.cta-inner h2 { font-weight: 900; font-size: 40px; margin: 0; line-height: 1.4; text-wrap: balance; color: #fff; }
.cta-btns { display: flex; gap: 16px; }

/* ============ 页脚 ============ */
.footer { background: #081b2c; color: #7b96ab; padding: 48px 32px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-mark {
  width: 26px; height: 26px; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 900; font-size: 14px; border-radius: 5px;
}
.footer-name { font-family: var(--serif); font-weight: 700; font-size: 16px; color: #d6e4f0; }
.footer-links { display: flex; gap: 24px; font-size: 13px; }
.footer-links a { color: #7b96ab; }
.footer-links a:hover { color: #d6e4f0; }
.footer-divider { height: 1px; background: #1c3348; }
.footer-legal { display: flex; flex-direction: column; gap: 4px; }
.footer-legal p { margin: 0; font-size: 12px; color: #56718a; line-height: 1.7; text-align: left; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(3, 1fr); }
  .fleaf-grid { grid-template-columns: 1fr; gap: 24px; padding: 32px; align-content: start; }
  .fleaf-spacer { display: none; }
  .fstage { min-height: 720px; }
}
@media (max-width: 680px) {
  .hero { padding: 88px 20px 72px; }
  .hero h1 { font-size: 34px; }
  .pain, .flow, .features, .compare, .security, .evolve, .cta-band { padding-left: 20px; padding-right: 20px; }
  .pain-grid { grid-template-columns: 1fr; }
  .flow-tasks { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .evolve-inner { grid-template-columns: 1fr; gap: 32px; }
  .compare-row, .compare-body-row { grid-template-columns: 1fr; }
  .compare-head-generic, .compare-generic { text-align: left; justify-content: flex-start; }
  .section-head h2 { font-size: 28px; }
  .cta-inner h2 { font-size: 28px; }
  .cta-btns, .hero-ctas { flex-direction: column; width: 100%; }
  .features-layout { grid-template-columns: 1fr; }
  .ftabs { flex-direction: row; padding: 0 0 14px; }
  .ftab { flex: 1; height: 44px; margin-right: 0; border-radius: 8px; }
  .ftab.is-active { margin-right: 0; }
  .fstage { min-height: 640px; }
  .nav-inner { padding: 0 20px; }
  .btn-outline { display: none; }
}
