/* =========================================================
   好逐易 · CAD 应用云 — 企业站点样式
   ========================================================= */

:root {
  --ink: #0e1728;
  --ink-soft: #26324a;
  --muted: #5c6779;
  --muted-light: #8a94a6;
  --brand: #2563eb;
  --brand-deep: #1747c7;
  --cyan: #22d3ee;
  --deep: #060b16;
  --bg: #ffffff;
  --tint: #f6f8fc;
  --line: #e6ebf3;
  --radius: 22px;
  --shadow-sm: 0 10px 30px -18px rgba(14, 23, 40, .25);
  --shadow-md: 0 28px 60px -30px rgba(23, 71, 199, .3);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --container: 1160px;
  --header-h: 74px;
}

/* ---------- Base ---------- */
.nowrap { white-space: nowrap; }
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button { font: inherit; color: inherit; }

::selection { background: rgba(37, 99, 235, .18); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .9rem;
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color .3s ease, box-shadow .3s ease,
    border-color .3s ease, color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(14, 23, 40, .4);
  color: var(--ink);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  flex: 0 0 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark img { display: block; width: 100%; height: 100%; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.brand-text strong {
  font-family: "KaiTi", "Kaiti SC", "STKaiti", "楷体", "AR PL UKai CN", "TW-Kai", serif;
  font-size: 1.12rem;
  letter-spacing: .1em;
  font-weight: 400;
}
.brand-text small {
  font-size: .64rem;
  letter-spacing: .2em;
  opacity: .62;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  color: inherit;
  opacity: .8;
  transition: opacity .2s ease, color .2s ease;
  white-space: nowrap;
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:not(.nav-cta):hover,
.nav a.is-active { opacity: 1; }
.nav a:not(.nav-cta):hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.nav-external { display: inline-flex; align-items: center; gap: 6px; }
.nav-ico {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  opacity: .68;
  transition: opacity .2s ease;
}
.nav a:hover .nav-ico,
.nav a.is-active .nav-ico { opacity: 1; }
.nav-arrow {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  opacity: .65;
  transition: opacity .2s ease;
}
.nav-external:hover .nav-arrow { opacity: 1; }

.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .08);
  opacity: 1 !important;
  transition: background-color .25s ease, border-color .25s ease,
    transform .25s ease;
}
.nav-cta:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .16); }

.is-scrolled .nav-cta {
  border-color: transparent;
  background: linear-gradient(120deg, var(--brand), #0ea5e9);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(37, 99, 235, .8);
}
.nav-cta .nav-ico { opacity: .9; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 92px) 0 104px;
  background: var(--deep);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(820px 520px at 82% 8%, rgba(37, 99, 235, .45), transparent 62%),
    radial-gradient(680px 500px at 6% 92%, rgba(34, 211, 238, .16), transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(99, 102, 241, .18), transparent 65%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: min(1400px, 140%);
  height: 180px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(6, 11, 22, 0) 40%, rgba(6, 11, 22, .55));
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(125, 211, 252, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 10%, transparent 78%);
  opacity: .75;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
}

.hero-copy { max-width: 620px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow-line {
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: .35;
}
.eyebrow-light { color: #7dd3fc; }
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .16);
  flex: 0 0 auto;
}

.hero h1 {
  margin: 24px 0 0;
  font-size: clamp(2.3rem, 4.1vw, 3.5rem);
  line-height: 1.16;
  letter-spacing: -.02em;
  font-weight: 800;
}

