/* ==========================================================================
   HuKey 护词 — site.css
   Dark enterprise security aesthetic, inspired by Chinese cybersecurity
   vendor sites (deep navy + cyan tech accent + red CTA accent).
   ========================================================================== */

:root {
  --bg-0: #060b17;
  --bg-1: #0a1730;
  --bg-2: #0f2140;
  --bg-3: #142a4d;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text-0: #f3f6fb;
  --text-1: #c4cede;
  --text-2: #8593ad;
  --cyan: #22d3ee;
  --cyan-dim: #0ea5c7;
  --blue: #3b82f6;
  --red: #ff4d5e;
  --red-dim: #e0324a;
  --gold: #d4af6a;
  --gradient-brand: linear-gradient(120deg, #0ea5c7 0%, #3b82f6 55%, #7c5cff 100%);
  --gradient-hero: radial-gradient(60% 60% at 80% 10%, rgba(34,211,238,0.16) 0%, rgba(6,11,23,0) 60%),
                    radial-gradient(50% 50% at 10% 90%, rgba(255,77,94,0.12) 0%, rgba(6,11,23,0) 60%);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 20px 45px -20px rgba(0,0,0,0.55);
  --max-w: 1220px;
  --font-zh: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --font-en: "Inter", "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display-zh: "Noto Serif SC", var(--font-zh);
  --font-display-en: "Space Grotesk", var(--font-en);
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-en), var(--font-zh);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------- display typography ----------
   Headline-scale elements get a deliberate serif(ZH)/grotesk(EN) pairing,
   distinct from the neutral sans used for body copy and UI chrome.
   Card-level titles stay in the body sans on purpose — only true headline
   moments get the display treatment, so the hierarchy reads intentional. */
.hero h1, .page-hero h1, h2.h-title, .split-row h3, .quote-card p.quote-text, .cta-band h3 {
  font-family: var(--font-display-zh);
}
html.show-en .hero h1, html.show-en .page-hero h1, html.show-en h2.h-title,
html.show-en .split-row h3, html.show-en .quote-card p.quote-text, html.show-en .cta-band h3 {
  font-family: var(--font-display-en);
  letter-spacing: -0.01em;
}
.brand-name { font-family: var(--font-display-en); }

/* ---------- language toggle ---------- */
[data-lang="en"] { display: none; }
html.show-en [data-lang="zh"] { display: none; }
html.show-en [data-lang="en"] { display: inline; }

/* ---------- layout helpers ---------- */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-1); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cyan);
  display: inline-block;
}
h2.h-title { font-size: clamp(26px, 3.4vw, 38px); color: var(--text-0); font-weight: 700; letter-spacing: -0.01em; }
.h-sub { margin-top: 16px; color: var(--text-2); font-size: 16px; }

/* editorial split header: title left, intro copy right, baseline-aligned —
   used in place of the centered eyebrow/title/subtext stack in a few spots
   so not every section reads from the same template */
.section-head-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  text-align: left;
  max-width: none;
  margin: 0 0 52px;
}
.section-head-split .h-sub { max-width: 46ch; }

.page-ref {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text-2);
  opacity: 0.75;
  margin-bottom: 10px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(255,77,94,0.55);
}
.btn-primary:hover { background: var(--red-dim); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-0);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-block { width: 100%; }

/* understated text link for standalone secondary CTAs — not every action
   needs to be a pill button */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-0);
  padding-bottom: 3px;
  position: relative;
}
.btn-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line-strong);
  transition: background 0.18s ease;
}
.btn-link:hover::after { background: var(--cyan); }
.btn-link:hover { color: var(--cyan); }
.btn-link .arrow { display: inline-block; transition: transform 0.18s ease; }
.btn-link:hover .arrow { transform: translateX(3px); }

