:root {
  color-scheme: dark;
  --ink: #f7f8ff;
  --muted: #b8bed4;
  --soft: #e9ecff;
  --deep: #07080d;
  --panel: #10121a;
  --panel-2: #171824;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #66e7ff;
  --violet: #9a72ff;
  --magenta: #ff5ec4;
  --amber: #ffb86b;
  --green: #42d99e;
  --radius: 8px;
  --nav-height: 74px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 13, 0.96), rgba(15, 13, 24, 0.98) 42%, #07080d),
    #07080d;
  color: var(--ink);
  font-family:
    "Inter",
    "PingFang SC",
    "Microsoft YaHei",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

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

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

::selection {
  background: rgba(102, 231, 255, 0.3);
  color: #fff;
}

.site-nav {
  min-height: var(--nav-height);
  background: rgba(7, 8, 13, 0.46);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.site-nav.is-scrolled,
.site-nav:has(.navbar-collapse.show) {
  background: rgba(7, 8, 13, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.navbar-brand {
  gap: 0.7rem;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.nav-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 600;
  padding-inline: 0.86rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.42rem 0.56rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(102, 231, 255, 0.18);
}

.btn {
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0;
}

.btn-luminous {
  color: #071016;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  border: 0;
  box-shadow: 0 14px 34px rgba(102, 231, 255, 0.2);
}

.btn-luminous:hover,
.btn-luminous:focus {
  color: #071016;
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(255, 184, 107, 0.22);
}

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

.btn-ghost:hover,
.btn-ghost:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(102, 231, 255, 0.44);
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #07080d;
  background-image:
    linear-gradient(90deg, rgba(7, 8, 13, 0.84), rgba(7, 8, 13, 0.56) 44%, rgba(7, 8, 13, 0.2)),
    var(--hero-image);
  background-position: center right;
  background-size: cover;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 36%;
  background: linear-gradient(180deg, rgba(7, 8, 13, 0), #07080d);
}

.hero {
  min-height: 72svh;
  padding: calc(var(--nav-height) + 2.6rem) 0 3rem;
}

.page-hero {
  min-height: 52svh;
  padding: calc(var(--nav-height) + 3.4rem) 0 4.4rem;
}

.hero-content,
.page-hero-content {
  max-width: 840px;
}

.hero-brand {
  width: min(340px, 82vw);
  max-height: 86px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1rem;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.46));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

h1,
.display-title {
  margin: 0;
  color: #fff;
  font-size: 4.1rem;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.page-hero h1 {
  font-size: 3.6rem;
}

.hero h1 span {
  display: block;
}

.hero .lead,
.page-hero .lead {
  max-width: 720px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.hero-tags span,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0.28rem 0.72rem;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 700;
}

.section-pad {
  padding: 6rem 0;
}

.section-pad-sm {
  padding: 4.5rem 0;
}

.section-kicker {
  margin-bottom: 0.65rem;
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 800;
}

.section-title {
  margin: 0;
  color: #fff;
  font-size: 2.65rem;
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-copy {
  color: var(--muted);
  font-size: 1rem;
}

.surface {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-strip {
  margin-top: -3.2rem;
  position: relative;
  z-index: 3;
}

.stat-item {
  min-height: 132px;
  padding: 1.35rem;
}

.stat-value {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}

.stat-label {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--panel);
  background-image:
    linear-gradient(180deg, rgba(7, 8, 13, 0.06), rgba(7, 8, 13, 0.92)),
    var(--card-image);
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102, 231, 255, 0.2), rgba(255, 94, 196, 0.12) 44%, rgba(255, 184, 107, 0.1));
  opacity: 0;
  transition: opacity 0.22s ease;
}

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

.service-card-body {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  width: 100%;
  padding: 1.35rem;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  color: #071016;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  border-radius: var(--radius);
  font-size: 1.32rem;
}

.service-card h3,
.feature-card h3,
.case-card h3,
.process-step h3 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 1.28rem;
  line-height: 1.32;
  font-weight: 820;
}

.service-card p,
.feature-card p,
.case-card p,
.process-step p,
.timeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.feature-card,
.process-step,
.case-card,
.contact-panel,
.timeline-item,
.value-card,
.deliverable {
  height: 100%;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card .bi,
.process-step .bi,
.value-card .bi,
.deliverable .bi {
  color: var(--cyan);
  font-size: 1.65rem;
}

.band {
  background:
    linear-gradient(90deg, rgba(102, 231, 255, 0.1), rgba(154, 114, 255, 0.12), rgba(255, 184, 107, 0.1)),
    #0c0d13;
  border-block: 1px solid var(--line);
}

.process-step {
  position: relative;
  min-height: 220px;
}

.step-number {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  color: rgba(255, 255, 255, 0.12);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}

.split-media {
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: #11131b;
  background-image:
    linear-gradient(180deg, rgba(7, 8, 13, 0), rgba(7, 8, 13, 0.54)),
    var(--media-image);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--violet), var(--amber));
}

