/* ==========================================================
   柏宁科技官网样式
   ========================================================== */

/* ---------- 变量与基础 ---------- */
:root {
  --bg: #0b0f1a;
  --bg-soft: #111827;
  --bg-card: #151d2e;
  --bg-card-hover: #1a2438;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e6edf7;
  --text-muted: #9aa8bd;
  --primary: #6366f1;
  --primary-2: #8b5cf6;
  --accent: #22d3ee;
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --max-w: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection {
  background: var(--primary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--primary-2));
  border-radius: 5px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  background-size: 150% 150%;
  color: #fff;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(139, 92, 246, 0.5);
  background-position: 100% 50%;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.btn-lg { padding: 16px 38px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: all 0.4s var(--ease);
  background: rgba(11, 15, 26, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(11, 15, 26, 0.85);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.brand-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  position: relative;
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
}

.orb-1 {
  width: 480px;
  height: 480px;
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.7), transparent 70%);
}

.orb-2 {
  width: 420px;
  height: 420px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.5), transparent 70%);
  animation-delay: -4s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 55%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.4), transparent 70%);
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.08); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  animation: fadeDown 0.8s var(--ease) both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 24px;
  animation: fadeUp 0.9s var(--ease) 0.1s both;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  margin-bottom: 40px;
  animation: fadeUp 0.9s var(--ease) 0.25s both;
}

.hero-subtitle strong {
  color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 70px;
  animation: fadeUp 0.9s var(--ease) 0.4s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
  animation: fadeUp 0.9s var(--ease) 0.55s both;
}

.stat {
  padding: 24px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease);
}

.stat:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.stat-num {
  font-size: 34px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-suffix {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-left: 4px;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.hero-scroll span::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--text-muted);
  animation: scrollDown 1.8s infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; }
}

/* ---------- 通用 Section ---------- */
.section {
  padding: 110px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-soft);
  position: relative;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--primary-2);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 18px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
}

/* ---------- 业务介绍 ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: all 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  font-size: 28px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* ---------- 部署模型 ---------- */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: all 0.45s var(--ease);
  display: flex;
  flex-direction: column;
}

.model-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(99, 102, 241, 0.4);
}

.model-logo {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--mc, #6366f1), rgba(255, 255, 255, 0.2));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--mc, #6366f1) 45%, transparent);
}

.model-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.model-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.model-features {
  flex: 1;
  margin-bottom: 22px;
}

.model-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.model-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.model-tag {
  align-self: flex-start;
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
}

.model-more {
  justify-content: center;
  align-items: flex-start;
  background:
    linear-gradient(rgba(99, 102, 241, 0.06), rgba(236, 72, 153, 0.06)),
    var(--bg-card);
  border-style: dashed;
}

.model-more h3 { margin-top: 4px; }
.model-more .model-desc { margin-bottom: 28px; }

/* ---------- 核心优势 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-item {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  position: relative;
}

.feature-item:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 72, 153, 0.35);
}

.feature-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(236, 72, 153, 0.35));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* ---------- 企业微信应用 ---------- */
.wechat-apps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.wechat-app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px 28px;
  text-align: center;
  transition: all 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}

.wechat-app-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #22d3ee);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.wechat-app-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(16, 185, 129, 0.4);
}

.wechat-app-card:hover::before {
  transform: scaleX(1);
}

.app-logo {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.4);
}

.wechat-app-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.wechat-app-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  min-height: 60px;
}

.app-tag.free {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.free-banner {
  margin-top: 48px;
  text-align: center;
  padding: 44px 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(34, 211, 238, 0.07));
  border: 1px solid rgba(16, 185, 129, 0.35);
  position: relative;
  overflow: hidden;
}

.free-banner::after {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.15), transparent 70%);
  pointer-events: none;
}

.free-icon {
  font-size: 46px;
  margin-bottom: 14px;
}

.free-banner h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.free-banner p {
  font-size: 16px;
  color: var(--text-muted);
}

.free-banner p strong {
  color: #34d399;
}

/* ---------- 应用场景 ---------- */
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scene-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.45s var(--ease);
}

.scene-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.scene-visual {
  position: relative;
  height: 200px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.scene-image {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.15));
}

.scene-video {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(99, 102, 241, 0.15));
}

.scene-comic {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(16, 185, 129, 0.15));
}

.scene-emoji {
  font-size: 64px;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
  transition: transform 0.45s var(--ease);
}

.scene-card:hover .scene-emoji {
  transform: scale(1.15) rotate(-6deg);
}

.scene-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 40%;
  top: -45%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: scan 3.5s ease-in-out infinite;
}

@keyframes scan {
  0% { top: -45%; }
  100% { top: 105%; }
}

.scene-card h3 {
  font-size: 19px;
  padding: 26px 28px 8px;
}

.scene-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  padding: 0 28px 30px;
}

/* ---------- 服务流程 ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent));
  opacity: 0.3;
}

.step {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 800;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  color: var(--primary-2);
  box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.1);
  transition: all 0.4s var(--ease);
}

.step:hover .step-num {
  background: var(--gradient);
  color: #fff;
  transform: scale(1.08);
  border-color: transparent;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- 联系我们 ---------- */
.section-contact {
  background: var(--bg-soft);
}

.contact-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 72px 56px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
  pointer-events: none;
}

.contact-left {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.contact-left h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
}

.contact-left > p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 36px;
}

.contact-info {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 36px;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 16px;
  color: var(--text-muted);
}

.contact-info strong {
  color: var(--text);
  font-weight: 600;
}

.info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 19px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.contact-cta {
  display: inline-flex;
}

/* ---------- 页脚 ---------- */
.footer {
  background: #080c15;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding: 60px 24px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 14px;
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
  z-index: 900;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-4px);
}

/* ---------- 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .services-grid,
  .models-grid,
  .scenes-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wechat-apps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .process-steps::before {
    display: none;
  }

  .contact-card {
    padding: 56px 40px;
  }

  .contact-left h2 {
    font-size: 30px;
  }

  .wechat-apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wechat-app-card p {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    width: 260px;
    height: calc(100vh - var(--nav-h));
    flex-direction: column;
    background: rgba(11, 15, 26, 0.97);
    backdrop-filter: blur(16px);
    padding: 32px 28px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-left: 1px solid var(--border);
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 17px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 80px 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 520px) {
  .services-grid,
  .models-grid,
  .scenes-grid,
  .features-grid,
  .wechat-apps-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .contact-card {
    padding: 28px 22px;
  }
}
