@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
  --primary: #437FF4;
  --primary-dark: #3565d4;
  --primary-light: #6b9aff;
  --accent: #0ea5e9;
  --text-primary: #1a1a2e;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --bg-white: #ffffff;
  --bg-gray: #f8fafc;
  --success: #10b981;
  --warning: #f59e0b;
  --font-sans: 'Alibaba PuHuiTi', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg-white);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== HEADER ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.header .nav-link {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 0.5rem;
  font-size: 0.875rem; font-weight: 500;
  color: #374151; text-decoration: none; transition: all 0.2s ease;
  position: relative;
}
.header .nav-link:hover { color: var(--primary); background: transparent; }
.header .nav-link.active {
  color: var(--primary); background: transparent; font-weight: 700;
}
.header .nav-link.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 24px; height: 3px; background: var(--primary); border-radius: 2px;
}
.header .logo-text { color: #111827; font-weight: 700; font-size: 1.25rem; transition: color 0.3s; }
.header.scrolled { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--primary); color: #fff; padding: 1rem 2rem; border-radius: 0.5rem;
  font-weight: 600; font-size: 1.125rem; text-decoration: none; transition: all 0.2s ease; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 10px 15px -3px rgba(67,127,244,0.25); transform: translateY(-2px); }
.btn-outline-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: transparent; color: var(--primary); border: 2px solid var(--primary);
  padding: 1rem 2rem; border-radius: 0.5rem; font-weight: 600; font-size: 1.125rem;
  text-decoration: none; transition: all 0.2s ease; cursor: pointer;
}
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-secondary-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--primary); color: #fff; padding: 0.75rem 1.5rem; border-radius: 0.5rem;
  font-weight: 500; text-decoration: none; transition: all 0.2s ease; border: none; cursor: pointer;
}
.btn-secondary-dark:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ========== SECTIONS ========== */
.section { padding: 4rem 0; }
.section-gray { background: #f8fafc; }
.section-divider { border-top: 1px solid #e5e7eb; }

/* ========== HERO BANNER ========== */
.hero-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #e8f0fe 0%, #f0f4ff 50%, #e8f0fe 100%);
}
.hero-banner .hero-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover; background-position: center;
  opacity: 0.6;
  transition: opacity 0.8s ease;
}
.hero-banner .hero-content { position: relative; z-index: 2; }
.hero-title { color: #1a1a2e; }
.hero-subtitle { color: #4b5563; }

/* ========== HERO CAROUSEL ========== */
.hero-carousel {
  position: relative; width: 100%; min-height: 760px;
  overflow: hidden;
}
.carousel-track {
  position: relative; width: 100%; height: 760px;
}
.carousel-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.8s ease;
}
.carousel-slide.active { opacity: 1; z-index: 1; }
.carousel-slide .slide-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover; background-position: center;
}
.carousel-slide .slide-content {
  position: absolute; z-index: 2;
  left: 336px; top: 290px;
  max-width: 42rem;
  text-align: left;
}
.carousel-indicators {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 12px; z-index: 10;
}
.carousel-indicators .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(67,127,244,0.3); border: none; cursor: pointer;
  transition: all 0.3s ease; padding: 0;
}
.carousel-indicators .dot.active {
  background: var(--primary); transform: scale(1.2);
}
.carousel-indicators .dot:hover { background: rgba(67,127,244,0.6); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.8); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; color: #437FF4;
}
.carousel-arrow:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.carousel-arrow.prev { left: 24px; }
.carousel-arrow.next { right: 24px; }

/* ========== HERO BUTTONS ========== */
.hero-btns {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-start;
}
.btn-hero {
  display: inline-flex; align-items: center; justify-content: center;
  width: 150px; height: 44px; border-radius: 8px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: all 0.2s ease; border: none; cursor: pointer;
  white-space: nowrap;
}
.btn-hero-primary {
  background: var(--primary); color: #fff;
}
.btn-hero-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 12px rgba(67,127,244,0.25);
  transform: translateY(-2px);
}
.btn-hero-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-hero-outline:hover {
  background: var(--primary); color: #fff;
}

