:root {
  --primary-neon: #00f3ff;
  --secondary-neon: #bc13fe;
  --accent-neon: #ff0055;
  --success-neon: #00ff41;
  --warning-neon: #ffaa00;
  --dark-bg: #050505;
  --card-bg: rgba(20, 20, 25, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
  --text-main: #e0e0e0;
  --text-dim: #a0a0a0;
  --transition-fast: 0.2s ease;
  --transition-mid: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Orbitron", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--dark-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}
ul,
li {
  list-style: none;
}
img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

a,
button,
.btn,
.service-card,
.team-card,
.case-item,
.menu-toggle,
.social-icons a,
.slider-btn,
.swiper-button-next,
.swiper-button-prev,
.swiper-pagination-bullet,
.dot {
  cursor: pointer;
}
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
#three-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: #000;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-neon),
    var(--secondary-neon)
  );
  z-index: 2000;
  box-shadow: 0 0 15px var(--primary-neon);
  transition: width 0.1s ease;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 25px;
}

.glass {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  will-change: transform, border-color;
}
.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 1;
  transition: 0.5s;
}
.glass-card:hover::before {
  left: 150%;
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
  border-color: var(--primary-neon);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.3);
  transform: translateY(-8px) translateZ(0);
}

.card-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 243, 255, 0.18), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.neon-text {
  color: var(--primary-neon);
  text-shadow: 0 0 12px rgba(0, 243, 255, 0.6);
}
.neon-line {
  width: 100px;
  height: 4px;
  border-radius: 2px;
  margin: 20px auto;
  background: linear-gradient(
    90deg,
    var(--primary-neon),
    var(--secondary-neon)
  );
  box-shadow: 0 0 15px var(--primary-neon);
}

.neon-blue {
  color: var(--primary-neon);
  border-color: var(--primary-neon) !important;
}
.neon-purple {
  color: var(--secondary-neon);
  border-color: var(--secondary-neon) !important;
}
.neon-cyan {
  color: #00ffcc;
  border-color: #00ffcc !important;
}
.neon-green {
  color: var(--success-neon);
  border-color: var(--success-neon) !important;
}
.neon-yellow {
  color: var(--warning-neon);
  border-color: var(--warning-neon) !important;
}
.neon-red {
  color: #ff3e3e;
  border-color: #ff3e3e !important;
}
.neon-pink {
  color: var(--accent-neon);
  border-color: var(--accent-neon) !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 35px;
  border-radius: 999px;
  border: none;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition:
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  will-change: transform;
}
.btn:hover {
  transform: scale(1.05) translateZ(0);
}
.btn-neon {
  background: transparent;
  border: 2px solid var(--primary-neon);
  color: var(--primary-neon);
  box-shadow:
    inset 0 0 10px rgba(0, 243, 255, 0.1),
    0 0 15px rgba(0, 243, 255, 0.1);
}
.btn-neon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--primary-neon);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-neon:hover {
  background: var(--primary-neon);
  color: #000;
  box-shadow: 0 0 40px var(--primary-neon);
}
.btn-neon:hover::after {
  opacity: 0.1;
}
.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--primary-neon);
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 30px 0;
  transition: var(--transition-mid);
}
.navbar.scrolled {
  padding: 15px 0;
  background: rgba(5, 5, 5, 0.98);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: var(--transition-mid);
}
.logo-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes logo-glow {
  0% {
    filter: drop-shadow(0 0 5px var(--primary-neon));
  }
  50% {
    filter: drop-shadow(0 0 15px var(--primary-neon));
  }
  100% {
    filter: drop-shadow(0 0 5px var(--primary-neon));
  }
}
.logo-svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  animation: logo-glow 3s infinite ease-in-out;
}
.logo-text {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
}
.logo-text span {
  color: var(--primary-neon);
  text-shadow: 0 0 15px var(--primary-neon);
}
.logo-wrapper:hover .logo-svg {
  transform: scale(1.1) rotate(5deg);
}
.logo-wrapper:hover .logo-text {
  color: var(--primary-neon);
}

