/* ═══════════════════════════════════════════════════════════════
   郑州亿途信息技术有限公司
   Apple-Inspired Premium Design System — Refined & Restrained
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
   /* ── Core palette ── */
   --red-50: #FFF5F3;
   --red-100: rgba(255, 69, 58, 0.08);
   --red-200: rgba(255, 69, 58, 0.15);
   --red-300: rgba(255, 69, 58, 0.28);
   --red-400: #FF9F95;
   --red-500: #FF6B5E;
   --red-600: #FF453A;
   --red-700: #D70015;
   --red-800: #A0000E;

   --indigo-50: #F5F3FF;
   --indigo-100: rgba(88, 86, 214, 0.08);
   --indigo-500: #5856D6;
   --indigo-600: #4B49C3;

   --amber-50: #FFFBEB;
   --amber-500: #F59E0B;

   /* ── Surfaces — warm-leaning whites ── */
   --bg-root: #FAFAFA;
   --bg-white: #FFFFFF;
   --bg-warm: #FBF9F8;
   --bg-subtle: #F5F5F4;
   --bg-glass: rgba(255, 255, 255, 0.78);
   --bg-glass-h: rgba(255, 255, 255, 0.94);

   /* ── Text — near-black, never pure black ── */
   --t-heading: #1D1D1F;
   --t-body: #3A3A3C;
   --t-secondary: #6E6E73;
   --t-tertiary: #AEAEB2;
   --t-placeholder: #C7C7CC;

   /* ── Gradients ── */
   --grad-red: linear-gradient(135deg, #FF453A 0%, #FF6B5E 100%);
   --grad-warm: linear-gradient(180deg, #FFF5F3 0%, #FAFAFA 100%);
   --grad-hero: linear-gradient(170deg, #FFF5F3 0%, #FBF9F8 35%, #FAFAFA 70%, #FFFFFF 100%);

   /* ── Shadows — soft, multi-layered, never harsh ── */
   --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
   --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
   --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
   --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.04), 0 16px 48px rgba(0, 0, 0, 0.08);
   --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.04), 0 32px 80px rgba(0, 0, 0, 0.10);
   --shadow-red: 0 4px 20px rgba(255, 69, 58, 0.18);
   --shadow-red-lg: 0 8px 40px rgba(255, 69, 58, 0.24);

   /* ── Typography ── */
   --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
      'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
   --font-mono: 'SF Mono', 'Menlo', 'Consolas', monospace;

   /* ── Radii ── */
   /* ── Legacy aliases (case-detail pages compatibility) ── */
   --text-light: var(--t-heading);
   --text-gray: var(--t-secondary);
   --primary-red: var(--red-600);
   --dark-red: var(--red-700);

   --r-sm: 8px;
   --r-md: 14px;
   --r-lg: 20px;
   --r-xl: 28px;
   --r-2xl: 36px;
   --r-full: 9999px;

   /* ── Easing — spring-feel curves ── */
   --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
   --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
   --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
   --dur-fast: 0.2s;
   --dur: 0.45s;
   --dur-slow: 0.7s;
}

/* ── Reset ── */
*,
*::before,
*::after {
   margin: 0;
   padding: 0;
   box-sizing: border-box
}

html {
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   scroll-behavior: smooth;
   text-rendering: optimizeLegibility
}

body {
   font-family: var(--font);
   background: var(--bg-root);
   color: var(--t-body);
   line-height: 1.62;
   overflow-x: hidden;
   -webkit-tap-highlight-color: transparent
}

img {
   max-width: 100%;
   display: block
}

a {
   color: inherit;
   text-decoration: none
}

button {
   font-family: inherit
}

/* ── Container ── */
.container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 28px
}

@media(min-width:768px) {
   .container {
      padding: 0 40px
   }
}

@media(min-width:1200px) {
   .container {
      padding: 0 48px
   }
}

/* ── Section Base ── */
section {
   padding: 120px 0;
   position: relative;
   overflow: hidden
}

@media(min-width:768px) {
   section {
      padding: 160px 0
   }
}

.section-header {
   margin-bottom: 72px
}

.section-header.centered {
   text-align: center
}

.section-header.centered .section-subtitle {
   margin-left: auto;
   margin-right: auto
}

/* ── Section Label (pill badge) ── */
.section-label {
   display: inline-flex;
   align-items: center;
   gap: 7px;
   font-size: .7rem;
   font-weight: 600;
   letter-spacing: .1em;
   text-transform: uppercase;
   color: var(--red-600);
   margin-bottom: 20px;
   padding: 6px 16px;
   background: var(--red-50);
   border-radius: var(--r-full);
   border: 1px solid var(--red-200)
}

.section-label i {
   font-size: .65rem
}

/* ── Section Title — big, bold, typography-first ── */
.section-title {
   font-size: clamp(2.4rem, 5vw, 3.6rem);
   font-weight: 700;
   line-height: 1.08;
   letter-spacing: -.035em;
   color: var(--t-heading);
   margin-bottom: 20px
}

.section-title .accent {
   color: var(--red-600)
}

.section-title .gradient-text {
   background: var(--grad-red);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text
}

/* ── Section Subtitle ── */
.section-subtitle {
   font-size: clamp(1.05rem, 1.4vw, 1.2rem);
   color: var(--t-secondary);
   max-width: 560px;
   line-height: 1.75
}

