@charset "utf-8";

/* ===========================
   艾盈科技 - 科技企业风格样式 v2
   白色导航栏 + 深色内容区 + 科技感强化
   =========================== */

/* === CSS Variables === */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --accent: #00b4d8;
  --accent2: #6c63ff;
  --accent-gradient: linear-gradient(135deg, #00b4d8, #6c63ff);
  --accent-glow: 0 0 20px rgba(0, 180, 216, 0.3), 0 0 60px rgba(108, 99, 255, 0.15);
  --text-primary: #e8eaed;
  --text-secondary: #9aa0b4;
  --text-muted: #5a6070;
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.12);
  --nav-bg: #ffffff;
  --nav-text: #1a2332;
  --nav-text-muted: #555f73;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-nav: 0 2px 24px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --nav-height: 72px;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
img { max-width: 100%; display: block; }

/* === Background Ambient Effect === */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 30%, rgba(0, 180, 216, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 90% 10%, rgba(108, 99, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(0, 180, 216, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* === Navigation - White Theme === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  box-shadow: var(--shadow-nav);
  z-index: 1000;
  transition: all 0.35s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 32px rgba(0, 0, 0, 0.12);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  padding: 8px 22px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--nav-text-muted);
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(0, 180, 216, 0.07);
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--nav-text);
  transition: var(--transition);
  border-radius: 2px;
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + 40px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #0a0e1a 0%, #0d1525 30%, #111827 60%, #0c1322 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 25% 15%, rgba(0, 180, 216, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 85%, rgba(108, 99, 255, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 180, 216, 0.03) 0%, transparent 70%);
}

/* Animated Grid */
.hero-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid::before {
  content: '';
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  from { transform: translate(0, 0); }
  to { transform: translate(80px, 80px); }
}

/* Floating Particles */
.hero-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px circle at 10% 20%, rgba(0, 180, 216, 0.6), transparent),
    radial-gradient(1.5px circle at 80% 10%, rgba(108, 99, 255, 0.6), transparent),
    radial-gradient(1.2px circle at 30% 70%, rgba(0, 180, 216, 0.4), transparent),
    radial-gradient(1.2px circle at 70% 60%, rgba(108, 99, 255, 0.4), transparent),
    radial-gradient(1px circle at 45% 35%, rgba(0, 180, 216, 0.5), transparent),
    radial-gradient(1px circle at 90% 80%, rgba(108, 99, 255, 0.5), transparent);
  animation: particleFloat 15s ease-in-out infinite alternate;
}

@keyframes particleFloat {
  from { transform: translateY(-10px); opacity: 0.6; }
  to { transform: translateY(10px); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.25);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 28px;
  animation: fadeInUp 0.7s ease;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #00b4d8 0%, #6c63ff 50%, #00b4d8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

.hero p {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 180, 216, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(0, 180, 216, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(0, 180, 216, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2.2s infinite;
  z-index: 2;
}

.hero-scroll span {
  display: block;
  width: 26px;
  height: 42px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 2.2s infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 22px; }
}

/* === Section Common === */
.section {
  position: relative;
  z-index: 1;
  padding: 110px 20px;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 750;
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
  margin: 16px auto 0;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 16px;
}

.container { max-width: var(--max-width); margin: 0 auto; }

/* === Services Section === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 24px 36px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: all 0.4s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 180, 216, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(0, 180, 216, 0.25);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 180, 216, 0.08);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(0, 180, 216, 0.1), rgba(108, 99, 255, 0.08));
  border: 1px solid rgba(0, 180, 216, 0.12);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(145deg, rgba(0, 180, 216, 0.18), rgba(108, 99, 255, 0.14));
  border-color: rgba(0, 180, 216, 0.3);
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.15);
  transform: scale(1.05);
}

.service-icon img { width: 38px; height: 38px; }

.service-card h3 {
  font-size: 18px;
  font-weight: 650;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

/* === Stats Section === */
.stats-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(108, 99, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 180, 216, 0.03) 0%, transparent 50%);
}