.hero h1 em {
  display: inline-block;
  white-space: nowrap;
  font-style: normal;
  background: linear-gradient(100deg, #cfeeff 0%, #7dd3fc 42%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 26px;
  max-width: 560px;
  font-size: 1.02rem;
  line-height: 1.9;
  color: rgba(219, 232, 250, .72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease,
    background-color .25s ease, border-color .25s ease;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(115deg, #2f6bff, #0ea5e9);
  color: #fff;
  box-shadow: 0 16px 34px -16px rgba(37, 99, 235, .9),
    inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -18px rgba(37, 99, 235, 1),
    inset 0 1px 0 rgba(255, 255, 255, .25);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .38);
}

.btn-large { padding: 16px 32px; font-size: 1rem; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}
.hero-tags li {
  padding: 7px 15px;
  border: 1px solid rgba(148, 197, 255, .18);
  border-radius: 999px;
  background: rgba(148, 197, 255, .05);
  font-size: .78rem;
  letter-spacing: .02em;
  color: rgba(203, 222, 248, .8);
}

/* Hero visual */
.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 520px;
}

.visual-card {
  position: relative;
  padding: 16px 18px 6px;
  border: 1px solid rgba(148, 197, 255, .18);
  border-radius: 26px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 52%, rgba(37, 99, 235, .1));
  box-shadow:
    0 46px 90px -28px rgba(0, 0, 0, .8),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: perspective(1200px) rotateX(1.5deg) rotateY(-3deg);
  transition: transform .5s ease;
}
.visual-card:hover {
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg);
}

.visual-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 14px;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .22em;
  color: rgba(186, 216, 255, .55);
}
.visual-lights { display: inline-flex; gap: 5px; }
.visual-lights i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(148, 197, 255, .3);
}
.visual-lights i:first-child { background: rgba(34, 211, 238, .8); }

.blueprint { display: block; width: 100%; height: auto; }

.visual-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px 16px;
  border-top: 1px dashed rgba(148, 197, 255, .16);
  font-size: .7rem;
  letter-spacing: .04em;
  color: rgba(186, 216, 255, .62);
}
.visual-readout > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(125, 211, 252, .95);
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 15px;
  border: 1px solid rgba(125, 211, 252, .22);
  border-radius: 14px;
  background: rgba(8, 16, 31, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8);
  font-size: .78rem;
  color: #e6f2ff;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .8rem; font-weight: 600; line-height: 1.3; }
.float-card small { display: block; font-size: .67rem; color: rgba(170, 199, 232, .7); line-height: 1.4; }

.float-a { top: 86px; left: -38px; }
.float-b { bottom: 66px; right: -28px; animation-delay: -3s; }

.float-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #7dd3fc;
  background: rgba(125, 211, 252, .1);
  border: 1px solid rgba(125, 211, 252, .18);
}
.float-icon svg { width: 19px; height: 19px; }

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-left: 3px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, .8);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- Section scaffolding ---------- */
.section {
  position: relative;
  padding: clamp(72px, 8.5vw, 116px) 0;
  background: var(--bg);
}
.section-tint { background: var(--tint); }

.section-head { max-width: 780px; margin-bottom: clamp(38px, 5vw, 58px); }
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.28;
  letter-spacing: -.02em;
  font-weight: 750;
}
.section-desc {
  margin-top: 16px;
  max-width: 640px;
  font-size: .98rem;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- Directions ---------- */
.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.direction-card {
  position: relative;
  padding: 32px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.direction-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.direction-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, .22);
  box-shadow: var(--shadow-md);
}
.direction-card:hover::before { transform: scaleX(1); }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border-radius: 15px;
  color: var(--brand);
  background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(34, 211, 238, .14));
  border: 1px solid rgba(37, 99, 235, .08);
}
.card-icon svg { width: 26px; height: 26px; }

.card-index {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  color: var(--muted-light);
}

.direction-card h3 {
  margin: 9px 0 12px;
  font-size: 1.28rem;
  letter-spacing: -.01em;
  font-weight: 700;
}
.direction-card p {
  font-size: .93rem;
  line-height: 1.85;
  color: var(--muted);
}

.mini-list {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.mini-list li {
  position: relative;
  padding-left: 16px;
  font-size: .85rem;
  color: var(--ink-soft);
  line-height: 2;
}
.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ---------- Capabilities ---------- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.capability-card {
  position: relative;
  padding: 36px 34px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.capability-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, .2);
  box-shadow: var(--shadow-sm);
}

.capability-num {
  position: absolute;
  top: 18px;
  right: 26px;
  font-family: var(--mono);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: rgba(14, 23, 40, .055);
  pointer-events: none;
}

