:root {
  --ink: #102f3a;
  --muted: #5d737b;
  --line: #d9e6e7;
  --blue: #073b63;
  --teal: #0b6f79;
  --gold: #c7923d;
  --gold-soft: #f6ead5;
  --paper: #f7fbfb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(7, 59, 99, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f4f7f7;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.72;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 230, 231, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 300px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 3px solid var(--blue);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.brand-title {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  font-size: 13px;
  font-weight: 700;
  color: #244852;
}

.nav-links a {
  padding: 8px 8px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  background: #edf8f7;
}

.nav-cta {
  color: #fff !important;
  background: var(--blue) !important;
  padding: 8px 14px !important;
}

.section {
  padding: 82px 0;
}

.section.tight {
  padding: 56px 0;
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 720px;
  color: #fff;
  background: linear-gradient(120deg, rgba(7, 59, 99, 0.98) 0%, rgba(7, 59, 99, 0.94) 46%, rgba(11, 111, 121, 0.9) 72%, rgba(184, 132, 50, 0.84) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 70px;
  width: 680px;
  height: 520px;
  background: url("images/hero-network.svg") center / cover no-repeat;
  opacity: 0.18;
}

.hero-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.16;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 2.9vw, 40px);
  line-height: 1.26;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.35;
}

.lead {
  max-width: 720px;
  color: #dceced;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  color: #122a32;
  background: var(--gold);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
}

.hero-panel {
  padding: 16px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.hero-panel img {
  border-radius: 6px;
}

.hero-dashboard {
  background: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.stat {
  min-height: 128px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  color: var(--teal);
  font-size: 30px;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p,
.card p,
.text-muted {
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

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

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

.card {
  height: 100%;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 59, 99, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover,
.price-card:hover,
.certificate-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 111, 121, 0.38);
  box-shadow: 0 18px 42px rgba(7, 59, 99, 0.12);
}

.card.accent {
  border-top: 4px solid var(--gold);
}

.number {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 6px;
  font-weight: 900;
}

.image-frame {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.data-stream {
  position: relative;
  min-height: 220px;
  padding: 34px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, #073b63, #0b6f79);
  border-radius: 10px;
}

.data-stream::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 35%, rgba(255,255,255,.28) 0 6px, transparent 7px),
    radial-gradient(circle at 44% 62%, rgba(199,146,61,.42) 0 6px, transparent 7px),
    radial-gradient(circle at 68% 28%, rgba(255,255,255,.22) 0 8px, transparent 9px),
    radial-gradient(circle at 84% 70%, rgba(199,146,61,.38) 0 7px, transparent 8px);
}

.data-stream::after {
  content: "";
  position: absolute;
  left: -20%;
  top: 90%;
  width: 140%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), rgba(199,146,61,.42), transparent);
  animation: streamMove 3.8s linear infinite;
  z-index: 0;
}

.data-stream h3,
.data-stream p,
.metric-row {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.data-stream p {
  color: #d8f3f2;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.metric {
  position: relative;
  z-index: 2;
  padding: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
}

.metric strong {
  display: block;
  color: #f6c15e;
  font-size: 24px;
}

.flow-card {
  position: relative;
  overflow: hidden;
}

.flow-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 18px 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
  background-size: 220% 100%;
  animation: flowBar 3.2s ease-in-out infinite;
  opacity: .75;
}

@keyframes streamMove {
  from { transform: translateX(-18%); }
  to { transform: translateX(18%); }
}

@keyframes flowBar {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.signal-board {
  position: relative;
  min-height: 360px;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(7, 59, 99, 0.96), rgba(11, 111, 121, 0.9)),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.signal-board::before,
.signal-board::after {
  content: "";
  position: absolute;
  left: -18%;
  width: 136%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), rgba(199,146,61,.85), transparent);
  animation: streamMove 4.8s linear infinite;
}

.signal-board::before {
  top: 32%;
}

.signal-board::after {
  top: 66%;
  animation-duration: 6.2s;
  animation-direction: reverse;
}

.signal-board h3,
.signal-board p,
.signal-stack {
  position: relative;
  z-index: 2;
}

.signal-board p {
  max-width: 620px;
  color: #d8f3f2;
}

.signal-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.signal-chip {
  min-height: 92px;
  padding: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
}

.signal-chip strong {
  display: block;
  color: #f6c15e;
  font-size: 18px;
}

.industry-card {
  position: relative;
  min-height: 210px;
  padding: 24px;
  color: #fff;
  background: #082f42;
  border-radius: var(--radius);
  overflow: hidden;
}