/* === Contact - Light Theme === */
.contact-section {
  background: linear-gradient(165deg, #111a2e 0%, #162035 40%, #1a2540 70%, #141d32 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(0, 180, 216, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(108, 99, 255, 0.05) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(26, 37, 64, 0.3), transparent 60%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08), transparent);
}

.stat-number {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 850;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
}

/* === About / Company === */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.4rem);
  font-weight: 720;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 1.05rem;
}

.about-text .highlight {
  color: var(--accent);
  font-weight: 550;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  border-radius: var(--radius-lg);
  width: 100%;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background: var(--accent-gradient);
  z-index: -1;
  opacity: 0.4;
  filter: blur(24px);
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(10,14,26,0.6), transparent);
  pointer-events: none;
}

/* === Cases Section === */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.case-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.case-card:hover img { transform: scale(1.08); }

.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.15) 45%, transparent 100%);
  transition: all 0.4s ease;
}

.case-card:hover .case-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

.case-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px;
  transition: transform 0.4s ease;
}

.case-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.case-info span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}

.case-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  transition: all 0.4s ease;
}

.case-card:hover::after {
  border-color: rgba(0, 180, 216, 0.35);
  box-shadow: inset 0 0 30px rgba(0, 180, 216, 0.05);
}

/* === Advantages === */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 18px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.advantage-card:hover {
  border-color: rgba(0, 180, 216, 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.advantage-card img {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  transition: transform 0.4s ease;
}

.advantage-card:hover img { transform: scale(1.08); }

.advantage-card h3 {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.advantage-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* === Certificates Carousel === */
.certs-carousel {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  cursor: grab;
  user-select: none;
}

.certs-carousel:active {
  cursor: grabbing;
}

.certs-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: certsScroll 30s linear infinite;
}

.certs-carousel:hover .certs-track {
  animation-play-state: paused;
}

@keyframes certsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.cert-item {
  flex: 0 0 320px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cert-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(300px circle at 50% 50%, rgba(0, 180, 216, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.cert-item:hover {
  border-color: rgba(0, 180, 216, 0.35);
  background: var(--bg-card-hover);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(0, 180, 216, 0.1);
}

.cert-item:hover::before { opacity: 1; }

.cert-item img {
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95);
}

.cert-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.05) drop-shadow(0 4px 16px rgba(0, 180, 216, 0.2));
}

/* Cert carousel dots */
.certs-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.cert-dot {
  width: 30px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.35s ease;
}

.cert-dot.active {
  width: 44px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.35);
}

/* === Contact === */
.contact-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-visual .contact-visual-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
}

.contact-visual .contact-visual-text span {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  text-align: center;
  letter-spacing: 4px;
}

.contact-info-list { display: flex; flex-direction: column; gap: 24px; }

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.4s ease;
}

.contact-info-item:hover {
  border-color: rgba(0, 180, 216, 0.25);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.contact-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(0, 180, 216, 0.1), rgba(108, 99, 255, 0.08));
  border: 1px solid rgba(0, 180, 216, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.contact-info-item:hover .contact-icon {
  background: linear-gradient(145deg, rgba(0, 180, 216, 0.18), rgba(108, 99, 255, 0.14));
  box-shadow: 0 0 16px rgba(0, 180, 216, 0.12);
}

.contact-icon img { width: 26px; height: 26px; }

.contact-detail span { display: block; }

.contact-detail .label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-detail .value {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

/* === Footer === */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 32px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer p {
  color: var(--text-muted);
  font-size: 14px;
}

.footer a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--accent);
}

/* ===========================
   子页面 - 产品中心
   =========================== */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: var(--bg-secondary);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(0.7);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,14,26,0.78), var(--bg-primary));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
}

.page-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.page-hero-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.product-section { padding: 80px 20px; }

.product-category { margin-bottom: 64px; }

.product-category h2 {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
}

.product-category h2 .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: inline-block;
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.5);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
  border-color: rgba(0, 180, 216, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.product-card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-secondary);
}

