/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
  background: #f8fafc;
  font-size: 15px;
}
a { text-decoration: none; color: inherit; transition: color .3s; }
a:hover { color: #2563eb; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ===== Colors ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #f97316;
  --dark: #1e293b;
  --gray: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-bottom: 1px solid #f1f5f9;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-right: 48px; }
.logo img { height: 40px; width: auto; }
.logo-icon {
  width: 38px; height: 38px;
  color: var(--primary);
  flex-shrink: 0;
}
.logo-text { font-size: 22px; font-weight: 700; color: var(--primary); letter-spacing: -0.5px; }

.nav-menu { display: flex; gap: 4px; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  border-radius: 6px;
  transition: all .25s;
  white-space: nowrap;
}
.nav-menu > li > a:hover { color: var(--primary); }
.nav-menu > li > a.active { color: #fff; background: var(--primary); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 200px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s;
  z-index: 100;
}
.nav-menu > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  letter-spacing: 0;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { color: #ff9b26; background: #f8fafc; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-phone-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 12px;
  border-right: 1px solid #e2e8f0;
}
.header-phone-box > i {
  font-size: 22px;
  color: var(--primary);
  background: rgba(37,99,235,0.1);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header-phone-info { display: flex; flex-direction: column; line-height: 1.2; }
.header-phone-info small { font-size: 11px; color: #94a3b8; }
.header-phone-info strong { font-size: 18px; font-weight: 700; color: var(--primary); }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(37,99,235,0.15);
  transition: all .3s;
}
.btn-cta:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 6px 12px rgba(37,99,235,0.2); transform: translateY(-1px); }
.nav-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--dark); }

