:root {
  --bg-deep: #071425;
  --bg-mid: #0a1d33;
  --surface: #0f223b;
  --surface-soft: #17345a;
  --surface-strong: #132b4a;
  --text: #f2f7ff;
  --text-muted: #a9bed9;
  --line: rgba(255, 255, 255, 0.16);
  --primary: #1db7ff;
  --accent: #ff8f3d;
  --container: min(1120px, calc(100% - 3rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% -6%, rgba(29, 183, 255, 0.24), transparent 44%),
    radial-gradient(circle at 90% 8%, rgba(255, 143, 61, 0.2), transparent 40%),
    linear-gradient(180deg, var(--bg-deep) 0%, #08192d 48%, var(--bg-mid) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.24;
  z-index: -1;
}

a:not([class]) {
  color: #7ed9ff;
  text-decoration-color: rgba(126, 217, 255, 0.65);
  text-underline-offset: 0.14em;
}

a:not([class]):hover {
  color: #ffd1af;
  text-decoration-color: rgba(255, 209, 175, 0.82);
}

a:not([class]):visited {
  color: #7ed9ff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(6, 16, 30, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #071425;
  background: linear-gradient(135deg, #7dd7ff 0%, #1db7ff 60%, #ffab70 100%);
  box-shadow: 0 12px 24px rgba(29, 183, 255, 0.3);
}

.brand-name {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}

.right-tools {
  display: inline-flex;
  align-items: center;
}

.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 0.3rem;
}

.lang-tag-trigger {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.34rem 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: color 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.lang-tag-trigger:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.36);
}

.lang-tag-trigger:focus-visible {
  outline: 2px solid rgba(29, 183, 255, 0.42);
  outline-offset: 2px;
}

.lang-tag-trigger[aria-expanded="true"] {
  color: #06203a;
  border-color: transparent;
  background: linear-gradient(108deg, #7bd8ff 0%, #1db7ff 58%, #ffb67f 100%);
}

.lang-tag-dot {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #7dd7ff 0%, #1db7ff 60%, #ffab70 100%);
  box-shadow: 0 0 0 0.12rem rgba(29, 183, 255, 0.25);
}

.lang-tag-text {
  line-height: 1;
}

.lang-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.46rem);
  min-width: 176px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 0.62rem;
  background:
    linear-gradient(180deg, rgba(10, 29, 51, 0.98) 0%, rgba(7, 20, 37, 0.98) 100%);
  box-shadow: 0 16px 38px rgba(3, 12, 22, 0.52);
  backdrop-filter: blur(10px);
  z-index: 120;
}

.lang-dropdown[hidden] {
  display: none;
}

.lang-dropdown-label {
  display: block;
  margin-bottom: 0.44rem;
  color: var(--text-muted);
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
  padding: 0.48rem 0.62rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 0.85rem;
  line-height: 1.2;
  cursor: pointer;
}

.lang-select:focus-visible {
  outline: 2px solid rgba(29, 183, 255, 0.42);
  outline-offset: 2px;
}

.lang-select option {
  color: #0d1e34;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  opacity: 0.86;
  position: relative;
  transition: opacity 0.24s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.6rem 0 2.2rem;
}

.hero::after {
  content: "";
  position: absolute;
  width: clamp(280px, 45vw, 620px);
  aspect-ratio: 1;
  right: -16%;
  top: 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(29, 183, 255, 0.35), transparent 62%),
    radial-gradient(circle at 68% 68%, rgba(255, 143, 61, 0.26), transparent 58%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.92fr;
  gap: 1.8rem;
  align-items: start;
  position: relative;
}

.eyebrow {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #6fd3ff;
  font-size: 0.76rem;
}

.hero h1 {
  margin-top: 0.62rem;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  line-height: 1.18;
  font-size: clamp(2.05rem, 5vw, 3.55rem);
  max-width: 18ch;
}

.hero-desc {
  margin-top: 1.2rem;
  max-width: 62ch;
  color: var(--text-muted);
}

.hero-desc strong {
  color: #cde8ff;
  font-weight: 700;
}