.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  color: var(--text-dim);
  opacity: 0.7;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--primary-neon);
  transform: translateX(-50%);
  transition: var(--transition-mid);
  box-shadow: 0 0 10px var(--primary-neon);
}
.nav-links a.active {
  color: var(--primary-neon) !important;
  opacity: 1;
  text-shadow: 0 0 10px var(--primary-neon);
}
.nav-links a.active::after {
  width: 100%;
  box-shadow: 0 0 15px var(--primary-neon);
}
.nav-links a:hover {
  opacity: 1;
  color: #fff;
}
.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  color: #fff;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at center, #0a0a0a 0%, #000 100%);
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(1.2) contrast(1.1) brightness(0.6);
  transform: translateZ(0);
  will-change: opacity, transform;
  z-index: 1;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
}
.hero-content {
  z-index: 2;
  perspective: 1000px;
  padding: 0 20px;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay.neon-grid {
  background-image:
    linear-gradient(rgba(0, 243, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 243, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  perspective: 1200px;
  transform: rotateX(60deg) translateY(-300px);
  opacity: 0.5;
}

.scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(0, 243, 255, 0.3);
  box-shadow: 0 0 10px var(--primary-neon);
  z-index: 3;
  pointer-events: none;
  animation: scanline 8s linear infinite;
}
@keyframes scanline {
  0% {
    top: 0;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

.badge {
  background: rgba(0, 243, 255, 0.1);
  color: var(--primary-neon);
  padding: 10px 25px;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid var(--primary-neon);
  margin-bottom: 30px;
  display: inline-block;
  letter-spacing: 3px;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  margin-bottom: 25px;
  letter-spacing: -3px;
  line-height: 1.1;
  color: #fff;
  text-shadow:
    0 0 20px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 0, 0, 0.4);
}
.hero h1 span {
  color: var(--primary-neon);
  text-shadow:
    0 0 15px var(--primary-neon),
    0 0 30px rgba(0, 243, 255, 0.3);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--text-dim);
  max-width: 1000px;
  margin: 0 auto 45px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cursor {
  animation: blink 0.8s infinite;
  color: var(--primary-neon);
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.mouse {
  width: 32px;
  height: 52px;
  border: 2px solid var(--text-dim);
  border-radius: 25px;
  position: relative;
}
.mouse::before {
  content: "";
  width: 5px;
  height: 10px;
  background: var(--primary-neon);
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  border-radius: 3px;
  animation: scrollMouse 1.8s infinite;
}
@keyframes scrollMouse {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 25px);
    opacity: 0;
  }
}

section {
  padding: 140px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 100px;
}
.sub-title {
  color: var(--primary-neon);
  font-size: 1rem;
  letter-spacing: 6px;
  display: block;
  margin-bottom: 15px;
  font-weight: 800;
}
.section-title h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
}
.section-title p {
  color: var(--text-dim);
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.service-card {
  padding: 60px 45px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card.wide {
  grid-column: span 2;
}
.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}
.service-card .desc {
  color: var(--text-dim);
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.icon-box {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  font-size: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.icon-box::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid transparent;
  border-top-color: var(--primary-neon);
  border-bottom-color: var(--secondary-neon);
  border-radius: 20px;
  animation: rotate-border 4s linear infinite;
  opacity: 0.3;
  pointer-events: none;
}
@keyframes rotate-border {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.sub-services {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
}
.sub-services li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.4;
  transition: var(--transition-fast);
}
.sub-services li i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-neon);
  opacity: 0.8;
}
.sub-services li:hover {
  color: var(--primary-neon);
  transform: translateX(10px);
}
.sub-services li:hover i {
  opacity: 1;
  transform: scale(1.15);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}
.about-content h3 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 25px;
  color: #fff;
}
.about-content p {
  color: var(--text-dim);
  line-height: 1.9;
  font-size: 1.05rem;
}
.vision-box {
  display: flex;
  gap: 25px;
  padding: 35px;
  margin-top: 50px;
}
.vision-icon {
  font-size: 3rem;
  color: var(--primary-neon);
}

.about-media {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.team-grid {
  width: 100%;
  display: flex;
  justify-content: center;
}

.video-card {
  width: 100%;
  max-width: 560px;
  padding: 14px;
}
.video-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}
.video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 243, 255, 0.35);
  background: rgba(0, 243, 255, 0.08);
  color: var(--primary-neon);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}
.about-video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(0, 243, 255, 0.08),
      transparent 55%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(188, 19, 254, 0.06),
      transparent 55%
    );
}

