:root {
  --bg: #020914;
  --bg-soft: #061527;
  --panel: rgba(8, 25, 43, 0.82);
  --panel-strong: rgba(10, 32, 55, 0.96);
  --line: rgba(31, 160, 255, 0.34);
  --line-soft: rgba(74, 194, 255, 0.17);
  --cyan: #28c6ff;
  --blue: #1278ff;
  --mint: #37f3d1;
  --amber: #ffbf5f;
  --text: #eef8ff;
  --muted: #92a9bb;
  --dim: #526a7b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --max: 1320px;
  --radius: 18px;
  --radius-soft: 26px;
  --cut: polygon(0 18px, 18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(18, 120, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 120, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 75% 8%, rgba(40, 198, 255, 0.2), transparent 32%),
    radial-gradient(circle at 10% 38%, rgba(55, 243, 209, 0.09), transparent 32%),
    linear-gradient(180deg, #020914 0%, #04101d 46%, #020914 100%);
  background-size: 56px 56px, 56px 56px, auto, auto, auto;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(40, 198, 255, 0.12) 18.2%, transparent 18.6% 62%, rgba(40, 198, 255, 0.08) 62.2%, transparent 62.5%),
    radial-gradient(circle at 50% 0%, rgba(18, 120, 255, 0.13), transparent 44%);
  opacity: 0.7;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(2, 9, 20, 0.48));
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line-soft);
  background: rgba(2, 9, 20, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(40, 198, 255, 0.62);
  border-radius: 12px 2px 12px 2px;
  color: var(--cyan);
  font-family: "Rajdhani", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: inset 0 0 18px rgba(40, 198, 255, 0.12);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 18px;
  font-weight: 900;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  position: relative;
  padding: 10px 13px;
  color: #c6d7e5;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.header-cta {
  min-width: 126px;
  border: 1px solid rgba(40, 198, 255, 0.76);
  color: #ebfbff;
  background: rgba(18, 120, 255, 0.13);
  box-shadow: inset 0 0 18px rgba(40, 198, 255, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(8, 25, 43, 0.9);
}

.hero {
  position: relative;
  max-width: var(--max);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 64px 24px 28px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 36px 24px 42px;
  z-index: -1;
  border: 0;
  border-radius: 42px;
  background:
    radial-gradient(circle at 82% 16%, rgba(40, 198, 255, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(40, 198, 255, 0.1), transparent 35% 70%, rgba(55, 243, 209, 0.07)),
    rgba(2, 13, 25, 0.5);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28), inset 0 0 100px rgba(40, 198, 255, 0.05);
}

.hero::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 96px;
  width: 44%;
  height: 72%;
  z-index: -1;
  border-radius: 44% 56% 46% 54%;
  background: radial-gradient(circle, rgba(40, 198, 255, 0.18), transparent 68%);
  filter: blur(6px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: 44px;
  min-height: 620px;
  min-width: 0;
}

.hero-copy {
  position: relative;
  padding-left: 26px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 34px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-family: "Rajdhani", "Noto Sans SC", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(58px, 7.6vw, 112px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(40, 198, 255, 0.24);
}

.hero-title {
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: clamp(24px, 2.6vw, 42px);
  font-weight: 900;
  line-height: 1.22;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 26px;
  color: #c8d6e2;
  font-size: 18px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-tags span {
  padding: 9px 14px;
  border: 1px solid rgba(40, 198, 255, 0.32);
  border-radius: 999px;
  color: #dcefff;
  background: rgba(8, 25, 43, 0.72);
  font-size: 14px;
  font-weight: 700;
}

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

.primary-action {
  min-width: 156px;
  color: #001321;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  box-shadow: 0 14px 36px rgba(40, 198, 255, 0.22);
}

.secondary-action {
  min-width: 132px;
  border: 1px solid rgba(214, 236, 255, 0.34);
  color: #eaf8ff;
  background: rgba(8, 25, 43, 0.68);
}

.hero-portrait {
  position: relative;
  min-height: 610px;
  align-self: end;
  min-width: 0;
}

.hero-portrait::before,
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 8% -4% 4% -12%;
  z-index: -1;
  border: 1px solid rgba(40, 198, 255, 0.22);
  border-radius: 50%;
  opacity: 0.72;
}

.hero-portrait::after {
  inset: 19% 11% 15% -2%;
  border-color: rgba(55, 243, 209, 0.18);
}

.hero-portrait img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  object-position: 56% 45%;
  border-radius: 34px 8px 34px 8px;
  filter: saturate(0.96) contrast(1.05);
  -webkit-mask-image: linear-gradient(180deg, #000 0 76%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0 76%, transparent 100%);
}

.hud-card {
  position: absolute;
  right: 0;
  bottom: 96px;
  display: grid;
  gap: 8px;
  width: min(280px, 74%);
  padding: 18px 20px;
  border: 1px solid rgba(40, 198, 255, 0.58);
  border-radius: 18px 4px 18px 4px;
  background: rgba(4, 18, 32, 0.76);
  box-shadow: 0 0 36px rgba(40, 198, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hud-card span {
  position: relative;
  padding-left: 18px;
  color: #cdeeff;
  font-size: 14px;
}

.hud-card span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.metric-strip div {
  position: relative;
  padding: 24px 28px;
  border: 0;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(40, 198, 255, 0.14), rgba(8, 25, 43, 0.72) 46%, rgba(55, 243, 209, 0.08)),
    rgba(5, 20, 36, 0.68);
  box-shadow: inset 0 0 34px rgba(40, 198, 255, 0.08), 0 16px 44px rgba(0, 0, 0, 0.16);
}

.metric-strip div:last-child {
  border-right: 0;
}

dt {
  margin: 0;
  color: var(--cyan);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
}

dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.panel-section,
.matrix-section,
.clients-section,
.credentials-section,
.cases-section,
.contact-section,
.method-band {
  position: relative;
  max-width: var(--max);
  margin: 30px auto 0;
  padding: 42px 40px;
  border: 0;
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0, rgba(40, 198, 255, 0.13), transparent 24%),
    linear-gradient(135deg, rgba(40, 198, 255, 0.08), transparent 42%),
    rgba(4, 17, 31, 0.82);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.panel-section::before,
.matrix-section::before,
.clients-section::before,
.credentials-section::before,
.cases-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 4px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--mint));
  box-shadow: 0 0 22px rgba(40, 198, 255, 0.56);
}