.industry-card img {
  position: absolute;
  right: -10px;
  bottom: -8px;
  width: 54%;
  max-width: 260px;
  opacity: .88;
}

.industry-card h3,
.industry-card p {
  position: relative;
  z-index: 2;
  max-width: 62%;
}

.industry-card p {
  color: #d7e9ea;
}

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

.photo-scene {
  position: relative;
  min-height: 360px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.photo-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 33, 45, .18), rgba(6, 33, 45, .88));
  z-index: -1;
}

.photo-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .55;
  animation: gridDrift 12s linear infinite;
  z-index: -1;
}

.photo-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .7s ease;
}

.photo-scene:hover img {
  transform: scale(1.06);
}

.photo-scene h3 {
  color: #fff;
}

.photo-scene p {
  color: #e2f1f2;
}

.photo-scene-content {
  position: relative;
  z-index: 2;
}

.data-pulse {
  position: absolute;
  top: 22px;
  right: 22px;
  min-width: 112px;
  padding: 10px 12px;
  color: #083240;
  background: rgba(255, 255, 255, .9);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  animation: floatPulse 3.6s ease-in-out infinite;
}

.data-pulse span {
  display: block;
  color: var(--teal);
  font-size: 20px;
  line-height: 1.1;
}

.media-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.media-panel {
  position: relative;
  min-height: 340px;
  max-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.media-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7,59,99,.3), transparent 42%, rgba(199,146,61,.18));
}

.floating-note {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 320px;
  padding: 16px;
  color: #fff;
  background: rgba(7, 59, 99, .82);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  z-index: 2;
}

.floating-note strong {
  display: block;
  color: #f6c15e;
  font-size: 20px;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 38px 38px; }
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 12px 26px rgba(7,59,99,.18); }
  50% { transform: translateY(-8px); box-shadow: 0 18px 34px rgba(7,59,99,.26); }
}

.capability-table {
  display: grid;
  gap: 14px;
}

.capability-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 180px;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 59, 99, 0.05);
}

.capability-row strong {
  color: var(--blue);
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--teal);
  background: #edf8f7;
  border: 1px solid #cfe7e6;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.tag.plan {
  color: #8b6427;
  background: #fff4dc;
  border-color: #eed8ad;
}

.image-frame img {
  border-radius: 4px;
}

.band {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: rgba(199, 146, 61, 0.8);
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 64%);
}

.price {
  margin: 14px 0 18px;
  color: var(--blue);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
}

.price small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

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

.list li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
  color: #39545c;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.page-hero {
  padding: 78px 0 58px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(7, 59, 99, 0.99), rgba(11, 111, 121, 0.94)),
    url("images/hero-network.svg") center / cover no-repeat;
  overflow: hidden;
}

.page-hero h1 {
  max-width: 840px;
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 54px);
}

.page-hero p {
  max-width: 760px;
  color: #dceced;
  font-size: 19px;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.certificate-card {
  position: relative;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(7, 59, 99, 0.08);
  overflow: hidden;
  z-index: 1;
  cursor: zoom-in;
}

.certificate-card img {
  width: 100%;
  height: 390px;
  object-fit: contain;
  object-position: top center;
  border-radius: 4px;
  background: #edf3f4;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.certificate-card:hover {
  z-index: 4;
}

.certificate-card:hover img {
  transform: scale(1.08);
  filter: contrast(1.03) saturate(1.02);
}

.certificate-card::after {
  content: "点击查看大图";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 56px;
  display: grid;
  place-items: center;
  min-height: 34px;
  color: #fff;
  background: rgba(7, 59, 99, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  opacity: .86;
  transform: translateY(0);
  transition: opacity 0.24s ease, transform 0.24s ease;
  pointer-events: none;
}

.certificate-card:hover::after {
  opacity: 1;
  transform: translateY(-4px);
}

.certificate-card.landscape img {
  height: 230px;
  object-fit: contain;
}

.certificate-card p {
  margin: 12px 4px 4px;
  font-size: 15px;
  font-weight: 800;
  position: relative;
  z-index: 2;
  background: #fff;
}

.certificate-card.featured-cert {
  grid-row: auto;
}

.certificate-card.featured-cert img {
  height: 390px;
}

.animated-visual {
  position: relative;
  overflow: hidden;
}

.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(4, 22, 31, 0.86);
  backdrop-filter: blur(10px);
}

.cert-lightbox.open {
  display: flex;
}

.cert-lightbox-panel {
  width: min(1120px, 96vw);
  max-height: 94vh;
  display: grid;
  gap: 12px;
}

.cert-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
}

.cert-lightbox-title {
  font-size: 18px;
  font-weight: 800;
}

