/* ============================================
   清软智新 TNIS - 官网样式
   Brand: Purple #8B2D9E | Dark #0A0A12
   ============================================ */

:root {
  --primary: #8B2D9E;
  --primary-light: #A855C9;
  --primary-dark: #6B1F7A;
  --primary-glow: rgba(139, 45, 158, 0.4);
  --accent: #C084FC;
  --bg-dark: #0A0A12;
  --bg-card: #12121E;
  --bg-section: #F8F7FC;
  --bg-white: #FFFFFF;
  --text-primary: #1A1A2E;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --text-inverse: #F9FAFB;
  --border: rgba(139, 45, 158, 0.12);
  --border-light: #E5E7EB;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(139, 45, 158, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-inverse);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(139, 45, 158, 0.1);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 600;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 18, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 45, 158, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  transition: transform var(--transition);
}

.logo-img:hover {
  transform: scale(1.03);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(139, 45, 158, 0.2);
}

.header-cta { margin-left: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 45, 158, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 45, 158, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -100px;
  opacity: 0.25;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: #4C1D95;
  bottom: -100px;
  left: -50px;
  opacity: 0.3;
}

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 24px 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(139, 45, 158, 0.15);
  border: 1px solid rgba(139, 45, 158, 0.3);
  border-radius: 100px;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 32px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-inverse);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title-line {
  display: block;
  font-size: 0.45em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-divider {
  display: inline-block;
  margin: 0 12px;
  color: var(--primary-light);
  font-weight: 300;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.55);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.stat-suffix {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  z-index: 1;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.section-desc-wide {
  max-width: none;
  white-space: nowrap;
}

/* ---- About ---- */
.about {
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 45, 158, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.about-card {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.about-card:hover::before {
  opacity: 1;
}

.about-card-num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: rgba(139, 45, 158, 0.06);
  pointer-events: none;
  user-select: none;
}

.about-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.about-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 45, 158, 0.12), rgba(168, 85, 201, 0.06));
  border-radius: var(--radius-md);
  color: var(--primary);
  flex-shrink: 0;
}

.about-icon svg {
  width: 26px;
  height: 26px;
}

.about-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.about-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  flex: 1;
}

.about-points {
  padding-top: 16px;
  border-top: 1px dashed var(--border-light);
}

.about-points li {
  font-size: 13px;
  color: var(--text-primary);
  padding: 5px 0 5px 18px;
  position: relative;
  font-weight: 500;
}

.about-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.about-metric {
  text-align: center;
  padding: 8px 12px;
  position: relative;
}

.about-metric:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 36px;
  background: var(--border-light);
}

.about-metric strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.2;
}

.about-metric span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ---- Products ---- */
.products {
  background: var(--bg-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  position: relative;
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  padding: 20px 18px 18px;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(139, 45, 158, 0.1);
  border-color: rgba(139, 45, 158, 0.25);
  background: linear-gradient(180deg, #FDFBFF 0%, #F7F0FA 100%);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover h3 { color: var(--primary-dark); }
.product-card:hover .product-icon {
  color: var(--primary);
  background: rgba(139, 45, 158, 0.12);
}
.product-card:hover .product-number { color: rgba(139, 45, 158, 0.1); }

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 100px;
  z-index: 1;
}

.product-number {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 40px;
  font-weight: 800;
  color: rgba(139, 45, 158, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color var(--transition);
}

.product-card:has(.product-badge) .product-number {
  top: 36px;
}

.product-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-right: 36px;
}

.product-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 45, 158, 0.08);
  border-radius: var(--radius-sm);
  color: var(--primary);
  flex-shrink: 0;
  margin-bottom: 0;
  transition: all var(--transition);
}

.product-icon svg {
  width: 22px;
  height: 22px;
}

.product-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.3;
  transition: color var(--transition);
}

.product-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
  transition: color var(--transition);
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  flex: 1;
  align-content: flex-start;
}

