/* ============================================================
   NEXUS SOFT - 深色科技风静态官网
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-soft: #0b1120;
  --bg-card: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8ecf4;
  --text-dim: #9aa5b8;
  --primary: #4f8cff;
  --primary-2: #22d3ee;
  --accent: #7c5cff;
  --grad: linear-gradient(135deg, #4f8cff 0%, #22d3ee 100%);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --maxw: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.35s ease;
  background: transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad);
  position: relative;
  box-shadow: 0 0 22px rgba(79, 140, 255, 0.5);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  background: var(--bg);
  border-radius: 5px;
}

.brand-name {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
}

.brand-name span {
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  margin-left: 2px;
}

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

.nav-links a {
  color: var(--text-dim);
  font-size: 15px;
  transition: color 0.25s;
  position: relative;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  padding: 9px 22px;
  border: 1px solid var(--primary);
  border-radius: 32px;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.18), rgba(34, 211, 238, 0.18));
}

.nav-cta:hover {
  background: var(--grad);
  box-shadow: 0 0 24px rgba(79, 140, 255, 0.45);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 背景光晕 */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
}

.hero::before {
  width: 520px;
  height: 520px;
  background: rgba(79, 140, 255, 0.22);
  top: -120px;
  left: -120px;
}

.hero::after {
  width: 460px;
  height: 460px;
  background: rgba(124, 92, 255, 0.18);
  bottom: -140px;
  right: -100px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}

.hero-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--primary-2);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 8px 18px;
  border-radius: 32px;
  margin-bottom: 30px;
  background: rgba(34, 211, 238, 0.05);
}

.hero-title {
  font-size: 62px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 1px;
  margin-bottom: 26px;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(79, 140, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(79, 140, 255, 0.55);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* 数据统计 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 42px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-plus,
.stat-percent {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-2);
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-dim);
}

/* 滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid var(--line);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  background: var(--primary-2);
  border-radius: 4px;
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Section 通用 ---------- */
.section {
  padding: 110px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--primary-2);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 18px;
}

.section-desc {
  color: var(--text-dim);
  font-size: 17px;
}

/* 卡片服务网格 */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.35s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 140, 255, 0.4);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.05);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.2), rgba(34, 211, 238, 0.2));
  border: 1px solid rgba(79, 140, 255, 0.3);
  position: relative;
}

/* SVG 风格图标 */
.card-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px;
  filter: drop-shadow(0 0 6px rgba(79, 140, 255, 0.6));
}

.icon-1::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f8cff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='9' y1='13' x2='15' y2='13'/%3E%3C/svg%3E");
}
.icon-2::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f8cff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cline x1='12' y1='18' x2='12.01' y2='18'/%3E%3C/svg%3E");
}
.icon-3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f8cff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E");
}
.icon-4::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f8cff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a4 4 0 0 1 4 4 4 4 0 0 1 4 4c0 2-1 3-2 4a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4c0-1-2-2-2-4a4 4 0 0 1 4-4 4 4 0 0 1 4-4z'/%3E%3Cpath d='M9 13h6'/%3E%3Cpath d='M9 17h4'/%3E%3Ccircle cx='12' cy='9' r='2'/%3E%3C/svg%3E");
}
.icon-5::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f8cff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M7 7h10'/%3E%3C/svg%3E");
}
.icon-6::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f8cff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19l7-7 3 3-7 7-3-3z'/%3E%3Cpath d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'/%3E%3Cpath d='M2 2l7.586 7.586'/%3E%3Ccircle cx='11' cy='11' r='2'/%3E%3C/svg%3E");
}

.card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 20px;
}

.card-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.card-link:hover {
  color: var(--primary-2);
}

