:root {
  --bg: #07111f;
  --panel: #0b1728;
  --panel-soft: #102238;
  --line: rgba(220, 232, 255, 0.14);
  --text: #f6f9ff;
  --muted: #a9b8cc;
  --blue: #1c5fae;
  --blue-bright: #4aa3ff;
  --red: #c9162b;
  --gold: #d6b46a;
  --white-soft: rgba(255, 255, 255, 0.86);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 12%, rgba(37, 86, 154, 0.2), transparent 28rem),
    linear-gradient(180deg, #06101d 0%, #081426 48%, #06101d 100%);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 0 max(32px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 14, 27, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, #ffffff 0%, #cfdcf1 100%);
  color: #081426;
  font-weight: 900;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small,
.footer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0;
}

.nav-toggle-input,
.nav-toggle-label {
  display: none;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  white-space: nowrap;
}

.primary-nav a {
  padding: 27px 0 25px;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover {
  color: #fff;
  border-color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  white-space: nowrap;
}

.header-actions .publish {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 690px;
  padding-top: 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("./assets/zhongxin-hero.png");
  background-size: cover;
  background-position: center;
  transform: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 10, 19, 0.86) 0%, rgba(5, 16, 30, 0.72) 38%, rgba(5, 16, 30, 0.48) 72%, rgba(5, 12, 21, 0.7) 100%),
    linear-gradient(180deg, rgba(5, 12, 21, 0.18) 0%, rgba(5, 12, 21, 0.85) 100%);
}

.hero-tech-layer {
  position: absolute;
  inset: 76px 0 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.network-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.78;
}

.flow-path {
  fill: none;
  stroke: rgba(126, 196, 255, 0.56);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 90 620;
  filter: drop-shadow(0 0 10px rgba(74, 163, 255, 0.34));
  animation: irregularFlow 13s ease-in-out infinite;
}

.flow-two {
  stroke: rgba(255, 255, 255, 0.34);
  stroke-dasharray: 70 540;
  animation-duration: 17s;
  animation-delay: -5s;
}

.flow-three {
  stroke: rgba(98, 165, 255, 0.42);
  stroke-dasharray: 120 700;
  animation-duration: 19s;
  animation-delay: -9s;
}

.flow-four {
  stroke: rgba(201, 22, 43, 0.32);
  stroke-dasharray: 46 680;
  animation-duration: 21s;
  animation-delay: -12s;
}

.light-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dceeff;
  box-shadow: 0 0 18px rgba(74, 163, 255, 0.95), 0 0 34px rgba(74, 163, 255, 0.34);
  opacity: 0.78;
  animation: nodePulse 3.8s ease-in-out infinite, nodeDrift 11s ease-in-out infinite;
}

.node-one {
  left: 31%;
  top: 39%;
}

.node-two {
  left: 66%;
  top: 28%;
  animation-delay: -1.2s, -4s;
}

.node-three {
  left: 74%;
  top: 58%;
  background: #c9162b;
  box-shadow: 0 0 18px rgba(201, 22, 43, 0.9), 0 0 34px rgba(201, 22, 43, 0.34);
  animation-delay: -2.1s, -7s;
}

.node-four {
  left: 43%;
  top: 72%;
  animation-delay: -2.8s, -2s;
}

@keyframes irregularFlow {
  0% {
    stroke-dashoffset: 760;
    opacity: 0;
  }
  11% {
    opacity: 0.62;
  }
  36% {
    opacity: 0.36;
  }
  63% {
    opacity: 0.7;
  }
  100% {
    stroke-dashoffset: -760;
    opacity: 0;
  }
}

@keyframes nodePulse {
  0%, 100% {
    transform: scale(0.72);
    opacity: 0.38;
  }
  45% {
    transform: scale(1.45);
    opacity: 0.9;
  }
}