.product-features li {
  font-size: 11px;
  color: var(--text-secondary);
  padding: 4px 8px;
  background: rgba(139, 45, 158, 0.06);
  border: 1px solid rgba(139, 45, 158, 0.1);
  border-radius: 4px;
  white-space: nowrap;
  transition: all var(--transition);
}

.product-card:hover .product-features li {
  color: var(--primary-dark);
  border-color: rgba(139, 45, 158, 0.2);
  background: rgba(139, 45, 158, 0.08);
}

.product-features li::before {
  display: none;
}

.product-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  transition: color var(--transition);
  margin-top: auto;
}

.product-link:hover {
  color: var(--primary-light);
}

/* ---- Solutions ---- */
.solutions {
  background: var(--bg-section);
}

.solutions-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.flow-item {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  padding: 24px 16px;
}

.flow-step {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.flow-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.flow-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.flow-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin-top: 48px;
  flex-shrink: 0;
  opacity: 0.3;
}

.solutions-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  color: #fff;
}

.banner-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.banner-content p {
  font-size: 14px;
  opacity: 0.85;
  max-width: 600px;
  line-height: 1.7;
}

/* ---- Partners ---- */
.partners-full {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
  padding: 100px 0;
}

.partners-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.partners-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 45, 158, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 45, 158, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 20%, transparent 75%);
}

.partners-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.partners-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -150px;
  right: -80px;
  opacity: 0.18;
}

.partners-glow-2 {
  width: 400px;
  height: 400px;
  background: #4c1d95;
  bottom: -120px;
  left: -60px;
  opacity: 0.22;
}

.partners-content {
  position: relative;
  z-index: 1;
}

.section-header-light .section-title {
  color: #fff;
}

.section-header-light .section-desc {
  color: rgba(255, 255, 255, 0.5);
}

.partners-triangle {
  text-align: center;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

.partners-triangle::before {
  display: none;
}

.partners-triangle-title {
  position: relative;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.partners-triangle-title span {
  background: linear-gradient(135deg, #e9d5ff, #c084fc, #a855c9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.partners-triangle-title i {
  font-style: normal;
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.35);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.35);
}

.partners-triangle-desc {
  position: relative;
  max-width: 820px;
  margin: 0 auto 48px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.55);
}

.partners-logos {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 56px;
  margin-bottom: 40px;
}

.partner-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 160px;
}