/* ── Section Divider ── */
.section-divider {
   width: 48px;
   height: 3px;
   background: var(--grad-red);
   border-radius: 2px;
   margin: 0 auto 28px
}


/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.header {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 1000;
   background: rgba(250, 250, 250, .72);
   -webkit-backdrop-filter: saturate(180%) blur(24px);
   backdrop-filter: saturate(180%) blur(24px);
   border-bottom: 1px solid rgba(0, 0, 0, .05);
   transition: all var(--dur) var(--ease-out)
}

.header.scrolled {
   background: rgba(255, 255, 255, .88);
   border-bottom-color: rgba(0, 0, 0, .07);
   box-shadow: 0 1px 3px rgba(0, 0, 0, .03)
}

.header-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   height: 56px
}

@media(min-width:768px) {
   .header-container {
      height: 68px
   }
}

.logo {
   font-size: 1.2rem;
   font-weight: 700;
   letter-spacing: -.02em;
   color: var(--t-heading);
   flex-shrink: 0;
   display: flex;
   align-items: center;
   gap: 8px
}

.logo span {
   color: var(--red-600)
}

.logo img {
   height: 36px;
   width: auto;
   display: block
}

.nav-menu {
   display: flex;
   gap: 32px;
   align-items: center
}

.nav-link {
   font-size: .82rem;
   font-weight: 500;
   color: var(--t-secondary);
   transition: color var(--dur-fast) var(--ease-out);
   position: relative;
   padding: 6px 0;
   letter-spacing: -.01em
}

.nav-link::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 50%;
   width: 0;
   height: 2px;
   border-radius: 1px;
   background: var(--red-600);
   transition: all var(--dur-fast) var(--ease-out);
   transform: translateX(-50%)
}

.nav-link:hover,
.nav-link.active {
   color: var(--t-heading)
}

.nav-link.active::after {
   width: 100%
}

.nav-cta {
   margin-left: 8px;
   padding: 8px 20px !important;
   background: var(--grad-red);
   color: #fff !important;
   border-radius: var(--r-full);
   font-weight: 600 !important;
   font-size: .78rem !important;
   letter-spacing: -.01em;
   box-shadow: 0 2px 12px rgba(255, 69, 58, .25);
   transition: all var(--dur-fast) var(--ease-spring)
}

.nav-cta:hover {
   transform: translateY(-1px);
   box-shadow: 0 4px 20px rgba(255, 69, 58, .35) !important
}

.nav-cta::after {
   display: none !important
}

@media(max-width:767px) {
   .nav-menu {
      gap: 16px
   }

   .nav-link {
      font-size: .75rem
   }

   .nav-cta {
      padding: 6px 14px !important;
      font-size: .72rem !important
   }
}


/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   overflow: hidden;
   padding: 140px 0 100px;
   background: var(--grad-hero)
}

.hero::before {
   content: '';
   position: absolute;
   inset: 0;
   background:
      radial-gradient(ellipse 70% 50% at 25% 15%, rgba(255, 69, 58, .10) 0%, transparent 55%),
      radial-gradient(ellipse 50% 45% at 75% 25%, rgba(88, 86, 214, .04) 0%, transparent 50%),
      radial-gradient(ellipse 45% 35% at 50% 75%, rgba(255, 69, 58, .04) 0%, transparent 50%);
   pointer-events: none
}

.hero::after {
   content: '';
   position: absolute;
   inset: 0;
   background-image:
      linear-gradient(rgba(0, 0, 0, .02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 0, 0, .02) 1px, transparent 1px);
   background-size: 64px 64px;
   pointer-events: none;
   animation: gridMove 24s linear infinite
}

@keyframes gridMove {
   0% {
      transform: translate(0, 0)
   }

   100% {
      transform: translate(64px, 64px)
   }
}

#hero-canvas {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   pointer-events: none;
   z-index: 0;
   opacity: .55
}

.hero-content {
   text-align: center;
   max-width: 860px;
   position: relative;
   z-index: 1;
   padding: 0 24px
}

/* Hero badge */
.hero-badge {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 8px 20px;
   background: var(--red-50);
   border: 1px solid var(--red-200);
   border-radius: var(--r-full);
   font-size: .8rem;
   font-weight: 600;
   color: var(--red-600);
   margin-bottom: 48px;
   backdrop-filter: blur(10px);
   letter-spacing: -.01em
}

.hero-badge i {
   font-size: .7rem;
   opacity: .8
}

/* Hero title — oversized, bold, airy */
.hero-title {
   font-size: clamp(3rem, 7vw, 5.4rem);
   font-weight: 700;
   line-height: 1.15;
   letter-spacing: -.025em;
   color: var(--t-heading);
   margin-bottom: 40px
}

.hero-title .gradient-text {
   background: var(--grad-red);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text
}

/* Hero subtitle */
.hero-subtitle {
   font-size: clamp(1.05rem, 1.5vw, 1.25rem);
   color: var(--t-secondary);
   line-height: 1.75;
   margin-bottom: 48px;
   max-width: 620px;
   margin-left: auto;
   margin-right: auto
}

/* Hero CTA buttons */
.hero-actions {
   display: flex;
   gap: 16px;
   justify-content: center;
   flex-wrap: wrap;
   margin-bottom: 56px
}

.btn {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   padding: 15px 34px;
   border-radius: var(--r-full);
   font-size: .95rem;
   font-weight: 600;
   font-family: inherit;
   cursor: pointer;
   border: none;
   transition: all var(--dur-fast) var(--ease-spring);
   text-decoration: none;
   letter-spacing: -.01em
}

