/* ============================================================
 * WUC Technologies — Hyperconverged & Cloud Solutions Page
 * Scoped tokens: --hci-*
 * Loaded only on /solutions/hyperconverged-cloud/ via wuc-hci-page-enqueue.php
 * ============================================================ */

:root {
  --hci-bg-page: #ffffff;
  --hci-bg-section: #f5f8fc;
  --hci-bg-section-alt: #eef3f9;
  --hci-bg-panel: #ffffff;
  --hci-bg-deep: #0a1628;
  --hci-bg-grid: #f8fafc;
  --hci-text-primary: #0a1628;
  --hci-text-secondary: #475569;
  --hci-text-muted: #64748b;
  --hci-text-on-deep: #ffffff;
  --hci-text-on-deep-muted: #cbd5e1;
  --hci-brand: #0052B8;
  --hci-brand-deep: #003a85;
  --hci-brand-tint: #e7f0fb;
  --hci-accent-success: #10b981;
  --hci-accent-warning: #f59e0b;
  --hci-accent-danger: #ef4444;
  --hci-accent-info: #06b6d4;
  --hci-accent-violet: #8b5cf6;
  --hci-border: #e2e8f0;
  --hci-border-strong: #cbd5e1;
  --hci-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --hci-shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --hci-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
  --hci-radius-sm: 6px;
  --hci-radius-md: 10px;
  --hci-radius-lg: 14px;
  --hci-space-1: 8px;
  --hci-space-2: 16px;
  --hci-space-3: 24px;
  --hci-space-4: 40px;
  --hci-space-5: 64px;
  --hci-space-6: 96px;
  --hci-platform-nutanix: #ef4f76;
  --hci-platform-dell: #007db8;
  --hci-platform-hpe: #01a982;
  --hci-platform-vmware: #1d4ed8;
  --hci-platform-cisco: #1ba0d7;
}

.hci-page * { box-sizing: border-box; }
.hci-page p, .hci-page h1, .hci-page h2, .hci-page h3, .hci-page h4 { margin: 0; }

.hci-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--hci-text-primary);
  background: var(--hci-bg-page);
  -webkit-font-smoothing: antialiased;
}

.hci-page code, .hci-mono { font-family: 'JetBrains Mono', monospace; font-size: 0.9em; background: var(--hci-bg-section-alt); padding: 1px 6px; border-radius: 4px; }

.hci-container { max-width: 1240px; margin: 0 auto; padding: 0 var(--hci-space-3); }
.hci-section { padding: var(--hci-space-6) 0; }
.hci-section--tinted { background: var(--hci-bg-section); }
.hci-section--alt { background: var(--hci-bg-section-alt); }

.hci-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--hci-brand); margin-bottom: var(--hci-space-2);
}
.hci-section-header { max-width: 760px; margin-bottom: var(--hci-space-4); }
.hci-section-title {
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: var(--hci-space-2);
}
.hci-section-sub { font-size: 17px; color: var(--hci-text-secondary); line-height: 1.55; }

/* ============== HERO ============== */
.hci-hero { padding: var(--hci-space-5) 0 var(--hci-space-6); background: linear-gradient(180deg, var(--hci-bg-section) 0%, #ffffff 100%); }
.hci-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--hci-space-4); align-items: center; }
.hci-hero-h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: var(--hci-space-3); color: var(--hci-text-primary);
}
.hci-hero-h1 .accent { color: var(--hci-brand); }
.hci-hero-sub { font-size: 18px; line-height: 1.55; color: var(--hci-text-secondary); margin-bottom: var(--hci-space-3); max-width: 560px; }