.capability-card h3 {
  position: relative;
  margin-bottom: 12px;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.capability-card > p {
  font-size: .93rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 92%;
}

.check-list { margin-top: 22px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: .88rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(37, 99, 235, .09);
  color: var(--brand);
  font-size: .66rem;
  font-weight: 700;
}

/* ---------- Knowledge base panel ---------- */
.kb-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4vw, 56px);
  margin-top: 24px;
  padding: clamp(34px, 4.5vw, 52px);
  border-radius: 26px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(620px 380px at 100% 0%, rgba(37, 99, 235, .42), transparent 62%),
    radial-gradient(420px 320px at 0% 100%, rgba(34, 211, 238, .14), transparent 65%),
    #0a1424;
}
.kb-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 211, 252, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 20%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 30% 20%, #000, transparent 75%);
  pointer-events: none;
}

.kb-copy,
.kb-features { position: relative; z-index: 1; }

.kb-kicker {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .22em;
  color: #67e8f9;
}
.kb-copy h3 {
  margin: 14px 0 16px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.32;
  letter-spacing: -.01em;
  font-weight: 750;
}
.kb-copy h3 em {
  font-style: normal;
  background: linear-gradient(100deg, #7dd3fc, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kb-copy > p:not(.kb-kicker) {
  max-width: 440px;
  font-size: .9rem;
  line-height: 1.9;
  color: rgba(203, 219, 240, .68);
}

.kb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.kb-tags li {
  padding: 5px 11px;
  border: 1px solid rgba(148, 197, 255, .18);
  border-radius: 999px;
  background: rgba(148, 197, 255, .05);
  font-size: .7rem;
  color: rgba(190, 216, 245, .8);
}

.kb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: .86rem;
  font-weight: 600;
  color: #7dd3fc;
  transition: color .2s ease;
}
.kb-link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.kb-link:hover { color: #fff; }
.kb-link:hover svg { transform: translateX(3px); }

.kb-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
  align-content: start;
}
.kb-features li { display: flex; gap: 12px; }
.kb-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #7dd3fc;
  background: rgba(125, 211, 252, .08);
  border: 1px solid rgba(125, 211, 252, .16);
}
.kb-icon svg { width: 19px; height: 19px; }
.kb-features h4 {
  margin-bottom: 5px;
  font-size: .9rem;
  font-weight: 650;
  letter-spacing: .01em;
}
.kb-features p {
  font-size: .78rem;
  line-height: 1.7;
  color: rgba(198, 215, 238, .62);
}

/* ---------- Cases ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.case-card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, .22);
  box-shadow: var(--shadow-md);
}

.case-top { display: flex; flex-direction: column; gap: 14px; }
.case-label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--muted-light);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-row span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0f4fc;
  color: #3d5b8c;
  font-size: .68rem;
  letter-spacing: .02em;
}

.case-card h3 {
  margin: 18px 0 12px;
  font-size: 1.16rem;
  line-height: 1.55;
  font-weight: 700;
}
.case-card > p {
  font-size: .9rem;
  line-height: 1.85;
  color: var(--muted);
}

.result-list {
  margin-top: auto;
  padding-top: 20px;
}
.result-list li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: .86rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.result-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
  transform: rotate(45deg);
}

/* ---------- Business lines ---------- */
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.business-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 32px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.business-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.business-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, .22);
  box-shadow: var(--shadow-md);
}
.business-card:hover::before { transform: scaleX(1); }

.business-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}
.business-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  color: var(--brand);
  background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(34, 211, 238, .14));
  border: 1px solid rgba(37, 99, 235, .08);
}
.business-icon svg { width: 26px; height: 26px; }
.business-index {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .16em;
  color: var(--muted-light);
}

.business-card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.business-card > p {
  max-width: 94%;
  font-size: .94rem;
  line-height: 1.85;
  color: var(--muted);
}
.business-card .tag-row { margin-top: 20px; }

.business-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--brand);
}
.business-link svg { width: 18px; height: 18px; transition: transform .25s ease; }
.business-card:hover .business-link svg { transform: translateX(3px); }