/* ===== Hero (Light Tech Premium) ===== */
.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #f0f5ff 0%, #e8eef8 30%, #f8fafc 70%, #eef2fb 100%);
  color: #1e293b;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(37, 99, 235, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 75%, rgba(59, 130, 246, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(14, 165, 233, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  opacity: 0.5;
  animation: heroGlow 10s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-glow-1 {
  width: 550px; height: 550px;
  background: rgba(37, 99, 235, 0.09);
  top: -150px; right: -100px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: rgba(59, 130, 246, 0.07);
  bottom: 60px; left: -120px;
  animation-delay: -5s;
}
@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  100% { transform: translate(-40px, 30px) scale(1.1); opacity: 0.55; }
}
.hero-swiper {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  min-height: 760px;
  padding: 260px 0 110px;
}
.hero-swiper .swiper-slide {
  height: auto !important;
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  width: 100%;
}
.hero-content { position: relative; z-index: 2; align-self: center; padding-top: 30px; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  margin-top: 50px;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}
.hero-label::before {
  content: '';
  width: 7px; height: 7px;
  background: #2563eb;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.4);
}
.hero-content h1 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero-content h1 span {
  color: #2563eb;
  position: relative;
}
.hero-content h1 span::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 7px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.2), transparent);
  border-radius: 4px;
  z-index: -1;
}
.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 32px;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
  transition: all .3s;
  border: 1px solid transparent;
}
.hero-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}
.hero-btn-outline {
  background: #fff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  color: #334155;
}
.hero-btn-outline:hover {
  background: #f8fafc;
  border-color: #2563eb;
  color: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 12px 36px;
  justify-content: start;
  text-align: left;
}
.hero-stats .border-x {
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  padding: 0 36px;
}
.hero-stats .num {
  font-size: 34px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.hero-stats .label {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-monitor {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(37, 99, 235, 0.04) inset,
    0 -10px 40px rgba(37, 99, 235, 0.06) inset;
  padding: 10px;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transition: transform .5s ease;
}
.hero-monitor:hover { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.hero-monitor img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 12px;
  display: block;
  position: relative;
  z-index: 1;
}
.hero-monitor::after {
  content: '';
  position: absolute;
  top: 8px; right: 14px;
  width: 10px; height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  z-index: 2;
}
.hero-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 3;
  animation: floatCard 5s ease-in-out infinite;
}
.hero-floating-card i {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border-radius: 10px;
  font-size: 18px;
}
.hero-floating-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}
.hero-floating-card span {
  font-size: 12px;
  color: #64748b;
}
.hero-card-1 { top: 50px; right: -25px; animation-delay: 0s; }
.hero-card-2 { bottom: 70px; left: -35px; animation-delay: -2.5s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── Slide 1: 网站建设 + Yandex + Google ── */
.hero-services-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.hero-service-mini {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  transition: all .3s;
  cursor: default;
}
.hero-service-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: #2563eb;
}
.hero-service-mini .svc-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  margin: 0 auto 12px;
  font-size: 22px;
}
.hero-service-mini .svc-icon.icon-web {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #2563eb;
}
.hero-service-mini .svc-icon.icon-yandex {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #ef4444;
}
.hero-service-mini .svc-icon.icon-google {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #16a34a;
}
.hero-service-mini .svc-icon.icon-geo {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #d97706;
}
.hero-service-mini h4 { font-size: 15px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.hero-service-mini p { font-size: 12px; color: #64748b; line-height: 1.5; }
.slide1-right { position: relative; z-index: 2; }
.global-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.global-visual .global-grid-bg {
  position: absolute;
  inset: -20px;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: 24px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
  z-index: 0;
}
.global-visual .global-glow {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
  animation: globalPulse 4s ease-in-out infinite;
}
@keyframes globalPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.9; }
}
.global-map-card {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 420px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 -20px 50px rgba(37, 99, 235, 0.1) inset;
  overflow: hidden;
  transform: perspective(1100px) rotateY(-10deg) rotateX(4deg);
  transition: transform .5s ease;
  backdrop-filter: blur(10px);
}
.global-map-card:hover { transform: perspective(1100px) rotateY(-6deg) rotateX(2deg); }
.global-map-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.global-dots { display: flex; gap: 6px; }
.global-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.global-dots span:nth-child(1) { background: #ef4444; }
.global-dots span:nth-child(2) { background: #f59e0b; }
.global-dots span:nth-child(3) { background: #22c55e; }
.global-map-header span {
  flex: 1;
  font-size: 13px;
  color: #e2e8f0;
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.global-map-header span i { color: #60a5fa; }
.global-map-body {
  position: relative;
  padding: 40px 30px 50px;
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
}
.global-map-body .global-globe {
  font-size: 120px;
  color: #60a5fa;
  opacity: 0.18;
}
.geo-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: pinPulse 2s ease-in-out infinite;
}
.geo-pin i {
  font-size: 22px;
  color: #3b82f6;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}
.geo-pin span {
  font-size: 11px;
  color: #e2e8f0;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.7);
  padding: 2px 8px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.geo-pin.pin-1 { top: 28%; left: 55%; animation-delay: 0s; }
.geo-pin.pin-2 { top: 22%; left: 22%; animation-delay: 0.5s; }
.geo-pin.pin-3 { top: 48%; left: 12%; animation-delay: 1s; }
.geo-pin.pin-4 { bottom: 20%; right: 18%; animation-delay: 1.5s; }
@keyframes pinPulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-5px); opacity: 0.8; }
}
.global-float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
  animation: globalFloat 5s ease-in-out infinite;
}
.global-float-card i {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.05));
  color: #2563eb;
  border-radius: 10px;
  font-size: 17px;
}
.global-float-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.global-float-card span {
  font-size: 11px;
  color: #64748b;
  letter-spacing: 0.3px;
}
.global-float-card.gfw-geo { top: 6%; right: -4%; animation-delay: 0s; }
.global-float-card.gfw-global { bottom: 16%; left: -6%; animation-delay: -1.6s; }
.global-float-card.gfw-traffic { bottom: 6%; right: 4%; animation-delay: -3.2s; }
@keyframes globalFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── Slide 2: WordPress 高端建站 ── */
.slide-theme-wp { background: linear-gradient(170deg, #f0f9ff 0%, #e8f4fc 30%, #fafcfd 60%, #f0f7fc 100%); }
.slide-theme-wp .hero-label {
  background: rgba(33, 117, 155, 0.08);
  border-color: rgba(33, 117, 155, 0.18);
  color: #21759b;
}
.slide-theme-wp .hero-label::before { background: #21759b; box-shadow: 0 0 6px rgba(33, 117, 155, 0.4); }
.slide-theme-wp .hero-content h1 span { color: #21759b; }
.slide-theme-wp .hero-content h1 span::after { background: linear-gradient(90deg, rgba(33, 117, 155, 0.2), transparent); }
.wp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.wp-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  color: #334155;
  font-weight: 500;
  transition: all .25s;
}
.wp-feature-item:hover {
  box-shadow: 0 4px 14px rgba(33, 117, 155, 0.1);
  border-color: rgba(33, 117, 155, 0.3);
}
.wp-feature-item i {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(33, 117, 155, 0.08);
  color: #21759b;
  border-radius: 8px;
  font-size: 15px;
  flex-shrink: 0;
}
.slide2-right { position: relative; z-index: 2; }
.wp-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.wp-visual-v2 .wp-grid-bg {
  position: absolute;
  inset: -20px;
  background-image:
    linear-gradient(rgba(33, 117, 155, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 117, 155, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: 24px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
  z-index: 0;
}
.wp-visual-v2 .wp-glow-ring {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 117, 155, 0.18) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
  animation: wpPulse 4s ease-in-out infinite;
}
@keyframes wpPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.9; }
}

/* 代码编辑器窗口 */
.wp-editor-window {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 420px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 -20px 50px rgba(33, 117, 155, 0.12) inset;
  overflow: hidden;
  transform: perspective(1100px) rotateY(-10deg) rotateX(4deg);
  transition: transform .5s ease;
  backdrop-filter: blur(10px);
}
.wp-editor-window:hover { transform: perspective(1100px) rotateY(-6deg) rotateX(2deg); }
.wp-editor-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.wp-editor-dots { display: flex; gap: 6px; }
.wp-editor-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.wp-editor-dots span:nth-child(1) { background: #ef4444; }
.wp-editor-dots span:nth-child(2) { background: #f59e0b; }
.wp-editor-dots span:nth-child(3) { background: #22c55e; }
.wp-editor-title {
  flex: 1;
  font-size: 12px;
  color: #94a3b8;
  font-family: 'SF Mono', Monaco, monospace;
  display: flex; align-items: center; gap: 8px;
}
.wp-editor-title i { color: #21759b; font-size: 14px; }
.wp-editor-status { color: #22c55e; font-size: 13px; }
.wp-editor-body {
  padding: 18px 20px 22px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 13px;
  line-height: 1.8;
}
.wp-code-line {
  display: flex;
  gap: 14px;
  white-space: nowrap;
}
.wp-code-num {
  color: #475569;
  font-size: 11px;
  min-width: 20px;
  text-align: right;
  user-select: none;
}
.wp-code-keyword { color: #c084fc; font-weight: 600; }
.wp-code-func { color: #60a5fa; font-weight: 600; }
.wp-code-name { color: #fbbf24; }
.wp-code-var { color: #f472b6; }
.wp-code-string { color: #a3e635; }
.wp-code-comment { color: #64748b; font-style: italic; }

/* 浮动数据卡片 */
.wp-float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(33, 117, 155, 0.18);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
  animation: wpFloat 5s ease-in-out infinite;
}
.wp-float-card i {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(33, 117, 155, 0.12), rgba(33, 117, 155, 0.05));
  color: #21759b;
  border-radius: 10px;
  font-size: 17px;
}
.wp-float-card strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.wp-float-card span {
  font-size: 11px;
  color: #64748b;
  letter-spacing: 0.3px;
}
.wp-float-performance { top: 8%; right: -5%; animation-delay: 0s; }
.wp-float-security { bottom: 18%; left: -6%; animation-delay: -1.6s; }
.wp-float-score { bottom: 8%; right: 5%; animation-delay: -3.2s; }
@keyframes wpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── Slide 3: Google + Yandex 推广 ── */
.slide-theme-promo { background: linear-gradient(170deg, #fefce8 0%, #fef9c3 5%, #f8fafc 40%, #f0f5ff 80%, #fef2f2 100%); }
.slide-theme-promo .hero-label {
  background: rgba(234, 67, 53, 0.07);
  border-color: rgba(234, 67, 53, 0.15);
  color: #dc2626;
}
.slide-theme-promo .hero-label::before { background: #ea4335; box-shadow: 0 0 6px rgba(234, 67, 53, 0.4); }
.slide-theme-promo .hero-content h1 span { background: linear-gradient(90deg, #ea4335, #2563eb, #f97316); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.slide-theme-promo .hero-content h1 span::after { display: none; }
.promo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.promo-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 20px;
  transition: all .3s;
  text-align: left;
}
.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.promo-card.google-card:hover { border-color: #34a853; }
.promo-card.yandex-card:hover { border-color: #ef4444; }
.promo-card.geo-card:hover { border-color: #f59e0b; }
.promo-card .promo-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 800;
}
.google-card .promo-icon {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #16a34a;
}
.yandex-card .promo-icon {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #ef4444;
}
.geo-card .promo-icon {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #d97706;
}
.geo-card .promo-tags span { background: #fef3c7; color: #b45309; }
.promo-card h4 { font-size: 15px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.promo-card p { font-size: 12px; color: #64748b; line-height: 1.5; }
.promo-tags { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.promo-tags span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.google-card .promo-tags span { background: #dcfce7; color: #15803d; }
.yandex-card .promo-tags span { background: #fee2e2; color: #dc2626; }
.slide3-right { position: relative; z-index: 2; }
.promo-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.promo-visual-v2 .promo-grid-bg {
  position: absolute;
  inset: -20px;
  background-image:
    linear-gradient(rgba(234, 67, 53, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: 24px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
  z-index: 0;
}
.promo-visual-v2 .promo-glow {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
  animation: promoPulse 4s ease-in-out infinite;
}
@keyframes promoPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.9; }
}
.promo-dashboard {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 420px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 -20px 50px rgba(37, 99, 235, 0.1) inset;
  overflow: hidden;
  transform: perspective(1100px) rotateY(-10deg) rotateX(4deg);
  transition: transform .5s ease;
  backdrop-filter: blur(10px);
}
.promo-dashboard:hover { transform: perspective(1100px) rotateY(-6deg) rotateX(2deg); }
.promo-dashboard-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.promo-dots { display: flex; gap: 6px; }
.promo-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.promo-dots span:nth-child(1) { background: #ef4444; }
.promo-dots span:nth-child(2) { background: #f59e0b; }
.promo-dots span:nth-child(3) { background: #22c55e; }
.promo-dashboard-header span {
  flex: 1;
  font-size: 13px;
  color: #e2e8f0;
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.promo-dashboard-header span i { color: #60a5fa; }
.promo-dashboard-body { padding: 24px 22px 28px; }
.promo-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.promo-metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.promo-metric-value {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.promo-metric-label {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}
.promo-line-chart {
  height: 70px;
  margin-bottom: 18px;
}
.promo-line-chart svg { width: 100%; height: 100%; }
.promo-geo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
}
.promo-geo-bar span {
  font-size: 12px;
  color: #e2e8f0;
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.promo-geo-bar span i { color: #f59e0b; }
.promo-geo-progress {
  flex: 1;
  height: 6px;
  background: rgba(148, 163, 184, 0.15);
  border-radius: 3px;
  overflow: hidden;
}
.promo-geo-progress span {
  display: block;
  height: 100%;
  width: 86%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 3px;
  animation: geoProgress 2s ease-out forwards;
}
@keyframes geoProgress {
  from { width: 0; }
  to { width: 86%; }
}
.promo-float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
  animation: promoFloat 5s ease-in-out infinite;
}
.promo-float-card i {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.05));
  color: #2563eb;
  border-radius: 10px;
  font-size: 17px;
}
.promo-float-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.promo-float-card span {
  font-size: 11px;
  color: #64748b;
  letter-spacing: 0.3px;
}
.promo-float-card.pfw-1 { top: 8%; right: -5%; animation-delay: 0s; }
.promo-float-card.pfw-2 { bottom: 14%; left: -6%; animation-delay: -2s; }
@keyframes promoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Generic slide background variants */
.hero-slide-light {
  position: relative;
  width: 100%;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-slide-light .hero-content-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-slide-light .hero-inner { position: relative; z-index: 1; }
.hero-slide-light .hero-content-center .hero-desc {
  margin-left: auto; margin-right: auto;
  color: #475569;
}
.hero-slide-light .hero-content-center h1 { color: #0f172a; }

/* Old slide dark (keep for backward compat) */
.hero-slide-dark {
  position: relative;
  width: 100%;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-slide-dark .hero-content-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-slide-dark .hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.15;
}
.hero-slide-dark .hero-inner { position: relative; z-index: 1; }
.hero-slide-dark .hero-content-center .hero-desc { margin-left: auto; margin-right: auto; }

/* Pagination */
.hero-swiper .swiper-pagination {
  bottom: 35px;
  z-index: 10;
}
.hero-swiper .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: #cbd5e1; opacity: 0.6;
  transition: all .3s;
  margin: 0 5px;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: #2563eb; opacity: 1;
  width: 32px; border-radius: 5px;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

/* Hero bottom feature cards */
.hero-features-bar {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border-top: 1px solid #e2e8f0;
  padding: 32px 0;
}
.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hero-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: all .3s;
}
.hero-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.25);
}
.hero-feature-card .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border-radius: 10px;
  font-size: 20px;
  flex-shrink: 0;
}
.hero-feature-card h4 { font-size: 15px; font-weight: 700; color: #1e293b; margin-bottom: 5px; }
.hero-feature-card p { font-size: 12px; color: #64748b; line-height: 1.5; }

/* Hero trust bar */
.hero-trust-bar {
  position: relative;
  z-index: 2;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 16px 0;
}
.hero-trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #64748b;
}
.hero-trust-items i { color: #2563eb; margin-right: 6px; }

/* Old hero styles cleanup */
.hero-banner-link { display: none; }
.hero-image { display: none; }

/* ===== Hero Responsive ===== */
@media (max-width: 1280px) {
  .hero-swiper { padding: 235px 0 100px; min-height: auto; }
  .hero-inner { gap: 50px; }
  .hero-monitor { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
  .hero-services-cards { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
@media (max-width: 1100px) {
  .hero-features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-services-cards { grid-template-columns: 1fr 1fr; }
  .promo-cards { grid-template-columns: 1fr 1fr; }
  .wp-feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-swiper { padding: 190px 0 90px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content { order: 1; }
  .hero-visual { order: 2; }
  .hero-label { margin: 0 auto 20px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-stats .border-x { padding: 0 24px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .hero-monitor { transform: none; }
  .hero-card-1 { right: 0; top: 20px; }
  .hero-card-2 { left: 0; bottom: 20px; }
  .hero-trust-items { gap: 16px 32px; }
  .hero-services-cards { grid-template-columns: 1fr 1fr; }
  .promo-cards { grid-template-columns: 1fr 1fr; }
  .wp-feature-grid { grid-template-columns: 1fr 1fr; }
  .global-visual, .wp-visual, .promo-visual { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero-swiper { padding: 165px 0 80px; }
  .hero-content h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero-desc { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .hero-stats .border-x { border: none; padding: 0; }
  .hero-features-grid { grid-template-columns: 1fr; }
  .hero-feature-card { padding: 16px; }
  .hero-floating-card { display: none; }
  .hero-trust-items { flex-direction: column; gap: 10px; text-align: center; }
  .hero-services-cards { grid-template-columns: 1fr; }
  .promo-cards { grid-template-columns: 1fr; }
  .wp-feature-grid { grid-template-columns: 1fr; }
  .global-float-card, .promo-float-card { display: none; }
}

/* ===== Section ===== */
.section { padding: 80px 0; }
.bg-white { background: #fff; }
.bg-light { background: #f8fafc; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--gray); }
.text-center { text-align: center; }
.mt-12 { margin-top: 40px; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(37,99,235,0.15);
  transition: all .3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 8px;
  font-weight: 500;
  transition: all .3s;
}
.btn-secondary:hover { background: #eff6ff; }

/* ===== Advantages ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 35px 20px;
  text-align: center;
  transition: all .3s;
}
.advantage-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.advantage-card .icon {
  width: 64px; height: 64px;
  background: rgba(37,99,235,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 24px;
  color: var(--primary);
}
.advantage-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.advantage-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ===== Service Tabs ===== */
.service-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.service-tab {
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all .3s;
  background: #fff;
  border: 2px solid var(--border);
  color: #334155;
}
.service-tab.active,
.service-tab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
a.service-tab { text-decoration: none; }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.service-img { height: 190px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 24px; }
.service-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.tag-blue { background: #dbeafe; color: #1d4ed8; }
.tag-green { background: #dcfce7; color: #16a34a; }
.tag-orange { background: #ffedd5; color: #c2410c; }
.tag-purple { background: #f3e8ff; color: #7c3aed; }
.service-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-body > p { font-size: 14px; color: var(--gray); margin-bottom: 16px; line-height: 1.7; }
.service-body ul { padding-top: 14px; border-top: 1px solid #f1f5f9; }
.service-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  color: #475569;
}
.service-body ul li i { color: var(--primary); font-size: 12px; margin-top: 4px; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap .2s;
}
.service-card-link:hover { gap: 10px; }

/* ===== Cases ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  background: #f8fafc;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all .3s;
}
.case-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.cases-grid-3 { grid-template-columns: repeat(3, 1fr); }
.case-card-vertical { display: flex; flex-direction: column; grid-template-columns: none; }
.case-card-vertical .case-img { height: 240px; min-height: auto; }
.case-card-vertical .case-body { padding: 24px; justify-content: flex-start; }
.case-img { height: 100%; min-height: 260px; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.case-tag { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; margin-bottom: 12px; width: fit-content; }
.case-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.case-body > p { font-size: 14px; color: var(--gray); margin-bottom: 14px; line-height: 1.7; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.case-tags span { padding: 4px 10px; background: #e2e8f0; color: #475569; border-radius: 4px; font-size: 12px; }
.case-stats { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 14px; padding: 10px 14px; background: linear-gradient(135deg, #f0f4ff, #e8f0fe); border-radius: 8px; }
.case-stats span { font-size: 13px; color: #475569; }
.case-stats span strong { color: var(--primary); font-size: 16px; font-weight: 700; margin-right: 4px; }
.case-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; font-size: 14px; }
.case-link:hover { color: var(--primary-dark); }

/* ===== About Section ===== */
.about-section { background: linear-gradient(135deg, rgba(37,99,235,0.05) 0%, #e0e7ff 100%); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}
.about-image img { width: 100%; height: auto; }
.about-float-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #fff;
  padding: 16px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-float-card .icon {
  width: 44px; height: 44px;
  background: rgba(37,99,235,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 18px;
}
.about-float-card .num { font-size: 20px; font-weight: 800; color: var(--dark); }
.about-float-card .label { font-size: 13px; color: var(--gray); }
.about-label {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(37,99,235,0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.about-content h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 18px; }
.about-content > p { color: var(--gray); margin-bottom: 16px; line-height: 1.8; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}
.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-feature-item .icon {
  width: 40px; height: 40px;
  background: rgba(37,99,235,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}
.about-feature-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.about-feature-item p { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ===== Partners ===== */
.partners-section { background: #f8fafc; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.partner-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.partner-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.partner-card img { width: 100%; height: auto; margin-bottom: 10px; transition: transform .3s; }
.partner-card:hover img { transform: scale(1.05); }
.partner-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 8px;
  font-size: 13px;
  transform: translateY(100%);
  transition: transform .3s;
}
.partner-card:hover .partner-name { transform: translateY(0); }

/* ===== News ===== */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.news-main { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.news-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-main:hover img { transform: scale(1.03); }
.news-list { display: flex; flex-direction: column; gap: 18px; }
.news-item { display: flex; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #e2e8f0; }
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-item > a { width: 140px; height: 90px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.news-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-item:hover img { transform: scale(1.05); }
.news-info { flex: 1; }
.news-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.news-title a:hover { color: var(--primary); }
.news-time { font-size: 12px; color: #94a3b8; margin-bottom: 6px; }
.news-desc { font-size: 13px; color: var(--gray); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== Page Banner ===== */
.page-banner {
  margin-top: 72px;
  padding: 70px 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
  color: #fff;
  text-align: center;
}
.page-banner h1 { font-size: 36px; font-weight: 700; }
.breadcrumb {
  background: #f1f5f9;
  padding: 14px 0;
  font-size: 14px;
  color: #64748b;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

/* ===== Footer ===== */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 { color: #fff; font-size: 20px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 12px; color: #94a3b8; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #fff; }

/* ===== Contact Page ===== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-info-item .icon {
  width: 48px; height: 48px;
  background: rgba(37,99,235,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 18px;
}
.contact-info-item h4 { font-size: 16px; margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--gray); }
.contact-form { background: #fff; padding: 32px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: border .3s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { min-height: 120px; resize: vertical; }
.alert { padding: 12px 16px; border-radius: 8px; margin-top: 12px; font-size: 14px; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* ===== News Category Tabs ===== */
.news-category-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0;
}
.news-cat-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 500;
  color: #64748b;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all .25s;
  cursor: pointer;
  text-decoration: none;
}
.news-cat-tab:hover {
  color: var(--primary);
  border-bottom-color: #93c5fd;
}
.news-cat-tab.active {
  color: var(--primary);
  font-weight: 700;
  border-bottom-color: var(--primary);
}
.news-cat-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  background: #eff6ff;
  color: #2563eb;
}

/* ===== News Pages ===== */
.news-grid-page { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card-page {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all .3s;
}
.news-card-page:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.news-card-page .news-img { height: 180px; overflow: hidden; position: relative; }
.news-card-page .news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card-page:hover .news-img img { transform: scale(1.05); }
.news-card-page .date {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(255,255,255,0.95);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.news-card-page .news-body { padding: 20px; }
.news-card-page h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
.news-card-page p { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination span { background: var(--primary); color: #fff; border-color: var(--primary); }

/* News Detail */
.article-header { text-align: center; max-width: 800px; margin: 0 auto 30px; }
.article-header h1 { font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.article-meta { color: #94a3b8; font-size: 14px; }
.article-body { max-width: 100%; margin: 0 auto; background: #fff; padding: 40px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.article-body p { margin-bottom: 16px; line-height: 1.8; }
.article-body h2 { font-size: 22px; margin: 24px 0 12px; }
.article-body ul, .article-body ol { margin: 16px 0; padding-left: 24px; }
.article-body ul li { list-style: disc; margin-bottom: 8px; }
.article-body ol li { list-style: decimal; margin-bottom: 8px; }
.article-cover { max-width: 900px; margin: 0 auto 30px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.article-cover img { width: 100%; display: block; }
.article-nav { display: flex; justify-content: space-between; max-width: 800px; margin: 30px auto 0; padding-top: 24px; border-top: 1px solid var(--border); }
.article-nav a { color: var(--primary); font-size: 14px; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-nav a:hover { color: var(--primary-dark); }
.service-detail-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.service-detail-img { display: flex; align-items: center; justify-content: center; min-height: 350px; overflow: hidden; background: #f8fafc; }
.service-detail-img img { width: 100%; height: 100%; max-height: 420px; object-fit: contain; }
.service-detail-body { padding: 40px; }
.service-detail-body h2 { font-size: 26px; font-weight: 700; margin: 16px 0; }
.service-detail-body h3 { font-size: 18px; font-weight: 700; margin: 24px 0 12px; }
.service-detail-body ul { margin-bottom: 24px; }
.service-detail-body ul li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 15px; color: #475569; }
.service-detail-body ul li i { color: #10b981; margin-top: 3px; }

/* Feature Grid (for service detail content) */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: all .3s;
}
.feature-item:hover { border-color: var(--primary); box-shadow: 0 4px 12px rgba(37,99,235,0.08); }
.feature-item i { font-size: 22px; color: var(--primary); margin-bottom: 8px; display: block; }
.feature-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.feature-item p { font-size: 13px; color: var(--gray); line-height: 1.6; margin: 0; }

/* Feature Subs (广告形式子特性) */
.feature-subs { margin: 10px 0 0 0; padding: 0; list-style: none; }
.feature-subs li { font-size: 12px; color: #64748b; padding: 3px 0; padding-left: 14px; position: relative; }
.feature-subs li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; background: var(--primary); border-radius: 50%; }

/* Process Steps */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 20px 0; }
.step {
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 16px;
  transition: all .3s;
}
.step:hover { border-color: var(--primary); }
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.step p { font-size: 13px; color: var(--gray); line-height: 1.5; margin: 0; }

/* Pain Solutions */
.pain-solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0; }
.ps-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
}
.ps-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.ps-item h4 i { color: var(--primary); margin-right: 6px; }
.ps-item p { font-size: 13px; color: var(--gray); line-height: 1.6; margin: 0; }

/* Article body general for service detail */
.article-body h3 { font-size: 22px; font-weight: 700; margin: 32px 0 16px; color: var(--dark); }
.article-body h3:first-child { margin-top: 0; }
.article-body p { margin-bottom: 14px; line-height: 1.8; color: #475569; }
.article-body ul { margin: 14px 0; padding-left: 20px; }
.article-body ul li { list-style: disc; margin-bottom: 8px; line-height: 1.7; color: #475569; }

/* Cases Page */
.cases-page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cases-page-grid .case-card {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
}
.cases-page-grid .case-img {
  height: 280px;
  min-height: auto;
}
.cases-page-grid .case-body {
  padding: 24px;
  justify-content: flex-start;
}

/* Case Detail */
.case-detail { max-width: 900px; margin: 0 auto; background: #fff; padding: 40px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.case-detail h1 { font-size: 28px; margin-bottom: 16px; }
.case-detail img { width: 100%; border-radius: 12px; margin-bottom: 24px; }
.case-detail-content { line-height: 1.8; }
.case-detail-content p { margin-bottom: 16px; }

/* ===== FAQ Section ===== */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.faq-item:last-child { margin-bottom: 0; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: none; border: none; font-size: 16px; font-weight: 600; color: #1e293b; text-align: left; cursor: pointer; transition: background 0.2s; }
.faq-question:hover { background: #f8fafc; }
.faq-question i { color: #2563eb; font-size: 14px; transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.active .faq-question { background: #f0f7ff; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 22px; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 22px 18px; }
.faq-answer p { color: #475569; line-height: 1.7; margin: 0; }

/* ===== Consultation Widget ===== */
.consultation-widget {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
}
.widget-tab {
  writing-mode: vertical-rl;
  text-orientation: upright;
  background: linear-gradient(180deg, #ff9a7b 0%, #ff7f6b 100%);
  color: #fff;
  padding: 20px 12px;
  border-radius: 10px 0 0 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: -3px 4px 14px rgba(255, 127, 107, 0.35);
  transition: all .3s ease;
  user-select: none;
  height: 132px;
  width: 40px;
  white-space: nowrap;
}
.widget-tab:hover {
  background: linear-gradient(180deg, #ff8f6d 0%, #ff725c 100%);
  box-shadow: -3px 6px 18px rgba(255, 114, 92, 0.45);
  width: 44px;
  padding-right: 14px;
}
.widget-panel {
  display: none;
  position: absolute;
  right: 100%;
  top: 0;
  width: 300px;
  background: #fff;
  border-radius: 10px 0 0 10px;
  box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.12);
  flex-direction: column;
  max-height: 520px;
}
.consultation-widget:hover .widget-panel,
.consultation-widget.active .widget-panel {
  display: flex;
}
.panel-header {
  background: linear-gradient(180deg, #ff9a7b 0%, #ff7f6b 100%);
  color: #fff;
  padding: 20px;
  text-align: center;
  flex-shrink: 0;
}
.panel-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}
.agent-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px;
}
.agent-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
}
.agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agent-info {
  text-align: left;
  flex: 1;
}
.agent-name {
  font-size: 15px;
  font-weight: 600;
}
.agent-status {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}
.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
  animation: pulse-status 2s infinite;
}
@keyframes pulse-status {
  0%, 100% { box-shadow: 0 0 4px rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.8); }
}
.panel-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}
.contact-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all .25s;
}
.contact-item:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.contact-item.phone .contact-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.contact-item.wechat .contact-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}
.contact-item.email .contact-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.contact-details {
  flex: 1;
  min-width: 0;
}
.contact-type {
  font-weight: 600;
  color: var(--dark);
  font-size: 14px;
  margin-bottom: 2px;
}
.contact-info {
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-action {
  color: #ff7f6b;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid #ff7f6b;
  border-radius: 6px;
  transition: all .2s;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
}
.contact-action:hover {
  background: linear-gradient(180deg, #ff9a7b 0%, #ff7f6b 100%);
  border-color: #ff7f6b;
  color: #fff;
  text-decoration: none;
}
.business-hours {
  background: #f8fafc;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
}
.hours-title {
  font-weight: 600;
  color: var(--dark);
  font-size: 14px;
  margin-bottom: 2px;
}
.hours-info {
  color: #64748b;
  font-size: 13px;
}
.help-text {
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  margin-top: 4px;
}

/* QR Code Modal */
.qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}
.qr-modal.active {
  opacity: 1;
  visibility: visible;
}
.qr-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  max-width: 90%;
  width: 320px;
}
.qr-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.qr-code-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-code-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.qr-text {
  color: #64748b;
  font-size: 14px;
}
.qr-close {
  margin-top: 16px;
  display: inline-block;
  padding: 8px 24px;
  background: #f1f5f9;
  color: #64748b;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all .2s;
}
.qr-close:hover {
  background: #e2e8f0;
  color: var(--dark);
}

/* Widget Mobile */
@media (max-width: 768px) {
  .consultation-widget:hover .widget-panel,
  .consultation-widget.active .widget-panel {
    display: flex;
    width: 280px;
  }
  .widget-tab {
    height: 116px;
    font-size: 14px;
    padding: 16px 10px;
    letter-spacing: 5px;
    border-radius: 8px 0 0 8px;
    width: 36px;
  }
  .widget-tab:hover { width: 40px; }
}
@media (max-width: 480px) {
  .consultation-widget:hover .widget-panel,
  .consultation-widget.active .widget-panel {
    display: flex;
    width: 260px;
  }
  .widget-panel {
    max-height: 85vh;
  }
  .panel-body {
    padding: 14px;
  }
  .contact-item {
    padding: 10px;
    gap: 10px;
  }
  .qr-content {
    padding: 20px;
    width: 280px;
  }
  .qr-code-img {
    width: 170px;
    height: 170px;
  }
}

/* ===== Mobile ===== */
@media (max-width: 1280px) {
  .header-phone-info { display: none; }
  .header-phone-box { border: none; padding-right: 0; }
  .nav-menu { gap: 0; }
  .nav-menu > li > a { padding: 10px 12px; font-size: 14px; }
}
@media (max-width: 1024px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu,
  .header-cta { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: #fff;
    padding: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    gap: 4px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-menu.open > li > a {
    padding: 12px 16px;
    justify-content: flex-start;
  }
  .nav-menu.open .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: #f8fafc;
    margin-top: 4px;
    opacity: 1;
    visibility: visible;
  }
  .header-cta.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    padding: 12px 16px;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    justify-content: space-between;
  }
  .advantages-grid,
  .services-grid,
  .cases-grid,
  .cases-grid-3,
  .case-card,
  .case-card-vertical,
  .about-grid,
  .news-layout,
  .contact-section,
  .news-grid-page,
  .cases-page-grid,
  .footer-grid,
  .service-detail-card { grid-template-columns: 1fr; }
  .case-img { min-height: 200px; }
  .about-float-card { right: 10px; bottom: -10px; }
  .news-item > a { width: 100px; height: 70px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .page-banner { padding: 50px 0; }
  .city-intro-grid { grid-template-columns: 1fr; }
  .city-intro-image { min-height: 200px; }
  .city-links-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==================== CITY SUB-SITE STYLES ==================== */

/* City Banner */
.city-banner {
  background: linear-gradient(135deg, #1a365d 0%, #2563eb 50%, #3b82f6 100%);
  text-align: center;
}
.city-banner h1 { color: #fff; font-size: 2.4rem; }
.city-banner .city-subtitle { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-top: 12px; }

/* City Intro */
.city-intro-section { padding: 60px 0; }
.city-intro-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.city-intro-text .section-label {
  display: inline-block; background: #eff6ff; color: #2563eb;
  padding: 4px 16px; border-radius: 20px; font-size: 0.85rem; margin-bottom: 12px;
}
.city-intro-text h2 { font-size: 1.8rem; margin-bottom: 16px; color: #1a202c; }
.city-intro-text p { color: #4a5568; line-height: 1.8; font-size: 0.98rem; }
.city-service-area { margin-top: 20px; padding: 16px; background: #f7fafc; border-radius: 8px; border-left: 3px solid #2563eb; }
.city-service-area h4 { font-size: 0.95rem; color: #2563eb; margin-bottom: 6px; }
.city-service-area h4 i { margin-right: 6px; }
.city-service-area p { font-size: 0.88rem; color: #718096; line-height: 1.6; }
.city-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.city-tag { display: inline-block; padding: 5px 14px; background: #eff6ff; color: #2563eb; border-radius: 4px; font-size: 0.85rem; border: 1px solid #bfdbfe; }

/* City Intro Image Placeholder */
.city-intro-image { display: flex; justify-content: center; align-items: center; }
.city-placeholder-img {
  width: 100%; max-width: 350px; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
  border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}
.city-placeholder-img i { font-size: 3rem; color: #2563eb; }
.city-placeholder-img span { font-size: 1.4rem; font-weight: 700; color: #1e40af; }

/* City Contact CTA */
.city-contact-cta { background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%); padding: 60px 0; text-align: center; }
.city-cta-content h2 { color: #fff; font-size: 1.8rem; margin-bottom: 12px; }
.city-cta-content p { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.city-cta-content .btn-primary { background: #fff; color: #2563eb; border: none; padding: 14px 36px; font-size: 1.05rem; }
.city-cta-content .btn-primary:hover { background: #f0f5ff; transform: translateY(-2px); }

/* City Links Grid */
.city-links-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px;
}
.city-link-card {
  display: flex; align-items: center; gap: 8px; padding: 14px 18px;
  background: #f7fafc; border: 1px solid #e2e8f0; border-radius: 8px;
  text-decoration: none; color: #4a5568; transition: all 0.25s;
}
.city-link-card i { color: #2563eb; font-size: 0.9rem; }
.city-link-card span { font-weight: 600; font-size: 0.95rem; }
.city-link-card small { color: #a0aec0; font-size: 0.78rem; margin-left: auto; }
.city-link-card:hover { background: #eff6ff; border-color: #2563eb; color: #2563eb; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1); }
.city-link-card.active { background: #2563eb; border-color: #2563eb; color: #fff; }
.city-link-card.active i { color: #fff; }
.city-link-card.active small { color: rgba(255,255,255,0.7); }

/* City Dropdown in Nav */
.nav-menu .city-dropdown { position: relative; }
.nav-menu .city-dropdown .dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  padding: 16px; min-width: 480px; display: none; z-index: 1000;
  grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.nav-menu .city-dropdown:hover .dropdown-menu { display: grid; }
.nav-menu .city-dropdown .dropdown-menu a {
  display: block; padding: 8px 12px; border-radius: 6px; font-size: 0.88rem;
  color: #4a5568; text-decoration: none; white-space: nowrap; transition: all 0.2s;
}
.nav-menu .city-dropdown .dropdown-menu a:hover { background: #eff6ff; color: #2563eb; }

/* Footer City Links */
.footer-city-links { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-city-links h4 { color: #fff; font-size: 0.95rem; margin-bottom: 10px; }
.footer-city-list { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-city-list a { color: rgba(255,255,255,0.6); font-size: 0.82rem; text-decoration: none; transition: color 0.2s; }
.footer-city-list a:hover { color: #93c5fd; }

/* City Nav highlight fix */
.nav-menu .city-dropdown > a.active { color: #2563eb; background: transparent; font-weight: 600; }

/* City List Page */
.city-links-large { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.city-link-card-large { flex-direction: row; padding: 20px; gap: 14px; }
.city-card-icon { width: 44px; height: 44px; background: #eff6ff; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.city-card-icon i { color: #2563eb; font-size: 1.1rem; }
.city-card-info { flex: 1; }
.city-card-name { display: block; font-size: 1.05rem; font-weight: 700; color: #1a202c; margin-bottom: 4px; }
.city-card-info small { display: block; color: #a0aec0; font-size: 0.8rem; }
.city-card-arrow { color: #cbd5e0; font-size: 0.85rem; transition: transform 0.2s; }
.city-link-card-large:hover .city-card-arrow { transform: translateX(4px); color: #2563eb; }
.city-link-card-large:hover .city-card-icon { background: #2563eb; }
.city-link-card-large:hover .city-card-icon i { color: #fff; }

/* City Service Summary */
.city-service-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 24px; }
.city-summary-item { text-align: center; padding: 30px 20px; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: all 0.3s; }
.city-summary-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.city-summary-item i { font-size: 2rem; color: #2563eb; margin-bottom: 14px; }
.city-summary-item h3 { font-size: 1.05rem; color: #1a202c; margin-bottom: 8px; }
.city-summary-item p { font-size: 0.88rem; color: #718096; line-height: 1.5; }

@media (max-width: 768px) {
  .city-links-large { grid-template-columns: 1fr; }
  .city-service-summary { grid-template-columns: 1fr 1fr; }
}

/* Cases grid 3 col */
.cases-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card-vertical { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: all 0.3s; }
.case-card-vertical:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.case-card-vertical .case-img { width: 100%; height: 200px; overflow: hidden; }
.case-card-vertical .case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-card-vertical:hover .case-img img { transform: scale(1.05); }
.case-card-vertical .case-info { padding: 20px; }
.case-card-vertical .case-info .case-cat { display: inline-block; padding: 3px 10px; background: #eff6ff; color: #2563eb; border-radius: 4px; font-size: 0.78rem; margin-bottom: 10px; }
.case-card-vertical .case-info h3 { font-size: 1.05rem; margin-bottom: 8px; color: #1a202c; }
.case-card-vertical .case-info p { font-size: 0.88rem; color: #718096; line-height: 1.5; margin-bottom: 14px; }
.case-card-vertical .case-info .case-link { color: #2563eb; font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.case-card-vertical .case-info .case-link i { margin-left: 4px; transition: transform 0.2s; }
.case-card-vertical .case-info .case-link:hover i { transform: translateX(4px); }

@media (max-width: 768px) {
  .city-links-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid-3 { grid-template-columns: 1fr; }
  .nav-menu .city-dropdown .dropdown-menu {
    position: static; transform: none; min-width: 100%; box-shadow: none;
    padding: 0 12px 8px; grid-template-columns: repeat(2, 1fr);
  }
}

/* City service detail link - prominent button style */
.service-info .service-link,
.service-body .service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all 0.25s ease;
}
.service-info .service-link:hover,
.service-body .service-link:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
  color: #fff !important;
}
.service-info .service-link i,
.service-body .service-link i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}
.service-info .service-link:hover i,
.service-body .service-link:hover i { transform: translateX(4px); }

/* Make whole city service card clickable */
.city-services .service-card,
#city-services .service-card { cursor: pointer; }

/* Service cards with data-url are clickable whole card */
.service-card[data-url] { cursor: pointer; }
.service-card[data-url]:hover { transform: translateY(-4px); }
