/* ==========================================================================
   BareZero Design System — Engineering-First B2B Light/Dark Contrast Theme
   ========================================================================== */

:root {
  /* Palette */
  --navy-950: #070d19;
  --navy-900: #0b1325;
  --navy-850: #0f1b33;
  --navy-800: #142544;
  --navy-700: #1d355e;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;

  --sky-400: #38bdf8;
  --sky-300: #7dd3fc;

  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;

  --amber-700: #b45309;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;

  /* Typography — Zero external font blocking for fast load in China & globally */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 20px -4px rgba(15, 23, 42, 0.07),
    0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 18px 40px -12px rgba(11, 19, 37, 0.14);

  /* Layout */
  --container: 1160px;
  --nav-height: 68px;
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--white);
  overflow-x: clip;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

code {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Accessibility skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--blue-600);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(11, 19, 37, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.navbar.scrolled {
  background: rgba(9, 15, 30, 0.95);
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.28);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

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

.brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.brand-domain {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--slate-400);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: #cbd5e1;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(148, 163, 184, 0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--slate-400);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.lang-btn.active {
  background: rgba(56, 189, 248, 0.18);
  color: var(--sky-300);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-sm);
  color: var(--white);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(9, 15, 30, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  padding: 16px 24px 24px;
  z-index: 99;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.mobile-drawer-links a {
  padding: 11px 12px;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.mobile-drawer-links a:hover {
  background: rgba(148, 163, 184, 0.12);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-sm {
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 8px;
}

.btn-lg {
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 11px;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.38);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(148, 163, 184, 0.28);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(148, 163, 184, 0.45);
}

.btn-outline {
  background: var(--white);
  color: var(--slate-800);
  border-color: var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: var(--blue-50);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--sky-300);
  padding-left: 8px;
  padding-right: 8px;
}

.btn-ghost-dark:hover {
  color: var(--white);
}

/* ==========================================================================
   Hero Section (Matches One-Pager Dark Navy Aesthetic)
   ========================================================================== */

.hero {
  position: relative;
  padding: calc(var(--nav-height) + 56px) 0 76px;
  background: radial-gradient(
      900px 500px at 80% -10%,
      rgba(56, 189, 248, 0.16),
      transparent 65%
    ),
    radial-gradient(
      700px 440px at 15% 15%,
      rgba(37, 99, 235, 0.16),
      transparent 62%
    ),
    linear-gradient(160deg, #070d19 0%, #0d1a33 55%, #102344 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(148, 163, 184, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 35%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--sky-400);
  text-transform: uppercase;
}

.hero-entity-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #e2e8f0;
  background: rgba(15, 27, 51, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.24);
  padding: 6px 14px;
  border-radius: 999px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
  flex-shrink: 0;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 860px;
}

.hero-subtitle {
  margin: 0 0 32px;
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.72;
  color: #cbd5e1;
  max-width: 780px;
}

.hero-subtitle strong {
  color: var(--white);
  font-weight: 600;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

/* 4 Metric Cards */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  background: rgba(15, 29, 56, 0.68);
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: var(--radius-md);
  padding: 20px 20px 18px;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.metric-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-2px);
}

.metric-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.metric-value {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.metric-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--sky-400);
}

.metric-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #94a3b8;
}

/* ==========================================================================
   Section Common Patterns
   ========================================================================== */

.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.section-title-group {
  max-width: 780px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-kicker::before {
  content: "";
  width: 3.5px;
  height: 15px;
  border-radius: 2px;
  background: var(--blue-600);
}

.section-title {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  text-wrap: balance;
}

.section-subtitle {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--slate-600);
}

.section-meta-badge {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 6px 13px;
  border-radius: 999px;
  max-width: 100%;
}

.section-meta-badge.emerald {
  color: var(--emerald-700);
  background: var(--emerald-50);
  border-color: var(--emerald-100);
}

/* ==========================================================================
   Section 1: Why BareZero (4 Pain Points + Comparison Table)
   ========================================================================== */

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

.pain-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pain-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pain-vs {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.pain-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--slate-900);
}

.pain-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--slate-600);
}

/* Expandable Matrix */
.matrix-wrap {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.matrix-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--slate-50);
  border: none;
  padding: 16px 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--slate-900);
  text-align: left;
}

.matrix-toggle:hover {
  background: #f1f5f9;
}

.matrix-toggle-hint {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.matrix-body {
  display: none;
  border-top: 1px solid var(--slate-200);
}

.matrix-body.open {
  display: block;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th,
.compare-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: top;
  line-height: 1.55;
}

.compare-table th {
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-600);
  white-space: nowrap;
}

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

.compare-table tr.row-highlight td {
  background: #eff6ff;
  color: var(--slate-900);
}

.compare-table tr.row-highlight td:first-child {
  font-weight: 800;
  color: var(--blue-700);
}

.matrix-footnote {
  padding: 13px 22px;
  font-size: 12.5px;
  color: var(--slate-600);
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
}

