/* ============================================================
   成都二十五度科技有限公司 - 企业官网设计系统
   Design System v1.0
   ============================================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* === Color System === */
  /* Primary - Deep Navy (专业、信赖) */
  --color-primary-50:  #e8ecf2;
  --color-primary-100: #c5cedb;
  --color-primary-200: #9eacc2;
  --color-primary-300: #778aa9;
  --color-primary-400: #5a7196;
  --color-primary-500: #3d5883;
  --color-primary-600: #2d4570;
  --color-primary-700: #1e3259;
  --color-primary-800: #142349;
  --color-primary-900: #0a152e;

  /* Accent - Warm Gold (不良资产行业特色) */
  --color-accent-50:  #fdf8f0;
  --color-accent-100: #f5e8d0;
  --color-accent-200: #edd5a8;
  --color-accent-300: #e5c180;
  --color-accent-400: #deb258;
  --color-accent-500: #c9a030;
  --color-accent-600: #a88428;
  --color-accent-700: #876820;
  --color-accent-800: #664c18;
  --color-accent-900: #453010;

  /* Neutral Gray Scale */
  --color-gray-50:  #f8f9fb;
  --color-gray-100: #f1f3f6;
  --color-gray-200: #e2e6ec;
  --color-gray-300: #c8ced8;
  --color-gray-400: #a0a9b6;
  --color-gray-500: #7c8594;
  --color-gray-600: #5f6775;
  --color-gray-700: #464c58;
  --color-gray-800: #2d323b;
  --color-gray-900: #181b21;

  /* Semantic Colors */
  --color-success: #10b981;
  --color-success-light: #d1fae5;
  --color-warning: #f59e0b;
  --color-warning-light: #fef3c7;
  --color-error:   #ef4444;
  --color-error-light:   #fee2e2;
  --color-info:    #3b82f6;
  --color-info-light:    #dbeafe;

  /* Surface / Background */
  --bg-primary:    #ffffff;
  --bg-secondary:  #f8f9fb;
  --bg-tertiary:   #f1f3f6;
  --bg-dark:       #0a152e;
  --bg-dark-light: #142349;

  /* === Typography === */
  --font-sans:     "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono:     "JetBrains Mono", "SF Mono", "Fira Code", "Cascadia Code", Consolas, monospace;

  /* Font Sizes (Major Third Scale) */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */
  --text-5xl:  3rem;      /* 48px */
  --text-6xl:  3.75rem;   /* 60px */

  /* Font Weights */
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Line Heights */
  --leading-tight:  1.25;
  --leading-snug:   1.375;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;

  /* === Spacing (8px base unit) === */
  --space-0:  0;
  --space-1:  0.25rem;  /* 4px */
  --space-2:  0.5rem;   /* 8px */
  --space-3:  0.75rem;  /* 12px */
  --space-4:  1rem;     /* 16px */
  --space-5:  1.25rem;  /* 20px */
  --space-6:  1.5rem;   /* 24px */
  --space-8:  2rem;     /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* === Border Radius === */
  --radius-sm:   0.375rem;  /* 6px */
  --radius-md:   0.5rem;    /* 8px */
  --radius-lg:   0.75rem;   /* 12px */
  --radius-xl:   1rem;      /* 16px */
  --radius-2xl:  1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* === Shadows === */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

  /* === Transitions === */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* === Layout === */
  --container-max: 1200px;
  --container-narrow: 900px;
  --header-height: 72px;
}

/* ============================================================
   CSS Reset & Base
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: var(--leading-normal);
  color: var(--color-gray-800);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-gray-900);
}

h1 { font-size: var(--text-5xl); letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--text-4xl); letter-spacing: var(--tracking-tight); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-4);
  color: var(--color-gray-600);
}

a {
  color: var(--color-primary-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-700);
}

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

ul, ol {
  list-style: none;
}

/* === Focus Styles (Accessibility) === */
:focus-visible {
  outline: 2px solid var(--color-accent-500);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background-color: var(--color-accent-300);
  color: var(--color-primary-900);
}