.method-band {
  max-width: none;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  padding-left: max(40px, calc((100vw - var(--max)) / 2 + 40px));
  padding-right: max(40px, calc((100vw - var(--max)) / 2 + 40px));
  background:
    linear-gradient(90deg, transparent, rgba(40, 198, 255, 0.1), transparent),
    rgba(3, 13, 27, 0.92);
}

.section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 22px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading .eyebrow {
  grid-column: 2;
  margin: 0;
  color: rgba(87, 179, 255, 0.45);
}

.section-heading h2 {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  color: #eff9ff;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

.section-heading span {
  color: var(--muted);
  font-size: 15px;
}

.section-heading.centered {
  display: block;
  text-align: center;
}

.section-heading.centered h2 {
  white-space: normal;
}

.capability-grid,
.course-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
}

.capability-grid article,
.course-grid article {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 210px;
  padding: 32px 20px 24px;
  border: 0;
  border-radius: 24px;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(40, 198, 255, 0.1), transparent 46%),
    rgba(6, 21, 37, 0.72);
  transition: background 0.2s ease, transform 0.2s ease;
}

.capability-grid article:hover,
.course-grid article:hover,
.expertise-matrix article:hover,
.client-grid article:hover {
  transform: translateY(-3px);
  background: rgba(9, 35, 59, 0.96);
}

.capability-grid svg,
.course-grid svg,
.expertise-matrix svg {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  color: var(--cyan);
  filter: drop-shadow(0 0 12px rgba(40, 198, 255, 0.4));
}

h3 {
  margin-bottom: 10px;
  color: #f2faff;
  font-size: 20px;
  line-height: 1.35;
}

.capability-grid p,
.course-grid span,
.client-grid span,
.credential-grid span,
.contact-section p {
  margin: 0;
  color: var(--muted);
}

.method-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 42px;
}

.method-line::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 28px;
  height: 2px;
  background: linear-gradient(90deg, #8c4dff, var(--cyan), #ff61c7);
  box-shadow: 0 0 18px rgba(40, 198, 255, 0.42);
}