.btn-primary {
   background: var(--grad-red);
   color: white;
   box-shadow: 0 4px 20px rgba(255, 69, 58, .28)
}

.btn-primary:hover {
   transform: translateY(-2px);
   box-shadow: 0 8px 32px rgba(255, 69, 58, .38)
}

.btn-primary:active {
   transform: translateY(0);
   box-shadow: 0 2px 12px rgba(255, 69, 58, .20)
}

.btn-primary i {
   transition: transform var(--dur-fast) var(--ease-out)
}

.btn-primary:hover i {
   transform: translateX(4px)
}

.btn-secondary {
   background: var(--bg-white);
   color: var(--t-body);
   border: 1px solid rgba(0, 0, 0, .08);
   box-shadow: var(--shadow-xs)
}

.btn-secondary:hover {
   background: var(--bg-white);
   border-color: rgba(0, 0, 0, .14);
   transform: translateY(-2px);
   box-shadow: var(--shadow-sm)
}

.btn-secondary:active {
   transform: translateY(0)
}

.btn-secondary i {
   transition: transform var(--dur-fast) var(--ease-out)
}

.btn-secondary:hover i {
   transform: translateX(4px)
}

/* Hero trust bar */
.hero-trust {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 40px;
   flex-wrap: wrap
}

.hero-trust-item {
   display: flex;
   align-items: center;
   gap: 10px;
   font-size: .82rem;
   color: var(--t-tertiary);
   font-weight: 500
}

.hero-trust-item i {
   color: var(--red-400);
   font-size: .9rem
}

@media(max-width:639px) {
   .hero-title {
      line-height: 1.2;
      letter-spacing: -.015em
   }

   .hero-actions {
      flex-direction: column;
      align-items: center
   }

   .hero-trust {
      gap: 20px
   }

   .hero-trust-item {
      font-size: .75rem
   }
}


/* ═══════════════════════════════════════════════════════
   INDUSTRY NAV  (案例区行业快捷入口)
   ═══════════════════════════════════════════════════════ */
.industry-nav-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 16px;
   max-width: 960px;
   margin: 0 auto 36px
}

.industry-nav-card {
   background: var(--bg-white);
   border: 1px solid rgba(0, 0, 0, .05);
   border-radius: var(--r-xl);
   padding: 28px 20px;
   text-align: center;
   transition: all var(--dur) var(--ease-spring);
   cursor: pointer;
   box-shadow: var(--shadow-sm);
   position: relative;
   overflow: hidden
}

.industry-nav-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 3px;
   background: var(--grad-red);
   opacity: 0;
   transition: opacity var(--dur) var(--ease-out)
}

.industry-nav-card:hover {
   transform: translateY(-6px);
   box-shadow: var(--shadow-lg), var(--shadow-red);
   border-color: rgba(255, 69, 58, .10)
}

.industry-nav-card:hover::before {
   opacity: 1
}

.industry-nav-icon {
   width: 52px;
   height: 52px;
   border-radius: var(--r-md);
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 16px;
   font-size: 1.3rem;
   color: var(--red-600);
   background: var(--red-50);
   transition: all var(--dur) var(--ease-spring)
}

.industry-nav-card:hover .industry-nav-icon {
   background: var(--red-600);
   color: #fff;
   transform: scale(1.08);
   box-shadow: 0 4px 16px rgba(255, 69, 58, .25)
}

.industry-nav-card h4 {
   font-size: .95rem;
   font-weight: 600;
   color: var(--t-heading);
   margin-bottom: 4px;
   letter-spacing: -.01em
}

.industry-nav-card p {
   font-size: .78rem;
   color: var(--t-tertiary)
}

@media(max-width:767px) {
   .industry-nav-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin: 0 auto 28px
   }

   .industry-nav-card {
      padding: 20px 14px
   }
}

@media(max-width:399px) {
   .industry-nav-grid {
      grid-template-columns: 1fr
   }
}


/* ═══════════════════════════════════════════════════════
   CAPABILITIES BAR
   ═══════════════════════════════════════════════════════ */
.capabilities-section {
   padding: 80px 0 0 !important
}

.cap-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 24px;
   max-width: 900px;
   margin: 0 auto
}

.cap-card {
   background: var(--bg-white);
   border: 1px solid rgba(0, 0, 0, .04);
   border-radius: var(--r-xl);
   padding: 40px 32px;
   text-align: center;
   transition: all var(--dur) var(--ease-spring);
   box-shadow: var(--shadow-xs);
   position: relative;
   overflow: hidden
}

.cap-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 3px;
   background: var(--grad-red);
   opacity: 0;
   transition: opacity var(--dur) var(--ease-out)
}

.cap-card:hover {
   transform: translateY(-6px);
   box-shadow: var(--shadow-lg), var(--shadow-red);
   border-color: rgba(255, 69, 58, .08)
}

.cap-card:hover::before {
   opacity: 1
}

.cap-icon {
   width: 52px;
   height: 52px;
   background: var(--red-50);
   border-radius: var(--r-md);
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 20px;
   font-size: 1.25rem;
   color: var(--red-600);
   transition: all var(--dur) var(--ease-spring)
}

.cap-card:hover .cap-icon {
   background: var(--red-600);
   color: #fff;
   transform: scale(1.1);
   box-shadow: 0 4px 16px rgba(255, 69, 58, .25)
}