.team-card-wrapper {
  perspective: 1500px;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}
.team-card {
  height: 480px;
  cursor: pointer;
  position: relative;
}
.team-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.team-card-wrapper:hover .team-card-inner {
  transform: rotateY(180deg);
}
.team-card-front,
.team-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
}
.team-card-front {
  background: var(--card-bg);
}
.team-card-back {
  background: rgba(0, 243, 255, 0.08);
  transform: rotateY(180deg);
}
.team-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-bottom: 25px;
  border: 4px solid var(--primary-neon);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.3);
}

.timeline {
  margin-top: 100px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--glass-border),
    transparent
  );
  transform: translateX(-50%);
}
.timeline-item {
  width: 50%;
  margin-bottom: 60px;
  position: relative;
}
.timeline-item:nth-child(odd) {
  padding-right: 50px;
  text-align: right;
}
.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding-left: 50px;
}
.timeline-dot {
  position: absolute;
  left: 100%;
  top: 30px;
  width: 20px;
  height: 20px;
  background: var(--primary-neon);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 15px var(--primary-neon);
  border: 4px solid #000;
}
.timeline-item:nth-child(even) .timeline-dot {
  left: 0;
}
.timeline {
  position: relative;

  margin-top: 120px;

  padding: 60px 0;
}

/* 中间能量线 */

.timeline-line {
  position: absolute;

  left: 50%;

  top: 0;

  width: 2px;

  height: 100%;

  background: linear-gradient(
    to bottom,
    transparent,
    #00f3ff,
    #bc13fe,
    transparent
  );

  transform: translateX(-50%);

  box-shadow:
    0 0 10px #00f3ff,
    0 0 30px rgba(0, 243, 255, 0.6);

  animation: timelineEnergy 6s linear infinite;
}

@keyframes timelineEnergy {
  0% {
    background-position: 0 -400px;
  }

  100% {
    background-position: 0 400px;
  }
}

/* 时间节点 */

.timeline-dot {
  position: absolute;

  left: 50%;

  top: 40px;

  width: 20px;
  height: 20px;

  background: #00f3ff;

  border-radius: 50%;

  transform: translateX(-50%);

  box-shadow:
    0 0 10px #00f3ff,
    0 0 30px rgba(0, 243, 255, 0.8);

  border: 4px solid #000;

  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0% {
    box-shadow:
      0 0 5px #00f3ff,
      0 0 10px rgba(0, 243, 255, 0.5);
  }

  50% {
    box-shadow:
      0 0 20px #00f3ff,
      0 0 40px rgba(0, 243, 255, 0.9);
  }

  100% {
    box-shadow:
      0 0 5px #00f3ff,
      0 0 10px rgba(0, 243, 255, 0.5);
  }
}

/* 时间项 */

.timeline-item {
  position: relative;

  width: 50%;

  margin-bottom: 80px;
}

/* 左侧 */

.timeline-item:nth-child(odd) {
  padding-right: 60px;

  text-align: right;
}

/* 右侧 */

.timeline-item:nth-child(even) {
  margin-left: 50%;

  padding-left: 60px;
}

/* 时间卡片 */

.timeline-content {
  padding: 35px;

  transition: all 0.4s ease;

  position: relative;
}

/* hover科技感 */

.timeline-content:hover {
  transform: translateY(-10px) scale(1.03) rotateX(3deg);

  box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
}

/* 扫光 */

.timeline-content::before {
  content: "";

  position: absolute;

  top: 0;
  left: -120%;

  width: 60%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(0, 243, 255, 0.4),
    transparent
  );

  transform: skewX(-20deg);
}

.timeline-content:hover::before {
  animation: cardSweep 0.8s forwards;
}

@keyframes cardSweep {
  0% {
    left: -120%;
  }

  100% {
    left: 120%;
  }
}

.timeline-year {
  font-size: 1.4rem;

  font-weight: 900;

  color: #00f3ff;

  display: block;

  margin-bottom: 10px;

  text-shadow: 0 0 15px #00f3ff;
}
.date {
  color: var(--primary-neon);
  font-weight: 900;
  font-size: 1.2rem;
}

