/* =============================================
   智控科技 · 企业官网 · 深色科技风样式
   风格参考：hansa-tec.com 深色科技风
   主色：藏青 #0a1628 + 青绿渐变 #00d4aa / #00a8ff
   ============================================= */

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

:root {
  /* 核心色彩 */
  --bg-base: #0a1628;
  --bg-card: #0f1f3d;
  --bg-card-hover: #142847;
  --bg-section: #0d1a30;
  --bg-nav: rgba(10, 22, 40, 0.92);

  /* 强调色 */
  --accent-cyan: #00d4aa;
  --accent-blue: #00a8ff;
  --accent-gradient: linear-gradient(135deg, #00d4aa 0%, #00a8ff 100%);
  --accent-glow: rgba(0, 212, 170, 0.35);

  /* 文字色 */
  --text-primary: #ffffff;
  --text-secondary: #8ba3c7;
  --text-muted: #4a6080;

  /* 边框 */
  --border-subtle: rgba(0, 212, 170, 0.12);
  --border-accent: rgba(0, 212, 170, 0.4);

  /* 间距 */
  --section-pad: clamp(64px, 8vw, 120px);
  --container-max: 1200px;
  --radius-card: 12px;
  --radius-btn: 8px;

  /* 过渡 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 背景网格纹理 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 168, 255, 0.08) 0%, transparent 70%),
    linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; transition: color 0.3s; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

::selection {
  background: rgba(0, 212, 170, 0.25);
  color: var(--text-primary);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-glow);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

/* ---- Layout ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  position: relative;
  z-index: 1;
}

section { padding: var(--section-pad) 0; position: relative; z-index: 1; }

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.98) 0%, rgba(10, 22, 40, 0) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  background: var(--bg-nav);
  border-bottom-color: var(--border-subtle);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  transition: filter 0.3s ease;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 8px var(--accent-cyan));
}

/* 页脚 Logo 稍小一些 */
.footer-brand .nav-logo-img {
  height: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-links a.active { color: var(--accent-cyan); }
.nav-links a.active::after { transform: translateX(-50%) scaleX(1); }

.nav-cta {
  padding: 8px 20px !important;
  background: var(--accent-gradient) !important;
  color: var(--bg-base) !important;
  font-weight: 600 !important;
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { box-shadow: 0 0 30px rgba(0, 212, 170, 0.5) !important; transform: translateY(-1px); }

/* 汉堡菜单 */
.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: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--bg-base);
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 170, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1.5px solid var(--border-accent);
}

.btn-outline:hover {
  background: rgba(0, 212, 170, 0.08);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
}

.btn-large { padding: 15px 36px; font-size: 1rem; }

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(0, 168, 255, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 20% 60%, rgba(0, 212, 170, 0.06) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 170, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 170, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s var(--ease-out) 0.2s forwards;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s var(--ease-out) 0.4s forwards;
}

.hero h1 .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.9;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s var(--ease-out) 0.55s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s var(--ease-out) 0.7s forwards;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s var(--ease-out) 0.85s forwards;
}

.hero-stat-num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Hero 右侧装饰 */
.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 560px;
  aspect-ratio: 1;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.6s forwards;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.15), transparent 70%);
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.12), transparent 70%);
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.2), transparent 70%);
  animation-delay: -6s;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 170, 0.1);
  animation: ring-spin 20s linear infinite;
}

.hero-ring-1 { width: 100%; height: 100%; top: 0; left: 0; }
.hero-ring-2 { width: 75%; height: 75%; top: 12.5%; left: 12.5%; animation-direction: reverse; animation-duration: 15s; }
.hero-ring-3 { width: 50%; height: 50%; top: 25%; left: 25%; animation-duration: 10s; }

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.03); }
}

/* 装饰光点 */
.hero-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: blink 3s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ---- Cards Grid ---- */
.cards-grid {
  display: grid;
  gap: 24px;
}

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

/* ---- Service Cards ---- */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 170, 0.08);
}

.service-card:hover::before { opacity: 1; }

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
}

.service-card-icon.cyan {
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
  color: var(--accent-cyan);
}

.service-card-icon.blue {
  background: rgba(0, 168, 255, 0.1);
  border: 1px solid rgba(0, 168, 255, 0.2);
  color: var(--accent-blue);
}

.service-card-icon.green {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.15);
  color: var(--accent-cyan);
}

.tag-blue {
  background: rgba(0, 168, 255, 0.08);
  border-color: rgba(0, 168, 255, 0.15);
  color: var(--accent-blue);
}

.service-card-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.service-card-stat .num {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Why Us Section ---- */
.why-section { background: var(--bg-section); }

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 28px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
}

.why-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all 0.4s;
}

.why-card:hover .why-icon {
  background: rgba(0, 212, 170, 0.15);
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.2);
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Cases / Projects ---- */
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
}

.case-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.case-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.case-card:hover .case-card-img img { transform: scale(1.08); }

.case-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.case-card:hover .case-card-overlay { opacity: 1; }

.case-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: rgba(10, 22, 40, 0.8);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  backdrop-filter: blur(8px);
}

