/* =====================================================================
   同立信息 TONGLI — Design System
   Aesthetic: deep blue command center, electric precision; purple as auxiliary accent
   ===================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap");

:root {
  /* Surfaces — deep navy */
  --bg-0: #050b18;
  --bg-1: #081126;
  --bg-2: #0c1736;
  --surface: rgba(18, 32, 66, 0.55);
  --surface-solid: #101d40;
  --surface-raised: #16285a;

  /* Lines */
  --line: rgba(96, 165, 250, 0.16);
  --line-bright: rgba(96, 165, 250, 0.42);

  /* Brand — blue-purple */
  --violet: #0046ff;
  --violet-2: #66a6ff;
  --violet-deep: #0046ff;
  --azure: #4d8bff;
  --cyan: #38bdf8;
  --magenta: #22d3ee;
  --purple: #5017aa;
  --purple-2: #8b5cf6;
  --purple-3: #a78bfa;

  /* Text */
  --text: #ecf3ff;
  --text-dim: #9fb4d6;
  --text-mute: #6e80a6;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, #0046ff 0%, #2f80ff 50%, #741aff 100%);
  --grad-brand-soft: linear-gradient(
    120deg,
    rgba(77, 139, 255, 0.16),
    rgba(34, 211, 238, 0.16)
  );
  --glow-violet: 0 0 60px rgba(47, 128, 255, 0.45);

  /* Type */
  --font-display: "Sora", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Sora", sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
ul {
  list-style: none;
}

::selection {
  background: rgba(47, 128, 255, 0.4);
  color: #fff;
}

/* --------------------------- Atmosphere --------------------------- */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(
      900px 600px at 12% -5%,
      rgba(91, 63, 227, 0.28),
      transparent 60%
    ),
    radial-gradient(
      800px 700px at 92% 8%,
      rgba(77, 139, 255, 0.2),
      transparent 60%
    ),
    radial-gradient(
      1000px 800px at 75% 95%,
      rgba(34, 211, 238, 0.14),
      transparent 60%
    ),
    var(--bg-0);
}
.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    #000 30%,
    transparent 80%
  );
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ----------------------------- Layout ----------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section {
  position: relative;
}

.section-pad {
  padding-block: clamp(90px, 12vh, 160px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet-2);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--grad-brand);
}
.eyebrow .num {
  color: var(--text-mute);
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 18px;
}
.section-title .grad {
  background: linear-gradient(110deg, #4d8bff,  #22d3ee, #4d8bff);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShimmer 8s linear infinite;
}
@keyframes gradShimmer {
  to {
    background-position: 250% 0;
  }
}
.hero-title .grad,
.cta-title .grad {
  background: linear-gradient(
    110deg,
    #0046ff,
    #2f80ff,
    #22d3ee,
    #38bdf8,
    #2f80ff,
    #4d8bff
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShimmer 8s linear infinite;
}

.section-lead {
  margin-top: 22px;
  max-width: 60ch;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.section-head {
  max-width: 800px;
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    background 0.4s var(--ease);
  will-change: transform;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}
.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(120deg, #4d8bff, #2f80ff, #5017aa);
  background-size: 220% 100%;
  color: #fff;
  box-shadow: 0 10px 40px -8px rgba(47, 128, 255, 0.6);
  animation:
    btnFlow 6s linear infinite,
    btnGlow 3.2s ease-in-out infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px -8px rgba(47, 128, 255, 0.75);
}
@keyframes btnFlow {
  to {
    background-position: 220% 0;
  }
}
@keyframes btnGlow {
  0%,
  100% {
    box-shadow: 0 10px 40px -8px rgba(47, 128, 255, 0.5);
  }
  50% {
    box-shadow: 0 14px 54px -8px rgba(34, 211, 238, 0.8);
  }
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line-bright);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--violet-2);
  background: rgba(47, 128, 255, 0.12);
}

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    padding 0.4s var(--ease);
  padding-block: 18px;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 6, 26, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: 12px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  background-image: url("../images/logo.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 120px;
  height: 40px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  position: relative;
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 0.92rem;
  color: var(--text-dim);
  transition:
    color 0.3s,
    background 0.3s;
  font-weight: 500;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}
.nav a:hover {
  color: var(--text);
  background: rgba(47, 128, 255, 0.1);
}
.nav a:hover::after {
  width: 38%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn-nav {
  padding: 11px 22px;
  border-radius: 100px;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 6px 22px -6px rgba(47, 128, 255, 0.6);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -6px rgba(47, 128, 255, 0.8);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: 0.3s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: 0.3s var(--ease);
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  will-change: transform;
}
.hero-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(6, 5, 26, 0.55) 0%,
      rgba(6, 5, 26, 0.35) 35%,
      var(--bg-0) 96%
    ),
    linear-gradient(90deg, rgba(6, 5, 26, 0.85) 0%, transparent 55%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: 0.6;
}
.hero-orb.o1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.38),
    transparent 70%
  );
  top: -120px;
  right: 8%;
  animation: float 12s ease-in-out infinite;
}
.hero-orb.o2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(77, 139, 255, 0.4), transparent 70%);
  bottom: -80px;
  left: 12%;
  animation: float 14s ease-in-out infinite reverse;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-30px) translateX(20px);
  }
}

