/* ===================================
   雄大软件 - 主样式表
   设计风格: 玻璃拟态 + 简约现代
   图标: Solar Icon Set (Iconify)
   =================================== */

/* ---------- CSS 变量 ---------- */
:root {
  --color-bg: #0a0a0f;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-glass: rgba(255, 255, 255, 0.06);
  --color-glass-border: rgba(255, 255, 255, 0.10);
  --color-glass-hover: rgba(255, 255, 255, 0.10);
  --color-text: #e8e8ed;
  --color-text-muted: rgba(232, 232, 237, 0.6);
  --color-text-dim: rgba(232, 232, 237, 0.4);
  --color-accent: #6c8cff;
  --color-accent-2: #a78bfa;
  --color-accent-3: #38bdf8;
  --color-gradient-1: linear-gradient(135deg, #6c8cff 0%, #a78bfa 50%, #38bdf8 100%);
  --color-gradient-2: linear-gradient(135deg, rgba(108, 140, 255, 0.15), rgba(167, 139, 250, 0.15));
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "SF Mono", "Menlo", "Consolas", "Courier New", monospace;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glass-hover: 0 12px 48px rgba(108, 140, 255, 0.15);
  --blur-glass: blur(20px);
  --blur-nav: blur(16px);
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: default;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Iconify 图标全局 ---------- */
iconify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
}

/* ---------- 鼠标跟随光晕 ---------- */
.cursor-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 140, 255, 0.12) 0%, rgba(167, 139, 250, 0.05) 35%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

.cursor-glow.visible {
  opacity: 1;
}

/* ---------- 背景装饰 ---------- */
.bg-decoration {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.bg-blob--1 {
  width: 600px;
  height: 600px;
  background: var(--color-accent);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.bg-blob--2 {
  width: 500px;
  height: 500px;
  background: var(--color-accent-2);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.bg-blob--3 {
  width: 400px;
  height: 400px;
  background: var(--color-accent-3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

/* 背景网格 */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

/* 背景纹理图 */
.bg-pattern {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.06;
  pointer-events: none;
}

.bg-pattern__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

/* 背景粒子 */
.bg-particles {
  position: absolute;
  inset: 0;
}

.bg-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0); }
  20% { opacity: 0.6; }
  80% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-120px); }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(-30px, -20px) scale(1.02); }
}

/* ---------- 导航栏 ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px);
  max-width: var(--max-width);
}

.nav__container {
  backdrop-filter: var(--blur-nav);
  -webkit-backdrop-filter: var(--blur-nav);
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 0 14px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.nav__container.scrolled {
  background: rgba(15, 15, 25, 0.85);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--color-text);
  white-space: nowrap;
}

.nav__logo-img {
  width: 58px;
  height: 58px;
  -webkit-text-fill-color: initial;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color 0.3s;
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-text);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- 区块通用 ---------- */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 24px;
}

.section__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(108, 140, 255, 0.1);
  border: 1px solid rgba(108, 140, 255, 0.2);
}

