:root {
  --brand: #168bd2;
  --brand-deep: #063d76;
  --ink: #09111f;
  --navy: #071526;
  --panel: #0d2138;
  --line: rgba(255, 255, 255, 0.14);
  --muted: #607086;
  --soft: #eef6fb;
  --white: #ffffff;
  --cyan: #31d6ff;
  --gold: #d5a444;
  --shadow: 0 24px 70px rgba(7, 21, 38, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.7;
  background:
    linear-gradient(90deg, rgba(22, 139, 210, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(22, 139, 210, 0.035) 1px, transparent 1px),
    #f7fbff;
  background-size: 56px 56px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(9, 17, 31, 0.08);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-link img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.brand-name {
  display: grid;
  gap: 1px;
}

.brand-name strong {
  color: var(--brand-deep);
  font-size: 18px;
  line-height: 1.15;
}

.brand-name span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(9, 17, 31, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-deep);
  font-size: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 8px;
  color: #26384f;
  font-size: 15px;
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--brand);
  background: rgba(22, 139, 210, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #08b8df);
  box-shadow: 0 16px 34px rgba(22, 139, 210, 0.28);
}

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

.btn-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 10, 24, 0.8) 0%, rgba(3, 10, 24, 0.42) 42%, rgba(3, 10, 24, 0.08) 100%),
    url("../images/banner-home-3d-logo-side.jpg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 210px;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0) 0%, rgba(247, 251, 255, 0.22) 42%, #f7fbff 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 94px 0 120px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: var(--cyan);
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.metric {
  padding: 22px;
  background: rgba(3, 10, 24, 0.24);
}

.metric strong {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1.1;
}

.metric span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
}

.section.alt {
  background:
    linear-gradient(135deg, rgba(22, 139, 210, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(213, 164, 68, 0.08), transparent 28%),
    #fff;
}

.section.alt::before,
.section:not(.dark)::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(22, 139, 210, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(22, 139, 210, 0.055) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.58;
}

.section.alt::after {
  position: absolute;
  top: -120px;
  right: -12vw;
  width: 44vw;
  height: 320px;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(49, 214, 255, 0.18), rgba(22, 139, 210, 0.03));
  clip-path: polygon(12% 0, 100% 18%, 86% 100%, 0 72%);
}