.stats {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80");
  background-attachment: fixed;
  overflow: hidden;
}
.stats-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(1.1) contrast(1.1) brightness(1);
  transform: translateZ(0);
  will-change: opacity, transform;
  z-index: 0;
  pointer-events: none;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.9));
  z-index: 1;
  pointer-events: none;
}
.stats .container {
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.stat-item {
  padding: 40px;
  text-align: center;
}
.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.stat-item h3 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: #fff;
}
.stat-item p {
  color: var(--text-dim);
}

.cases-swiper {
  width: 100%;
  padding: 50px 0 80px;
  perspective: 1200px;
}
.swiper-slide {
  width: 400px;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
.swiper-slide .case-item {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 15px;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-neon) !important;
  width: 50px;
  height: 50px;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  transition: var(--transition-mid);
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.2rem !important;
  font-weight: 900;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  border-color: var(--primary-neon);
  box-shadow: 0 0 20px var(--primary-neon);
  transform: scale(1.1);
}

.swiper-pagination-bullet {
  width: 30px !important;
  height: 4px !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  opacity: 1 !important;
  transition: all 0.3s ease !important;
}
.swiper-pagination-bullet-active {
  background: var(--primary-neon) !important;
  width: 50px !important;
  box-shadow: 0 0 10px var(--primary-neon);
}

.case-item {
  height: 100%;
  position: relative;
}
.case-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: var(--transition-mid);
}
.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.35) 60%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 34px;
  opacity: 1;
  transition: var(--transition-mid);
}
.case-info {
  width: 100%;
}
.case-info h4 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}
.case-info p {
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.case-item:hover .case-img {
  transform: scale(1.08);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 243, 255, 0.25);
  background: rgba(0, 243, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}
.kpi {
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  will-change: transform;
}
.kpi:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 18px rgba(0, 243, 255, 0.15);
}
.kpi-num {
  display: block;
  font-weight: 900;
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.kpi-label {
  display: block;
  color: var(--text-dim);
  font-size: 0.72rem;
}

.neon-tag {
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid rgba(0, 243, 255, 0.35);
  color: var(--primary-neon);
  font-size: 0.75rem;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(0, 243, 255, 0.06);
}

.case-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 243, 255, 0.35);
  background: rgba(0, 243, 255, 0.06);
  color: var(--primary-neon);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 1px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  will-change: transform;
}
.case-cta:hover {
  transform: translateY(-3px);
  background: rgba(0, 243, 255, 0.12);
  box-shadow: 0 0 18px rgba(0, 243, 255, 0.2);
}

.cases-wall {
  margin-top: 60px;
}
.wall-head {
  text-align: center;
  margin-bottom: 28px;
}
.wall-head h3 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}
.wall-head p {
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}
.wall-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.wall-card {
  padding: 22px 22px 20px;
  min-height: 360px;
  position: relative;
  isolation: isolate;
  transform: translateZ(0);
  will-change: transform;
}
.wall-card::before {
  content: "";
  position: absolute;
  inset: -40% -40%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(0, 243, 255, 0.08) 35%,
    rgba(188, 19, 254, 0.06) 50%,
    rgba(0, 243, 255, 0.08) 65%,
    transparent 100%
  );
  transform: translate3d(-35%, -35%, 0) rotate(10deg);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.wall-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 30%,
      rgba(0, 243, 255, 0.22),
      transparent 38%
    ),
    radial-gradient(
      circle at 80% 25%,
      rgba(188, 19, 254, 0.18),
      transparent 40%
    ),
    radial-gradient(circle at 55% 85%, rgba(0, 243, 255, 0.14), transparent 45%);
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.wall-card:hover::before {
  opacity: 1;
  animation: wallSweep 0.6s ease both;
}
.wall-card:hover::after {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@keyframes wallSweep {
  0% {
    transform: translate3d(-40%, -40%, 0) rotate(10deg);
  }
  100% {
    transform: translate3d(40%, 40%, 0) rotate(10deg);
  }
}
.wall-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.wall-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.wall-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
}
.wall-desc {
  color: var(--text-dim);
  line-height: 1.8;
  font-size: 0.98rem;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.wall-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.wall-kpi {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.wall-card .case-cta {
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
.contact-info .info-item {
  display: flex;
  gap: 20px;
  padding: 30px;
  margin-bottom: 25px;
}
.contact-form {
  padding: 60px;
}
.neon-input input,
.neon-input textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  margin-bottom: 25px;
  outline: none;
  transition: var(--transition-fast);
}
.neon-input input:focus,
.neon-input textarea:focus {
  border-color: var(--primary-neon);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.footer {
  position: relative;
  background: #000;
  padding: 120px 0 60px;
  border-top: 1px solid var(--glass-border);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.7fr;
  gap: 80px;
  margin-bottom: 60px;
}
.footer-brand .logo-wrapper {
  margin-bottom: 25px;
}
.footer-brand p {
  color: var(--text-dim);
  max-width: 380px;
  margin-bottom: 35px;
  line-height: 1.8;
  font-size: 1.05rem;
}
.footer-links h4,
.footer-social h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 35px;
  font-weight: 800;
  position: relative;
  display: inline-block;
}
.footer-links h4::after,
.footer-social h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 30px;
  height: 2px;
  background: var(--primary-neon);
}
.footer-links ul li {
  margin-bottom: 18px;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 1rem;
  transition: var(--transition-fast);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--primary-neon);
  padding-left: 8px;
}