/* ========== STATS ========== */
.stat-item { text-align: center; padding: 1rem; }
.stat-number { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.875rem; color: #6b7280; margin-top: 0.25rem; }

/* ========== CORE CAPABILITY CARDS ========== */
.capability-card {
  border-radius: 0.75rem; padding: 2rem; height: 100%;
  background: linear-gradient(135deg, #e8f0fe 0%, #dbeafe 100%);
  position: relative; overflow: hidden; transition: all 0.3s ease;
}
.capability-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(67,127,244,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67,127,244,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.capability-card::after {
  content: ''; position: absolute; top: -50%; right: -30%;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(67,127,244,0.06);
  pointer-events: none;
}
.capability-card:hover { box-shadow: 0 20px 25px -5px rgba(67,127,244,0.15); transform: translateY(-4px); }
.capability-card > * { position: relative; z-index: 1; }

/* ========== TESTIMONIAL CARDS ========== */
.testimonial-card {
  background: #fff;
  border-radius: 0.75rem; padding: 1.5rem; transition: all 0.3s ease;
  position: relative; overflow: hidden; height: 100%;
}
.testimonial-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.1); transform: translateY(-3px); }
.testimonial-card .detail-btn {
  opacity: 0; transition: opacity 0.3s ease;
  display: inline-flex; align-items: center; gap: 0.25rem;
  color: var(--primary); font-weight: 500; font-size: 0.875rem; text-decoration: none;
  margin-top: 0.75rem;
}
.testimonial-card:hover .detail-btn { opacity: 1; }
.testimonial-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

/* ========== TECH BG ========== */
.tech-bg {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #e8f0fe 0%, #dbeafe 100%);
}
.tech-bg::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/tech-bg.svg');
  background-size: cover; background-position: center;
  opacity: 0.4; pointer-events: none;
}
.tech-bg > * { position: relative; z-index: 1; }
.mission-banner {
  height: 100px; width: 100%; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  display: flex; align-items: center; justify-content: center;
}
.mission-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(67,127,244,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67,127,244,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.mission-banner .content { position: relative; z-index: 1; }
.ad-banner { height: 160px; width: 100%; background: linear-gradient(135deg, #437FF4 0%, #0ea5e9 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.ad-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.ad-banner .content { position: relative; z-index: 1; }

/* ========== CONTACT CARDS ========== */
.contact-card {
  background: #fff; border-radius: 0.75rem; padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08); text-align: center;
  transition: all 0.3s ease; flex: 1; min-width: 0;
}
.contact-card:hover { box-shadow: 0 10px 25px rgba(67,127,244,0.12); transform: translateY(-2px); }

/* ========== PK TABLE ========== */
.pk-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.pk-table thead tr { background: #f9fafb; }
.pk-table th { padding: 1rem 1.5rem; text-align: center; font-weight: 600; color: #374151; }
.pk-table th.pk-label { color: #9ca3af; font-size: 0.875rem; }
.pk-table td { padding: 1rem 1.5rem; text-align: center; }
.pk-table tr:not(:last-child) td { border-bottom: 1px solid #f3f4f6; }
.pk-table tr:nth-child(even) td { background: #fafafa; }
.pk-table td.traditional { color: #9ca3af; }
.pk-table td.jqlink { color: var(--primary); font-weight: 600; }
.pk-divider { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; transform: translateX(-50%); z-index: 10; }

/* ========== MOBILE MENU ========== */
.mobile-menu-btn { display: none; background: none; border: none; color: #374151; cursor: pointer; padding: 0.5rem; border-radius: 0.5rem; }
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }
.mobile-menu nav { background: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); padding: 1rem; }
.mobile-menu a { display: block; padding: 0.75rem 1rem; border-radius: 0.5rem; color: #374151; text-decoration: none; font-weight: 500; transition: all 0.2s ease; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--primary); background: rgba(67,127,244,0.1); }
@media (max-width: 1023px) {
  .mobile-menu-btn { display: block; }
  .desktop-nav { display: none !important; }
  .desktop-cta { display: none !important; }
  .carousel-track { height: 720px; }
}
@media (max-width: 767px) {
  .carousel-track { height: 520px; }
}

/* ========== RESPONSIVE ========== */
@media (min-width: 640px) { .sm-flex-row { flex-direction: row; } .sm-grid-cols-2 { grid-template-columns: repeat(2, 1fr); } .sm-grid-cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); } .md-grid-cols-3 { grid-template-columns: repeat(3, 1fr); } .md-grid-cols-4 { grid-template-columns: repeat(4, 1fr); } .md-flex-row { flex-direction: row; } }
@media (min-width: 1024px) { .lg-grid-cols-2 { grid-template-columns: repeat(2, 1fr); } .lg-grid-cols-3 { grid-template-columns: repeat(3, 1fr); } .lg-grid-cols-4 { grid-template-columns: repeat(4, 1fr); } .lg-grid-cols-6 { grid-template-columns: repeat(6, 1fr); } }

/* ========== FORM ========== */
.form-input { width: 100%; padding: 0.75rem 1rem; border-radius: 0.5rem; border: 1px solid #e2e8f0; background: #fff; color: #1a1a2e; transition: all 0.2s ease; font-size: 0.875rem; }
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(67,127,244,0.15); }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: #374151; margin-bottom: 0.25rem; }

/* ========== TABS ========== */
.product-tab { padding: 0.75rem 1.5rem; border-radius: 0.5rem; font-weight: 500; border: none; cursor: pointer; transition: all 0.2s ease; background: #f3f4f6; color: #374151; }
.product-tab:hover { background: #e5e7eb; }
.product-tab.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(67,127,244,0.25); }
.core-link { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 0.5rem; font-weight: 500; text-decoration: none; transition: all 0.2s ease; background: #f3f4f6; color: #374151; cursor: pointer; }
.core-link:hover { background: #e5e7eb; }
.core-link.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(67,127,244,0.25); }
.tab-panel { display: none; }
.tab-panel.active { display: flex; }
.partner-panel { display: none; }
.partner-panel.active { display: block; }

/* ========== MISC ========== */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: #fff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-red-500 { color: #ef4444; }
.text-green-600 { color: #16a34a; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; } .gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }
.grid { display: grid; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; } .mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-12 { margin-top: 3rem; } .mt-16 { margin-top: 4rem; }
.p-2 { padding: 0.5rem; } .p-3 { padding: 0.75rem; } .p-4 { padding: 1rem; } .p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; } .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; } .px-4 { padding-left: 1rem; padding-right: 1rem; } .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } .px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; } .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; } .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; } .py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; } .py-12 { padding-top: 3rem; padding-bottom: 3rem; } .py-16 { padding-top: 4rem; padding-bottom: 4rem; } .py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-24 { padding-top: 6rem; } .pt-32 { padding-top: 8rem; } .pb-8 { padding-bottom: 2rem; } .pb-16 { padding-bottom: 4rem; }
.rounded-lg { border-radius: 0.5rem; } .rounded-xl { border-radius: 0.75rem; } .rounded-2xl { border-radius: 1rem; } .rounded-full { border-radius: 9999px; }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); } .shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); } .shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.bg-white { background: #fff; } .bg-gray-50 { background: #f9fafb; } .bg-gray-100 { background: #f3f4f6; } .bg-gray-900 { background: #111827; }
.bg-blue-50 { background: #eff6ff; } .bg-green-50 { background: #f0fdf4; } .bg-amber-50 { background: #fffbeb; }
.border { border: 1px solid #e2e8f0; } .border-t { border-top: 1px solid #e5e7eb; } .border-b { border-bottom: 1px solid #e2e8f0; }
.w-full { width: 100%; } .h-full { height: 100%; }
.relative { position: relative; } .overflow-hidden { overflow: hidden; } .overflow-x-auto { overflow-x: auto; }
.mx-auto { margin-left: auto; margin-right: auto; } .inline-flex { display: inline-flex; }
.list-none { list-style: none; } .block { display: block; }
.w-4 { width: 1rem; } .h-4 { height: 1rem; } .w-5 { width: 1.25rem; } .h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; } .h-6 { height: 1.5rem; } .w-8 { width: 2rem; } .h-8 { height: 2rem; }
.w-10 { width: 2.5rem; } .h-10 { height: 2.5rem; } .w-12 { width: 3rem; } .h-12 { height: 3rem; }
.w-14 { width: 3.5rem; } .h-14 { height: 3.5rem; } .w-16 { width: 4rem; } .h-16 { height: 4rem; }
.w-24 { width: 6rem; } .h-24 { height: 6rem; } .w-40 { width: 10rem; } .h-40 { height: 10rem; }
.hover-shadow:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.transition-all { transition: all 0.2s ease; } .transition-colors { transition: color 0.2s ease, background-color 0.2s ease; }

/* ========== INDUSTRY SOLUTION CARDS ========== */
.industry-card {
  border-radius: 1rem; overflow: hidden;
  transition: all 0.3s ease; position: relative;
}
.industry-card:hover {
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.industry-card .card-img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block;
  border-radius: 1rem 1rem 0 0;
}
.industry-card .card-body { padding: 1.25rem 1.25rem 1.5rem; }
.industry-card .card-body h3 {
  font-size: 1.25rem; font-weight: 700; color: #111827; margin-bottom: 0.75rem;
}
.industry-card .card-body p {
  font-size: 0.875rem; color: #6b7280; line-height: 1.75; margin-bottom: 0.5rem;
}
.industry-card .card-detail-btn {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%) translateY(20px);
  opacity: 0; transition: all 0.3s ease;
  display: inline-flex; align-items: center; gap: 0.375rem;
  background: #fff; color: #437FF4; font-weight: 600; font-size: 0.875rem;
  padding: 0.5rem 1.25rem; border-radius: 9999px; text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  white-space: nowrap;
}
.industry-card:hover .card-detail-btn {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.industry-card .card-detail-btn:hover {
  background: #437FF4; color: #fff;
}

/* ========== FOOTER WHITE ========== */
.footer-white { background: #fff !important; color: #374151 !important; }
.footer-white h3 { color: #111827 !important; }
.footer-white a { color: #6b7280 !important; }
.footer-white a:hover { color: var(--primary) !important; }
.footer-white p { color: #6b7280 !important; }
.footer-white .border-t { border-color: #e5e7eb !important; }
.footer-white .border-b { border-color: #e5e7eb !important; }
.footer-white .accordion-header { color: #111827 !important; }
.footer-white .border-gray-200 { border-color: #e5e7eb !important; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-content.open { max-height: 500px; }
.accordion-content a { display: block; padding: 0.5rem 0; color: #6b7280; text-decoration: none; font-size: 0.875rem; }
.accordion-content a:hover { color: var(--primary); }