.cap-card h4 {
   font-size: 1.05rem;
   font-weight: 600;
   color: var(--t-heading);
   margin-bottom: 10px;
   letter-spacing: -.01em
}

.cap-card p {
   font-size: .88rem;
   color: var(--t-secondary);
   line-height: 1.7
}

@media(max-width:767px) {
   .cap-grid {
      grid-template-columns: 1fr;
      gap: 16px
   }
}


/* ═══════════════════════════════════════════════════════
   CASES SECTION  (客户案例 — 提前到产品之前)
   ═══════════════════════════════════════════════════════ */
.cases-section {
   background: var(--bg-white)
}

/* Industry filter tabs */
.case-filters {
   display: flex;
   justify-content: center;
   gap: 10px;
   margin-bottom: 48px;
   flex-wrap: wrap
}

.case-filter {
   padding: 8px 22px;
   border-radius: var(--r-full);
   font-size: .82rem;
   font-weight: 500;
   color: var(--t-secondary);
   background: var(--bg-subtle);
   border: 1px solid transparent;
   cursor: pointer;
   transition: all var(--dur-fast) var(--ease-out);
   font-family: inherit;
   letter-spacing: -.01em
}

.case-filter:hover {
   color: var(--t-heading);
   background: var(--bg-white);
   border-color: rgba(0, 0, 0, .08);
   box-shadow: var(--shadow-xs)
}

.case-filter.active {
   background: var(--red-600);
   color: #fff;
   border-color: var(--red-600);
   box-shadow: 0 2px 12px rgba(255, 69, 58, .25)
}

/* Case cards grid */
.cases-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 24px
}

/* Individual case card — clean image+body layout, no text-on-image overlap */
.case-card {
   background: var(--bg-white);
   border: 1px solid rgba(0, 0, 0, .05);
   border-radius: var(--r-xl);
   overflow: hidden;
   transition: all var(--dur) var(--ease-spring);
   box-shadow: var(--shadow-xs);
   display: flex;
   flex-direction: column;
   text-decoration: none;
   color: inherit;
   cursor: pointer
}

.case-card:hover {
   transform: translateY(-6px);
   box-shadow: var(--shadow-xl), 0 8px 40px rgba(255, 69, 58, .12);
   border-color: rgba(255, 69, 58, .10)
}

/* Image area */
.case-img-wrap {
   position: relative;
   overflow: hidden;
   aspect-ratio: 16 / 10;
   background: var(--bg-subtle)
}

.case-img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform .7s var(--ease-out)
}

.case-card:hover .case-img {
   transform: scale(1.06)
}

/* Category tag — frosted pill on the image */
.case-tag {
   position: absolute;
   top: 12px;
   left: 12px;
   font-size: .68rem;
   font-weight: 600;
   color: #fff;
   background: rgba(0, 0, 0, .40);
   backdrop-filter: blur(14px);
   -webkit-backdrop-filter: blur(14px);
   padding: 4px 11px;
   border-radius: var(--r-full);
   letter-spacing: .02em;
   transition: all var(--dur) var(--ease-out)
}

.case-card:hover .case-tag {
   background: var(--red-600);
   color: #fff
}

/* Card body — clean typography, no image behind it */
.case-body {
   padding: 22px 22px 26px;
   display: flex;
   flex-direction: column;
   gap: 6px;
   flex: 1
}

.case-body h3 {
   font-size: .98rem;
   font-weight: 600;
   color: var(--t-heading);
   letter-spacing: -.01em;
   line-height: 1.35;
   margin: 0
}

.case-body p {
   font-size: .82rem;
   color: var(--t-secondary);
   line-height: 1.6;
   margin: 0;
   flex: 1
}

/* Data highlight — always visible, not hidden behind hover */
.case-highlight {
   display: inline-flex;
   align-items: center;
   gap: 5px;
   font-size: .76rem;
   font-weight: 600;
   color: var(--t-secondary);
   margin-top: 2px
}

.case-highlight i {
   font-size: .68rem;
   opacity: .65
}

/* ── Responsive ── */
@media(max-width:1023px) {
   .cases-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px
   }
}

@media(max-width:639px) {
   .cases-grid {
      grid-template-columns: 1fr;
      gap: 16px
   }

   .case-body {
      padding: 18px 18px 22px
   }
}


/* ═══════════════════════════════════════════════════════
   CTA BANNER  (案例区底部转化横幅)
   ═══════════════════════════════════════════════════════ */
.cta-banner {
   background: var(--bg-warm);
   border-top: 1px solid rgba(0, 0, 0, .04);
   border-bottom: 1px solid rgba(0, 0, 0, .04)
}

.cta-banner .section-header {
   margin-bottom: 32px
}

.cta-banner .container {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 32px;
   flex-wrap: wrap
}

.cta-banner-text {
   flex: 1;
   min-width: 280px
}

.cta-banner-text h2 {
   font-size: clamp(1.6rem, 3vw, 2.2rem);
   font-weight: 700;
   color: var(--t-heading);
   letter-spacing: -.025em;
   margin-bottom: 12px
}

.cta-banner-text p {
   font-size: 1.05rem;
   color: var(--t-secondary);
   line-height: 1.7
}

@media(max-width:639px) {
   .cta-banner .container {
      flex-direction: column;
      text-align: center
   }
}


/* ═══════════════════════════════════════════════════════
   SOFTWARE SECTION  (软件产品 — 蓝色科技感)
   ═══════════════════════════════════════════════════════ */