.hero-tagline {
  margin-top: 0.95rem;
  color: #ffd9bc;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.hero-actions {
  margin-top: 1.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.86rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.74rem 1.36rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.btn-primary {
  color: #051326;
  background: linear-gradient(110deg, #6bd1ff 0%, #1db7ff 56%, #ffac72 100%);
  box-shadow: 0 12px 24px rgba(29, 183, 255, 0.3);
}

.hero-actions .btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #f4f9ff;
  background:
    linear-gradient(
      115deg,
      #62d4ff 0%,
      #4bc8ff 16%,
      #7d82ff 32%,
      #3fa8ff 48%,
      #52dbff 64%,
      #ffa467 82%,
      #ffd26e 100%
    );
  background-size: 320% 320%;
  background-position: 0% 50%;
  text-shadow: 0 1px 2px rgba(5, 18, 34, 0.35);
  will-change: background-position, box-shadow;
  animation: cta-gradient-flow 2.8s linear infinite, cta-glow-pulse 1.9s ease-in-out infinite;
}

.hero-actions .btn-primary::after {
  content: "";
  position: absolute;
  inset: -32%;
  background: linear-gradient(
    112deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.78) 46%,
    rgba(188, 247, 255, 0.78) 52%,
    rgba(255, 255, 255, 0) 66%
  );
  transform: translateX(-115%) rotate(8deg);
  mix-blend-mode: soft-light;
  z-index: 0;
  pointer-events: none;
  animation: cta-light-sweep 1.95s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hero-actions .btn-primary::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.28), transparent 34%),
    radial-gradient(circle at 78% 72%, rgba(255, 183, 138, 0.34), transparent 36%),
    radial-gradient(circle at 55% 35%, rgba(147, 177, 255, 0.36), transparent 40%);
  mix-blend-mode: screen;
  z-index: 0;
  pointer-events: none;
  animation: cta-prism-orbit 3.2s ease-in-out infinite;
}

.btn-ghost {
  color: #d8e9ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(40, 178, 255, 0.55), 0 0 0 1px rgba(255, 197, 130, 0.36);
}