/* ---------- Approach ---------- */
.section-dark {
  background:
    radial-gradient(760px 460px at 88% 0%, rgba(37, 99, 235, .32), transparent 62%),
    radial-gradient(600px 420px at 0% 100%, rgba(34, 211, 238, .12), transparent 65%),
    #080f1d;
  color: #fff;
}
.section-head-dark h2 { color: #fff; }
.section-head-dark .section-desc { color: rgba(203, 219, 240, .66); }

.step-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  padding: 28px 22px 26px;
  border: 1px solid rgba(148, 197, 255, .13);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
  transition: border-color .3s ease, background-color .3s ease, transform .3s ease;
}
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, .32);
  background: rgba(255, 255, 255, .06);
}

.step-num {
  display: inline-block;
  margin-bottom: 30px;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .16em;
  color: #67e8f9;
}
.step h3 {
  font-size: 1.06rem;
  font-weight: 650;
  margin-bottom: 10px;
  letter-spacing: .01em;
}
.step p {
  font-size: .84rem;
  line-height: 1.8;
  color: rgba(198, 215, 238, .62);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.about-copy h2 {
  margin-top: 16px;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.28;
  letter-spacing: -.02em;
  font-weight: 750;
}
.about-copy > p {
  margin-top: 18px;
  font-size: .96rem;
  line-height: 1.95;
  color: var(--muted);
}

.scope-block { margin-top: 32px; }
.scope-title {
  display: block;
  margin-bottom: 12px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--muted-light);
}
.scope-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.scope-tags li {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: .8rem;
  color: #3d4a61;
}

.about-panel {
  padding: 32px 30px;
  border: 1px solid #e0e9fa;
  border-radius: 24px;
  background: linear-gradient(160deg, #f8fbff, #edf4ff);
  box-shadow: 0 30px 60px -46px rgba(37, 99, 235, .6);
}
.about-panel h3 {
  font-size: 1rem;
  letter-spacing: .06em;
  margin-bottom: 14px;
  color: var(--ink);
}

.fact-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(37, 99, 235, .14);
}
.fact-list dt {
  flex: 0 0 auto;
  font-size: .8rem;
  color: var(--muted-light);
}
.fact-list dd {
  margin: 0;
  text-align: right;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--brand);
}
.text-link svg { width: 17px; height: 17px; transition: transform .25s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Contact ---------- */
.contact-section { padding-top: 0; }

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(38px, 5.5vw, 64px);
  border-radius: 28px;
  background:
    radial-gradient(700px 420px at 88% 0%, rgba(37, 99, 235, .5), transparent 62%),
    radial-gradient(420px 320px at 0% 100%, rgba(34, 211, 238, .16), transparent 65%),
    #07101f;
  color: #fff;
  overflow: hidden;
}
.contact-glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, .22), transparent 65%);
  pointer-events: none;
}
.contact-copy { position: relative; z-index: 1; }
.contact-copy h2 {
  margin-top: 16px;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.35;
  letter-spacing: -.02em;
  font-weight: 750;
}
.contact-copy > p {
  margin: 18px 0 30px;
  max-width: 480px;
  font-size: .95rem;
  line-height: 1.9;
  color: rgba(208, 224, 245, .7);
}

.contact-list {
  position: relative;
  z-index: 1;
  align-self: center;
}
.contact-list li {
  padding: 17px 0;
  border-bottom: 1px solid rgba(148, 197, 255, .14);
}
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.contact-label {
  display: block;
  margin-bottom: 5px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: #67e8f9;
}
.contact-list a,
.contact-list li > span:last-child {
  font-size: .92rem;
  line-height: 1.75;
  color: rgba(230, 240, 255, .85);
}
.contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.contact-list a.contact-phone {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.5;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 26px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr 1fr;
  gap: 48px;
}

.brand-footer { color: var(--ink); }
.brand-footer .brand-mark { color: var(--brand); }