/* ---------- 解决方案 ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.solution {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: all 0.35s;
}

.solution:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: var(--shadow);
}

.solution-visual {
  height: 150px;
  background: linear-gradient(135deg, rgba(79,140,255,0.4), rgba(124,92,255,0.4));
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.solution-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 20, 0.35);
}

.sv-1 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%234f8cff'/%3E%3Cstop offset='1' stop-color='%237c5cff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='200' fill='url(%23g)' opacity='0.25'/%3E%3Cpath d='M50 150 L120 90 L180 130 L250 60 L350 120' stroke='%23fff' stroke-width='3' fill='none' opacity='0.7'/%3E%3Ccircle cx='120' cy='90' r='6' fill='%2322d3ee'/%3E%3Ccircle cx='250' cy='60' r='6' fill='%2322d3ee'/%3E%3C/svg%3E");
}

.sv-2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%2322d3ee'/%3E%3Cstop offset='1' stop-color='%234f8cff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='200' fill='url(%23g)' opacity='0.25'/%3E%3Cpath d='M120 60 L120 140' stroke='%2322d3ee' stroke-width='4'/%3E%3Ccircle cx='120' cy='52' r='12' fill='none' stroke='%23fff' stroke-width='3'/%3E%3Cpath d='M140 90 h100' stroke='%23fff' stroke-opacity='0.4' stroke-width='3'/%3E%3Cpath d='M140 120 h70' stroke='%23fff' stroke-opacity='0.3' stroke-width='3'/%3E%3C/svg%3E");
}

.sv-3 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%234f8cff'/%3E%3Cstop offset='1' stop-color='%2322d3ee'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='200' fill='url(%23g)' opacity='0.25'/%3E%3Crect x='80' y='100' width='60' height='50' rx='6' fill='none' stroke='%23fff' stroke-width='3' opacity='0.7'/%3E%3Crect x='160' y='80' width='60' height='70' rx='6' fill='none' stroke='%2322d3ee' stroke-width='3' opacity='0.8'/%3E%3Crect x='240' y='100' width='60' height='50' rx='6' fill='none' stroke='%23fff' stroke-width='3' opacity='0.7'/%3E%3Cpath d='M110 100 L110 60 H330' stroke='%2322d3ee' stroke-width='2' stroke-dasharray='6 6' fill='none' opacity='0.6'/%3E%3C/svg%3E");
}

.sv-4 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%237c5cff'/%3E%3Cstop offset='1' stop-color='%2322d3ee'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='200' fill='url(%23g)' opacity='0.25'/%3E%3Ccircle cx='200' cy='100' r='30' fill='none' stroke='%2322d3ee' stroke-width='3'/%3E%3Ccircle cx='140' cy='100' r='20' fill='none' stroke='%23fff' stroke-width='3' opacity='0.6'/%3E%3Ccircle cx='260' cy='100' r='20' fill='none' stroke='%23fff' stroke-width='3' opacity='0.6'/%3E%3Cpath d='M200 70 L200 30' stroke='%2322d3ee' stroke-width='2'/%3E%3Cpath d='M120 130 L70 160' stroke='%23fff' stroke-width='2' opacity='0.5'/%3E%3Cpath d='M280 130 L330 160' stroke='%23fff' stroke-width='2' opacity='0.5'/%3E%3C/svg%3E");
}

.solution-body {
  padding: 24px;
}

.solution-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.solution-body p {
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------- 成功案例 ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.case {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: all 0.35s;
}

.case:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(79, 140, 255, 0.4);
}

.case-cover {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.case:hover .case-cover {
  transform: scale(1.06);
}

.cv-1 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 240'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%234f8cff'/%3E%3Cstop offset='1' stop-color='%237c5cff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='240' fill='url(%23g)' opacity='0.35'/%3E%3Crect x='50' y='60' width='300' height='140' rx='14' fill='rgba(7,11,20,0.5)'/%3E%3Crect x='80' y='90' width='200' height='16' rx='8' fill='%23fff' opacity='0.6'/%3E%3Crect x='80' y='120' width='150' height='12' rx='6' fill='%2322d3ee' opacity='0.8'/%3E%3Crect x='80' y='150' width='90' height='12' rx='6' fill='%23fff' opacity='0.4'/%3E%3Ccircle cx='300' cy='100' r='30' fill='none' stroke='%2322d3ee' stroke-width='3'/%3E%3C/svg%3E");
}

.cv-2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 240'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%2322d3ee'/%3E%3Cstop offset='1' stop-color='%234f8cff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='240' fill='url(%23g)' opacity='0.35'/%3E%3Crect x='60' y='70' width='140' height='110' rx='10' fill='rgba(7,11,20,0.5)'/%3E%3Crect x='220' y='70' width='110' height='110' rx='10' fill='rgba(7,11,20,0.5)'/%3E%3Cbar x='85' y='150' width='16' height='-60' fill='%2322d3ee'/%3E%3Crect x='85' y='150' width='18' height='40' rx='4' fill='%2322d3ee'/%3E%3Crect x='115' y='150' width='18' height='70' rx='4' fill='%234f8cff'/%3E%3Crect x='145' y='150' width='18' height='55' rx='4' fill='%237c5cff'/%3E%3Crect x='235' y='150' width='18' height='60' rx='4' fill='%2322d3ee'/%3E%3Crect x='265' y='150' width='18' height='85' rx='4' fill='%234f8cff'/%3E%3C/svg%3E");
}

.cv-3 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 240'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%234f8cff'/%3E%3Cstop offset='1' stop-color='%2322d3ee'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='240' fill='url(%23g)' opacity='0.3'/%3E%3Crect x='150' y='40' width='100' height='180' rx='22' fill='rgba(7,11,20,0.55)'/%3E%3Crect x='162' y='56' width='76' height='120' rx='6' fill='%23fff' opacity='0.12'/%3E%3Crect x='190' y='180' width='20' height='18' rx='6' fill='%2322d3ee'/%3E%3C/svg%3E");
}

.cv-4 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 240'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%237c5cff'/%3E%3Cstop offset='1' stop-color='%234f8cff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='240' fill='url(%23g)' opacity='0.3'/%3E%3Crect x='60' y='60' width='280' height='140' rx='14' fill='rgba(7,11,20,0.5)'/%3E%3Cpath d='M90 170 L150 120 L200 140 L260 90 L330 110' stroke='%2322d3ee' stroke-width='3' fill='none'/%3E%3Ccircle cx='90' cy='170' r='7' fill='%23fff' opacity='0.7'/%3E%3Ccircle cx='260' cy='90' r='7' fill='%2322d3ee'/%3E%3Ccircle cx='150' cy='120' r='16' fill='none' stroke='%237c5cff' stroke-width='2'/%3E%3C/svg%3E");
}

.case-info {
  padding: 24px;
}

.case-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--primary-2);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(34, 211, 238, 0.06);
  margin-bottom: 14px;
}

.case-info h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.case-info p {
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------- 关于我们 ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 420px;
}

.about-glow {
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0.14;
  filter: blur(40px);
  border-radius: 24px;
}

.about-card {
  position: absolute;
  inset: 10% 6% 20% 6%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
}

.about-badge {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--primary-2);
  margin-bottom: 24px;
}

.about-quote {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-float {
  position: absolute;
  right: -8px;
  bottom: 24px;
  background: rgba(13, 20, 38, 0.9);
  border: 1px solid rgba(79, 140, 255, 0.4);
  border-radius: 16px;
  padding: 18px 26px;
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.about-float strong {
  display: block;
  font-size: 30px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-float span {
  font-size: 13px;
  color: var(--text-dim);
}

.about-desc {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 34px;
}

.feature-list {
  list-style: none;
  margin-bottom: 38px;
}

.feature-list li {
  position: relative;
  padding: 18px 0 18px 56px;
  border-bottom: 1px solid var(--line);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  box-shadow: 0 0 16px rgba(79, 140, 255, 0.4);
}

.feature-list li::after {
  content: "✓";
  position: absolute;
  left: 9px;
  top: 26px;
  color: #fff;
  font-weight: 700;
}

.feature-list h4 {
  font-size: 17px;
  margin-bottom: 4px;
}

.feature-list p {
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------- 技术栈 ---------- */
.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.tech-chip {
  padding: 13px 26px;
  border-radius: 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 15px;
  color: var(--text-dim);
  transition: all 0.3s;
}

