/* ===== CSS CUSTOM PROPERTIES (clay.global easing system) ===== */
    :root {
  /* 布局变量（保留旧模板引用） */
  --max-width: 1280px;
  --nav-height: 72px;
  --section-padding: 104px;

  --easeOutExpo: cubic-bezier(0.16, 1, 0.3, 1);
  --easeOut: cubic-bezier(0.19, 1, 0.22, 1);
  --easeInExpo: cubic-bezier(0.7, 0, 0.84, 0);
  --color-black: #0B1220;
  --color-white: #FFFFFF;
  --color-blue: #2563EB;
  --color-blue-dark: #1D4ED8;
  --color-blue-light: #60A5FA;
  --color-cyan: #0891B2;
  --color-bg-soft: #F5F7FB;
  --color-gray-50: #F5F7FB;
  --color-gray-100: #E8EBF1;
  --color-gray-200: #D7DCE5;
  --color-gray-300: #B2B8C2;
  --color-gray-400: #8A93A3;
  --color-gray-500: #6B7385;
  --color-gray-600: #545D6E;
  --color-gray-700: #3D4557;
  --color-gray-800: #262D3D;
  --color-dark: #0B1220;
  --color-success: #16A34A;
  --color-warning: #D97706;
  --color-danger: #DC2626;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 1px 2px rgba(11,18,32,.05), 0 8px 24px rgba(11,18,32,.06);
  --shadow-card-hover: 0 2px 6px rgba(11,18,32,.08), 0 16px 40px rgba(11,18,32,.14);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', 'Source Han Sans SC', sans-serif;
}

    /* ===== BASE RESET & TYPOGRAPHY ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-sans);
      color: var(--color-black);
      background: var(--color-white);
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ===== PAGE LOAD TRANSITION ===== */
    .page-transition {
      position: fixed;
      inset: 0;
      background: var(--color-black);
      z-index: 9999;
      transition: opacity 0.8s var(--easeOutExpo), visibility 0.8s;
    }
    .page-transition.hidden {
      opacity: 0;
      visibility: hidden;
    }

    /* ===== HEADINGS ===== */
    h1, h2, h3, h4 {
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 1.05;
    }
    .heading-xl { font-size: clamp(2.5rem, 5vw, 5.5rem); }
    .heading-lg { font-size: clamp(2rem, 4vw, 4rem); }
    .heading-md { font-size: clamp(1.5rem, 3vw, 2.5rem); }

    /* ===== LAYOUT ===== */
    .container-main { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
    .section-padding { padding: 120px 0; }

    /* ===== NAVIGATION ===== */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 80px;
      z-index: 1000;
      transition: all 0.8s var(--easeOut);
      background: transparent;
    }
    .nav.scrolled {
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    }
    .nav-inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-logo {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--color-black);
      text-decoration: none;
      letter-spacing: -0.02em;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--color-gray-600);
      text-decoration: none;
      transition: color 0.3s ease;
      position: relative;
    }
    /* Nav link underline draw */
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--color-blue);
      border-radius: 1px;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.5s var(--easeOutExpo);
    }
    .nav-links a:hover::after,
    .nav-links a.active::after {
      transform: scaleX(1);
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--color-black);
    }
    .nav-cta {
      display: inline-flex;
      align-items: center;
      padding: 10px 24px;
      background: var(--color-blue);
      color: #fff !important;
      border-radius: 999px;
      font-size: 0.875rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.4s var(--easeOutExpo);
    }
    .nav-cta:hover {
      background: #1d4ed8;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    }

    /* ===== HAMBURGER MENU ===== */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 6px;
      cursor: pointer;
      z-index: 1001;
      background: none;
      border: none;
      padding: 4px;
    }
    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--color-black);
      transition: all 0.3s ease;
      border-radius: 1px;
    }
    .hamburger.open span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger.open span:nth-child(2) {
      opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -6px);
    }

    /* ===== MOBILE OVERLAY ===== */
    .mobile-menu {
      display: none;
      position: fixed;
      inset: 0;
      background: #FFFFFF;
      z-index: 999;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 32px;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .mobile-menu.open {
      display: flex;
      opacity: 1;
    }
    .mobile-menu a {
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--color-black);
      text-decoration: none;
      transition: color 0.3s ease;
    }
    .mobile-menu a:hover,
    .mobile-menu a.active {
      color: var(--color-blue);
    }

    /* ===== BUTTONS ===== */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 16px 32px;
      background: var(--color-blue);
      color: #fff;
      border-radius: 999px;
      font-size: 1rem;
      font-weight: 600;
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: all 0.4s var(--easeOutExpo);
    }
    .btn-primary:hover {
      background: #1d4ed8;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    }
    /* Button arrow slide */
    .btn-primary .btn-arrow {
      transition: transform 0.55s var(--easeOutExpo);
    }
    .btn-primary:hover .btn-arrow {
      transform: translateX(4px);
    }
    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 16px 32px;
      background: transparent;
      color: var(--color-black);
      border: 2px solid var(--color-black);
      border-radius: 999px;
      font-size: 1rem;
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.4s var(--easeOutExpo);
    }
    .btn-outline:hover {
      background: var(--color-black);
      color: #fff;
      transform: translateY(-2px);
    }

    /* ===== SCROLL REVEAL ANIMATIONS ===== */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.9s var(--easeOutExpo),
                  transform 1.2s var(--easeOutExpo);
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }

    /* ===== HERO TEXT SPLIT ANIMATION ===== */
    .split-line {
      display: block;
      overflow: hidden;
    }
    .split-word {
      display: inline-block;
      opacity: 0;
      transform: translateY(100%);
      transition: opacity 0.9s var(--easeOutExpo),
                  transform 1.2s var(--easeOutExpo);
    }
    .split-triggered .split-word {
      opacity: 1;
      transform: translateY(0);
    }

    /* ===== MARQUEE ===== */
    .marquee-section {
      padding: 40px 0;
      overflow: hidden;
      border-top: 1px solid var(--color-gray-100);
      border-bottom: 1px solid var(--color-gray-100);
    }
    .marquee-track {
      display: flex;
      width: max-content;
      animation: marquee 30s linear infinite;
    }
    .marquee-track:hover {
      animation-play-state: paused;
    }
    .marquee-item {
      flex-shrink: 0;
      padding: 0 48px;
      font-size: clamp(1.5rem, 3vw, 2.5rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--color-gray-300);
      white-space: nowrap;
      transition: color 0.3s ease;
    }
    .marquee-item:hover {
      color: var(--color-black);
    }
    .marquee-dot {
      flex-shrink: 0;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--color-blue);
      margin: auto 0;
    }
    @keyframes marquee {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    /* ===== LINK ARROW HOVER EFFECT ===== */
    .link-arrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--color-black);
      font-size: 0.95rem;
      font-weight: 500;
      text-decoration: none;
      position: relative;
    }
    .link-arrow::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      right: 0;
      height: 1px;
      background: var(--color-black);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.5s var(--easeOutExpo);
    }
    .link-arrow:hover::after {
      transform: scaleX(1);
    }
    .link-arrow svg {
      transition: transform 0.55s var(--easeOutExpo);
    }
    .link-arrow:hover svg {
      transform: translateX(4px);
    }

    /* ===== SERVICE SECTION ===== */
    .service-block {
      position: relative;
    }
    .service-number {
      font-size: 10rem;
      font-weight: 900;
      opacity: 0.08;
      line-height: 1;
      letter-spacing: -0.06em;
      position: absolute;
      top: -20px;
      left: -10px;
      user-select: none;
      pointer-events: none;
    }
    .service-title {
      font-size: 2.5rem;
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 1.1;
      margin-bottom: 24px;
    }
    .service-desc {
      font-size: 1.125rem;
      color: var(--color-gray-600);
      line-height: 1.7;
      margin-bottom: 32px;
    }
    .feature-list {
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-bottom: 32px;
    }
    .feature-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 1rem;
      color: var(--color-black);
      line-height: 1.5;
    }
    .feature-list li .blue-square {
      flex-shrink: 0;
      width: 8px;
      height: 8px;
      background: var(--color-blue);
      margin-top: 8px;
    }
    /* Service card top-line animation */
    .service-card-anim {
      position: relative;
      overflow: hidden;
    }
    .service-card-anim::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background: var(--color-blue);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.6s var(--easeOutExpo);
    }
    .service-card-anim:hover::before {
      transform: scaleX(1);
    }

    /* ===== SERVICE IMAGE ===== */
    .service-image {
      width: 100%;
      height: 400px;
      object-fit: cover;
    }

    /* ===== DARK FEATURE SECTION ===== */
    .dark-section {
      background: var(--color-dark);
      color: #FFFFFF;
    }
    .dark-section .service-desc {
      color: var(--color-gray-400);
    }
    .dark-section .feature-list li {
      color: #FFFFFF;
    }
    .dark-section .service-number {
      color: #FFFFFF;
      opacity: 0.06;
    }

    /* ===== AI CANVAS ===== */
    .ai-canvas-wrap {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    #aiCanvas {
      max-width: 100%;
      height: auto;
    }

    /* ===== FEATURE GRID (for AI section) ===== */
    .feature-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-bottom: 40px;
    }
    .feature-grid-item {
      padding: 24px;
      border: 1px solid rgba(255,255,255,0.1);
      transition: all 0.4s var(--easeOutExpo);
    }
    .feature-grid-item:hover {
      border-color: var(--color-blue);
      background: rgba(37, 99, 235, 0.05);
    }
    .feature-grid-item h4 {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 8px;
      letter-spacing: -0.02em;
    }
    .feature-grid-item p {
      font-size: 0.9rem;
      color: var(--color-gray-400);
      line-height: 1.5;
    }

    /* ===== PROCESS SECTION ===== */
    .process-section {
      background: var(--color-gray-50);
    }
    .process-steps {
      display: flex;
      gap: 0;
      position: relative;
    }
    .process-step {
      flex: 1;
      text-align: center;
      padding: 0 24px;
      position: relative;
    }
    .process-step:not(:last-child)::after {
      content: '';
      position: absolute;
      top: 24px;
      right: 0;
      width: 50%;
      height: 1px;
      background: #D1D5DB;
    }
    .process-step:not(:first-child)::before {
      content: '';
      position: absolute;
      top: 24px;
      left: 0;
      width: 50%;
      height: 1px;
      background: #D1D5DB;
    }
    .process-number {
      font-size: 3rem;
      font-weight: 800;
      color: var(--color-blue);
      line-height: 1;
      margin-bottom: 16px;
      position: relative;
      z-index: 1;
    }
    .process-title {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 8px;
      letter-spacing: -0.02em;
    }
    .process-desc {
      font-size: 1rem;
      color: var(--color-gray-500);
      line-height: 1.5;
    }

    /* ===== STATS ===== */
    .stat-number {
      font-size: clamp(2rem, 4vw, 3.5rem);
      font-weight: 800;
      color: var(--color-blue);
      letter-spacing: -0.04em;
      line-height: 1;
    }
    .stat-label {
      font-size: 0.875rem;
      color: var(--color-gray-500);
      margin-top: 8px;
      font-weight: 500;
    }

    /* ===== SUBTITLE ===== */
    .subtitle {
      font-size: 1.25rem;
      font-weight: 500;
      color: var(--color-gray-500);
      line-height: 1.5;
    }

    /* ===== BLUE GLOW ===== */
    .blue-glow {
      position: relative;
      display: inline-block;
    }
    .blue-glow::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 3px;
      background: var(--color-blue);
      border-radius: 2px;
      box-shadow: 0 0 16px rgba(37, 99, 235, 0.5);
    }

    /* ===== FOOTER ===== */
    .footer {
      background: var(--color-dark);
      color: #FFFFFF;
      padding: 80px 0 40px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 60px;
      margin-bottom: 60px;
    }
    .footer h4 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 20px;
      letter-spacing: -0.02em;
    }
    .footer p, .footer a {
      font-size: 0.9rem;
      color: var(--color-gray-400);
      line-height: 1.8;
      text-decoration: none;
    }
    .footer a {
      transition: color 0.3s ease;
    }
    .footer a:hover {
      color: #FFFFFF;
    }
    .footer-links {
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding-top: 30px;
      text-align: center;
    }
    .footer-bottom p {
      font-size: 0.8rem;
      color: var(--color-gray-600);
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .section-padding { padding: 80px 0; }
      .service-title { font-size: 1.75rem; }
      .service-number { font-size: 6rem; }
      .service-image { height: 260px; }
      .feature-grid { grid-template-columns: 1fr; }
      .process-steps {
        flex-direction: column;
        gap: 40px;
      }
      .process-step::after,
      .process-step::before {
        display: none !important;
      }
      .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .service-two-col {
        flex-direction: column !important;
      }
      .service-two-col > * {
        width: 100% !important;
      }
      .stats-row {
        flex-direction: column !important;
        gap: 32px !important;
      }
    }