.section.dark {
  color: #fff;
  background:
    linear-gradient(112deg, transparent 0 46%, rgba(49, 214, 255, 0.1) 46% 48%, transparent 48% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 74px),
    linear-gradient(135deg, #071526, #0b2542 62%, #071526);
}

.container {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: 0;
}

.dark .section-title {
  color: #fff;
}

.section-desc {
  max-width: 640px;
  margin: 12px 0 0;
  color: var(--muted);
}

.dark .section-desc {
  color: rgba(255, 255, 255, 0.72);
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.service-card,
.case-card,
.contact-panel,
.about-panel,
.stat-card {
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-card,
.service-card,
.about-panel,
.stat-card {
  padding: 28px;
}

.feature-card {
  border-top: 3px solid var(--brand);
}

.feature-card .num,
.service-card .num {
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.feature-card h3,
.service-card h3,
.about-panel h3 {
  margin: 12px 0 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}

.feature-card p,
.service-card p,
.about-panel p {
  margin: 0;
  color: var(--muted);
}

.service-card ul,
.plain-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.plain-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.service-card li + li,
.plain-list li + li {
  margin-top: 8px;
}

.service-card li::before,
.plain-list li::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 999px;
  background: var(--brand);
}

.stats-band {
  position: relative;
  margin-top: -78px;
  z-index: 2;
  padding: 0 0 26px;
}

.stats-band::before {
  position: absolute;
  inset: -20px 0 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0) 0%, #f7fbff 42%, #f7fbff 100%),
    linear-gradient(110deg, rgba(22, 139, 210, 0.08), transparent 38%),
    linear-gradient(270deg, rgba(49, 214, 255, 0.1), transparent 44%);
}

.stat-card {
  border: 1px solid rgba(22, 139, 210, 0.12);
}

.stat-card strong {
  display: block;
  color: var(--brand-deep);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.stat-card span {
  color: var(--muted);
  font-size: 14px;
}

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

.flow-step {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.flow-step b {
  color: var(--cyan);
}

.flow-step h3 {
  margin: 12px 0 8px;
  font-size: 24px;
}

.flow-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.case-card {
  overflow: hidden;
  border: 1px solid rgba(9, 17, 31, 0.08);
  width: 100%;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}

button.case-card {
  appearance: none;
}

.case-card[data-lightbox] {
  cursor: zoom-in;
}

.case-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #d8e8f5;
  transition: transform 0.35s ease;
}

.case-card:hover img {
  transform: scale(1.04);
}

.case-card:focus-visible {
  outline: 3px solid rgba(49, 214, 255, 0.82);
  outline-offset: 3px;
}

.case-card h3 {
  margin: 0;
  padding: 16px 18px 18px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(22, 139, 210, 0.22);
  border-radius: 8px;
  color: var(--brand-deep);
  background: #fff;
  cursor: pointer;
}

.filter-btn.is-active {
  color: #fff;
  background: var(--brand);
}

.case-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(3, 10, 24, 0.84);
  backdrop-filter: blur(10px);
}

.case-lightbox.is-open {
  display: grid;
}

.case-lightbox__panel {
  position: relative;
  width: min(1040px, 100%);
}

.case-lightbox__image {
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 8px;
  background: #071526;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.case-lightbox__title {
  margin: 14px 56px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.case-lightbox__close {
  position: absolute;
  right: 0;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.page-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 15, 31, 0.88), rgba(4, 15, 31, 0.46)),
    url("../images/banner-about.jpg") center / cover no-repeat;
}

.page-hero.about-hero {
  background:
    linear-gradient(90deg, rgba(4, 15, 31, 0.88), rgba(4, 15, 31, 0.46)),
    url("../images/banner-about.jpg") center / cover no-repeat;
}

.page-hero.services-hero {
  background:
    linear-gradient(90deg, rgba(4, 15, 31, 0.86), rgba(4, 15, 31, 0.42)),
    url("../images/banner-services.jpg") center / cover no-repeat;
}

.page-hero.cases-hero {
  background:
    linear-gradient(90deg, rgba(4, 15, 31, 0.88), rgba(4, 15, 31, 0.4)),
    url("../images/banner-cases.jpg") center / cover no-repeat;
}

.page-hero.contact-hero {
  background:
    linear-gradient(90deg, rgba(4, 15, 31, 0.9), rgba(4, 15, 31, 0.42)),
    url("../images/map-beixiaobei.jpg") center / cover no-repeat;
}

.page-hero .container {
  padding: 92px 0;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.about-panel {
  min-height: 100%;
}

.quote-band {
  padding: 54px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(22, 139, 210, 0.9), rgba(7, 21, 38, 0.95)),
    url("../images/cases/venue-nights.jpg") center / cover no-repeat;
}

.quote-band h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
}

.contact-panel {
  padding: 34px;
}

.contact-panel h2 {
  margin: 0 0 18px;
  font-size: 30px;
}

.contact-row {
  padding: 18px 0;
  border-top: 1px solid rgba(9, 17, 31, 0.1);
}

.contact-row span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.contact-row strong,
.contact-row a {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.map-frame {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.map-frame img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #06101f;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  color: #fff;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.icp {
  color: rgba(255, 255, 255, 0.58);
}

.footer-links a:hover {
  color: var(--cyan);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 12px;
    border: 1px solid rgba(9, 17, 31, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 80px 0 110px;
  }

  .hero-metrics,
  .grid-4,
  .grid-3,
  .flow,
  .case-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .container,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand-name span {
    display: none;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(3, 10, 24, 0.9), rgba(3, 10, 24, 0.48)),
      url("../images/banner-home-3d-logo-side.jpg") 62% center / cover no-repeat;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .hero-copy,
  .page-hero p {
    font-size: 17px;
  }

  .hero-metrics,
  .grid-4,
  .grid-3,
  .flow,
  .case-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .stats-band {
    margin-top: 0;
    padding-top: 24px;
  }

  .quote-band {
    padding: 34px 24px;
  }

  .footer-inner {
    display: grid;
  }
}