.timeline-item {
  position: relative;
  margin-left: 3rem;
  margin-bottom: 1rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.55rem;
  top: 1.45rem;
  width: 14px;
  height: 14px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(102, 231, 255, 0.13);
}

.case-card {
  overflow: hidden;
  padding: 0;
}

.case-image {
  min-height: 230px;
  background-color: #11131b;
  background-image:
    linear-gradient(180deg, rgba(7, 8, 13, 0.02), rgba(7, 8, 13, 0.18)),
    var(--case-image);
  background-position: center;
  background-size: cover;
}

.case-body {
  padding: 1.35rem;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.solution-nav .nav-link {
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0 0.35rem 0.6rem 0;
  font-weight: 750;
}

.solution-nav .nav-link.active {
  color: #071016;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  border-color: transparent;
}

.tab-pane .surface {
  padding: 1.6rem;
}

.contact-form .form-control,
.contact-form .form-select {
  min-height: 52px;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form textarea.form-control {
  min-height: 150px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(102, 231, 255, 0.58);
  box-shadow: 0 0 0 0.2rem rgba(102, 231, 255, 0.12);
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.form-feedback {
  display: none;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  color: #071016;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: var(--radius);
  font-weight: 800;
}

.form-feedback.is-visible {
  display: block;
}

.footer {
  padding: 3.2rem 0 2rem;
  background: #05060a;
  border-top: 1px solid var(--line);
}

.footer-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: #fff;
}

.home-footer {
  padding: 1.15rem 0 1.1rem;
  background: #05060a;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: rgba(247, 248, 255, 0.82);
  font-size: 0.96rem;
  line-height: 1.55;
  text-align: center;
  white-space: normal;
}

.footer-line,
.footer-records,
.footer-police-record {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.footer-records {
  gap: 0.45rem;
}

.footer-record-link {
  color: #9ea7ff;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.footer-police-record {
  gap: 0.28rem;
}

.footer-police-icon {
  width: 16px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.subtle-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.subtle-list li {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.8rem;
  color: var(--muted);
}

.subtle-list .bi {
  flex: 0 0 auto;
  color: var(--green);
  margin-top: 0.15rem;
}

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

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

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0 1.2rem;
  }

  .hero,
  .page-hero {
    background-image:
      linear-gradient(90deg, rgba(7, 8, 13, 0.9), rgba(7, 8, 13, 0.7)),
      var(--hero-image);
    background-position: 58% center;
  }

  h1,
  .display-title {
    font-size: 3.1rem;
  }

  .page-hero h1 {
    font-size: 2.85rem;
  }

  .section-title {
    font-size: 2.15rem;
  }

  .stat-strip {
    margin-top: 0;
  }

  .split-media {
    min-height: 360px;
  }
}

@media (max-width: 575.98px) {
  :root {
    --nav-height: 66px;
  }

  .brand-text small {
    display: none;
  }

  .nav-logo {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 74svh;
    padding: calc(var(--nav-height) + 2rem) 0 2.6rem;
  }

  .page-hero {
    min-height: 48svh;
    padding: calc(var(--nav-height) + 2.5rem) 0 3.4rem;
  }

  h1,
  .display-title {
    font-size: 2.18rem;
    line-height: 1.08;
  }

  .page-hero h1 {
    font-size: 2.08rem;
  }

  .hero .lead,
  .page-hero .lead {
    font-size: 0.98rem;
  }

  .hero-brand {
    width: min(285px, 78vw);
    max-height: 72px;
    margin-bottom: 0.9rem;
  }

  .section-pad {
    padding: 4.2rem 0;
  }

  .section-pad-sm {
    padding: 3.2rem 0;
  }

  .section-title {
    font-size: 1.82rem;
  }

  .service-card {
    min-height: 310px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stat-item {
    min-height: auto;
  }

  .home-footer {
    padding: 1.5rem 0 1.35rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.08rem;
    font-size: clamp(0.75rem, 3.2vw, 1rem);
    line-height: 1.45;
  }

  .footer-records {
    flex-wrap: wrap;
    row-gap: 0.02rem;
    column-gap: 0.42rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