.btn-ghost:hover {
  border-color: rgba(29, 183, 255, 0.64);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  background:
    linear-gradient(165deg, rgba(31, 62, 100, 0.8) 0%, rgba(19, 43, 74, 0.9) 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem 1.25rem;
  box-shadow: 0 24px 52px rgba(2, 8, 20, 0.36);
  animation: floating 5.8s ease-in-out infinite;
}

.hero-panel h2 {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.hero-panel ul {
  list-style: none;
  display: grid;
  gap: 0.78rem;
}

.hero-panel li {
  color: var(--text-muted);
  font-size: 0.94rem;
  padding-bottom: 0.68rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
}

.hero-panel li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero-panel li span {
  display: block;
  color: #ffe2cb;
  font-weight: 700;
  margin-bottom: 0.16rem;
}

.metrics {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.metrics article {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(15, 34, 59, 0.72);
  padding: 1.06rem 1rem;
}

.metrics h3 {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 1.72rem;
  line-height: 1.1;
  color: #79d8ff;
}

.metrics p {
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section {
  padding: 4.4rem 0 1rem;
}

.section-head {
  margin-bottom: 1.58rem;
}

.section h2 {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.24rem);
  letter-spacing: 0.01em;
}

.card-grid {
  display: grid;
  gap: 0.95rem;
}

.services-grid,
.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.case-card {
  background: rgba(15, 34, 59, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.18rem 1.08rem 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover,
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 209, 255, 0.6);
  background: rgba(23, 52, 90, 0.84);
}

.service-card h3,
.case-card h3 {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 1.17rem;
  margin-bottom: 0.44rem;
}

.service-card p,
.case-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.service-card ul {
  margin-top: 0.86rem;
  list-style: none;
  display: grid;
  gap: 0.48rem;
}

.service-card li {
  color: #d2e5ff;
  font-size: 0.9rem;
  position: relative;
  padding-left: 1rem;
}

.service-card li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  position: absolute;
  left: 0;
  top: 0.54rem;
}

.case-card span {
  margin-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  color: #ffe2cb;
  border: 1px solid rgba(255, 143, 61, 0.45);
  border-radius: 999px;
  padding: 0.26rem 0.68rem;
}

.process-list {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-list li {
  counter-increment: step;
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(15, 34, 59, 0.76);
  padding: 1.22rem 1rem 1rem;
}

.process-list li::before {
  content: "0" counter(step);
  position: absolute;
  top: -0.78rem;
  left: 1rem;
  width: 2.06rem;
  height: 2.06rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-weight: 700;
  color: #041122;
  background: linear-gradient(135deg, #82d9ff, #ffb47f);
}

.process-list h3 {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  margin-bottom: 0.45rem;
  font-size: 1.04rem;
}

.process-list p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact {
  margin-top: 3rem;
  border: 1px solid rgba(109, 209, 255, 0.35);
  border-radius: 24px;
  padding: 2rem 1.2rem;
  background:
    linear-gradient(145deg, rgba(29, 183, 255, 0.17), rgba(255, 143, 61, 0.13));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 1.1rem;
  align-items: stretch;
}

.contact-grid-single {
  grid-template-columns: 1fr;
}

.contact-copy h2 {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 0.52rem;
}

.contact-copy p {
  margin-top: 0.66rem;
  color: #d7e8fc;
}

.contact-points {
  list-style: none;
  margin-top: 0.86rem;
  display: grid;
  gap: 0.5rem;
}

.contact-points li {
  color: #d7e8fc;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
}

.contact-global {
  margin-top: 0.86rem;
  color: #ffe4cf;
  font-size: 0.9rem;
}

.contact-global a {
  color: #77d8ff;
  text-decoration: none;
  font-weight: 600;
}

.contact-global a:visited {
  color: #77d8ff;
}

.contact-global a:hover {
  color: #ffd1af;
}

.wechat-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 27, 49, 0.78);
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.wechat-card h3 {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 1.22rem;
}

.wechat-meta {
  font-size: 0.92rem;
  margin-top: 0.32rem;
  color: #d7e8fc;
}

.wechat-code {
  margin: 0.82rem auto 0;
  width: min(240px, 86%);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #ffffff;
  padding: 0.45rem;
}

.wechat-code img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.wechat-tip {
  margin-top: 0.72rem;
  color: #ffd4b3;
  font-size: 0.88rem;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: rgba(7, 20, 37, 0.7);
}

.footer-wrap {
  min-height: 82px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer-wrap p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.icp a {
  color: #77d8ff;
  text-decoration: none;
  font-weight: 600;
}

.icp a:visited {
  color: #77d8ff;
}

.icp a:hover {
  color: #ffd1af;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.78s ease, transform 0.78s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy > * {
  animation: rise-in 0.82s ease both;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 0.08s;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 0.16s;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes cta-gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  35% {
    background-position: 100% 40%;
  }
  70% {
    background-position: 60% 100%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes cta-glow-pulse {
  0%,
  100% {
    box-shadow: 0 12px 26px rgba(45, 182, 255, 0.42), 0 0 0 1px rgba(109, 215, 255, 0.28);
  }
  50% {
    box-shadow: 0 18px 40px rgba(71, 166, 255, 0.58), 0 0 0 1px rgba(255, 196, 120, 0.52);
  }
}

@keyframes cta-light-sweep {
  0% {
    transform: translateX(-115%) rotate(8deg);
    opacity: 0.1;
  }
  100% {
    transform: translateX(128%) rotate(8deg);
    opacity: 0.92;
  }
}

@keyframes cta-prism-orbit {
  0%,
  100% {
    transform: translate3d(-1%, -2%, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(2%, 3%, 0) scale(1.05);
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  :root {
    --container: min(1120px, calc(100% - 2rem));
  }

  .nav-wrap {
    min-height: 72px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.58rem 0;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.86rem;
    overflow-x: auto;
    padding-bottom: 0.12rem;
    scrollbar-width: thin;
  }

  .right-tools {
    width: 100%;
    justify-content: flex-start;
  }

  .main-nav a {
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .lang-switcher {
    margin-left: auto;
    flex-shrink: 0;
  }

  .lang-tag-trigger {
    padding: 0.34rem 0.6rem;
  }

  .lang-dropdown {
    min-width: 162px;
  }

  .hero {
    padding-top: 4.2rem;
  }

  .hero h1 {
    max-width: none;
  }

  .metrics,
  .services-grid,
  .case-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 3.7rem;
  }

  .contact {
    margin-top: 2.2rem;
    border-radius: 18px;
  }

  .contact-points li {
    font-size: 0.86rem;
  }

  .wechat-code {
    width: min(200px, 82%);
  }

  .footer-wrap {
    min-height: 90px;
    justify-content: center;
    text-align: center;
  }
}