/* ==========================================================================
   Section 2: Security & Enterprise IT Control
   ========================================================================== */

.security-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.panel-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--emerald-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-item strong {
  color: var(--slate-900);
  font-weight: 700;
}

.check-item p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-700);
}

/* IP-KVM Lifecycle Stepper */
.kvm-box {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
}

.kvm-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.kvm-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--slate-900);
}

.kvm-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald-700);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  padding: 3px 10px;
  border-radius: 999px;
}

.kvm-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.kvm-step {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 12px;
}

.kvm-step.is-isolated {
  background: var(--emerald-50);
  border-color: #6ee7b7;
}

.kvm-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.kvm-step.is-isolated .kvm-step-num {
  color: var(--emerald-700);
}

.kvm-step-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.kvm-step-desc {
  font-size: 12px;
  line-height: 1.45;
  color: var(--slate-600);
}

.kvm-step.is-isolated .kvm-step-desc {
  color: #065f46;
}

/* Right Column: 3-Layer IT Control Stack */
.it-layer-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.it-layer-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.it-layer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.it-layer-num {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.it-layer-card h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
}

.it-layer-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate-600);
  line-height: 1.6;
}

.boundary-note {
  margin-top: 14px;
  background: var(--amber-50);
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 13px;
  color: #92400e;
  line-height: 1.6;
}

.boundary-note strong {
  color: #78350f;
}

/* 8-Point Self-Verification Checklist */
.checklist-card {
  margin-top: 24px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.checklist-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.checklist-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--slate-900);
}

.checklist-head p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--slate-600);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.verify-item {
  display: flex;
  gap: 12px;
  padding: 13px 15px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  align-items: flex-start;
}

.verify-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue-700);
  background: var(--blue-100);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.verify-body {
  flex: 1;
  min-width: 0;
}

.verify-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 3px;
}

.verify-method {
  font-size: 12.5px;
  color: var(--slate-600);
  line-height: 1.5;
}

.cmd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  background: var(--slate-900);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 5px 9px;
  border-radius: 6px;
  border: 1px solid #334155;
  max-width: 100%;
  overflow-x: auto;
}

.cmd-copy-btn {
  border: none;
  background: rgba(56, 189, 248, 0.16);
  color: var(--sky-300);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

.cmd-copy-btn:hover {
  background: rgba(56, 189, 248, 0.3);
}

/* ==========================================================================
   Section 3: Hardware, Dual-Tier Network & Local Execution
   ========================================================================== */

.infra-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hw-banner {
  grid-column: 1 / -1;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.hw-banner h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--slate-900);
}

.hw-banner p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-600);
}

.hw-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hw-spec-item {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 11px 14px;
}

.hw-spec-label {
  font-size: 11.5px;
  color: var(--slate-500);
  font-weight: 600;
}

.hw-spec-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 2px;
}

.net-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.net-card.upgrade {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 42%);
}

.net-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.net-badge.standard {
  background: var(--slate-100);
  color: var(--slate-700);
}

.net-badge.enterprise {
  background: var(--blue-100);
  color: var(--blue-700);
}

.net-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--slate-900);
}

.net-card p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--slate-600);
}

.net-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--slate-700);
}

.net-bullets li {
  padding-left: 18px;
  position: relative;
}

.net-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
}

/* Local Execution Dark Card */
.local-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0b1325 0%, #122342 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: center;
}

.local-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sky-400);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.local-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 800;
  color: var(--white);
}

.local-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #cbd5e1;
}

.local-card strong {
  color: var(--white);
}

.local-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.local-pillar {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  padding: 14px 15px;
}

.local-pillar-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--sky-300);
}

.local-pillar-label {
  font-size: 12.5px;
  color: #cbd5e1;
  margin-top: 2px;
}

/* ==========================================================================
   Section 4: Transparent Pricing & Interactive Estimator
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.price-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px 16px 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-card:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.price-card.recommended {
  border-color: #60a5fa;
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 60%);
}

.price-card.selected {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16), var(--shadow-md);
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-600);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-tier {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-800);
  margin-top: 4px;
}

.price-amount {
  font-size: 29px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.025em;
  margin: 8px 0 2px;
}

.price-card.recommended .price-amount,
.price-card.selected .price-amount {
  color: var(--blue-700);
}

.price-period {
  font-size: 12px;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.price-unit-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--slate-100);
  padding: 4px 10px;
  border-radius: 999px;
}

.price-card.selected .price-unit-pill {
  background: var(--blue-100);
  color: var(--blue-700);
}

/* Interactive Estimator */
.estimator-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: center;
}

.estimator-controls h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--slate-900);
}

.estimator-controls > p {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--slate-600);
}

.control-group {
  margin-bottom: 16px;
}

.control-group:last-child {
  margin-bottom: 0;
}

.control-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-800);
}

.control-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-600);
}

.range-input {
  width: 100%;
  accent-color: var(--blue-600);
  cursor: pointer;
}

.tier-btn-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.tier-chip {
  padding: 8px 6px;
  border-radius: 8px;
  border: 1px solid var(--slate-300);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  transition: all 0.15s ease;
}