.method-line article {
  position: relative;
  padding: 0 16px;
  text-align: center;
}

.method-line span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  color: #fff;
  background: #061527;
  font-family: "Rajdhani", sans-serif;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 0 22px rgba(40, 198, 255, 0.45);
}

.method-line article:nth-child(1) span,
.method-line article:nth-child(4) span {
  border-color: #ff61c7;
  box-shadow: 0 0 22px rgba(255, 97, 199, 0.42);
}

.method-line p {
  margin-bottom: 0;
  color: var(--muted);
}

.expertise-matrix {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
}

.expertise-matrix article {
  min-height: 300px;
  padding: 30px 22px;
  border: 0;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(40, 198, 255, 0.1), transparent 46%),
    rgba(6, 21, 37, 0.72);
  transition: background 0.2s ease, transform 0.2s ease;
}

.expertise-matrix ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: #b7c9d8;
}

.expertise-matrix li::marker {
  color: var(--amber);
}

.course-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.course-grid article {
  min-height: 260px;
}

.course-grid strong {
  min-height: 72px;
  color: #f2faff;
  font-size: 18px;
  line-height: 1.45;
}

.course-grid span {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.client-grid article {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 24px;
  border: 0;
  border-radius: 22px;
  background: rgba(8, 25, 43, 0.66);
  transition: background 0.2s ease, transform 0.2s ease;
}

.client-grid strong {
  color: #fff;
  font-size: 22px;
}

.credential-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

figure {
  margin: 0;
}

.credential-grid article,
.book-feature {
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: rgba(8, 25, 43, 0.72);
}

.book-feature {
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  min-height: 260px;
  padding: 18px;
}

.book-feature img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  background: #fff;
}

.book-feature figcaption,
.credential-grid article div {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.credential-grid strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.35;
}

.credential-grid article img {
  width: 100%;
  height: 170px;
  padding: 14px;
  object-fit: contain;
  background: #fff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery figure {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: rgba(8, 25, 43, 0.78);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.gallery figure:hover {
  transform: translateY(-4px);
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 13px 16px 16px;
  color: #e9f8ff;
  background: linear-gradient(180deg, transparent, rgba(2, 9, 20, 0.86));
  font-size: 14px;
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 42px;
  background:
    linear-gradient(90deg, rgba(40, 198, 255, 0.13), rgba(55, 243, 209, 0.05)),
    rgba(4, 17, 31, 0.9);
}

.contact-section h2 {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.15;
}

.contact-section p:last-child {
  font-size: 22px;
  line-height: 1.75;
}

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

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 82px;
    display: none;
    flex-direction: column;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(2, 9, 20, 0.96);
  }

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

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

  .hero-portrait {
    min-height: auto;
    overflow: hidden;
  }

  .hero-portrait img {
    height: 520px;
  }

  .metric-strip,
  .capability-grid,
  .expertise-matrix,
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-line,
  .client-grid,
  .gallery,
  .credential-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-feature {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    padding: 0 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 42px 18px 18px;
  }

  .hero::before {
    inset: 18px;
  }

  .hero-grid {
    gap: 20px;
    min-height: auto;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-copy::before {
    display: none;
  }

  h1 {
    font-size: clamp(48px, 18vw, 78px);
  }

  .hero-title {
    font-size: 25px;
  }

  .hero-portrait img {
    height: 420px;
    object-position: 56% 35%;
  }

  .hud-card {
    position: static;
    width: auto;
    margin-top: -58px;
  }

  .metric-strip,
  .capability-grid,
  .method-line,
  .expertise-matrix,
  .course-grid,
  .client-grid,
  .gallery,
  .credential-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .gallery figure:first-child,
  .gallery figure:last-child {
    grid-column: auto;
    grid-row: auto;
  }

  .metric-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .metric-strip div:last-child {
    border-bottom: 0;
  }

  .panel-section,
  .matrix-section,
  .clients-section,
  .credentials-section,
  .cases-section,
  .contact-section,
  .method-band {
    margin-top: 18px;
    padding: 30px 18px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 10px;
    white-space: normal;
  }

  .method-line::before {
    display: none;
  }

  .book-feature {
    grid-template-columns: 1fr;
  }
}