.software-section {
   background: var(--bg-root)
}

.software-section .section-label {
   color: var(--indigo-600);
   background: var(--indigo-50);
   border-color: var(--indigo-100)
}

.software-section .section-title .gradient-text {
   background: linear-gradient(135deg, var(--indigo-600) 0%, #7C7AEE 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text
}

.software-section .section-divider {
   background: linear-gradient(135deg, var(--indigo-600) 0%, #7C7AEE 100%)
}

.sw-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 24px
}

.sw-card {
   background: var(--bg-white);
   border: 1px solid rgba(0, 0, 0, .04);
   border-radius: var(--r-xl);
   padding: 0;
   overflow: hidden;
   transition: all var(--dur) var(--ease-spring);
   box-shadow: var(--shadow-xs);
   display: block;
   text-decoration: none;
   color: inherit
}

.sw-card:hover {
   transform: translateY(-6px);
   box-shadow: var(--shadow-xl);
   border-color: rgba(88, 86, 214, .12)
}

.sw-card-img {
   width: 100%;
   aspect-ratio: 16/10;
   object-fit: cover;
   background: var(--bg-subtle);
   transition: transform .7s var(--ease-out)
}

.sw-card:hover .sw-card-img {
   transform: scale(1.04)
}

.sw-card-body {
   padding: 28px 28px 32px
}

.sw-card-body h3 {
   font-size: 1.1rem;
   font-weight: 600;
   color: var(--t-heading);
   margin-bottom: 8px;
   letter-spacing: -.01em
}

.sw-card-body p {
   font-size: .88rem;
   color: var(--t-secondary);
   line-height: 1.65;
   margin-bottom: 16px
}

.sw-card-tags {
   display: flex;
   gap: 8px;
   flex-wrap: wrap
}

.sw-tag {
   padding: 4px 12px;
   border-radius: var(--r-full);
   font-size: .7rem;
   font-weight: 600;
   letter-spacing: .02em;
   color: var(--indigo-600);
   background: var(--indigo-50);
   border: 1px solid var(--indigo-100)
}

@media(max-width:1023px) {
   .sw-grid {
      grid-template-columns: repeat(2, 1fr)
   }
}

@media(max-width:639px) {
   .sw-grid {
      grid-template-columns: 1fr
   }
}


/* ═══════════════════════════════════════════════════════
   WHY US  (原"关于我们"改造)
   ═══════════════════════════════════════════════════════ */
.why-us-section {
   background: var(--bg-white)
}

.why-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 28px;
   margin-top: 0
}

.why-card {
   background: var(--bg-warm);
   border-radius: var(--r-xl);
   padding: 44px 36px;
   transition: all var(--dur) var(--ease-spring);
   position: relative;
   overflow: hidden;
   border: 1px solid rgba(0, 0, 0, .03)
}

.why-card::after {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 3px;
   background: var(--grad-red);
   opacity: 0;
   transition: opacity var(--dur) var(--ease-out)
}

.why-card:hover {
   background: var(--bg-white);
   box-shadow: var(--shadow-lg);
   border-color: rgba(255, 69, 58, .06);
   transform: translateY(-4px)
}

.why-card:hover::after {
   opacity: 1
}

.why-card-num {
   font-size: 3.2rem;
   font-weight: 800;
   color: var(--t-placeholder);
   line-height: 1;
   margin-bottom: 8px;
   letter-spacing: -.04em;
   transition: color var(--dur) var(--ease-out)
}

.why-card:hover .why-card-num {
   color: var(--red-600)
}

.why-card h3 {
   font-size: 1.15rem;
   font-weight: 700;
   color: var(--t-heading);
   margin-bottom: 12px;
   letter-spacing: -.01em
}

.why-card p {
   font-size: .9rem;
   color: var(--t-secondary);
   line-height: 1.75
}

/* Stats row */
.why-stats {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 20px;
   margin-top: 60px;
   max-width: 1000px;
   margin-left: auto;
   margin-right: auto
}

.why-stat {
   text-align: center;
   padding: 24px 16px
}

.why-stat-number {
   font-size: clamp(2rem, 3vw, 2.8rem);
   font-weight: 800;
   color: var(--red-600);
   letter-spacing: -.04em;
   line-height: 1;
   margin-bottom: 8px
}

.why-stat-label {
   font-size: .82rem;
   color: var(--t-tertiary);
   font-weight: 500;
   line-height: 1.4
}

@media(max-width:1023px) {
   .why-grid {
      grid-template-columns: 1fr;
      gap: 20px
   }

   .why-stats {
      grid-template-columns: repeat(2, 1fr)
   }
}

@media(max-width:639px) {
   .why-stats {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px
   }
}


/* ═══════════════════════════════════════════════════════
   SERVICES SECTION  (业务范围 — 精简为4项)
   ═══════════════════════════════════════════════════════ */
.services-section {
   background: var(--bg-root);
   position: relative
}

.services-section::before {
   content: '';
   position: absolute;
   top: 0;
   right: 0;
   width: 500px;
   height: 500px;
   background: radial-gradient(circle, rgba(255, 69, 58, .03) 0%, transparent 60%);
   pointer-events: none
}

.svc-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 20px;
   max-width: 900px;
   margin: 0 auto
}