.tier-chip:hover {
  border-color: var(--blue-500);
}

.tier-chip.active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.estimator-summary {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.est-total-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-500);
}

.est-total-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.025em;
  margin: 4px 0 12px;
}

.est-total-value span {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-500);
}

.est-breakdown {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid var(--slate-200);
  margin-bottom: 16px;
  font-size: 13px;
}

.est-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--slate-600);
}

.est-row strong {
  color: var(--slate-900);
  font-family: var(--font-mono);
}

.pricing-footnote {
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.7;
}

.pricing-footnote strong {
  color: var(--slate-900);
}

/* ==========================================================================
   Section 5: Low-Risk POC Path
   ========================================================================== */

.poc-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.poc-banner-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.poc-banner h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: var(--slate-900);
}

.poc-banner p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-700);
}

.poc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.poc-step {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.poc-step-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.poc-step h4 {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--slate-900);
}

.poc-step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ==========================================================================
   Section 6: Cross-Department FAQ
   ========================================================================== */

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.faq-filter-btn {
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-700);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.faq-filter-btn:hover {
  border-color: var(--blue-500);
  color: var(--blue-700);
}

.faq-filter-btn.active {
  background: var(--slate-900);
  border-color: var(--slate-900);
  color: var(--white);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item.open {
  border-color: #93c5fd;
  box-shadow: var(--shadow-sm);
}

.faq-item.hidden {
  display: none;
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.faq-q-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.faq-role {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 6px;
  background: var(--slate-100);
  color: var(--slate-700);
  flex-shrink: 0;
}

.faq-role.exec {
  background: #ede9fe;
  color: #5b21b6;
}

.faq-role.tech {
  background: var(--blue-50);
  color: var(--blue-700);
}

.faq-role.sec {
  background: var(--emerald-50);
  color: var(--emerald-700);
}

.faq-question-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--slate-400);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue-600);
}

.faq-a {
  display: none;
  padding: 0 22px 18px 22px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--slate-600);
}

.faq-item.open .faq-a {
  display: block;
}

/* ==========================================================================
   Section 7: Contact / POC Inquiry Section
   ========================================================================== */

.contact-section {
  background: radial-gradient(
      800px 420px at 85% 20%,
      rgba(56, 189, 248, 0.14),
      transparent 65%
    ),
    linear-gradient(160deg, #070d19 0%, #0d1a33 100%);
  color: var(--white);
  padding: 84px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 40px;
  align-items: start;
}

.contact-left h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
}

.contact-left > p {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
}

.contact-bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
  color: #e2e8f0;
}

.contact-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-bullets svg {
  color: var(--sky-400);
  flex-shrink: 0;
}

.direct-email-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.direct-email-label {
  font-size: 12px;
  color: var(--slate-400);
  margin-bottom: 6px;
}

.direct-email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.direct-email-addr {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.direct-email-actions {
  display: flex;
  gap: 8px;
}

/* Inquiry Form */
.inquiry-card {
  background: var(--white);
  color: var(--slate-800);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
}

.inquiry-card h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 800;
  color: var(--slate-900);
}

.inquiry-card > p {
  margin: 0 0 20px;
  font-size: 13.5px;
  color: var(--slate-500);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-700);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--slate-300);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--slate-900);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

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

.form-submit-row {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-submit-row .btn {
  width: 100%;
}

.form-note {
  margin: 0;
  font-size: 12px;
  color: var(--slate-500);
  text-align: center;
}

.form-feedback {
  display: none;
  margin-top: 16px;
  padding: 15px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.6;
}

.form-feedback.show {
  display: block;
}

.form-feedback.success {
  background: var(--emerald-50);
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.form-feedback.fallback {
  background: var(--blue-50);
  border: 1px solid #93c5fd;
  color: #1e3a8a;
}

.fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #050a14;
  color: var(--slate-400);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 36px 0 42px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--slate-500);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--slate-900);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.35);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.22s ease;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .metric-grid,
  .pain-grid,
  .poc-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .security-grid,
  .estimator-card,
  .hw-banner,
  .local-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .infra-layout,
  .checklist-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: calc(var(--nav-height) + 34px) 0 54px;
  }

  .section {
    padding: 60px 0;
  }

  .metric-grid,
  .pain-grid,
  .poc-steps,
  .pricing-grid,
  .kvm-steps,
  .hw-specs,
  .local-pillars,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .panel-card,
  .checklist-card,
  .estimator-card,
  .local-card,
  .inquiry-card {
    padding: 20px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .hero-entity-pill {
    font-size: 12px;
    padding: 6px 12px;
    max-width: 100%;
  }

  .section-meta-badge {
    border-radius: 10px;
    line-height: 1.45;
  }

  .tier-btn-row {
    gap: 6px;
  }

  .tier-chip {
    font-size: 12px;
    padding: 8px 4px;
  }

  .direct-email-addr {
    font-size: 16px;
    word-break: break-all;
  }
}