.tech-chip:hover {
  border-color: var(--primary);
  color: #fff;
  background: rgba(79, 140, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(79, 140, 255, 0.25);
}

/* ---------- 联系 ---------- */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(79, 140, 255, 0.12);
  filter: blur(60px);
}

.contact-info .section-title {
  font-size: 34px;
  text-align: left;
  margin-bottom: 14px;
}

.contact-info .section-desc {
  text-align: left;
  margin-bottom: 34px;
}

.contact-meta {
  list-style: none;
}

.contact-meta li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: var(--text-dim);
}

.meta-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(79, 140, 255, 0.12);
  border: 1px solid rgba(79, 140, 255, 0.3);
  position: relative;
  flex-shrink: 0;
}

.meta-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
}

.mail::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f8cff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3C/svg%3E");
}
.phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f8cff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.pin::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f8cff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.contact-form {
  position: relative;
  z-index: 2;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(79, 140, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-block {
  width: 100%;
}

.form-tip {
  margin-top: 14px;
  color: var(--primary-2);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.4s;
  text-align: center;
}

.form-tip.show {
  opacity: 1;
}

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 70px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
}

.footer-brand p {
  color: var(--text-dim);
  margin-top: 16px;
  font-size: 15px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 14px;
  padding: 7px 0;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--primary-2);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------- 滚动入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .grid,
  .solutions-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inner,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #0b1120;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--line);
  }

  .nav-links.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 110;
  }

  .grid,
  .solutions-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 36px 24px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