.svc-card {
   background: var(--bg-white);
   border: 1px solid rgba(0, 0, 0, .04);
   border-radius: var(--r-xl);
   padding: 36px 32px;
   transition: all var(--dur) var(--ease-spring);
   position: relative;
   overflow: hidden;
   box-shadow: var(--shadow-xs);
   display: flex;
   gap: 24px;
   align-items: flex-start
}

.svc-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   bottom: 0;
   width: 3px;
   background: var(--grad-red);
   opacity: 0;
   transition: opacity var(--dur) var(--ease-out)
}

.svc-card:hover {
   transform: translateX(4px);
   box-shadow: var(--shadow-md), var(--shadow-red);
   border-color: rgba(255, 69, 58, .08)
}

.svc-card:hover::before {
   opacity: 1
}

.svc-icon-wrap {
   flex-shrink: 0;
   width: 50px;
   height: 50px;
   background: var(--red-50);
   border-radius: var(--r-md);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.2rem;
   color: var(--red-600);
   transition: all var(--dur) var(--ease-spring)
}

.svc-card:hover .svc-icon-wrap {
   background: var(--red-600);
   color: #fff;
   transform: scale(1.06)
}

.svc-text h3 {
   font-size: 1.05rem;
   font-weight: 600;
   color: var(--t-heading);
   margin-bottom: 8px;
   letter-spacing: -.01em
}

.svc-text p {
   font-size: .88rem;
   color: var(--t-secondary);
   line-height: 1.65;
   margin-bottom: 10px
}

.svc-link {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   font-size: .8rem;
   font-weight: 600;
   color: var(--red-600);
   transition: gap var(--dur-fast) var(--ease-out)
}

.svc-link:hover {
   gap: 10px
}

.svc-link i {
   font-size: .7rem
}

@media(max-width:767px) {
   .svc-grid {
      grid-template-columns: 1fr
   }

   .svc-card {
      padding: 28px 24px
   }
}


/* ═══════════════════════════════════════════════════════
   PARTNERS SECTION
   ═══════════════════════════════════════════════════════ */
.partners-section {
   background: var(--bg-white)
}

.partner-group {
   margin-bottom: 48px
}

.partner-group:last-child {
   margin-bottom: 0
}

.partner-group-label {
   text-align: center;
   margin-bottom: 28px;
   font-size: .75rem;
   font-weight: 600;
   letter-spacing: .1em;
   text-transform: uppercase;
   color: var(--t-tertiary)
}

.partners-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
   max-width: 800px;
   margin: 0 auto
}

.partner-item {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 14px;
   padding: 28px 20px;
   background: var(--bg-warm);
   border: 1px solid rgba(0, 0, 0, .03);
   border-radius: var(--r-lg);
   transition: all var(--dur) var(--ease-spring);
   cursor: default
}

.partner-item:hover {
   background: var(--bg-white);
   border-color: rgba(255, 69, 58, .08);
   transform: translateY(-4px);
   box-shadow: var(--shadow-md)
}

.partner-img-wrap {
   display: flex;
   align-items: center;
   justify-content: center;
   height: 56px
}

.partner-img {
   max-width: 130px;
   max-height: 56px;
   object-fit: contain;
   opacity: 1;
   transition: all var(--dur) var(--ease-out)
}

.partner-item:hover .partner-img {
   opacity: 1;
   transform: scale(1.05)
}

.partner-name {
   font-size: .75rem;
   font-weight: 500;
   color: var(--t-tertiary);
   text-align: center;
   transition: color var(--dur) var(--ease-out)
}

.partner-item:hover .partner-name {
   color: var(--t-secondary)
}

.partner-relation {
   font-size: .68rem;
   color: var(--t-placeholder);
   text-align: center;
   margin-top: -8px
}

@media(max-width:639px) {
   .partners-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px
   }
}


/* ═══════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════ */
.contact-section {
   background: var(--bg-root)
}

.contact-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 60px;
   align-items: start
}

.contact-info h3 {
   font-size: 1.4rem;
   font-weight: 700;
   color: var(--t-heading);
   margin-bottom: 36px;
   letter-spacing: -.02em
}

.contact-item {
   display: flex;
   align-items: flex-start;
   gap: 18px;
   margin-bottom: 20px;
   padding: 24px;
   background: var(--bg-white);
   border-radius: var(--r-lg);
   border: 1px solid rgba(0, 0, 0, .04);
   transition: all var(--dur) var(--ease-out);
   position: relative;
   overflow: hidden
}

.contact-item::before {
   content: '';
   position: absolute;
   left: 0;
   top: 0;
   bottom: 0;
   width: 3px;
   background: var(--grad-red);
   opacity: 0;
   transition: opacity var(--dur) var(--ease-out)
}

.contact-item:hover {
   transform: translateX(4px);
   box-shadow: var(--shadow-sm);
   border-color: rgba(255, 69, 58, .06)
}

.contact-item:hover::before {
   opacity: 1
}

.contact-icon-wrap {
   width: 44px;
   height: 44px;
   background: var(--red-50);
   border-radius: var(--r-sm);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1rem;
   color: var(--red-600);
   flex-shrink: 0;
   transition: all var(--dur) var(--ease-out)
}

.contact-item:hover .contact-icon-wrap {
   background: var(--red-600);
   color: #fff
}

.contact-details h4 {
   font-size: .9rem;
   font-weight: 600;
   color: var(--t-heading);
   margin-bottom: 4px
}

.contact-details p {
   font-size: .85rem;
   color: var(--t-secondary);
   line-height: 1.6
}