/* ============================================================
   Container & Grid System
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-24) 0;
}

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

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #ffffff;
}

.section--gray {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header__label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent-600);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-3);
}

.section-header__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  color: var(--color-gray-900);
}

.section--dark .section-header__title {
  color: #ffffff;
}

.section-header__desc {
  font-size: var(--text-lg);
  color: var(--color-gray-500);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section--dark .section-header__desc {
  color: var(--color-gray-400);
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid--2 { grid-template-columns: repeat(1, 1fr); }
.grid--3 { grid-template-columns: repeat(1, 1fr); }
.grid--4 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   Header & Navigation
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.header--scrolled {
  border-bottom-color: var(--color-gray-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary-900);
  letter-spacing: var(--tracking-tight);
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary-700), var(--color-primary-500));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.header__link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-gray-600);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.header__link:hover,
.header__link--active {
  color: var(--color-primary-700);
  background: var(--color-primary-50);
}

.header__cta {
  margin-left: var(--space-4);
}

.header__menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--color-gray-700);
}

.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: all var(--transition-base);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-2);
    border-bottom: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
  }

  .header__nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header__link {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
  }

  .header__cta {
    margin-left: 0;
    margin-top: var(--space-4);
    width: 100%;
  }

  .header__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .header__menu-btn {
    display: block;
  }

  .header__menu-btn--open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .header__menu-btn--open span:nth-child(2) {
    opacity: 0;
  }
  .header__menu-btn--open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  .section { padding: var(--space-16) 0; }
  .section-header { margin-bottom: var(--space-10); }
}

/* ============================================================
   Button System
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  padding: var(--space-3) var(--space-6);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent-500);
  outline-offset: 2px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary-700), var(--color-primary-500));
  color: #ffffff;
  border-color: transparent;
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-primary-800), var(--color-primary-600));
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

.btn--accent {
  background: linear-gradient(135deg, var(--color-accent-600), var(--color-accent-500));
  color: #ffffff;
  border-color: transparent;
}

.btn--accent:hover {
  background: linear-gradient(135deg, var(--color-accent-700), var(--color-accent-600));
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary-700);
  border-color: var(--color-primary-300);
}

.btn--outline:hover {
  background: var(--color-primary-50);
  border-color: var(--color-primary-500);
  color: var(--color-primary-700);
}

.btn--outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn--block {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--color-primary-900) 0%, var(--color-primary-700) 40%, var(--color-primary-600) 100%);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(201, 160, 48, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: 
    linear-gradient(30deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff),
    linear-gradient(150deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff),
    linear-gradient(30deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff),
    linear-gradient(150deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: rgba(201, 160, 48, 0.15);
  border: 1px solid rgba(201, 160, 48, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-accent-300);
  margin-bottom: var(--space-6);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent-500);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: var(--text-6xl);
  font-weight: var(--weight-bold);
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: var(--space-6);
  letter-spacing: var(--tracking-tight);
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--color-accent-400), var(--color-accent-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: var(--text-lg);
  color: var(--color-gray-300);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: #ffffff;
  margin-bottom: var(--space-1);
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--color-gray-400);
}

@media (max-width: 768px) {
  .hero__title { font-size: var(--text-3xl); }
  .hero__stats { gap: var(--space-6); flex-wrap: wrap; }
  .hero__desc { font-size: var(--text-base); }
}

/* ============================================================
   Card Component
   ============================================================ */
.card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-200);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-gray-300);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-primary-50);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  font-size: var(--text-2xl);
  color: var(--color-primary-600);
  transition: all var(--transition-base);
}

.card:hover .card__icon {
  background: var(--color-primary-600);
  color: #ffffff;
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card__desc {
  color: var(--color-gray-500);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--color-primary-600);
  transition: gap var(--transition-fast);
}

.card__link:hover {
  gap: var(--space-3);
}

/* Service Card (dark bg variant) */
.card--dark {
  background: var(--bg-dark-light);
  border-color: rgba(255, 255, 255, 0.08);
}

.card--dark .card__title {
  color: #ffffff;
}

.card--dark .card__desc {
  color: var(--color-gray-400);
}

.card--dark:hover {
  border-color: rgba(201, 160, 48, 0.3);
}

/* Feature Card */
.feature-card {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.feature-card:hover {
  background: var(--bg-primary);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-100);
  color: var(--color-accent-700);
  border-radius: var(--radius-md);
  font-size: var(--text-xl);
}

.feature-card__title {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-bottom: 0;
}

/* ============================================================
   Form Elements
   ============================================================ */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-gray-700);
  margin-bottom: var(--space-2);
}

.form-label--required::after {
  content: ' *';
  color: var(--color-error);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-gray-800);
  background: var(--bg-primary);
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-gray-400);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 3px rgba(61, 88, 131, 0.1);
}

.form-input--error,
.form-textarea--error {
  border-color: var(--color-error);
}

.form-input--error:focus,
.form-textarea--error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-1);
}

.form-success {
  text-align: center;
  padding: var(--space-8);
}

.form-success__icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
}

.form-success__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

/* ============================================================
   Contact Info Card
   ============================================================ */
.contact-card {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  color: var(--color-gray-300);
}

.contact-card__title {
  color: #ffffff;
  margin-bottom: var(--space-6);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.contact-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 160, 48, 0.15);
  color: var(--color-accent-400);
  border-radius: var(--radius-md);
  font-size: var(--text-lg);
}

.contact-item__label {
  font-size: var(--text-xs);
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-1);
}

.contact-item__value {
  color: #ffffff;
  font-weight: var(--weight-medium);
}

/* ============================================================
   Page Banner (Inner Pages)
   ============================================================ */
.page-banner {
  position: relative;
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  background: linear-gradient(160deg, var(--color-primary-900), var(--color-primary-700));
  text-align: center;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201, 160, 48, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner__title {
  font-size: var(--text-4xl);
  color: #ffffff;
  margin-bottom: var(--space-4);
  position: relative;
}

.page-banner__desc {
  font-size: var(--text-lg);
  color: var(--color-gray-400);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.page-banner__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-gray-400);
  position: relative;
}

.page-banner__breadcrumb a {
  color: var(--color-accent-400);
}