.hero-content {
  max-width: var(--container);
  position: relative;
}

.hero-qiu{
    position: absolute;
    top: 5%;
    right: 50%;
    transform: translateX(150%);
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background-image: url("../images/hero-qiu.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: qiuFloat 9s ease-in-out infinite;
    will-change: transform;
}
@keyframes qiuFloat {
  0%,
  100% {
    transform: translateX(150%) translateY(0) rotate(0deg);
  }
  50% {
    transform: translateX(150%) translateY(-26px) rotate(180deg);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--line-bright);
  backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}
.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 26px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-sub {
  margin-top: 28px;
  max-width: 560px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-dim);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.hero-meta .item .k {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-meta .item .v {
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-top: 4px;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-mute);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}


@keyframes scrollWheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  100% {
    opacity: 0;
  }
}
.scroll-cue .mouse {
  width: 24px;
  height: 40px;
  border: 1.5px solid var(--line-bright);
  border-radius: 14px;
  position: relative;
}
.scroll-cue .mouse::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--violet-2);
  border-radius: 2px;
  animation: scrollWheel 1.8s infinite;
}

/* ----------------------------- About ----------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  margin-top: 64px;
}
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/2.2;
  border: 1px solid var(--line);
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 5, 26, 0.7));
}
.about-visual .badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(10, 8, 34, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-bright);
  border-radius: 14px;
}
.about-visual .badge .ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grad-brand-soft);
  display: grid;
  place-items: center;
  color: var(--violet-2);
}
.about-visual .badge .tx {
  font-size: 0.85rem;
}
.about-visual .badge .tx b {
  font-family: var(--font-display);
  font-weight: 600;
  display: block;
}
.about-visual .badge .tx span {
  color: var(--text-mute);
  font-size: 0.78rem;
}

.about-quote {
  margin-top: 32px;
  padding: 26px 28px;
  border-left: 2px solid var(--violet);
  background: var(--grad-brand-soft);
  border-radius: 0 14px 14px 0;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
}
.about-quote::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--violet);
  opacity: 0.4;
  line-height: 1;
}
.about-quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-mute);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 80px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--bg-1);
  padding: 38px 30px;
  position: relative;
  transition: background 0.4s var(--ease);
}
.stat:hover {
  background: var(--bg-2);
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  background: #BFDEFF;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .num .suf {
  font-size: 0.5em;
  margin-left: 4px;
  color: var(--violet-2);
  -webkit-text-fill-color: var(--violet-2);
}
.stat .label {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.stat .desc {
  margin-top: 6px;
  color: var(--text-mute);
  font-size: 0.82rem;
}

/* ----------------------------- Solutions ----------------------------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.sol-card {
  position: relative;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    background 0.5s var(--ease);
}
.sol-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-brand-soft);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.sol-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.sol-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-bright);
}
.sol-card:hover::before {
  opacity: 1;
}
.sol-card:hover::after {
  transform: scaleX(1);
}
.sol-card > * {
  position: relative;
  z-index: 1;
}

.sol-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.sol-icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: var(--grad-brand-soft);
  border: 1px solid var(--line-bright);
  display: grid;
  place-items: center;
  color: var(--violet-2);
  flex-shrink: 0;
}
.sol-icon svg {
  width: 26px;
  height: 26px;
}
.sol-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.sol-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 22px;
  letter-spacing: -0.01em;
}
.sol-title .sub {
  display: block;
  font-size: 0.95rem;
  color: var(--violet-2);
  font-weight: 500;
  margin-top: 4px;
}
.sol-desc {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 0.97rem;
  line-height: 1.7;
}
.sol-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.sol-tags span {
  padding: 6px 13px;
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-dim);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: 0.3s;
}
.sol-card:hover .sol-tags span {
  border-color: var(--line-bright);
  color: var(--text);
}

/* ----------------------------- Projects ----------------------------- */
.projects-wrap {
  margin-top: 64px;
}
.projects-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px var(--gutter) 32px;
  margin-inline: calc(-1 * var(--gutter));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.projects-track::-webkit-scrollbar {
  display: none;
}

.proj-card {
  flex: 0 0 clamp(320px, 38vw, 440px);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}
.proj-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-bright);
  box-shadow: 0 30px 60px -20px rgba(91, 63, 227, 0.45);
}
.proj-top {
  position: relative;
  height: 180px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 24px;
}
.proj-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0.85;
}
.proj-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.18),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.12),
      transparent 40%
    );
}
.proj-top .idx {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.5rem;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1;
}
.proj-top .cat {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.72rem;
  color: #fff;
  letter-spacing: 0.05em;
}
.proj-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.proj-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}
.proj-desc {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}
.proj-points {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.proj-points li {
  display: flex;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-dim);
}
.proj-points li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--violet-2);
  box-shadow: 0 0 8px var(--violet);
}