.subscription-form {
  display: flex;
  max-width: 300px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 5px;
  overflow: hidden;
  transition: var(--transition-fast);
}
.subscription-form:focus-within {
  border-color: var(--primary-neon);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}
.subscription-form input {
  background: transparent;
  border: none;
  padding: 0 15px;
  color: #fff;
  flex: 1;
  font-size: 0.9rem;
  outline: none;
}
.btn-mini {
  width: 50px;
  background: transparent;
  border: none;
  border-left: 1px solid var(--glass-border);
  color: var(--primary-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.btn-mini:hover {
  background: var(--primary-neon);
  color: #000;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}
.social-icons a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-mid);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  text-decoration: none;
}
.social-icons a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 20px currentColor;
}
.social-svg {
  width: 20px;
  height: 20px;
}
.neon-blue:hover {
  background: var(--primary-neon) !important;
  color: #000 !important;
  box-shadow: 0 0 20px var(--primary-neon) !important;
}
.neon-purple:hover {
  background: var(--secondary-neon) !important;
  color: #fff !important;
  box-shadow: 0 0 20px var(--secondary-neon) !important;
}
.neon-cyan:hover {
  background: #00ffcc !important;
  color: #000 !important;
  box-shadow: 0 0 20px #00ffcc !important;
}
.neon-green:hover {
  background: var(--success-neon) !important;
  color: #000 !important;
  box-shadow: 0 0 20px var(--success-neon) !important;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-neon),
    var(--secondary-neon),
    transparent
  );
  animation: footerFlow 6s linear infinite;
}
@keyframes footerFlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}
.footer-bottom {
  position: relative;
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-dim);
  font-size: 0.9rem;
}
.footer-bottom::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 60px;
  background: radial-gradient(circle, rgba(0, 243, 255, 0.08), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  filter: blur(10px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .glass-card,
  .btn,
  .team-card-inner {
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
  .hero-video,
  .stats-video {
    display: none !important;
  }
  .scanline {
    display: none !important;
  }
}

@media (max-width: 1366px) {
  .container {
    max-width: 1100px;
  }
  .services-grid {
    gap: 28px;
  }
}

@media (max-width: 1200px) {
  .wall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card.wide {
    grid-column: span 1;
  }
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .vision-box {
    justify-content: center;
  }
  .video-card {
    max-width: 720px;
  }
  .contact-content {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    padding: 30px;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero-video {
    opacity: 0.18;
  }
  .stats-video {
    opacity: 0.16;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  .swiper-slide {
    width: 300px;
    height: 380px;
  }
  .timeline::before {
    left: 30px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px !important;
    text-align: left !important;
  }
  .timeline-dot {
    left: 30px !important;
  }
  .wall-grid {
    grid-template-columns: 1fr;
  }
  .wall-card::before,
  .wall-card::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    gap: 12px;
  }
  .btn {
    padding: 12px 25px;
    font-size: 0.85rem;
  }
  .stat-item h3 {
    font-size: 2.2rem;
  }
  .contact-form {
    padding: 30px 20px;
  }
  .section-title {
    margin-bottom: 70px;
  }
}