/* ---------- top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,11,23,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px -6px rgba(59,130,246,0.6);
}
.brand-name { font-size: 19px; font-weight: 800; color: var(--text-0); letter-spacing: 0.01em; }
.brand-name small { display: block; font-size: 10px; font-weight: 600; color: var(--text-2); letter-spacing: 0.16em; margin-top: 1px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-1);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--text-0); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--cyan); background: rgba(34,211,238,0.08); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  color: var(--text-1);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.lang-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.lang-btn .sep { color: var(--text-2); font-weight: 400; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-burger span { display: block; height: 2px; width: 100%; background: var(--text-0); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

.mobile-panel {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg-0);
  z-index: 99;
  padding: 20px 24px 40px;
  overflow-y: auto;
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block;
  padding: 16px 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-0);
  border-bottom: 1px solid var(--line);
}
.mobile-panel a.active { color: var(--cyan); }
.mobile-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 100px;
  background: var(--gradient-hero), var(--bg-0);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, black 10%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.3);
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34,211,238,0.18); }
.hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  color: var(--text-0);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.hero h1 .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc { margin-top: 22px; font-size: 17px; color: var(--text-2); max-width: 560px; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { margin-top: 48px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats .stat-num { font-size: 26px; font-weight: 800; color: var(--text-0); }
.hero-stats .stat-num span { color: var(--cyan); }
.hero-stats .stat-label { font-size: 12.5px; color: var(--text-2); margin-top: 4px; }

/* ---------- hero blueprint illustration ----------
   Replaces the generic "dashboard mockup" pattern with a schematic built
   from the brand mark itself — annotated like a spec sheet rather than a
   fake product screenshot. */
.hero-blueprint {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin: 0 auto;
}
.bp-ring {
  position: absolute;
  inset: 9%;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
}
.bp-ring::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.bp-mark {
  position: absolute;
  inset: 22%;
  width: 56%;
  height: 56%;
  margin: auto;
  filter: drop-shadow(0 0 34px rgba(34, 211, 238, 0.16));
}
.bp-corner { position: absolute; width: 20px; height: 20px; opacity: 0.6; }
.bp-corner-tl { top: 0; left: 0; border-top: 1.5px solid var(--line-strong); border-left: 1.5px solid var(--line-strong); }
.bp-corner-br { bottom: 0; right: 0; border-bottom: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); }
.bp-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--text-2);
  max-width: 46%;
  line-height: 1.4;
}
.bp-note b { color: var(--cyan); font-weight: 700; flex-shrink: 0; }
.bp-note i { display: block; width: 20px; height: 1px; background: var(--line-strong); flex-shrink: 0; }
.bp-note-1 { top: 2%; right: 0; text-align: left; }
.bp-note-2 { top: 47%; left: 0; text-align: left; }
.bp-note-3 { bottom: 4%; right: 0; text-align: left; }
.bp-caption {
  position: absolute;
  left: 2%;
  bottom: -30px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--text-2);
  opacity: 0.6;
  text-transform: uppercase;
}

/* ---------- logo strip ---------- */
.logo-strip { padding: 44px 0; border-bottom: 1px solid var(--line); }
.logo-strip-label { text-align: center; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 26px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 46px; }
.logo-row .logo-item { font-weight: 700; font-size: 17px; color: var(--text-2); opacity: 0.7; letter-spacing: 0.02em; }

/* ---------- feature bento grid ----------
   Six modules, deliberately uneven: two "featured" cards carry an icon
   chip, three mid-weight cards lean on a large ghost numeral instead of
   another icon box, and the sixth runs as a wide inline banner. */
.feature-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.feature-bento .fb-a, .feature-bento .fb-b { grid-column: span 3; }
.feature-bento .fb-c, .feature-bento .fb-d, .feature-bento .fb-e { grid-column: span 2; }
.feature-bento .fb-f { grid-column: span 6; }

.fcard {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.fcard:hover { border-color: rgba(34,211,238,0.4); transform: translateY(-3px); }
.fcard .fc-num {
  position: absolute;
  top: 10px; right: 20px;
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  color: var(--text-0);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}
.fcard .fc-icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: rgba(34,211,238,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  position: relative;
}
.fcard h3 { font-size: 17.5px; font-weight: 700; color: var(--text-0); margin-bottom: 10px; position: relative; }
.fcard p { font-size: 14px; color: var(--text-2); position: relative; max-width: 42ch; }
.fcard .tag-row { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; position: relative; }
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.05);
  color: var(--text-1);
  border: 1px solid var(--line);
}

.fcard.fc-wide { display: flex; align-items: center; gap: 26px; padding: 26px 30px; }
.fcard.fc-wide .fc-icon {
  margin-bottom: 0; flex-shrink: 0;
  border-radius: 50%;
  width: 50px; height: 50px;
}
.fcard.fc-wide .fc-body { flex: 1; min-width: 0; }
.fcard.fc-wide p { max-width: 60ch; }

/* ---------- architecture / split rows ---------- */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-row + .split-row { margin-top: 96px; }
.split-row.rev { direction: rtl; }
.split-row.rev > * { direction: ltr; }
.split-kicker { font-size: 13px; font-weight: 700; color: var(--cyan); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.split-row h3 { font-size: 26px; font-weight: 700; color: var(--text-0); margin-bottom: 16px; }
.split-row p { color: var(--text-2); font-size: 15.5px; }
.check-list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-1); }
.check-list .check-ico { flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; border-radius: 5px; background: rgba(34,211,238,0.16); display: flex; align-items: center; justify-content: center; }