.product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.product-card:hover .product-card-thumb img { transform: scale(1.06); }

.product-card-body { padding: 22px 22px 24px; }

.product-card-body h3 { font-size: 17px; font-weight: 620; margin-bottom: 6px; }

.product-card-body h3 a {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.product-card-body h3 a:hover { color: var(--accent); }

/* ===========================
   子页面 - 技术服务
   =========================== */
.service-page-section { padding: 80px 20px; }

.service-page-section.alt { background: var(--bg-secondary); }

.tech-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.tech-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 24px 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-service-card:hover {
  border-color: rgba(0, 180, 216, 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.tech-service-card img {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  transition: transform 0.4s ease;
}

.tech-service-card:hover img { transform: scale(1.08); }

.tech-service-card span {
  font-size: 17px;
  font-weight: 620;
  display: block;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.philosophy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.philosophy-card:hover {
  border-color: rgba(0, 180, 216, 0.25);
  transform: translateY(-4px);
}

.philosophy-card .phil-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.philosophy-card h3 { font-size: 22px; font-weight: 750; }
.philosophy-card img { width: 40px; height: 40px; }
.philosophy-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.75; }

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.flow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 20px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.flow-card:hover {
  border-color: rgba(0, 180, 216, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.flow-card img { width: 56px; height: 56px; margin: 0 auto 16px; }

.flow-card .flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  margin-top: 10px;
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.3);
}

.flow-card .flow-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Flow connector lines */
.flow-card:not(:nth-child(4n))::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 50%;
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, transparent, rgba(0, 180, 216, 0.25), transparent);
}

/* ===========================
   子页面 - 联系我们
   =========================== */
.contact-page-section { padding: 80px 20px; }

.contact-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 64px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-card:hover {
  border-color: rgba(0, 180, 216, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.contact-info-card img { width: 50px; height: 50px; margin: 0 auto 18px; }

.contact-info-card .cc-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.contact-info-card .cc-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-all;
}

.qr-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px;
  max-width: 600px;
  margin: 0 auto;
}

.qr-card {
  text-align: center;
  padding: 44px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s ease;
}

.qr-card:hover {
  border-color: rgba(0, 180, 216, 0.25);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.qr-card .qr-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
}

.qr-card img {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: var(--radius);
  transition: transform 0.4s ease;
}

.qr-card:hover img { transform: scale(1.04); }

/* === Slider/Dot Indicators === */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: absolute;
  bottom: 32px;
  left: 0; right: 0;
  z-index: 10;
}

.slider-dot {
  width: 26px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.35s ease;
}

.slider-dot.active {
  width: 40px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.4);
}

/* Helpers */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Animations === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* === Responsive === */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(3, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-service-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-item { flex: 0 0 260px; }
  .cert-item img { max-height: 160px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat-item:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-height: 62px; }

  /* Mobile Nav - White */
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 13px 18px;
    border-radius: 10px;
    font-size: 16px;
  }

  .nav-links a.active::after {
    bottom: 6px;
  }

  .nav-toggle { display: flex; }

  .section { padding: 64px 18px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cases-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about-content { grid-template-columns: 1fr; gap: 32px; }
  .product-grid { grid-template-columns: 1fr; }
  .tech-service-grid { grid-template-columns: 1fr 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .flow-card:not(:nth-child(2n))::after { display: none; }
  .cert-item { flex: 0 0 220px; }
  .cert-item img { max-height: 130px; }
  .contact-cards-row { grid-template-columns: 1fr; }
  .qr-section { grid-template-columns: 1fr; max-width: 320px; }
  .contact-grid { grid-template-columns: 1fr; }

  .service-card { padding: 28px 18px 24px; }
  .advantage-card { padding: 22px 14px; }
  .hero { padding-top: calc(var(--nav-height) + 24px); }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .tech-service-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .certs-dots { display: flex; }
  .cert-item { flex: 0 0 200px; }
  .cert-item img { max-height: 110px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