.case-card-body { padding: 20px; }

.case-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.case-card-body p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ---- CTA Section ---- */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0, 212, 170, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 50%, rgba(0, 168, 255, 0.05) 0%, transparent 60%);
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: clamp(40px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 212, 170, 0.08);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.5;
}

.cta-card h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}

.cta-card p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  min-width: 200px;
  padding: 13px 18px;
  background: rgba(0, 212, 170, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
}

.cta-input::placeholder { color: var(--text-muted); }

.cta-input:focus {
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 170, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.cta-success {
  display: none;
  padding: 16px 24px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: var(--radius-btn);
  color: var(--accent-cyan);
  font-size: 0.95rem;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

/* ---- Footer ---- */
.footer {
  background: #060f1e;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-top: 14px;
}

.footer h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent-cyan); }

.footer-contact p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---- Services Page ---- */
.services-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(0, 168, 255, 0.07) 0%, transparent 70%);
}

.service-detail-block {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.service-detail-block:last-child { border-bottom: none; }

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }

.service-detail-visual {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4/3;
  position: relative;
}

.service-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), transparent 60%);
}

.service-detail-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-detail-label.cyan { color: var(--accent-cyan); }
.service-detail-label.blue { color: var(--accent-blue); }
.service-detail-label.green { color: #22c55e; }

.service-detail-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
}

.service-detail-label.cyan::before { background: var(--accent-cyan); }
.service-detail-label.blue::before { background: var(--accent-blue); }
.service-detail-label.green::before { background: #22c55e; }

.service-detail-block h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 14px;
}

.service-detail-block > .container > p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 1.8;
}

.service-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 212, 170, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-feature-item .icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.service-scenarios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.scenario-chip {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.3s;
}

.scenario-chip:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* 服务对比表格 */
.services-compare {
  background: var(--bg-section);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}

.compare-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.compare-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(0, 212, 170, 0.05);
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.compare-table td .check { color: var(--accent-cyan); }
.compare-table tr:hover td { background: rgba(0, 212, 170, 0.03); }

/* ---- About Page ---- */
.about-hero {
  padding-top: 140px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-text p {
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 16px;
}

.about-intro-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--border-subtle);
  position: relative;
}

.about-intro-img img { width: 100%; height: 100%; object-fit: cover; }

.about-intro-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 168, 255, 0.08), transparent 60%);
}

/* 数字统计 */
.stats-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.stat-item { text-align: center; }

.stat-num {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}

.stat-unit {
  font-size: 1rem;
  opacity: 0.7;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* 流程 */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 50px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.1);
  transition: all 0.4s;
}

.process-step:hover .step-num {
  background: rgba(0, 212, 170, 0.15);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.25);
  transform: scale(1.08);
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 资质 */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.cert-card {
  aspect-ratio: 3/4;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
  transition: all 0.4s;
  cursor: default;
}

.cert-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.cert-icon {
  font-size: 2.5rem;
  opacity: 0.7;
}

.cert-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 案例网格 */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.cases-grid .case-card .case-card-img {
  aspect-ratio: 1;
}

/* 联系 */
.contact-section { background: var(--bg-section); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 212, 170, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
  font-family: inherit;
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:focus {
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 170, 0.06);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

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

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(0, 212, 170, 0.15);
  box-shadow: 0 6px 25px rgba(0, 212, 170, 0.2);
  transform: translateY(-2px);
}

/* ---- Mobile Nav Overlay ---- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 15, 30, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(20px);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 14px 40px;
  border-radius: var(--radius-btn);
  transition: all 0.3s;
  text-align: center;
  width: 80%;
  max-width: 320px;
}

.mobile-nav a:hover { color: var(--accent-cyan); background: rgba(0, 212, 170, 0.05); }
.mobile-nav a.active { color: var(--accent-cyan); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-inner.reverse { direction: ltr; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .process-steps::before { display: none; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .cards-grid-3, .cards-grid-4, .cards-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .service-feature-list { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 28px; }
  .cases-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .compare-table { font-size: 0.82rem; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
  .contact-form { padding: 24px; }
  .back-to-top { bottom: 20px; right: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- 微信二维码样式 ---- */
.wechat-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 48px;
  background: rgba(0, 212, 170, 0.05);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 20px;
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}
.wechat-qr-icon { font-size: 2.5rem; }
.wechat-qr-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}
.wechat-qr-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.contact-qr-only {
  justify-content: center;
}
.contact-qr-center {
  display: flex;
  justify-content: center;
}
.wechat-qr-wrapper {
  margin-top: 4px;
  position: relative;
  display: inline-block;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(0, 212, 170, 0.35);
  background: rgba(0, 212, 170, 0.05);
  width: 180px;
  height: 180px;
}
.wechat-qr-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
.wechat-qr-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
  z-index: 0;
  text-align: center;
}
.wechat-qr-placeholder.hidden {
  display: none;
}
.wechat-qr-img.hidden {
  display: none;
}

/* ---- 页脚微信二维码 ---- */
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.footer-qr-img {
  width: 158px;
  height: 158px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0, 212, 170, 0.3);
  display: block;
}