.diagram-card {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.diagram-node {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-1);
  margin-bottom: 10px;
}
.diagram-node b { color: var(--text-0); }
.diagram-arrow { display: flex; justify-content: center; padding: 2px 0; color: var(--text-2); font-size: 13px; }

/* ---------- stats band ---------- */
.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 52px 0;
}
.stats-grid .stat { text-align: center; padding: 0 12px; }
.stats-grid .stat-num { font-size: 34px; font-weight: 800; color: var(--text-0); }
.stats-grid .stat-num span { color: var(--cyan); }
.stats-grid .stat-label { margin-top: 8px; font-size: 13.5px; color: var(--text-2); }

/* ---------- cards / solutions ---------- */
.pill-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.pill-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-1);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255,255,255,0.02);
}
.pill-tab.active { background: rgba(34,211,238,0.12); color: var(--cyan); border-color: rgba(34,211,238,0.45); }

.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.solution-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--bg-1);
}
.solution-card .sol-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,77,94,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.solution-card h3 { font-size: 19px; font-weight: 700; color: var(--text-0); margin-bottom: 10px; }
.solution-card p { font-size: 14.5px; color: var(--text-2); }
.solution-card ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.solution-card li { font-size: 13.5px; color: var(--text-1); padding-left: 18px; position: relative; }
.solution-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.solution-card.partner-cta { background: transparent; border: 1.5px dashed var(--line-strong); display: flex; flex-direction: column; }
.solution-card.partner-cta:hover { border-color: rgba(255,77,94,0.5); }

.partner-logo-chip {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 18px;
}
.partner-logo-chip img { height: 100%; width: auto; display: block; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- timeline ---------- */
.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--line-strong); display: flex; flex-direction: column; gap: 36px; }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34,211,238,0.18); }
.timeline-item .t-year { font-size: 13px; font-weight: 700; color: var(--cyan); letter-spacing: 0.05em; }
.timeline-item h4 { font-size: 17px; font-weight: 700; color: var(--text-0); margin-top: 6px; }
.timeline-item p { font-size: 14px; color: var(--text-2); margin-top: 6px; max-width: 560px; }

/* ---------- values list (numbered editorial rows, not icon cards) ---------- */
.values-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value-row { background: var(--bg-1); padding: 30px 24px; text-align: left; }
.value-row .v-num { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--cyan); margin-bottom: 16px; }
.value-row h4 { font-size: 15.5px; color: var(--text-0); font-weight: 700; }
.value-row p { font-size: 13px; color: var(--text-2); margin-top: 8px; }

/* ---------- certs / badges ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cert-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  background: var(--bg-1);
}
.cert-card .c-ico { width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 10px; background: rgba(212,175,106,0.14); display: flex; align-items: center; justify-content: center; }
.cert-card div.c-name { font-size: 13.5px; font-weight: 700; color: var(--text-0); }
.cert-card div.c-sub { font-size: 11.5px; color: var(--text-2); margin-top: 4px; }

/* ---------- CVE / vulnerability response commitment ---------- */
.commit-band {
  margin-top: 18px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--red);
  background: var(--bg-1);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.commit-band .cb-num {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  color: var(--text-0);
  flex-shrink: 0;
  line-height: 1;
}
.commit-band .cb-num span { color: var(--red); }
.commit-band .cb-body { flex: 1; min-width: 240px; }
.commit-band h4 { font-size: 15.5px; font-weight: 700; color: var(--text-0); margin-bottom: 6px; }
.commit-band p { font-size: 13.5px; color: var(--text-2); }

/* ---------- testimonial ---------- */
.quote-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote-card p.quote-text { font-size: 19px; color: var(--text-0); line-height: 1.65; }
.quote-card .quote-by { margin-top: 22px; font-size: 14px; color: var(--text-2); }
.quote-card .quote-by b { color: var(--text-1); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 4px;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--cyan);
  padding: 52px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(38% 80% at 96% 15%, rgba(34,211,238,0.09), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h3 { font-size: 25px; font-weight: 700; color: var(--text-0); }
.cta-band p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- forms (contact page) ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); padding: 28px; margin-bottom: 16px; }
.info-card .i-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-card .i-row:last-child { border-bottom: none; }
.info-card .i-ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(34,211,238,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card .i-label { font-size: 12px; color: var(--text-2); }
.info-card .i-value { font-size: 14.5px; color: var(--text-0); font-weight: 600; margin-top: 2px; }

.form-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; color: var(--text-1); font-weight: 600; }
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  color: var(--text-0);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); }
.field textarea { resize: vertical; min-height: 110px; }
.field.full { grid-column: 1 / -1; }
.form-note { font-size: 12.5px; color: var(--text-2); margin-top: 14px; }