.footer-brand > p {
  margin-top: 18px;
  max-width: 300px;
  font-size: .88rem;
  line-height: 1.8;
  color: var(--muted);
}
.footer-brand > p.footer-related {
  margin-top: 8px;
  font-size: .8rem;
  color: var(--muted-light);
}
.footer-related a { color: var(--brand); }
.footer-related a:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-footer h3 {
  margin-bottom: 16px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
}
.footer-nav a {
  display: block;
  padding: 5px 0;
  font-size: .87rem;
  color: var(--muted);
  transition: color .2s ease;
}
.footer-nav a:hover { color: var(--brand); }
.footer-info p {
  font-size: .85rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 8px;
}
.footer-info a { color: var(--brand); }
.footer-info a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-info a.footer-phone {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.footer-bottom p { font-size: .76rem; color: #98a2b3; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.footer-legal a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  color: #98a2b3;
  transition: color .2s ease;
}
.footer-legal a:hover { color: var(--brand); }
.footer-legal svg { width: 14px; height: 14px; opacity: .8; flex: 0 0 auto; }

/* ---------- Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.direction-grid .reveal:nth-child(2),
.capability-grid .reveal:nth-child(2),
.case-grid .reveal:nth-child(2),
.step-grid .reveal:nth-child(2) { transition-delay: .08s; }
.direction-grid .reveal:nth-child(3),
.capability-grid .reveal:nth-child(3),
.case-grid .reveal:nth-child(3),
.step-grid .reveal:nth-child(3) { transition-delay: .16s; }
.capability-grid .reveal:nth-child(4),
.step-grid .reveal:nth-child(4) { transition-delay: .24s; }

/* Hero entrance */
.hero-copy > * { animation: rise .8s cubic-bezier(.22, .61, .36, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4) { animation-delay: .28s; }
.hero-copy > *:nth-child(5) { animation-delay: .36s; }
.hero-visual { animation: rise .9s .2s cubic-bezier(.22, .61, .36, 1) both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav { gap: 20px; }
  .nav a { font-size: .86rem; }
  .direction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .direction-card:last-child { grid-column: span 2; }
  .direction-card:last-child .mini-list { display: flex; gap: 26px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 26px;
    background: #0a1120;
    border-bottom: 1px solid rgba(148, 197, 255, .12);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav a,
  .nav a:not(.nav-cta) {
    padding: 14px 2px;
    font-size: .95rem;
    color: rgba(232, 241, 255, .85);
    border-bottom: 1px solid rgba(148, 197, 255, .09);
    opacity: 1;
  }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta {
    margin-top: 16px;
    padding: 12px 20px;
    border-color: transparent;
    background: linear-gradient(120deg, var(--brand), #0ea5e9);
    color: #fff !important;
    border-bottom: 0 !important;
    text-align: center;
  }
  .nav-cta:hover { background: linear-gradient(120deg, var(--brand-deep), #0ea5e9); }

  .hero { padding-top: calc(var(--header-h) + 64px); padding-bottom: 84px; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { justify-self: center; max-width: 540px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-panel { max-width: 560px; }

  .contact-panel { grid-template-columns: 1fr; }
  .contact-list { max-width: 560px; }

  .kb-panel { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 760px) {
  .container { width: min(var(--container), 100% - 36px); }

  .direction-grid,
  .capability-grid,
  .case-grid,
  .business-grid { grid-template-columns: 1fr; }
  .direction-card:last-child { grid-column: auto; }
  .direction-card:last-child .mini-list { display: block; }

  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-num { margin-bottom: 22px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }

  .float-a { top: 74px; left: -8px; }
  .float-b { right: -6px; bottom: 48px; }

  .hero h1 { font-size: clamp(1.7rem, 7.6vw, 2.85rem); }
  .hero-lead { font-size: .96rem; }
  .hero-tags { margin-top: 34px; }
}

@media (max-width: 560px) {
  .step-grid { grid-template-columns: 1fr; }
  .step { padding: 24px 20px; }

  .visual-card { transform: none; }
  .float-card { padding: 9px 12px; }
  .float-card small { font-size: .62rem; }
  .float-b small { display: none; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .contact-panel { padding: 32px 24px; }
  .business-card { padding: 28px 24px; }
  .kb-panel { padding: 30px 22px; }
  .kb-features { grid-template-columns: 1fr; gap: 18px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-tags li { font-size: .74rem; padding: 6px 12px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .hero-visual, .float-card, .hero-actions, .nav-toggle { display: none !important; }
  .hero { padding-top: 40px; background: #fff; color: #000; }
  .hero h1 em { color: var(--brand); -webkit-text-fill-color: var(--brand); }
  .section, .section-dark, .contact-panel { background: #fff !important; color: #000 !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