.projects-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.proj-progress {
  flex: 1;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  margin-right: 24px;
  overflow: hidden;
}
.proj-progress .bar {
  height: 100%;
  width: 18%;
  background: var(--grad-brand);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.proj-arrows {
  display: flex;
  gap: 12px;
}
.proj-arrows button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-bright);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--text);
  transition: 0.3s var(--ease);
}
.proj-arrows button:hover {
  background: var(--grad-brand);
  border-color: transparent;
  transform: scale(1.08);
}
.proj-arrows svg {
  width: 18px;
  height: 18px;
}

/* ----------------------------- Competitiveness ----------------------------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.adv-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.adv-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-bright);
}
.adv-card .n {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--violet-2);
  letter-spacing: 0.15em;
}
.adv-card .ic {
  width: 48px;
  height: 48px;
  margin-top: 22px;
  border-radius: 12px;
  background: var(--grad-brand-soft);
  display: grid;
  place-items: center;
  color: var(--violet-2);
}
.adv-card .ic svg {
  width: 24px;
  height: 24px;
}
.adv-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  margin-top: 22px;
}
.adv-card p {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ----------------------------- CTA / Contact ----------------------------- */
.cta {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
  border: 1px solid var(--line-bright);
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(6, 5, 26, 0.92) 30%,
    rgba(0,70,255, 0.5)
  );
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  padding: clamp(40px, 6vw, 72px);
  align-items: center;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.cta-lead {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 1.02rem;
  max-width: 46ch;
}
.cta-info {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-info .row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cta-info .row .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--violet-2);
  flex-shrink: 0;
}
.cta-info .row .ic svg {
  width: 18px;
  height: 18px;
}
.cta-info .row .tx b {
  font-family: var(--font-display);
  font-weight: 600;
  display: block;
  font-size: 0.92rem;
}
.cta-info .row .tx span {
  color: var(--text-mute);
  font-size: 0.85rem;
}

.contact-form {
  background: rgba(10, 8, 34, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}
.contact-form .field {
  margin-top: 18px;
}
.contact-form label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-mute);
  margin-bottom: 8px;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--violet-2);
  background: rgba(47, 128, 255, 0.08);
}
.contact-form textarea {
  resize: vertical;
  min-height: 90px;
}
.contact-form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 22px;
}
.form-note {
  font-size: 0.76rem;
  color: var(--text-mute);
  margin-top: 12px;
  text-align: center;
}

/* ----------------------------- Footer ----------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 64px 36px;
  margin-top: clamp(80px, 12vh, 140px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand {
  margin-bottom: 20px;
}
.footer-brand p {
  color: var(--text-mute);
  font-size: 0.9rem;
  max-width: 34ch;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col a {
  color: var(--text-mute);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-col a:hover {
  color: var(--violet-2);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--text-mute);
  font-size: 0.84rem;
}

.footer-bottom span:last-child {
  margin-left: auto;
}

/* --------------------------- Scroll progress --------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, #4d8bff, #2f80ff, #22d3ee, #38bdf8);
  background-size: 200% 100%;
  animation: gradShimmer 4s linear infinite;
  box-shadow: 0 0 12px rgba(47, 128, 255, 0.7);
  transition: width 0.1s linear;
}

/* --------------------------- Tech marquee --------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 28px;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--bg-1), var(--bg-2), var(--bg-1));
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
  color: var(--text-mute);
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-item:hover {
  color: var(--violet-2);
}
.marquee-item .star {
  color: var(--violet);
  font-size: 0.7em;
  opacity: 0.7;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------- Card 3D tilt --------------------------- */
.solutions-grid,
.adv-grid {
  perspective: 1200px;
}
.tilt {
  transform-style: preserve-3d;
  transition:
    transform 0.4s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    background 0.5s var(--ease);
  will-change: transform;
}
.tilt .tilt-pop {
  transform: translateZ(40px);
  transition: transform 0.4s var(--ease);
}

/* ----------------------------- Reveal anim ----------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 0.08s;
}
.reveal.d2 {
  transition-delay: 0.16s;
}
.reveal.d3 {
  transition-delay: 0.24s;
}
.reveal.d4 {
  transition-delay: 0.32s;
}

.hero .reveal {
  transition-duration: 1.1s;
}

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .btn-nav {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .adv-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-meta {
    gap: 24px;
  }
  .hero-qiu{
    width: 200px;
    height: 200px;
    transform: translateX(165%) translateY(-35%);
  }
  .contact-form .row2 {
    grid-template-columns: 1fr;
  }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    background: rgba(10, 8, 34, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line-bright);
    border-radius: var(--radius);
    padding: 16px;
    gap: 4px;
  }
  .nav.open a {
    padding: 13px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