.hci-cta-row { display: flex; flex-wrap: wrap; gap: var(--hci-space-2); }
.hci-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: var(--hci-radius-md);
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: none; cursor: pointer; transition: all 0.15s ease; font-family: inherit;
}
.hci-btn--primary { background: var(--hci-brand); color: #fff; }
.hci-btn--primary:hover { background: var(--hci-brand-deep); transform: translateY(-1px); box-shadow: var(--hci-shadow-md); }
.hci-btn--secondary { background: transparent; color: var(--hci-brand); border: 1.5px solid var(--hci-brand); }
.hci-btn--secondary:hover { background: var(--hci-brand-tint); }
.hci-btn--on-deep { background: #fff; color: var(--hci-bg-deep); }
.hci-btn--on-deep:hover { background: var(--hci-bg-section-alt); }

.hci-hero-topo {
  background: var(--hci-bg-deep); border-radius: var(--hci-radius-lg);
  padding: var(--hci-space-4); box-shadow: var(--hci-shadow-lg);
  position: relative; overflow: hidden;
}
.hci-hero-topo-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--hci-text-on-deep-muted); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: var(--hci-space-2); }
.hci-hero-cluster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: var(--hci-space-3); }
.hci-hero-node { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; padding: 10px; text-align: center; }
.hci-hero-node-icon { width: 22px; height: 22px; background: var(--hci-brand); border-radius: 4px; margin: 0 auto 6px; }
.hci-hero-node-id { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--hci-text-on-deep-muted); }
.hci-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--hci-space-2); padding-top: var(--hci-space-2); border-top: 1px solid rgba(255,255,255,0.08); }
.hci-hero-stat-num { font-family: 'JetBrains Mono', monospace; font-size: 20px; font-weight: 600; color: #fff; line-height: 1; }
.hci-hero-stat-label { font-size: 11px; color: var(--hci-text-on-deep-muted); margin-top: 4px; letter-spacing: 0.3px; }

/* ============== LIFECYCLE REALITY ============== */
.hci-reality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--hci-space-3); }
.hci-reality-card {
  background: var(--hci-bg-panel); border: 1px solid var(--hci-border);
  border-radius: var(--hci-radius-md); padding: var(--hci-space-4);
  position: relative;
}
.hci-reality-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--hci-brand); }
.hci-reality-card h3 { font-size: 18px; font-weight: 700; margin-bottom: var(--hci-space-2); color: var(--hci-text-primary); letter-spacing: -0.01em; line-height: 1.3; }
.hci-reality-card p { font-size: 14.5px; line-height: 1.6; color: var(--hci-text-secondary); }

/* ============== PLATFORM MATRIX ============== */
.hci-platform-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--hci-space-2); }
.hci-platform-card {
  background: var(--hci-bg-panel); border: 1px solid var(--hci-border);
  border-radius: var(--hci-radius-md); padding: var(--hci-space-3);
  position: relative; overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.hci-platform-card:hover { box-shadow: var(--hci-shadow-md); transform: translateY(-2px); }
.hci-platform-accent { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.hci-platform-card[data-platform="nutanix"] .hci-platform-accent { background: var(--hci-platform-nutanix); }
.hci-platform-card[data-platform="dell"]    .hci-platform-accent { background: var(--hci-platform-dell); }
.hci-platform-card[data-platform="hpe"]     .hci-platform-accent { background: var(--hci-platform-hpe); }
.hci-platform-card[data-platform="vmware"]  .hci-platform-accent { background: var(--hci-platform-vmware); }
.hci-platform-card[data-platform="cisco"]   .hci-platform-accent { background: var(--hci-platform-cisco); }
.hci-platform-name { font-size: 15px; font-weight: 700; color: var(--hci-text-primary); margin-bottom: 4px; padding-top: 10px; letter-spacing: -0.01em; }
.hci-platform-product { font-size: 12px; color: var(--hci-text-muted); font-weight: 500; margin-bottom: var(--hci-space-3); }
.hci-platform-rows { display: flex; flex-direction: column; gap: 10px; }
.hci-platform-row { display: flex; flex-direction: column; gap: 2px; }
.hci-platform-row-label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--hci-text-muted); }
.hci-platform-row-value { font-size: 12.5px; line-height: 1.4; color: var(--hci-text-primary); }
.hci-platform-status { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; }
.hci-platform-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--hci-accent-success); }
.hci-platform-status.warning::before { background: var(--hci-accent-warning); }

/* ============== CAPABILITY MAP ============== */
.hci-cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--hci-space-3); }
.hci-cap-card {
  background: var(--hci-bg-panel); border: 1px solid var(--hci-border);
  border-radius: var(--hci-radius-md); padding: var(--hci-space-3);
  display: flex; flex-direction: column; gap: var(--hci-space-2);
}
.hci-cap-title { font-size: 15px; font-weight: 700; color: var(--hci-text-primary); letter-spacing: -0.01em; line-height: 1.3; }
.hci-cap-outcome { font-size: 13.5px; color: var(--hci-text-secondary); line-height: 1.5; }
.hci-cap-spec { font-size: 11.5px; color: var(--hci-brand); font-weight: 500; font-family: 'JetBrains Mono', monospace; padding-top: var(--hci-space-2); border-top: 1px dashed var(--hci-border); margin-top: auto; }