.section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section__desc {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- 玻璃卡片 ---------- */
.glass-card {
  background: var(--color-glass);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(108, 140, 255, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 1;
}

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

.glass-card:hover {
  background: var(--color-glass-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glass-hover);
}

.glass-card > * {
  position: relative;
  z-index: 2;
}

.glass-card .glass-card__icon {
  font-size: 28px;
  color: var(--color-accent);
  margin-bottom: 16px;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.glass-card:hover .glass-card__icon {
  transform: scale(1.15);
  color: var(--color-accent-2);
}

/* ---------- 首屏 ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 32px);
  position: relative;
  z-index: 1;
}

.hero__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* 首屏浮动装饰 */
.hero__deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero__deco--bracket-l {
  top: 18%;
  left: 8%;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 300;
  font-family: var(--font-mono);
  color: rgba(108, 140, 255, 0.08);
  animation: decoFloat 8s ease-in-out infinite;
}

.hero__deco--bracket-r {
  top: 55%;
  right: 6%;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 300;
  font-family: var(--font-mono);
  color: rgba(167, 139, 250, 0.08);
  animation: decoFloat 10s ease-in-out infinite reverse;
}

.hero__deco--dot-1 {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  top: 25%;
  right: 20%;
  opacity: 0.4;
  animation: decoDot 4s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(108, 140, 255, 0.5);
}

.hero__deco--dot-2 {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent-2);
  bottom: 35%;
  left: 15%;
  opacity: 0.3;
  animation: decoDot 5s ease-in-out infinite 1s;
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.4);
}

.hero__deco--dot-3 {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent-3);
  top: 40%;
  left: 50%;
  opacity: 0.35;
  animation: decoDot 4.5s ease-in-out infinite 2s;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.hero__deco--line-1 {
  position: absolute;
  top: 30%;
  right: 10%;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 140, 255, 0.25), transparent);
  animation: decoLine 6s ease-in-out infinite;
}

.hero__deco--line-2 {
  position: absolute;
  bottom: 28%;
  left: 8%;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.2), transparent);
  animation: decoLine 7s ease-in-out infinite 1.5s;
}

.hero__deco--ring {
  position: absolute;
  top: 20%;
  right: 15%;
  width: clamp(80px, 15vw, 160px);
  height: clamp(80px, 15vw, 160px);
  border-radius: 50%;
  border: 1px solid rgba(108, 140, 255, 0.06);
  animation: decoRing 12s linear infinite;
}

.hero__deco--diamond {
  position: absolute;
  bottom: 20%;
  left: 12%;
  font-size: clamp(16px, 3vw, 28px);
  color: rgba(167, 139, 250, 0.08);
  animation: decoFloat 9s ease-in-out infinite 2s;
}

@keyframes decoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(3deg); }
  66% { transform: translateY(10px) rotate(-2deg); }
}

@keyframes decoDot {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-15px) scale(1.6); opacity: 0.15; }
}

@keyframes decoLine {
  0%, 100% { opacity: 0.3; transform: scaleX(1); }
  50% { opacity: 0.8; transform: scaleX(1.3); }
}

@keyframes decoRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 24px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(108, 140, 255, 0.1);
  border: 1px solid rgba(108, 140, 255, 0.2);
}

.hero__badge-icon {
  font-size: 16px;
}

.hero__title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__title-highlight {
  background: var(--color-gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

/* 滚动提示 */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.4); transform-origin: top; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  letter-spacing: -0.3px;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-gradient-1);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108, 140, 255, 0.3);
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn--primary:hover::after {
  transform: translateX(100%);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(108, 140, 255, 0.45);
}

.btn__arrow-icon {
  font-size: 18px;
  transition: transform 0.3s;
}

.btn--primary:hover .btn__arrow-icon {
  transform: translateX(4px);
}

.btn--ghost {
  background: var(--color-glass);
  color: var(--color-text);
  border: 1px solid var(--color-glass-border);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
}

.btn--ghost:hover {
  background: var(--color-glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn--full {
  width: 100%;
}

/* ---------- 数据统计 ---------- */
.hero__stats {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-wrap: wrap;
}

.hero__stat-number {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  background: var(--color-gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__stat-plus {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-accent-2);
}

.hero__stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
  width: 100%;
}

/* ---------- 关于我们 ---------- */
.about__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about__card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.about__card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---------- 服务项目 ---------- */
.services {
  background: linear-gradient(180deg, transparent, rgba(108, 140, 255, 0.03), transparent);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services__card {
  position: relative;
}

.services__card-number {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 12px;
  letter-spacing: 1px;
  transition: transform 0.3s;
}

.glass-card:hover .services__card-number {
  transform: translateX(4px);
}

.services__card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.services__card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.services__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.services__tags li {
  font-size: 12px;
  color: var(--color-accent-2);
  background: rgba(167, 139, 250, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.15);
  transition: all 0.3s;
}

.glass-card:hover .services__tags li {
  background: rgba(167, 139, 250, 0.18);
  border-color: rgba(167, 139, 250, 0.3);
}

/* ---------- 项目案例 ---------- */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cases__card {
  display: flex;
  flex-direction: column;
}

.cases__card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-accent);
  background: rgba(108, 140, 255, 0.1);
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
  align-self: flex-start;
  transition: all 0.3s;
}

.glass-card:hover .cases__card-tag {
  background: rgba(108, 140, 255, 0.2);
}

.cases__card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cases__card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
  flex: 1;
}