@keyframes nodeDrift {
  0%, 100% {
    translate: 0 0;
  }
  23% {
    translate: 16px -10px;
  }
  47% {
    translate: -11px 18px;
  }
  71% {
    translate: 21px 11px;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0 46px;
  text-align: center;
}

.eyebrow,
.kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.eyebrow span {
  padding: 6px 9px;
  border: 1px solid rgba(214, 180, 106, 0.28);
  background: rgba(11, 25, 44, 0.62);
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.hero-subtitle {
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
}

.hero-copy {
  max-width: 660px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.hero-actions,
.cta-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  justify-content: center;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700;
}

.btn-primary {
  border-color: var(--red);
  background: linear-gradient(135deg, var(--red), #8f1020);
  color: #fff;
  box-shadow: 0 18px 44px rgba(201, 22, 43, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-channel-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  max-width: 920px;
  margin: 62px auto 0;
  padding-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 700;
}

.hero-channel-strip span {
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.045);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-head h2,
.cta-section h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

.accent-red {
  color: var(--red);
}

.accent-blue {
  color: var(--blue-bright);
}

.section-head p:not(.kicker),
.cta-section p {
  margin: 14px 0 0;
  color: var(--muted);
}

.intro-band {
  padding-top: 64px;
  padding-bottom: 64px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.intro-grid div {
  min-height: 118px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(16, 34, 56, 0.82), rgba(8, 18, 33, 0.9));
}

.intro-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 21px;
}

.intro-grid span {
  color: var(--muted);
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 34, 56, 0.92), rgba(8, 18, 33, 0.98));
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(74, 163, 255, 0.34);
  background: linear-gradient(180deg, rgba(18, 42, 68, 0.96), rgba(8, 18, 33, 0.98));
}

.media-card {
  background: linear-gradient(180deg, rgba(17, 42, 67, 0.96), rgba(8, 18, 33, 0.98));
}

.auth-card {
  border-color: rgba(214, 180, 106, 0.48);
  background: linear-gradient(180deg, rgba(28, 34, 43, 0.98), rgba(9, 18, 31, 0.98));
  box-shadow: inset 0 3px 0 rgba(214, 180, 106, 0.72);
}

.auth-card .card-type {
  display: none;
}

.live-card {
  border-color: rgba(201, 22, 43, 0.3);
}

.geo-card {
  border-color: rgba(74, 163, 255, 0.38);
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.card-index {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(74, 163, 255, 0.22);
  background: rgba(74, 163, 255, 0.08);
  color: var(--red);
}

.service-card h3 {
  margin: 32px 0 12px;
  font-size: 25px;
  letter-spacing: 0;
}

.service-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.service-card a {
  position: static;
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: #fff;
  font-weight: 800;
}

.service-card a::after {
  content: ">";
  margin-left: 8px;
  color: var(--red);
}

.cert-ribbon {
  position: absolute;
  top: 22px;
  right: 22px;
  min-width: 128px;
  padding: 7px 10px;
  border: 1px solid rgba(214, 180, 106, 0.5);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-right: 0;
}

.tag-row span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.stats-section {
  padding-top: 70px;
  padding-bottom: 82px;
}

.data-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(900px, calc(100% - 48px));
  margin: 34px auto 0;
  gap: 16px;
}

.metric {
  position: relative;
  min-height: 176px;
  padding: 38px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(15, 30, 50, 0.94), rgba(7, 16, 29, 0.98));
  text-align: center;
}

.metric::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(74, 163, 255, 0.72), transparent);
}

.metric strong {
  display: block;
  color: #fff;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  font-weight: 900;
}

.metric span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.matrix-section {
  padding-bottom: 68px;
}

.logo-matrix {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  border: 0;
  background: transparent;
}

.logo-matrix span {
  display: flex;
  min-height: 156px;
  padding: 22px 14px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(16, 30, 50, 0.78), rgba(9, 18, 32, 0.9));
  color: var(--white-soft);
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.logo-matrix span:hover {
  transform: translateY(-3px);
  border-color: rgba(74, 163, 255, 0.34);
  background: linear-gradient(180deg, rgba(18, 40, 66, 0.86), rgba(9, 18, 32, 0.94));
}