.cert-lightbox-close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.cert-lightbox-image-wrap {
  max-height: calc(94vh - 64px);
  overflow: auto;
  padding: 18px;
  background: #f5f8f8;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.cert-lightbox-image-wrap img {
  width: auto;
  max-width: 100%;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 4px;
}

.animated-visual::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.42) 48%, transparent 62%);
  transform: translateX(-60%);
  animation: scanline 5s ease-in-out infinite;
}

@keyframes scanline {
  0%, 45% { transform: translateX(-60%); }
  75%, 100% { transform: translateX(60%); }
}

.join-form {
  display: grid;
  gap: 16px;
}

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

.field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.table th,
.table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

.table tr:last-child td {
  border-bottom: 0;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline-item strong {
  color: var(--teal);
}

.site-footer {
  padding: 46px 0;
  color: #d8e8e9;
  background: #092b3b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 26px;
}

.site-footer h3 {
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: #c4d6d8;
  font-size: 15px;
}

.notice {
  padding: 18px 20px;
  color: #5b4a31;
  background: #fff7e6;
  border: 1px solid #eeddbd;
  border-radius: var(--radius);
}

.doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.doc-sidebar {
  position: sticky;
  top: 94px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 59, 99, 0.06);
}

.doc-sidebar a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: #39545c;
  font-size: 14px;
  font-weight: 700;
}

.doc-sidebar a:hover {
  color: var(--teal);
  background: #edf8f7;
}

.api-block {
  margin-bottom: 22px;
  padding: 26px;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(7, 59, 99, 0.06);
}

.endpoint {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 12px 0 18px;
  padding: 12px 14px;
  background: #f4faf9;
  border: 1px solid #d5e8e8;
  border-radius: 6px;
}

.method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 28px;
  color: #fff;
  background: var(--gold);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

.endpoint code {
  color: var(--blue);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.param-grid {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
}

.param-row {
  display: grid;
  grid-template-columns: 180px 110px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 12px;
  background: #fbfdfd;
  border: 1px solid #e3eeee;
  border-radius: 6px;
  font-size: 14px;
}

.param-row strong {
  color: var(--blue);
  font-family: Consolas, "Courier New", monospace;
}

.param-row span {
  color: var(--muted);
}

pre.code {
  margin: 12px 0 0;
  padding: 16px;
  max-width: 100%;
  color: #d9f6f5;
  background: #082b3a;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.65;
}

.source-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 960px) {
  .nav {
    height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-inner,
  .grid-2,
  .footer-grid,
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-sidebar {
    position: static;
  }

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

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

  .photo-scene-grid,
  .media-strip {
    grid-template-columns: 1fr;
  }

  .visual-grid,
  .signal-stack,
  .capability-row {
    grid-template-columns: 1fr;
  }

  .industry-card h3,
  .industry-card p {
    max-width: 72%;
  }
}

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

  .section {
    padding: 58px 0;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 64px;
  }

  h1 {
    font-size: 29px;
    line-height: 1.22;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-inner {
    gap: 28px;
    overflow: hidden;
  }

  .hero .lead {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-panel {
    padding: 10px;
  }

  .hero-panel img {
    width: 100%;
    min-width: 0;
  }

  .page-hero h1 {
    font-size: 29px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .lead,
  .page-hero p {
    font-size: 18px;
  }

  .page-hero {
    padding: 54px 0 48px;
  }

  .page-hero p {
    overflow-wrap: anywhere;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    font-size: 14px;
  }

  .nav-links a {
    padding: 8px 6px;
    text-align: center;
  }

  .stats,
  .grid-4,
  .certificate-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .certificate-card.featured-cert {
    grid-row: auto;
  }

  .certificate-card.featured-cert img,
  .certificate-card img,
  .certificate-card.landscape img {
    height: auto;
    max-height: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .table {
    display: block;
    overflow-x: auto;
  }

  .param-row {
    grid-template-columns: 1fr;
  }

  .api-block {
    padding: 22px 16px;
  }

  .doc-sidebar {
    padding: 14px;
  }

  pre.code {
    font-size: 12px;
  }

  .image-frame {
    overflow-x: auto;
  }

  .image-frame img[src$=".svg"] {
    min-width: 680px;
  }

  .signal-board {
    min-height: auto;
    padding: 24px 18px;
  }

  .industry-card {
    min-height: 260px;
  }

  .industry-card img {
    width: 70%;
  }

  .industry-card h3,
  .industry-card p {
    max-width: 100%;
  }

  .photo-scene,
  .media-panel {
    min-height: 300px;
  }

  .capability-row {
    padding: 16px;
  }
}