.page-banner__breadcrumb span {
  color: var(--color-gray-500);
}

/* ============================================================
   Timeline (About / History)
   ============================================================ */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-gray-200);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-8);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--space-8) - 5px);
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--color-accent-500);
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.timeline__year {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent-600);
  margin-bottom: var(--space-1);
}

.timeline__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.timeline__desc {
  color: var(--color-gray-500);
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* ============================================================
   Team / Value Cards
   ============================================================ */
.value-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
}

.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--color-accent-50);
  border-radius: 50%;
  font-size: 1.75rem;
  margin-bottom: var(--space-5);
  transition: all var(--transition-base);
}

.value-card:hover .value-card__icon {
  background: var(--color-accent-500);
  transform: scale(1.05);
}

.value-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.value-card__desc {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

/* ============================================================
   Stats Bar
   ============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  padding: var(--space-12) 0;
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
}

@media (min-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-bar__item {
  text-align: center;
}

.stats-bar__value {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary-700);
  margin-bottom: var(--space-1);
}

.stats-bar__label {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: var(--color-gray-400);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 2fr 1fr 1fr 1fr;
  margin-bottom: var(--space-12);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-4);
  margin-bottom: 0;
  max-width: 300px;
}

.footer__heading {
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  color: var(--color-gray-400);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-accent-400);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-sm);
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ============================================================
   Service Detail Sections
   ============================================================ */
.service-tabs {
  display: flex;
  gap: var(--space-1);
  background: var(--color-gray-100);
  padding: var(--space-1);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-10);
  overflow-x: auto;
}

.service-tab {
  flex: 1;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-gray-600);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.service-tab--active {
  background: #ffffff;
  color: var(--color-primary-700);
  box-shadow: var(--shadow-sm);
}

.service-detail {
  display: none;
}

.service-detail--active {
  display: block;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}

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

@media (min-width: 1024px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  position: relative;
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-accent-500);
  color: #ffffff;
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  border-radius: 50%;
  margin-bottom: var(--space-4);
}

.process-step__title {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-bottom: 0;
}

/* === Scroll Reveal Animation === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Back to Top === */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 44px;
  height: 44px;
  background: var(--color-primary-700);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  z-index: 900;
}

.back-to-top--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-accent-500);
  transform: translateY(-2px);
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background: linear-gradient(160deg, var(--color-primary-800), var(--color-primary-600));
  position: relative;
  overflow: hidden;
  padding: var(--space-20) 0;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 30% 60%, rgba(201, 160, 48, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section__title {
  color: #ffffff;
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  position: relative;
}

.cta-section__desc {
  color: var(--color-gray-300);
  font-size: var(--text-lg);
  max-width: 560px;
  margin: 0 auto var(--space-8);
  position: relative;
}

@media (max-width: 768px) {
  .cta-section__title { font-size: var(--text-2xl); }
}

/* ============================================================
   Loading / Skeleton States
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-100) 50%, var(--color-gray-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   Accessibility Helpers
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Floating Customer Service Widget (微信客服)
   ============================================================ */
.cs-float {
  position: fixed;
  bottom: 96px;
  right: var(--space-8);
  z-index: 950;
}

.cs-float__toggle {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #07c160, #06ad56);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 16px rgba(7, 193, 96, 0.35);
  transition: all var(--transition-base);
  position: relative;
}

.cs-float__toggle::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(7, 193, 96, 0.3);
  animation: cs-pulse 2s infinite;
}

@keyframes cs-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.12); opacity: 0; }
}

.cs-float__toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(7, 193, 96, 0.45);
}

.cs-float__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: var(--color-error);
  border-radius: 50%;
  border: 2px solid #ffffff;
  animation: pulse-dot 2s infinite;
}

.cs-float__popup {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 300px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  transform: translateY(10px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-spring);
}

.cs-float__popup--open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.cs-float__popup-header {
  background: linear-gradient(135deg, #07c160, #06ad56);
  color: #ffffff;
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.cs-float__popup-avatar {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.cs-float__popup-title {
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
}

.cs-float__popup-subtitle {
  font-size: var(--text-xs);
  opacity: 0.85;
  margin-top: 2px;
}

.cs-float__popup-body {
  padding: var(--space-5);
}

.cs-float__popup-tip {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

.cs-float__popup-qr {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.cs-float__popup-qr img {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  padding: 8px;
  background: #fff;
}

.cs-float__popup-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cs-float__popup-link {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-align: center;
  background: #07c160;
  color: #ffffff;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.cs-float__popup-link:hover {
  background: #06ad56;
  color: #ffffff;
}

.cs-float__popup-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  transition: background var(--transition-fast);
}

.cs-float__popup-close:hover {
  background: rgba(255,255,255,0.4);
}

/* Mobile: direct link to enterprise WeChat, no popup */
@media (max-width: 640px) {
  .cs-float {
    bottom: 96px;
    right: var(--space-4);
  }

  .cs-float__toggle {
    width: 48px;
    height: 48px;
  }

  .cs-float__popup {
    width: 280px;
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .back-to-top,
  .hero__pattern {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .section {
    padding: 1rem 0;
  }
}