.matrix-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.matrix-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  background: currentColor;
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
}

.icon-news {
  color: #4aa3ff;
}

.icon-news::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 3h11a3 3 0 0 1 3 3v15H7a4 4 0 0 1-4-4V5a2 2 0 0 1 2-2Zm1 14a1 1 0 0 0 1 1h9V6H6v11Zm2-8h6v2H8V9Zm0 4h6v2H8v-2Z'/%3E%3C/svg%3E");
}

.icon-baike {
  color: #80b7ff;
}

.icon-baike::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H11a3 3 0 0 1 3 3v15.5a1.5 1.5 0 0 1-2.4 1.2A6.9 6.9 0 0 0 7.5 20H6a2 2 0 0 1-2-2V4.5Zm13-2.5h1a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-1.5c-.9 0-1.75.17-2.5.5V5a3 3 0 0 1 3-3Z'/%3E%3C/svg%3E");
}

.icon-video {
  color: #8798ff;
}

.icon-video::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6a3 3 0 0 1 3-3h7a3 3 0 0 1 3 3v1.2l3.4-2A1.7 1.7 0 0 1 23 6.7v10.6a1.7 1.7 0 0 1-2.6 1.5l-3.4-2V18a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V6Zm3 0v12h7V6H7Z'/%3E%3C/svg%3E");
}

.icon-live {
  color: #bd75ff;
}

.icon-live::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 8a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm0 2.4a1.6 1.6 0 1 0 0 3.2 1.6 1.6 0 0 0 0-3.2ZM6.6 5.6a1.3 1.3 0 0 1 0 1.8 6.5 6.5 0 0 0 0 9.2 1.3 1.3 0 1 1-1.8 1.8 9 9 0 0 1 0-12.8 1.3 1.3 0 0 1 1.8 0Zm12.6 0a9 9 0 0 1 0 12.8 1.3 1.3 0 0 1-1.8-1.8 6.5 6.5 0 0 0 0-9.2 1.3 1.3 0 1 1 1.8-1.8Z'/%3E%3C/svg%3E");
}

.icon-ai {
  color: #19d5e8;
}

.icon-ai::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2 14.1 8.1 20 10.2l-5.9 2.1L12 18.5l-2.1-6.2L4 10.2l5.9-2.1L12 2Zm7.2 12.8.9 2.6 2.6.9-2.6.9-.9 2.8-.9-2.8-2.8-.9 2.8-.9.9-2.6ZM5.2 14l1.1 3.2 3.2 1.1-3.2 1.1-1.1 3.2-1.1-3.2L1 18.3l3.1-1.1L5.2 14Z'/%3E%3C/svg%3E");
}

.icon-brand {
  color: #19d398;
}

.icon-brand::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2.7 1.87L8 15.26V18a3 3 0 0 1-6 0v-5a3 3 0 0 1 3-3h3.5l11.8-5.87A2 2 0 0 1 21 4ZM8 12.8l12 4.5V6.7l-12 6.1ZM5 13a1 1 0 0 0-1 1v4a1 1 0 1 0 2 0v-5H5Z'/%3E%3C/svg%3E");
}

.icon-geo {
  color: #f4c115;
}

.icon-geo::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 2.2c-1.1 1.4-1.8 3-2.1 4.8h4.2A11 11 0 0 0 12 4.2ZM4.5 14h3.1a16 16 0 0 1 0-4H4.5a7.8 7.8 0 0 0 0 4Zm.9 2A7.8 7.8 0 0 0 10 19.4 13.2 13.2 0 0 1 7.9 16H5.4Zm2.5-8A13.2 13.2 0 0 1 10 4.6 7.8 7.8 0 0 0 5.4 8h2.5Zm2 8c.3 1.8 1 3.4 2.1 4.8 1.1-1.4 1.8-3 2.1-4.8H9.9Zm4.5-2a13.8 13.8 0 0 0 0-4H9.6a13.8 13.8 0 0 0 0 4h4.8Zm1.7 2a13.2 13.2 0 0 1-2.1 3.4 7.8 7.8 0 0 0 4.6-3.4h-2.5Zm2.5-8A7.8 7.8 0 0 0 14 4.6 13.2 13.2 0 0 1 16.1 8h2.5Zm.9 2h-3.1a16 16 0 0 1 0 4h3.1a7.8 7.8 0 0 0 0-4Z'/%3E%3C/svg%3E");
}