/* WeChat Card */
.wechat-card {
   background: var(--bg-white);
   border: 1px solid rgba(0, 0, 0, .04);
   border-radius: var(--r-xl);
   padding: 48px 36px;
   text-align: center;
   display: flex;
   flex-direction: column;
   align-items: center;
   box-shadow: var(--shadow-xs);
   position: relative;
   overflow: hidden
}

.wechat-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 3px;
   background: var(--grad-red);
   opacity: 0;
   transition: opacity var(--dur) var(--ease-out)
}

.wechat-card:hover::before {
   opacity: 1
}

.wechat-card h3 {
   color: var(--t-heading);
   margin-bottom: 32px;
   font-size: 1.15rem;
   font-weight: 600;
   letter-spacing: -.01em
}

.wechat-card img {
   width: 180px;
   height: 180px;
   border-radius: var(--r-md);
   border: 1px solid rgba(0, 0, 0, .04);
   margin-bottom: 20px;
   transition: transform var(--dur) var(--ease-spring)
}

.wechat-card img:hover {
   transform: scale(1.05)
}

.wechat-card .hint {
   color: var(--t-tertiary);
   font-size: .85rem;
   margin-bottom: 8px
}

.wechat-card .wechat-id {
   color: var(--red-600);
   font-weight: 600;
   font-size: 1rem;
   padding: 6px 18px;
   background: var(--red-50);
   border-radius: var(--r-full);
   border: 1px solid var(--red-200)
}

@media(max-width:767px) {
   .contact-grid {
      grid-template-columns: 1fr;
      gap: 40px
   }
}


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
   background: var(--bg-white);
   border-top: 1px solid rgba(0, 0, 0, .05);
   padding: 64px 0 32px
}

.footer-content {
   display: grid;
   grid-template-columns: 1.5fr 1fr;
   gap: 64px;
   margin-bottom: 48px
}

.footer-brand .logo {
   font-size: 1.15rem;
   margin-bottom: 16px
}

.footer-brand p {
   color: var(--t-tertiary);
   font-size: .88rem;
   line-height: 1.7;
   max-width: 340px
}

.footer-links {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 32px
}

.footer-column h4 {
   font-size: .72rem;
   font-weight: 600;
   color: var(--t-tertiary);
   letter-spacing: .08em;
   text-transform: uppercase;
   margin-bottom: 20px
}

.footer-column a {
   display: block;
   font-size: .85rem;
   color: var(--t-secondary);
   margin-bottom: 12px;
   transition: color var(--dur-fast) var(--ease-out)
}

.footer-column a:hover {
   color: var(--red-600)
}

.footer-bottom {
   padding-top: 28px;
   border-top: 1px solid rgba(0, 0, 0, .04);
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 10px
}

.footer-bottom p {
   font-size: .75rem;
   color: var(--t-placeholder)
}

.footer-bottom a {
   color: var(--t-tertiary);
   transition: color var(--dur-fast) var(--ease-out)
}

.footer-bottom a:hover {
   color: var(--red-600)
}

@media(max-width:767px) {
   .footer-content {
      grid-template-columns: 1fr;
      gap: 40px
   }

   .footer-bottom {
      flex-direction: column;
      text-align: center
   }
}


/* ═══════════════════════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════════════════════ */
.scroll-to-top {
   position: fixed;
   bottom: 36px;
   right: 36px;
   width: 48px;
   height: 48px;
   border-radius: 50%;
   background: var(--bg-white);
   color: var(--t-body);
   border: 1px solid rgba(0, 0, 0, .08);
   font-size: 1.1rem;
   cursor: pointer;
   opacity: 0;
   visibility: hidden;
   transform: translateY(12px);
   transition: all var(--dur) var(--ease-spring);
   box-shadow: var(--shadow-md);
   z-index: 999;
   display: flex;
   align-items: center;
   justify-content: center
}

.scroll-to-top.visible {
   opacity: 1;
   visibility: visible;
   transform: translateY(0)
}

.scroll-to-top:hover {
   transform: translateY(-4px);
   box-shadow: var(--shadow-lg);
   border-color: rgba(255, 69, 58, .15);
   color: var(--red-600)
}


/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════ */
.reveal {
   opacity: 0;
   transform: translateY(36px);
   transition: all .8s var(--ease-out)
}

.reveal.visible {
   opacity: 1;
   transform: translateY(0)
}

.reveal-delay-1 {
   transition-delay: .08s
}

.reveal-delay-2 {
   transition-delay: .16s
}

.reveal-delay-3 {
   transition-delay: .24s
}

.reveal-delay-4 {
   transition-delay: .32s
}

.reveal-delay-5 {
   transition-delay: .40s
}

.reveal-delay-6 {
   transition-delay: .48s
}


/* ═══════════════════════════════════════════════════════
   CASE DETAIL PAGES
   ═══════════════════════════════════════════════════════ */
/* Generic card (used by case detail pages) */
.card {
   background: var(--bg-warm);
   border: 1px solid rgba(0, 0, 0, .04);
   border-radius: var(--r-xl);
   padding: 40px;
   transition: all var(--dur) var(--ease-out)
}

.card:hover {
   border-color: rgba(255, 69, 58, .06);
   box-shadow: var(--shadow-md)
}

.case-detail-hero {
   padding: 160px 0 64px;
   background: linear-gradient(170deg, #FFF5F3 0%, #FAFAFA 100%);
   text-align: center;
   position: relative
}

.case-detail-hero::before {
   content: '';
   position: absolute;
   inset: 0;
   background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(255, 69, 58, .05) 0%, transparent 60%);
   pointer-events: none
}