.partner-logo-item strong {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.partner-logo-item span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.partner-logo-item-center {
  transform: translateY(-6px);
}

.partner-logo-box {
  width: 160px;
  height: 72px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.partner-logo-item:hover .partner-logo-box {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(168, 85, 201, 0.35);
}

.partner-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.partners-chain {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding-top: 8px;
}

.chain-hex {
  width: 56px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  color: #fff;
}

.chain-hex svg {
  width: 22px;
  height: 22px;
}

.chain-hex-green {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.chain-hex-blue {
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.chain-hex-pink {
  background: linear-gradient(135deg, #ec4899, #db2777);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.35);
}

.chain-link {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.6), rgba(99, 102, 241, 0.6));
  margin: 0 -6px;
  border-radius: 2px;
}

.chain-link-2 {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.6), rgba(236, 72, 153, 0.6));
}

/* ---- Contact ---- */
.contact {
  background: var(--bg-section);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-tag,
.contact-info .section-title {
  text-align: left;
}

.contact-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 45, 158, 0.08);
  border-radius: var(--radius-sm);
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-item span,
.contact-item a {
  font-size: 15px;
  color: var(--text-primary);
}

.contact-item a {
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.required { color: #EF4444; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 45, 158, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-tip {
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
  min-height: 20px;
}

.form-tip.success { color: #16A34A; }
.form-tip.error { color: #EF4444; }

/* ---- Footer ---- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 28px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer-logo {
  height: 36px;
  border-radius: 6px;
}

.footer-slogan {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: flex;
  gap: 64px;
  flex: 1;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.footer-contact h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-right {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-shrink: 0;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.footer-contact-label {
  flex-shrink: 0;
  width: 36px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-contact-value {
  color: rgba(255, 255, 255, 0.65);
}

a.footer-contact-value {
  transition: color var(--transition);
}

a.footer-contact-value:hover {
  color: var(--accent);
}

.footer-qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-qrcode-img {
  width: 108px;
  height: 108px;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  object-fit: contain;
}

.footer-qrcode-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-bottom-left p {
  margin: 0;
}

.footer-beian {
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.footer-beian:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ---- Chat Widget ---- */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.chat-toggle {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 32px var(--primary-glow);
  transition: all var(--transition);
}

.chat-toggle:hover {
  transform: scale(1.08);
}

.chat-toggle svg {
  width: 26px;
  height: 26px;
}

.chat-icon-close { display: none; }

.chat-widget.open .chat-icon-open { display: none; }
.chat-widget.open .chat-icon-close { display: block; }

.chat-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--primary-light);
  animation: chat-pulse 2s infinite;
  pointer-events: none;
}

.chat-widget.open .chat-pulse { display: none; }

@keyframes chat-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

.chat-panel {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 380px;
  max-height: 560px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.95);
  transition: all var(--transition);
  border: 1px solid var(--border-light);
}

.chat-widget.open .chat-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar svg {
  width: 20px;
  height: 20px;
}

.chat-header strong {
  display: block;
  font-size: 14px;
}

.chat-status {
  font-size: 11px;
  opacity: 0.75;
}

.chat-minimize {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.chat-minimize:hover { opacity: 1; }
.chat-minimize svg { width: 20px; height: 20px; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  max-height: 340px;
}

.chat-msg {
  display: flex;
}

.chat-msg-bot { justify-content: flex-start; }
.chat-msg-user { justify-content: flex-end; }

.msg-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.6;
}

.chat-msg-bot .msg-bubble {
  background: var(--bg-section);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.chat-msg-user .msg-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-typing {
  display: flex;
  gap: 4px;
  padding: 16px;
}

.msg-typing span {
  width: 6px;
  height: 6px;
  background: var(--text-light);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.msg-typing span:nth-child(2) { animation-delay: 0.2s; }
.msg-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 12px;
}

.quick-reply {
  padding: 6px 14px;
  background: rgba(139, 45, 158, 0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--primary);
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
}

.quick-reply:hover {
  background: rgba(139, 45, 158, 0.12);
  border-color: var(--primary);
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-light);
}

.chat-input-area input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: var(--font);
  padding: 8px 0;
  color: var(--text-primary);
}

.chat-input-area button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.chat-input-area button:hover { transform: scale(1.1); }
.chat-input-area button svg { width: 16px; height: 16px; }

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-desc-wide {
    white-space: normal;
  }
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-metric:nth-child(2)::after {
    display: none;
  }

  .partners-full {
    padding: 72px 0;
  }

  .partners-logos {
    gap: 24px;
  }

  .partner-logo-box {
    width: 140px;
    height: 64px;
  }

  .partner-logo-item {
    width: 140px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .solutions-banner {
    flex-direction: column;
    text-align: center;
    padding: 36px 32px;
  }

  .flow-connector { display: none; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 18, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(139, 45, 158, 0.15);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .hero-stats { gap: 24px; }
  .stat-divider { display: none; }

  .partners-logos {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .partner-logo-item-center {
    transform: none;
  }

  .partner-logo-box {
    width: 200px;
    height: 68px;
  }

  .partners-chain {
    transform: scale(0.85);
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-metrics {
    grid-template-columns: 1fr 1fr;
    padding: 20px 16px;
  }

  .about-metric::after {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-body {
    flex-direction: column;
    gap: 36px;
  }

  .footer-right {
    width: 100%;
    justify-content: space-between;
    gap: 32px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links { gap: 40px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .footer-qrcode {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .chat-panel {
    width: calc(100vw - 32px);
    right: -8px;
  }
}

@media (max-width: 480px) {
  .section { padding: 72px 0; }
  .contact-form { padding: 28px 20px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
}
