/* ==========================================================================
   飞趣互联网 · 官网样式
   1. 设计变量    2. 基础重置    3. 布局与排版    4. 动效
   5. 导航        6. 首屏        7. 关于我们      8. 业务范围
   9. 案例展示   10. 典型客户   11. 核心技术     12. 联系我们
   ========================================================================== */

/* ==========================================================================
   1. 设计变量
   ========================================================================== */

:root {
  color-scheme: light;

  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: rgba(0, 0, 0, 0.08);

  --bg: #ffffff;
  --bg-soft: #fbfbfd;
  --bg-alt: #f5f5f7;
  --bg-dark: #000000;

  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: rgba(0, 113, 227, 0.1);
  --accent-on-dark: #2997ff;

  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 980px;

  --nav-height: 48px;
  --page-max: 1200px;
  --gutter: 22px;

  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 20px 48px rgba(0, 0, 0, 0.14);

  --font-sans: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont,
    'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Source Han Sans SC',
    'Noto Sans CJK SC', sans-serif;
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }
}

/* ==========================================================================
   2. 基础重置
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

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

::selection {
  background: rgba(0, 113, 227, 0.18);
}

/* ==========================================================================
   3. 布局与排版
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(72px, 9vw, 140px) 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--on-dark);
}

.section__head {
  max-width: 920px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section--dark .eyebrow {
  color: var(--accent-on-dark);
}

.display {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.section__title {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.subsection-title {
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.024em;
}

.section__lead {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.012em;
}

.section--dark .section__lead {
  color: var(--on-dark-2);
}

.body-text {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.62;
}

.caption {
  color: var(--ink-3);
  font-size: 13px;
  letter-spacing: 0;
}

/* 独立页面页头（例如：核心技术） */

.page-head {
  padding: calc(var(--nav-height) + clamp(56px, 7vw, 96px)) 0 clamp(40px, 5vw, 64px);
  background: var(--bg-soft);
  text-align: center;
}

.page-head .section__head {
  margin-bottom: 0;
}

.page-head__actions {
  justify-content: center;
}

/* 操作区 */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  background: var(--accent-hover);
}

.btn:active {
  transform: scale(0.98);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 500;
}