.cases__card-footer {
  font-size: 13px;
  color: var(--color-text-dim);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s;
}

.glass-card:hover .cases__card-footer {
  color: var(--color-text-muted);
}

/* ---------- 联系我们 ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}

.contact__info-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.contact__info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__map {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-glass-border);
  margin-top: 8px;
}

.contact__map-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: filter 0.3s;
}

.contact__map:hover .contact__map-img {
  filter: brightness(0.85);
}

.contact__map-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.contact__map:hover .contact__map-hint {
  opacity: 1;
}

.contact__info-icon {
  font-size: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__info-label {
  font-size: 12px;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact__info-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact__form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact__form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.contact__form-group input,
.contact__form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--color-text);
  transition: all 0.3s;
  resize: vertical;
}

.contact__form-group input:focus,
.contact__form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(108, 140, 255, 0.1);
}

.contact__form-group input::placeholder,
.contact__form-group textarea::placeholder {
  color: var(--color-text-dim);
}

/* ---------- 底部 ---------- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 24px 32px;
}

.footer__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}

.footer__brand p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-top: 8px;
}

/* 微信联系方式 */
.footer__wechat {
  position: relative;
  margin-top: 16px;
}

.footer__wechat-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--color-glass-border);
  background: var(--color-glass);
  transition: all 0.3s;
}

.footer__wechat-icon:hover {
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--color-glass-hover);
}

.footer__wechat-qr {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 0;
  z-index: 999;
  width: 160px;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-glass-border);
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  pointer-events: none;
}

.footer__wechat-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__wechat:hover .footer__wechat-qr {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.footer__logo-img {
  width: 32px;
  height: 32px;
  -webkit-text-fill-color: initial;
  flex-shrink: 0;
}

.footer__links {
  display: flex;
  gap: 64px;
}

.footer__links-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.footer__links-col a {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  transition: color 0.3s;
  position: relative;
  width: fit-content;
}

.footer__links-col a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.footer__links-col a:hover {
  color: var(--color-text);
}

.footer__links-col a:hover::after {
  transform: scaleX(1);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--color-text-dim);
}

.footer__bottom a {
  color: var(--color-text-dim);
  transition: color 0.3s;
}

.footer__bottom a:hover {
  color: var(--color-text-muted);
}

/* ---------- 图片灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox__img {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.lightbox.open .lightbox__img {
  transform: scale(1);
}

.lightbox__caption {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: var(--color-text-muted);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ---------- 回顶部 ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-glass-border);
  background: var(--color-glass);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  color: var(--color-text);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

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

.back-to-top:hover {
  background: var(--color-glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(108, 140, 255, 0.2);
}

/* ---------- 滚动动画 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 延迟序列 */
.about__card:nth-child(1) { transition-delay: 0.05s; }
.about__card:nth-child(2) { transition-delay: 0.10s; }
.about__card:nth-child(3) { transition-delay: 0.15s; }
.about__card:nth-child(4) { transition-delay: 0.20s; }

