/* ==========================================================================
   Variant 1: Dark Cyber-Engineered HCI (Enterprise Command Center)
   ========================================================================== */

body.variant-1 {
  background-color: #080C15;
  color: #E2E8F0;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 90% 40%, rgba(249, 115, 22, 0.08) 0%, transparent 40%),
    linear-gradient(to bottom, #080C15 0%, #0D1322 100%);
  background-attachment: fixed;
}

/* Cyber Grid Effect */
.cyber-grid-bg {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 20%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, black 40%, transparent 80%);
}

/* Header */
.v1-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(8, 12, 21, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.v1-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.v1-nav-links a {
  color: #94A3B8;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.v1-nav-links a:hover {
  color: #FBBF24;
  background: rgba(245, 158, 11, 0.08);
}

/* Hero Section */
.v1-hero {
  position: relative;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.v1-hero-badge {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #FBBF24;
  margin-bottom: 1.75rem;
}

.v1-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.v1-hero-title .gradient-text {
  background: linear-gradient(135deg, #F59E0B 0%, #F97316 50%, #FBBF24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.v1-hero-desc {
  font-size: 1.25rem;
  color: #94A3B8;
  max-width: 680px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.v1-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.v1-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.v1-stat-item .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
  font-family: var(--font-mono);
}

.v1-stat-item .stat-num span {
  color: #F59E0B;
}

.v1-stat-item p {
  font-size: 0.875rem;
  color: #94A3B8;
  font-weight: 500;
}

@media (max-width: 900px) {
  .v1-hero-title {
    font-size: 2.5rem;
  }
  .v1-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Interactive Calculator Container */
.calculator-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.calculator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #F59E0B, #F97316, #06B6D4);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 860px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-control-group {
  margin-bottom: 1.75rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #E2E8F0;
}

.calc-label-val {
  font-family: var(--font-mono);
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 1rem;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1E293B;
  outline: none;
  accent-color: #F59E0B;
  cursor: pointer;
}

.calc-select {
  width: 100%;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.calc-results-box {
  background: rgba(11, 15, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.calc-savings-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10B981;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.calc-savings-number {
  font-size: 2.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #F59E0B;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.calc-comparison-bars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
  text-align: left;
}

.bar-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.bar-track {
  height: 10px;
  background: #1E293B;
  border-radius: 5px;
  overflow: hidden;
}

.bar-fill-vmware {
  width: 100%;
  height: 100%;
  background: #EF4444;
}

.bar-fill-proxmox {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, #10B981);
}

/* HCI Simulator Styling */
.hci-simulator {
  background: #0E1726;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-top: 3rem;
}

.hci-cluster-nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .hci-cluster-nodes {
    grid-template-columns: 1fr;
  }
}

.hci-node-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  transition: all var(--transition-normal);
}

.hci-node-box.node-offline {
  border-color: rgba(239, 68, 68, 0.6);
  background: rgba(239, 68, 68, 0.05);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.node-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.node-title {
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: #FFFFFF;
}

.node-status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.node-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
}

.node-spec-list {
  font-size: 0.8125rem;
  color: #94A3B8;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.node-spec-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sim-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(11, 15, 25, 0.8);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-status-indicators {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-family: var(--font-mono);
}

.sim-log-terminal {
  background: #050811;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  height: 120px;
  overflow-y: auto;
  color: #94A3B8;
}

.log-line {
  margin-bottom: 4px;
}

.log-line .time {
  color: #94A3B8;
}

.log-line.log-success {
  color: #10B981;
}

.log-line.log-info {
  color: #38BDF8;
}

/* Service Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

.bento-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-4px);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.bento-card.featured-card {
  border-color: rgba(245, 158, 11, 0.55);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.10) 0%, rgba(15, 23, 42, 0.85) 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 22px rgba(245, 158, 11, 0.20);
}

.bento-card.featured-card .bento-title {
  color: #FBBF24;
}

.bento-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E0B;
  margin-bottom: 1.5rem;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.bento-desc {
  font-size: 0.9375rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Partner Logo Bar */
.partner-section {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 12, 21, 0.5);
}

.partner-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Footer */
.v1-footer {
  background: #050811;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 0 2rem;
  color: #94A3B8;
  font-size: 0.875rem;
}

.v1-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .v1-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .v1-footer-grid {
    grid-template-columns: 1fr;
  }
}

.v1-footer-brand p {
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 320px;
}

.v1-footer-col h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.v1-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.v1-footer-col a:hover {
  color: #F59E0B;
}

.v1-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

#packet-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 1;
  opacity: 0.85;
}

/* Live Telemetry Bar */
.telemetry-bar {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .telemetry-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.telemetry-item {
  display: flex;
  flex-direction: column;
}

.telemetry-label {
  font-size: 0.75rem;
  color: #64748B;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.telemetry-value {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.telemetry-value.healthy {
  color: #10B981;
}

/* Interactive Architecture Configurator */
.configurator-section {
  background: rgba(13, 17, 23, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin-top: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.config-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .config-grid {
    grid-template-columns: 1fr;
  }
  .configurator-section {
    padding: 1.75rem;
  }
}

.config-group {
  margin-bottom: 2rem;
}

.config-group-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #F59E0B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.config-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.config-pill {
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: #CBD5E1;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.config-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
}

.config-pill.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(255, 107, 0, 0.2) 100%);
  border-color: #F59E0B;
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

/* Blueprint Summary Card */
.blueprint-card {
  background: rgba(8, 12, 21, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.blueprint-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.blueprint-specs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  flex-grow: 1;
}

.spec-line {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-line span {
  color: #64748B;
}

.spec-line strong {
  color: #FFFFFF;
  font-family: var(--font-mono);
}

/* Bento 3D Grid */
.v3-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .v3-bento-grid {
    grid-template-columns: 1fr;
  }
}

.v3-bento-item {
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.v3-bento-item:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.15);
}

.v3-bento-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   design3 additions - sub-page hero, breadcrumb, roadmap tabs, glass panels
   ========================================================================== */
.subpage-hero {
  padding: 4.5rem 0 3rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #94A3B8;
  margin-bottom: 1.25rem;
}

.breadcrumb a { color: #FBBF24; font-weight: 600; }
.breadcrumb a:hover { color: #F59E0B; }

.glass-panel {
  background: rgba(30, 41, 59, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-table th {
  color: #F59E0B;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.spec-table td { color: #E2E8F0; }
.spec-table tr:last-child td { border-bottom: none; }

/* Migration roadmap tabs */
.roadmap-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.roadmap-tab {
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(30, 41, 59, 0.5);
  color: #94A3B8;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.roadmap-tab:hover {
  color: #FFFFFF;
  border-color: rgba(245, 158, 11, 0.4);
}

.roadmap-tab.active {
  background: linear-gradient(135deg, #F59E0B, #F97316);
  color: #000000;
  border-color: transparent;
}

.roadmap-pane { display: none; }
.roadmap-pane.active { display: block; }

.roadmap-card-box {
  background: rgba(30, 41, 59, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.roadmap-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

@media (max-width: 860px) {
  .roadmap-detail-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Top bar streamlining (design3)
   Overrides the wide 2rem .nav-links gap from common.css.
   ========================================================================== */
.v1-nav {
  gap: 1.5rem;
}

.v1-nav-links {
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}

.v1-nav-links a {
  padding: 0.5rem 0.7rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-cta .btn {
  white-space: nowrap;
}

@media (max-width: 1080px) and (min-width: 901px) {
  .v1-nav-links a {
    padding: 0.5rem 0.5rem;
    font-size: 0.85rem;
  }
}

/* Angular, technical surfaces */
body.subpage-proxmox .glass-panel,
body.subpage-proxmox .blueprint-card,
body.subpage-proxmox .roadmap-card-box,
body.subpage-proxmox .v3-bento-item {
  border-radius: 8px;
}

/* Technical-drawing styling: mono eyebrows, dashed rules, grid panels */
body.subpage-proxmox .section .badge {
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.6875rem;
}

.tech-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F59E0B;
}

body.subpage-proxmox .spec-table th,
body.subpage-proxmox .spec-table td {
  border-bottom-style: dashed;
  border-bottom-color: rgba(245, 158, 11, 0.18);
}

/* ==========================================================================
   Sub-page hero band - schematic blueprint grid, not the main page's photo
   ========================================================================== */
body.variant-1.subpage-proxmox {
  --hero-rgb: 6, 11, 20;
  --hero-base: #060B14;
  --hero-glow: rgba(245, 158, 11, 0.18);
  background-color: #060B14;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 88% 36%, rgba(249, 115, 22, 0.08) 0%, transparent 42%),
    radial-gradient(circle at 12% 78%, rgba(251, 191, 36, 0.05) 0%, transparent 45%),
    linear-gradient(to bottom, #060B14 0%, #0A1424 100%);
  background-attachment: fixed;
}

body.subpage-proxmox .cyber-grid-bg {
  background-image:
    linear-gradient(to right, rgba(245, 158, 11, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 158, 11, 0.06) 1px, transparent 1px);
}

body.subpage-proxmox .v1-header {
  border-bottom-color: rgba(245, 158, 11, 0.22);
}

body.subpage-proxmox .v1-nav-links a:hover {
  color: #FBBF24;
  background: rgba(245, 158, 11, 0.08);
}

body.subpage-proxmox .v1-hero-badge {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #FBBF24;
}

body.subpage-proxmox .v1-hero-title .gradient-text {
  background: linear-gradient(135deg, #F59E0B 0%, #F97316 50%, #FBBF24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.subpage-proxmox .btn-primary {
  background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.30);
}

body.subpage-proxmox .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

body.subpage-proxmox .btn-secondary {
  border-color: rgba(245, 158, 11, 0.25);
}

body.subpage-proxmox .glass-panel:hover,
body.subpage-proxmox .v3-bento-item:hover {
  border-color: rgba(245, 158, 11, 0.45);
}

body.subpage-proxmox .spec-table th {
  color: #F59E0B;
}

body.subpage-proxmox .roadmap-tab.active {
  background: linear-gradient(135deg, #F59E0B, #F97316);
  color: #101010;
}

body.subpage-proxmox .roadmap-tab:hover {
  border-color: rgba(245, 158, 11, 0.45);
}

body.subpage-proxmox .section .badge {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
  border-color: rgba(245, 158, 11, 0.30);
}

body.subpage-proxmox .badge-pulse-dot {
  background: #F59E0B;
}

body.subpage-proxmox .v1-hero {
  background-color: #060B14;
  background-image:
    radial-gradient(60% 55% at 80% 16%, rgba(245, 158, 11, 0.14), transparent 70%),
    linear-gradient(rgba(245, 158, 11, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(245, 158, 11, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #060B14 0%, #0A1424 100%);
  background-size: auto, 24px 24px, 24px 24px, 120px 120px, 120px 120px, auto;
  border-bottom: 1px solid rgba(245, 158, 11, 0.16);
}

/* ==========================================================================
   Balanced grids on the main page
   ========================================================================== */
/* 4 Core Services in a single balanced row (overrides the 3-col bento grid) */
#core-services .bento-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* 5 Customer Sectors evenly distributed */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 1100px) {
  #core-services .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  #core-services .bento-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Tighter vertical rhythm - reduce the oversized 6rem section padding
   (two adjacent sections were producing ~12rem / 192px of dead space)
   ========================================================================== */
.section {
  padding: 3rem 0;
}

#core-services .bento-grid,
#services .bento-grid {
  margin-top: 2rem;
}

/* Balanced 4-up row for the "Four Layers" stack cards on the Proxmox page */
#stack .v3-bento-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  #stack .v3-bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  #stack .v3-bento-grid { grid-template-columns: 1fr; }
}

/* Generic balanced 4-up grid (delivery band, etc.) */
.grid-4up {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .grid-4up { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4up { grid-template-columns: 1fr; }
}

/* Customer Sectors: compact icon cards */
.sector-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem;
}

.sector-icon {
  color: #F59E0B;
  flex: none;
  margin-bottom: 0.15rem;
}

.sector-name {
  font-weight: 700;
  color: #FFFFFF;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.sector-desc {
  font-size: 0.8125rem;
  color: #94A3B8;
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   Mobile: navigation + small-screen fixes
   ========================================================================== */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Simulator control rows must wrap on narrow screens */
.sim-status-indicators {
  flex-wrap: wrap;
  row-gap: 0.5rem;
}

.sim-controls-bar > div:last-child {
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .v1-header .v1-nav-links {
    display: none;
  }

  .v1-header.nav-open .v1-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 12, 21, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1.25rem 1rem;
    max-height: 70vh;
    overflow-y: auto;
  }

  .v1-header.nav-open .v1-nav-links a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
  }

  .nav-cta .btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
  }

  .v1-hero-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 640px) {
  .v1-hero-title {
    font-size: 2rem;
  }

  .telemetry-bar {
    padding: 1rem 1.1rem;
  }

  .section {
    padding: 2.25rem 0;
  }
}

/* Two-column narrative split (About / Leadership) - stacks on small screens */
.split-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 860px) {
  .split-2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
  .split-2 > div {
    min-width: 0;
  }
  .split-2 [style*="display: flex"] {
    flex-wrap: wrap;
  }
}

/* Long labels must never force a track wider than the viewport */
.btn {
  max-width: 100%;
}

@media (max-width: 860px) {
  .btn {
    white-space: normal;
  }
}

/* ==========================================================================
   Services-first main page additions (2026-10-12 review)
   - real vendor logo strip
   - card bullet lists
   - Get In Touch contact cards
   - inline technical figure (infographics)
   ========================================================================== */

/* --- Technology partner logo strip --------------------------------------- */
.partner-caption {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 1.75rem;
}

.partner-grid {
  opacity: 0.85;
  row-gap: 2.25rem;
}

.partner-logo {
  height: 32px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.92;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.partner-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .partner-grid { gap: 1.75rem 2rem; }
  .partner-logo { height: 26px; max-width: 118px; }
}

/* --- Card bullet lists (services / solutions) ---------------------------- */
.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.card-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.5;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.card-list li::after {
  content: "";
  position: absolute;
  left: 0.26rem;
  top: 0.6rem;
  width: 0.22rem;
  height: 0.4rem;
  border: solid #F59E0B;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.bento-card.featured-card .card-list li::before { border-color: rgba(251, 191, 36, 0.5); background: rgba(251, 191, 36, 0.15); }
.bento-card.featured-card .card-list li::after { border-color: #FBBF24; }

/* --- Get In Touch contact cards ------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.contact-card p {
  font-size: 0.9375rem;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.contact-card p strong { color: #E2E8F0; }
.contact-card .btn { width: 100%; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* --- Inline technical figure (infographics) ------------------------------ */
.figure-frame {
  position: relative;
  background-color: rgba(6, 11, 20, 0.6);
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 8px;
  padding: 1rem;
  overflow: hidden;
}

.figure-frame a { display: block; }

.figure-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.figure-caption {
  margin-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: #64748B;
}

.figure-caption .figure-hint {
  color: #38BDF8;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.figure-caption .figure-hint:hover {
  color: #7DD3FC;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .figure-frame { padding: 0.5rem; }
}

/* --- Softer drill-down heroes on the Proxmox detail pages ----------------
   Keeps the theme but stops the detail pages competing with the main page. */
body.subpage-proxmox .subpage-hero {
  padding: 3.25rem 0 2.25rem;
}

body.subpage-proxmox .v1-hero-title {
  font-size: 2.6rem;
}

body.subpage-proxmox .v1-hero-desc {
  font-size: 1.1rem;
  max-width: 640px;
  margin-bottom: 1.75rem;
}

body.subpage-proxmox .v1-hero-actions {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  body.subpage-proxmox .v1-hero-title { font-size: 2.1rem; }
}

/* --- Featured card corner badge -------------------------------------------
   Sits in the top-right corner so the "featured" flag costs no vertical
   space and the HCI card keeps the same height as the rest of its row. */
.featured-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FBBF24;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 400px) {
  .featured-badge { display: none; }
}

/* ==========================================================================
   Shared section header - one pattern for every section intro
   ========================================================================== */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.badge-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 1rem 0 0.75rem;
}

.section-sub {
  color: #94A3B8;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .section-title {
    font-size: 2rem;
  }
}

/* Cyan-emphasis link used by the Support Desk / Helpdesk entries */
.link-cyan {
  color: #38BDF8;
  font-weight: 600;
}

.link-cyan:hover {
  color: #F59E0B;
}

/* ==========================================================================
   Scrollable data tables (tiers / comparison) on small screens - a visible
   right-edge fade makes the extra columns discoverable on touch
   ========================================================================== */
.table-scroll {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

@media (max-width: 640px) {
  .table-scroll::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 34px;
    background: linear-gradient(90deg, rgba(11, 15, 26, 0) 0%, rgba(11, 15, 26, 0.92) 85%);
    pointer-events: none;
    border-top-right-radius: inherit;
    border-bottom-right-radius: inherit;
  }

  .spec-table {
    font-size: 0.72rem;
  }

  .spec-table th, .spec-table td {
    padding: 0.5rem 0.55rem;
    white-space: nowrap;
  }
}