/* ============== COMPARISON MATRIX ============== */
.hci-matrix-wrap { background: var(--hci-bg-panel); border: 1px solid var(--hci-border); border-radius: var(--hci-radius-md); overflow: hidden; box-shadow: var(--hci-shadow-sm); }
.hci-matrix-scroll { overflow-x: auto; }
.hci-matrix { width: 100%; border-collapse: collapse; min-width: 880px; }
.hci-matrix thead th { background: var(--hci-bg-section-alt); color: var(--hci-text-primary); font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; padding: var(--hci-space-2); text-align: left; border-bottom: 2px solid var(--hci-border-strong); }
.hci-matrix thead th.hci-col-wuc { background: var(--hci-brand); color: #fff; }
.hci-matrix tbody td { padding: var(--hci-space-2); border-bottom: 1px solid var(--hci-border); font-size: 13.5px; color: var(--hci-text-secondary); line-height: 1.45; vertical-align: top; }
.hci-matrix tbody tr:last-child td { border-bottom: none; }
.hci-matrix tbody td.hci-row-label { font-weight: 600; color: var(--hci-text-primary); background: var(--hci-bg-section); width: 230px; }
.hci-matrix tbody td.hci-cell-wuc { background: rgba(0, 82, 184, 0.04); color: var(--hci-text-primary); font-weight: 500; }
.hci-mark { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 700; margin-right: 8px; flex-shrink: 0; }
.hci-mark--good { background: #d1fae5; color: var(--hci-accent-success); }
.hci-mark--partial { background: #fef3c7; color: var(--hci-accent-warning); }
.hci-mark--gap { background: #fee2e2; color: var(--hci-accent-danger); }
.hci-cell-line { display: flex; align-items: flex-start; }

/* ============== REFERENCE ARCHITECTURE DIAGRAM ============== */
.hci-diagram-wrap { background: var(--hci-bg-panel); border: 1px solid var(--hci-border); border-radius: var(--hci-radius-lg); padding: var(--hci-space-4); box-shadow: var(--hci-shadow-sm); }
.hci-diagram-svg { width: 100%; height: auto; display: block; }
.hci-diagram-callouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--hci-space-3); margin-top: var(--hci-space-4); }
.hci-callout { background: var(--hci-bg-section); border-left: 3px solid var(--hci-brand); padding: var(--hci-space-2) var(--hci-space-3); border-radius: 0 var(--hci-radius-sm) var(--hci-radius-sm) 0; }
.hci-callout-title { font-size: 13px; font-weight: 700; color: var(--hci-text-primary); margin-bottom: 4px; }
.hci-callout-desc { font-size: 12.5px; color: var(--hci-text-secondary); line-height: 1.5; }

/* ============== FAQ ============== */
.hci-faq-list { max-width: 880px; margin: 0 auto; }
.hci-faq-item { border-bottom: 1px solid var(--hci-border); }
.hci-faq-item:first-child { border-top: 1px solid var(--hci-border); }
.hci-faq-q { width: 100%; background: none; border: none; padding: var(--hci-space-3) 0; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-family: inherit; font-size: 16.5px; font-weight: 600; color: var(--hci-text-primary); text-align: left; letter-spacing: -0.01em; list-style: none; }
.hci-faq-q::-webkit-details-marker { display: none; }
.hci-faq-q:hover { color: var(--hci-brand); }
.hci-faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--hci-bg-section); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; margin-left: var(--hci-space-2); transition: transform 0.2s ease, background 0.2s ease; }
.hci-faq-item[open] .hci-faq-icon { background: var(--hci-brand); color: #fff; transform: rotate(45deg); }
.hci-faq-a { padding: 0 0 var(--hci-space-3) 0; font-size: 15px; line-height: 1.65; color: var(--hci-text-secondary); max-width: 760px; }
.hci-faq-a code { background: var(--hci-bg-section); padding: 1px 6px; border-radius: 4px; font-size: 0.92em; font-family: 'JetBrains Mono', monospace; }

/* ============== FINAL CTA ============== */
.hci-final-cta { background: var(--hci-brand); color: #fff; text-align: center; padding: var(--hci-space-6) var(--hci-space-3); }
.hci-final-cta-inner { max-width: 720px; margin: 0 auto; }
.hci-final-cta-h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: var(--hci-space-3); }
.hci-final-cta-sub { font-size: 17px; color: rgba(255, 255, 255, 0.85); line-height: 1.5; margin-bottom: var(--hci-space-4); }
.hci-final-cta-row { display: flex; justify-content: center; gap: var(--hci-space-2); flex-wrap: wrap; }
.hci-final-cta-fallback { margin-top: var(--hci-space-3); font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.hci-final-cta-fallback a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }

/* ============== RESPONSIVE ============== */
@media (max-width: 1080px) {
  .hci-platform-grid { grid-template-columns: repeat(3, 1fr); }
  .hci-cap-grid { grid-template-columns: 1fr 1fr; }
  .hci-diagram-callouts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hci-hero-grid { grid-template-columns: 1fr; }
  .hci-reality-grid { grid-template-columns: 1fr; }
  .hci-platform-grid { grid-template-columns: 1fr; }
  .hci-cap-grid { grid-template-columns: 1fr; }
  .hci-diagram-callouts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hci-section { padding: var(--hci-space-5) 0; }
  .hci-section-header { margin-bottom: var(--hci-space-3); }
  .hci-cta-row { flex-direction: column; align-items: stretch; }
  .hci-btn { justify-content: center; }
}