.link-arrow svg {
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.section--dark .link-arrow {
  color: var(--accent-on-dark);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 中文排版：字距收紧幅度小于西文，避免汉字挤压 */

html[lang^='zh'] .display {
  letter-spacing: -0.02em;
}

html[lang^='zh'] .section__title,
html[lang^='zh'] .subsection-title {
  letter-spacing: -0.014em;
}

/* ==========================================================================
   4. 滚动动效
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   5. 导航
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(251, 251, 253, 0);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.nav.is-scrolled,
.nav.is-open {
  background: rgba(251, 251, 253, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--nav-height);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav__brand {
  display: flex;
  align-items: center;
  flex: none;
}

.nav__brand img {
  height: 24px;
  width: auto;
}

.nav__links {
  display: none;
  gap: clamp(18px, 2.4vw, 36px);
  margin-left: auto;
}

.nav__link {
  color: var(--ink);
  font-size: 12.5px;
  letter-spacing: 0;
  opacity: 0.78;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__link:hover {
  color: var(--accent);
  opacity: 1;
}

.nav__link.is-current,
.nav__panel-link.is-current {
  color: var(--accent);
  opacity: 1;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.lang {
  display: flex;
  padding: 2px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.06);
}

.lang__btn {
  min-width: 34px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}

.lang__btn.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.nav__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.22s var(--ease);
}

.nav__burger:hover {
  background: rgba(0, 0, 0, 0.06);
}

.nav__panel {
  position: fixed;
  inset: var(--nav-height) 0 0;
  padding: 24px var(--gutter) 48px;
  background: rgba(251, 251, 253, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  overflow-y: auto;
}

.nav__panel[hidden] {
  display: none;
}

.nav__panel-links {
  display: flex;
  flex-direction: column;
}

.nav__panel-link {
  animation: nav-link-in 0.5s var(--ease) both;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav__panel-link:active {
  color: var(--accent);
}

@keyframes nav-link-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }

  .nav__actions {
    margin-left: 0;
  }

  .nav__burger,
  .nav__panel {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__panel-link {
    animation: none;
  }
}

/* ==========================================================================
   6. 首屏
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + clamp(64px, 9vw, 112px)) 0 clamp(64px, 8vw, 104px);
  background: var(--bg-soft);
  text-align: center;
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: hero-drift 22s var(--ease) infinite alternate;
}

.hero__orb--a {
  top: -22%;
  left: -10%;
  width: 58vw;
  max-width: 720px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, rgba(0, 113, 227, 0.42), transparent 68%);
}

.hero__orb--b {
  top: -8%;
  right: -14%;
  width: 52vw;
  max-width: 640px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 60% 40%, rgba(120, 84, 255, 0.34), transparent 66%);
  animation-delay: -8s;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 78%);
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__title {
  margin-top: 4px;
}

.hero__subtitle {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--ink-2);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.46;
  letter-spacing: -0.015em;
}

.hero__actions {
  justify-content: center;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: clamp(48px, 6vw, 76px) auto 0;
  padding-top: clamp(28px, 3.4vw, 40px);
  border-top: 1px solid var(--line);
}

.hero__stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}

.hero__stat-value {
  color: var(--ink);
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* 支持时再加渐变文字，避免不支持 background-clip 的浏览器出现空白 */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero__stat-value {
    background: linear-gradient(180deg, #1d1d1f 30%, #6e6e73);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.hero__stat-label {
  color: var(--ink-3);
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0;
}

@keyframes hero-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 6%, 0) scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__orb {
    animation: none;
  }
}

/* ==========================================================================
   7. 关于我们
   ========================================================================== */

.about__top {
  display: grid;
  gap: clamp(32px, 4vw, 64px);
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about__philosophy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
}

.about__philosophy-label {
  color: var(--ink-3);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.about__philosophy-text {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.about__bottom {
  display: grid;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 76px);
}

.about__panel {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
}

.about__panel-title {
  margin-bottom: 18px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: var(--shadow-card);
  font-size: 15px;
  letter-spacing: -0.01em;
}

.about__offices {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.office {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.office__icon {
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}

.office__city {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.office__address {
  display: block;
  margin-top: 3px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .about__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .about__intro {
    position: sticky;
    top: calc(var(--nav-height) + 40px);
  }

  .about__bottom {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ==========================================================================
   8. 业务范围
   ========================================================================== */

.services__grid {
  display: grid;
  gap: 16px;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.service__index {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.service__title {
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.service__summary {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}

.service__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.service__points li {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--ink-2);
  font-size: 13px;
}

.services__block {
  margin-top: clamp(56px, 7vw, 96px);
}

.services__block-lead {
  margin-top: 12px;
}

.advantages {
  display: grid;
  gap: 16px;
  margin-top: clamp(24px, 3vw, 36px);
}

.advantage {
  padding: clamp(24px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.advantage__title {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.advantage__text {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.62;
}

.process {
  display: grid;
  gap: 2px;
  margin-top: clamp(24px, 3vw, 36px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--line);
}

.process__step {
  padding: clamp(20px, 2.4vw, 26px);
  background: #fff;
}

.process__num {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.process__name {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.process__text {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .services__grid,
  .advantages,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .advantages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ==========================================================================
   9. 案例展示
   ========================================================================== */

/* --- 行业 Tab --- */

.cases__tabs {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.cases__tabs::-webkit-scrollbar {
  display: none;
}

.cases__tab {
  position: relative;
  flex: 0 0 auto;
  padding: 0 0 15px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 400;
  letter-spacing: -0.012em;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.cases__tab:hover {
  color: var(--ink);
}

.cases__tab.is-active {
  color: var(--ink);
  font-weight: 600;
}

.cases__tab.is-active::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--ink);
}

.cases__tab:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* --- 面板：左文右图 --- */

.cases__panel {
  /* 主案例区高度：其他案例块高度取它的 1/3 */
  --panel-h: clamp(360px, 38vw, 470px);

  display: grid;
  overflow: hidden;
  margin-top: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
}

.cases__panel[hidden] {
  display: none;
}

.cases__panel-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: clamp(30px, 4vw, 60px);
}

.cases__panel-media {
  position: relative;
  min-height: clamp(240px, 32vw, 460px);
  background: #0b0c10;
}

/* 让实拍图与暗色站点的接缝更自然 */
.cases__panel-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0) 42%);
  pointer-events: none;
}

.cases__shot {
  position: absolute;
  inset: 0;
  margin: 0;
}

.cases__shot[hidden] {
  display: none;
}

.cases__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--ease);
}

.cases__panel:hover .cases__shot img {
  transform: scale(1.03);
}

.cases__panel-eyebrow {
  color: var(--accent);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cases__bodies {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cases__body[hidden] {
  display: none;
}

.cases__panel-title {
  max-width: 15ch;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.cases__panel-summary {
  max-width: 46ch;
  margin-top: 16px;
  color: var(--ink-2);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
}

/* --- 同一行业下的多个案例 --- */

.cases__variants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cases__variant {
  padding: 7px 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-2);
  font-size: 13px;
  letter-spacing: -0.01em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.cases__variant:hover {
  background: rgba(0, 0, 0, 0.09);
}

.cases__variant.is-active {
  background: var(--ink);
  color: #fff;
}

.cases__actions {
  margin-top: clamp(22px, 3vw, 40px);
}

.cases__cta {
  gap: 8px;
}

.cases__cta svg {
  transition: transform 0.3s var(--ease);
}

.cases__cta:hover svg {
  transform: translateX(4px);
}

/* --- 更多案例（点击「更多案例」后展开） --- */

.cases__more[aria-expanded='true'] svg {
  transform: rotate(90deg);
}

.cases__extras {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
  padding: clamp(20px, 2.6vw, 32px) clamp(30px, 4vw, 60px) clamp(30px, 4vw, 60px);
  animation: cases-extras-in 0.4s var(--ease) both;
}

.cases__extras[hidden] {
  display: none;
}

.cases__extra {
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  height: calc(var(--panel-h) / 3);
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg);
  box-shadow: var(--shadow-card);
}

.cases__extra-media {
  overflow: hidden;
  margin: 0;
  background: #0b0c10;
}

.cases__extra-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.cases__extra:hover .cases__extra-media img {
  transform: scale(1.05);
}

.cases__extra-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 14px 18px;
}

.cases__extra-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cases__extra-summary {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cases__extras-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-3);
  font-size: 14px;
}

@keyframes cases-extras-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 600px) {
  /* auto-fit：几个案例就占几列，单个案例自动占满整行 */
  .cases__extras {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.cases__note {
  margin-top: 24px;
}

@media (min-width: 900px) {
  .cases__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .cases__panel-text {
    min-height: var(--panel-h);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cases__shot img,
  .cases__cta svg,
  .cases__extra-media img {
    transition: none;
  }

  .cases__extras {
    animation: none;
  }
}

/* ==========================================================================
   10. 典型客户
   ========================================================================== */

.clients__wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--line);
}

.clients__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 20px 16px;
  background: #fff;
}

.clients__cell img {
  width: auto;
  max-width: 100%;
  max-height: 42px;
  opacity: 0.5;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.clients__cell:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.clients__note {
  margin-top: 20px;
  text-align: center;
}

@media (min-width: 560px) {
  .clients__wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .clients__wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .clients__cell {
    min-height: 132px;
  }

  .clients__cell img {
    max-height: 48px;
  }
}

@media (min-width: 1060px) {
  .clients__wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ==========================================================================
   11. 核心技术
   ========================================================================== */

.pillars {
  display: grid;
  gap: 16px;
}

.pillar {
  padding: clamp(26px, 3.2vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
}

.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(41, 151, 255, 0.55);
  background: linear-gradient(160deg, rgba(41, 151, 255, 0.16), rgba(255, 255, 255, 0.05));
}

.pillar__title {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pillar__text {
  margin-top: 10px;
  color: var(--on-dark-2);
  font-size: 15px;
  line-height: 1.62;
}

.tech__block {
  margin-top: clamp(56px, 7vw, 92px);
}

.stack {
  display: grid;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 34px);
}

.stack__group {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
}

.stack__label {
  margin-bottom: 12px;
  color: var(--accent-on-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.stack__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack__items li {
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.09);
  color: var(--on-dark);
  font-size: 13.5px;
}

.quality {
  display: grid;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 34px);
}

.quality__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  color: var(--on-dark);
  font-size: 15px;
}

.quality__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-on-dark);
}

@media (min-width: 700px) {
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .pillar--wide {
    grid-column: span 2;
  }

  .stack,
  .quality {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .stack,
  .quality {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   12. 联系我们
   ========================================================================== */

.footer {
  padding: clamp(72px, 8vw, 120px) 0 40px;
  background: var(--bg-dark);
  color: var(--on-dark);
}

.footer__top {
  display: grid;
  gap: clamp(36px, 4vw, 64px);
}

.footer__channels {
  display: grid;
  gap: 14px;
}

.channel {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.channel__icon {
  flex: none;
  margin-top: 2px;
  color: var(--accent-on-dark);
}

.channel__label {
  margin-bottom: 6px;
  color: var(--on-dark-2);
  font-size: 12.5px;
  letter-spacing: 0.03em;
}

.channel__value {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.012em;
}

.channel__value + .channel__value {
  margin-top: 8px;
}

.channel__value--link {
  display: inline-block;
  color: var(--accent-on-dark);
}

.channel__value--link:hover {
  text-decoration: underline;
}

.channel__city {
  display: block;
  color: var(--on-dark-2);
  font-size: 13px;
}

.footer__brandline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo {
  height: 24px;
  width: auto;
  opacity: 0.92;
}

.footer__legalgroup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--on-dark-2);
  font-size: 13px;
}

.footer__company {
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 500;
}

.footer__icp:hover {
  color: var(--accent-on-dark);
}

@media (min-width: 700px) {
  .footer__channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel--wide {
    grid-column: span 2;
  }

  .footer__bottom {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
}

@media (min-width: 1000px) {
  .footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
  }
}

/* ==========================================================================
   13. 博客：列表 + 文章正文
   ========================================================================== */

.page-head--start {
  text-align: left;
}

.section--tight {
  padding-top: clamp(36px, 4.5vw, 64px);
}

.blog__list {
  display: grid;
  gap: 18px;
  max-width: 880px;
}

.blog__loading,
.blog__empty {
  color: var(--ink-2);
  font-size: 17px;
}

.blog__notice {
  max-width: 720px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
}

.blog__notice-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.blog__notice-text {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}

.blog__notice-text code,
.prose code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
  font-family: 'SF Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

/* ------------------------------------------------------------ 列表卡片 */

.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.post-card:hover {
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.post-card__link {
  display: block;
  padding: 26px 30px 28px;
}

.post-card__meta,
.post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 13px;
}

.post-card__dot {
  color: var(--ink-3);
}

.post-card__title {
  margin-top: 10px;
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.post-card__summary {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.62;
}

.post-card__tags,
.post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  list-style: none;
}

.post-card__tags li {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--ink-2);
  font-size: 12.5px;
}

.post-card__more {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
}

.post-card__link:hover .post-card__more {
  text-decoration: underline;
}

/* ------------------------------------------------------------ 文章页 */

.post__meta {
  margin-top: 18px;
  font-size: 14px;
}

.post__tags {
  margin-top: 14px;
}

.post__cover {
  margin: 0 0 40px;
}

.post__cover img {
  width: 100%;
  border-radius: var(--radius-md);
}

.post__back {
  max-width: 760px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.post__back .link-arrow svg {
  order: -1;
  transform: rotate(180deg);
}

.post__back .link-arrow:hover svg {
  transform: rotate(180deg) translateX(4px);
}

/* ------------------------------------------------------------ 正文排版 */

.prose {
  max-width: 760px;
  color: var(--ink);
  font-size: 17.5px;
  line-height: 1.78;
  letter-spacing: -0.003em;
}

.prose > * + * {
  margin-top: 1.15em;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.24;
}

.prose h2 {
  margin-top: 2.1em;
  font-size: 27px;
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 21px;
}

.prose h4 {
  margin-top: 1.6em;
  font-size: 18px;
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: 0.7em;
}

.prose a {
  color: var(--accent);
}

.prose a:hover {
  text-decoration: underline;
}

.prose strong {
  font-weight: 600;
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
}

.prose ul {
  list-style: disc;
}

.prose ul ul {
  list-style: circle;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose li::marker {
  color: var(--ink-3);
}

.prose li > p,
.prose li > p + p {
  margin-top: 0.5em;
}

.prose blockquote {
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  color: var(--ink-2);
}

.prose blockquote > * + * {
  margin-top: 0.8em;
}

.prose hr {
  height: 1px;
  margin: 2.6em 0;
  border: 0;
  background: var(--line);
}

.prose img {
  width: 100%;
  border-radius: var(--radius-md);
}

.prose__pre {
  overflow-x: auto;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: #f5f5f7;
  font-size: 14px;
  line-height: 1.62;
}

.prose__pre code {
  padding: 0;
  background: none;
  font-size: 14px;
}

.prose__table-wrap {
  overflow-x: auto;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}

.prose th,
.prose td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.prose th {
  color: var(--ink-2);
  font-weight: 600;
  white-space: nowrap;
}

@media (min-width: 700px) {
  .post-card__link {
    padding: 30px 36px 32px;
  }
}

/* ==========================================================================
   14. 底座产品（核心技术页）
   ========================================================================== */

.suite__rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(36px, 4.5vw, 56px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
}

.suite__tab {
  position: relative;
  padding: 20px 18px 22px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  text-align: left;
  transition: background 0.25s var(--ease);
}

.suite__tab::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: transparent;
  transition: background 0.25s var(--ease);
}

.suite__tab:hover {
  background: var(--bg-soft);
}

.suite__tab.is-active {
  background: var(--bg-alt);
}

.suite__tab.is-active::before {
  background: var(--accent);
}

.suite__tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}

.suite__tab-name {
  display: block;
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.suite__tab-desc {
  display: block;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.5;
}

.suite__panels {
  margin-top: clamp(20px, 2.6vw, 32px);
}

.suite__panel {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  animation: suite-in 0.5s var(--ease) both;
}

.suite__panel[hidden] {
  display: none;
}

@keyframes suite-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.suite__panel-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: clamp(30px, 4vw, 60px);
}

.suite__index {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.suite__name {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.028em;
}

.suite__tagline {
  color: var(--accent);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 500;
}

.suite__desc {
  color: var(--ink-2);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.68;
}

.suite__points {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.suite__points li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.55;
}

.suite__points li::before {
  content: '';
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.suite__panel-media {
  position: relative;
  min-height: clamp(240px, 30vw, 420px);
  margin: 0;
  background: #0b0c10;
}

.suite__panel-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suite__blueprint {
  max-width: 620px;
  margin: clamp(48px, 6vw, 80px) auto 0;
  text-align: center;
}

.suite__blueprint img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.suite__blueprint figcaption {
  margin-top: 12px;
}

@media (min-width: 640px) {
  .suite__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .suite__rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .suite__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}

@media (min-width: 1160px) {
  .suite__rail {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .suite__panel {
    animation: none;
  }
}