.breadcrumb {
   margin-bottom: 32px;
   color: var(--t-tertiary);
   font-size: .82rem
}

.breadcrumb a {
   color: var(--t-secondary);
   transition: color var(--dur-fast) var(--ease-out)
}

.breadcrumb a:hover {
   color: var(--red-600)
}

.breadcrumb span.sep {
   margin: 0 8px;
   color: var(--t-placeholder)
}

.case-detail-content {
   padding: 80px 0;
   background: var(--bg-white)
}

.case-info-grid {
   display: grid;
   grid-template-columns: 2fr 1fr;
   gap: 60px;
   margin-bottom: 80px
}

.case-description h2 {
   font-size: 1.6rem;
   font-weight: 700;
   color: var(--t-heading);
   margin-bottom: 24px;
   letter-spacing: -.02em
}

.case-description p {
   color: var(--t-secondary);
   margin-bottom: 20px;
   font-size: 1.05rem;
   line-height: 1.8
}

.case-description strong {
   color: var(--t-body)
}

.case-sidebar {
   background: var(--bg-warm);
   border: 1px solid rgba(0, 0, 0, .04);
   border-radius: var(--r-xl);
   padding: 36px;
   height: fit-content
}

.sidebar-item {
   margin-bottom: 28px
}

.sidebar-item:last-child {
   margin-bottom: 0
}

.sidebar-item h3 {
   font-size: .72rem;
   font-weight: 600;
   color: var(--red-600);
   letter-spacing: .08em;
   text-transform: uppercase;
   margin-bottom: 8px
}

.sidebar-item p {
   font-size: .88rem;
   color: var(--t-body);
   line-height: 1.6
}

.gallery-section {
   margin-bottom: 80px
}

.gallery-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 16px;
   margin-top: 40px
}

.gallery-item {
   border-radius: var(--r-md);
   overflow: hidden;
   aspect-ratio: 4/3;
   cursor: pointer;
   box-shadow: var(--shadow-xs)
}

.gallery-item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform .5s var(--ease-out)
}

.gallery-item:hover img {
   transform: scale(1.06)
}

.features-section {
   margin-bottom: 80px
}

.features-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
   margin-top: 40px
}

.feature-item {
   background: var(--bg-warm);
   border: 1px solid rgba(0, 0, 0, .03);
   border-radius: var(--r-lg);
   padding: 32px;
   transition: all var(--dur) var(--ease-out)
}

.feature-item:hover {
   border-color: rgba(255, 69, 58, .06);
   transform: translateY(-4px);
   box-shadow: var(--shadow-md)
}

.feature-icon {
   width: 48px;
   height: 48px;
   background: var(--red-50);
   border-radius: var(--r-sm);
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 20px;
   font-size: 1.15rem;
   color: var(--red-600)
}

.feature-item h3 {
   font-size: 1.05rem;
   font-weight: 600;
   color: var(--t-heading);
   margin-bottom: 10px;
   letter-spacing: -.01em
}

.feature-item p {
   font-size: .88rem;
   color: var(--t-secondary);
   line-height: 1.7
}

.back-button {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 12px 28px;
   background: var(--bg-warm);
   color: var(--t-body);
   border: 1px solid rgba(0, 0, 0, .06);
   border-radius: var(--r-md);
   font-size: .88rem;
   font-weight: 500;
   font-family: inherit;
   cursor: pointer;
   text-decoration: none;
   transition: all var(--dur-fast) var(--ease-out)
}

.back-button:hover {
   background: var(--bg-white);
   transform: translateX(-4px);
   box-shadow: var(--shadow-sm)
}

@media(max-width:1023px) {
   .case-info-grid {
      grid-template-columns: 1fr;
      gap: 40px
   }

   .gallery-grid {
      grid-template-columns: repeat(2, 1fr)
   }

   .features-grid {
      grid-template-columns: repeat(2, 1fr)
   }
}

@media(max-width:639px) {
   .gallery-grid {
      grid-template-columns: 1fr
   }

   .features-grid {
      grid-template-columns: 1fr
   }
}


/* ═══════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════ */
.lightbox {
   position: fixed;
   inset: 0;
   background: rgba(0, 0, 0, .88);
   -webkit-backdrop-filter: blur(40px);
   backdrop-filter: blur(40px);
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 2000;
   animation: lbFadeIn .3s var(--ease-out)
}

.lightbox-content {
   position: relative;
   max-width: 88vw;
   max-height: 88vh
}

.lightbox-content img {
   max-width: 100%;
   max-height: 70vh;
   border-radius: var(--r-md)
}

.lightbox-close {
   position: absolute;
   top: -48px;
   right: -8px;
   background: none;
   border: none;
   color: rgba(255, 255, 255, .5);
   font-size: 32px;
   cursor: pointer;
   transition: color var(--dur-fast) var(--ease-out);
   line-height: 1
}

.lightbox-close:hover {
   color: #fff
}

.lightbox-caption {
   color: rgba(255, 255, 255, .5);
   text-align: center;
   margin-top: 16px;
   font-size: .9rem
}

@keyframes lbFadeIn {
   from {
      opacity: 0
   }

   to {
      opacity: 1
   }
}


/* ── Utility ── */
.sr-only {
   position: absolute;
   width: 1px;
   height: 1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border: 0
}