/* ---------- 亮色主题 (自适应系统偏好) ---------- */
@media (prefers-color-scheme: light) {
  :root {
    --color-bg: #f5f5f7;
    --color-surface: rgba(0, 0, 0, 0.02);
    --color-glass: rgba(255, 255, 255, 0.55);
    --color-glass-border: rgba(0, 0, 0, 0.08);
    --color-glass-hover: rgba(255, 255, 255, 0.75);
    --color-text: #1a1a1e;
    --color-text-muted: rgba(26, 26, 30, 0.55);
    --color-text-dim: rgba(26, 26, 30, 0.35);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-glass-hover: 0 12px 48px rgba(108, 140, 255, 0.12);
    --color-gradient-2: linear-gradient(135deg, rgba(108, 140, 255, 0.08), rgba(167, 139, 250, 0.08));
  }

  /* 背景装饰 */
  .bg-blob { opacity: 0.25; }
  .bg-grid {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  }
  .bg-pattern { opacity: 0.03; }

  /* 导航栏 */
  .nav__container {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(0, 0, 0, 0.08);
  }
  .nav__container.scrolled {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  }
  .nav__toggle span { background: var(--color-text); }
  @media (max-width: 768px) {
    .nav__links {
      background: rgba(255, 255, 255, 0.9);
      border-color: rgba(0, 0, 0, 0.1);
    }
  }

  /* 玻璃卡片 */
  .glass-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  }
  .glass-card:hover {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(108, 140, 255, 0.12);
  }
  .glass-card::before {
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(108, 140, 255, 0.06), transparent 40%);
  }

  /* 服务标签 */
  .services__tags li {
    background: rgba(108, 140, 255, 0.08);
    border-color: rgba(108, 140, 255, 0.15);
    color: #5a6fd6;
  }

  /* 案例标签 */
  .cases__card-tag {
    background: rgba(108, 140, 255, 0.08);
    color: #5a6fd6;
  }
  .glass-card:hover .cases__card-tag {
    background: rgba(108, 140, 255, 0.15);
  }

  /* 案例底部 */
  .cases__card-footer { border-top-color: rgba(0, 0, 0, 0.06); }

  /* 表单 */
  .contact__form-group input,
  .contact__form-group textarea {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--color-text);
  }
  .contact__form-group input:focus,
  .contact__form-group textarea:focus {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(108, 140, 255, 0.12);
  }

  /* 页脚 */
  .footer { border-top-color: rgba(0, 0, 0, 0.06); }
  .footer__bottom { border-top-color: rgba(0, 0, 0, 0.06); }

  /* 微信 */
  .footer__wechat-icon {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.03);
  }
  .footer__wechat-qr { border-color: rgba(0, 0, 0, 0.1); }

  /* 回顶部 */
  .back-to-top {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.08);
  }
  .back-to-top:hover {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(0, 0, 0, 0.15);
  }

  /* 光标光晕 */
  .cursor-glow {
    background: radial-gradient(circle, rgba(108, 140, 255, 0.15) 0%, rgba(167, 139, 250, 0.06) 35%, transparent 70%);
  }

  /* 灯箱 */
  .lightbox__close {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--color-text);
  }
  .lightbox__close:hover {
    background: rgba(0, 0, 0, 0.1);
  }

  /* 按钮 */
  .btn--ghost {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.45);
  }
  .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.18);
  }

  /* Toast */
  .toast {
    border-color: rgba(0, 0, 0, 0.1) !important;
  }
}

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

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

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

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__deco--bracket-l { left: 3%; }
  .hero__deco--bracket-r { right: 2%; }
  .hero__deco--ring { display: none; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: calc(var(--nav-height) + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: var(--blur-nav);
    -webkit-backdrop-filter: var(--blur-nav);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
    gap: 12px;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .cases__grid {
    grid-template-columns: 1fr;
  }

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

  .hero__stats {
    gap: 32px;
  }

  .hero__deco {
    display: none;
  }

  .cursor-glow {
    display: none;
  }

  .footer__main {
    flex-direction: column;
    gap: 32px;
  }

  .footer__links {
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer__wechat-qr {
    bottom: auto;
    top: calc(100% + 12px);
    left: 0;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}