.matrix-item strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
}

.matrix-item em {
  display: block;
  margin-top: 9px;
  color: rgba(169, 184, 204, 0.82);
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

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

.case-item {
  position: relative;
  min-height: 238px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 35, 57, 0.96), rgba(8, 18, 33, 0.98));
}

.case-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
}

.main-case {
  background: linear-gradient(180deg, rgba(22, 42, 64, 0.98), rgba(8, 18, 33, 0.98));
}

.case-item span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.case-item h3 {
  margin: 34px 0 0;
  max-width: 430px;
  font-size: 21px;
  line-height: 1.25;
}

.case-item p {
  max-width: 440px;
  margin-top: 14px;
  color: var(--muted);
}

.cta-section {
  width: min(1180px, calc(100% - 48px));
  margin: 8px auto 86px;
  justify-content: space-between;
  text-align: left;
  padding: 38px;
  border: 1px solid rgba(214, 180, 106, 0.28);
  background: linear-gradient(90deg, rgba(14, 30, 50, 0.96), rgba(10, 22, 38, 0.98));
}

.site-footer {
  padding: 42px 48px 52px;
  border-top: 1px solid var(--line);
  background: #050b14;
  color: var(--muted);
}

.footer-brand {
  color: #fff;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer p {
  max-width: 780px;
  margin: 24px 0 0;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 24px;
  }

  .primary-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .primary-nav a {
    padding: 0;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 146px;
    min-height: 720px;
  }

  .hero-inner {
    padding-top: 74px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-channel-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .data-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-matrix {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 12px 16px 14px;
    min-height: 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 22px;
  }

  .brand small {
    font-size: 12px;
  }

  .nav-toggle-label {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
  }

  .nav-toggle-label span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px 0;
    background: rgba(255, 255, 255, 0.86);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle-input:checked + .nav-toggle-label span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle-input:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle-input:checked + .nav-toggle-label span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    margin-top: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    white-space: normal;
  }

  .primary-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
    line-height: 1.2;
  }

  .primary-nav a:hover {
    border-color: rgba(201, 22, 43, 0.72);
  }

  .header-actions {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-top: 12px;
    padding-bottom: 0;
    font-size: 13px;
  }

  .nav-toggle-input:checked ~ .primary-nav,
  .nav-toggle-input:checked ~ .header-actions {
    display: grid;
  }

  .header-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
    text-align: center;
  }

  .header-actions .publish {
    padding: 0 6px;
    border-color: rgba(255, 255, 255, 0.22);
  }

  .hero {
    min-height: 700px;
    padding-top: 82px;
  }

  .hero-tech-layer {
    inset: 70px 0 0;
  }

  .hero-inner,
  .section,
  .data-section,
  .cta-section {
    width: min(100% - 32px, 1180px);
  }

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

  .intro-grid,
  .service-grid,
  .data-section,
  .logo-matrix,
  .hero-channel-strip,
  .case-wall {
    grid-template-columns: 1fr;
  }

  .auth-card {
    grid-column: span 1;
  }

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

  .cert-ribbon {
    position: static;
    display: inline-block;
    margin-bottom: 18px;
  }

  .tag-row {
    padding-right: 0;
  }

  .logo-matrix span {
    min-height: 82px;
  }

  .case-wall {
    grid-auto-rows: auto;
  }

  .case-item,
  .main-case {
    min-height: 210px;
    grid-row: auto;
  }

  .cta-section {
    margin-bottom: 60px;
    padding: 28px;
  }

  .site-footer {
    padding: 34px 24px 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-path,
  .light-node,
  .service-card,
  .logo-matrix span {
    animation: none;
    transition: none;
  }
}