.map-plate {
  margin-top: 16px;
  height: 280px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(6,11,23,0.55), rgba(6,11,23,0.75)),
    repeating-linear-gradient(45deg, rgba(34,211,238,0.06) 0 2px, transparent 2px 26px);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  font-size: 13px;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}
.map-plate.has-map { padding: 0; }
.map-plate iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15) brightness(0.9) contrast(1.05); }

/* ---------- table (product comparison) ---------- */
.compare-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.compare-table th { background: var(--bg-2); color: var(--text-0); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.compare-table td { color: var(--text-1); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--cyan); font-weight: 700; }

/* ---------- module detail blocks ---------- */
.module-block { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); padding: 34px; margin-bottom: 22px; }
.module-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.module-head .m-ico { width: 50px; height: 50px; border-radius: 12px; background: rgba(34,211,238,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.module-head h3 { font-size: 20px; color: var(--text-0); font-weight: 700; }
.module-head .m-sub { font-size: 13px; color: var(--cyan); font-weight: 600; margin-top: 2px; }
.module-block p.m-desc { color: var(--text-2); font-size: 15px; max-width: 760px; }
.module-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.module-grid .m-point { padding: 14px 16px; border-radius: 4px; border-left: 2px solid var(--line-strong); background: rgba(255,255,255,0.03); font-size: 13.5px; color: var(--text-1); }
.module-grid .m-point b { display: block; color: var(--text-0); font-size: 14px; margin-bottom: 4px; }

/* ---------- supported endpoint types (certificate renewal targets) ---------- */
.endpoint-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-1);
  padding: 34px;
  margin-bottom: 22px;
}
.endpoint-panel .m-desc { color: var(--text-2); font-size: 15px; max-width: 760px; margin-bottom: 22px; }
.endpoint-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.endpoint-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  font-size: 13.5px;
  color: var(--text-1);
  font-weight: 600;
}
.endpoint-chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}
.endpoint-note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-2);
  opacity: 0.75;
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-0); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { margin-top: 14px; font-size: 13.5px; color: var(--text-2); max-width: 280px; }
.footer-col h5 { font-size: 13px; color: var(--text-0); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--text-2); }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-2);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 64px 0 60px;
  background: var(--gradient-hero), var(--bg-0);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero::before, .page-hero::after {
  content: "";
  position: absolute;
  top: 26px;
  width: 16px; height: 16px;
  opacity: 0.5;
}
.page-hero::before { left: 26px; border-top: 1.5px solid var(--line-strong); border-left: 1.5px solid var(--line-strong); }
.page-hero::after { right: 26px; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(28px, 3.8vw, 44px); color: var(--text-0); font-weight: 800; }
.page-hero p { margin-top: 16px; color: var(--text-2); font-size: 16px; max-width: 620px; margin-left: auto; margin-right: auto; }
.crumbs { margin-top: 18px; font-size: 13px; color: var(--text-2); display: flex; gap: 6px; justify-content: center; }
.crumbs a { color: var(--text-2); } .crumbs a:hover { color: var(--cyan); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-blueprint { order: -1; max-width: 300px; }
  .bp-caption { display: none; }
  .feature-bento { grid-template-columns: repeat(2, 1fr); }
  .feature-bento .fb-a, .feature-bento .fb-b, .feature-bento .fb-f { grid-column: span 2; }
  .feature-bento .fb-c, .feature-bento .fb-d, .feature-bento .fb-e { grid-column: span 1; }
  .section-head-split { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .split-row { grid-template-columns: 1fr; gap: 34px; }
  .split-row.rev { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .solution-grid { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .module-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-actions .btn-primary.desktop-only { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 60px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 24px; }
  .feature-bento { grid-template-columns: 1fr; }
  .feature-bento > div { grid-column: 1 / -1 !important; }
  .fcard.fc-wide { flex-direction: column; align-items: flex-start; text-align: left; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 40px 0; }
  .stats-grid .stat-num { font-size: 26px; }
  .values-list { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 38px 26px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .compare-table { display: block; overflow-x: auto; white-space: nowrap; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .cert-grid { grid-template-columns: 1fr; }
  .hero-badge { font-size: 12px; }
  .quote-card { padding: 26px; }
  .quote-card p.quote-text { font-size: 16.5px; }
}
