/* ============================================================
 * WUC Technologies — IT Operations Solutions Page
 * Scoped tokens: --itops-*
 * Loaded only on /solutions/it-operations/ via wuc-itops-page-enqueue.php
 * ============================================================ */

:root {
  --itops-bg-page: #ffffff;
  --itops-bg-section: #f4f7fb;
  --itops-bg-section-alt: #eef2f8;
  --itops-bg-panel: #ffffff;
  --itops-bg-deep: #0e1a2b;
  --itops-text-primary: #0e1a2b;
  --itops-text-secondary: #475569;
  --itops-text-muted: #64748b;
  --itops-text-on-deep: #ffffff;
  --itops-text-on-deep-muted: #cbd5e1;
  --itops-brand: #0052B8;
  --itops-brand-deep: #003a85;
  --itops-brand-tint: #e7f0fb;
  --itops-accent-success: #10b981;
  --itops-accent-warning: #f59e0b;
  --itops-accent-danger: #ef4444;
  --itops-accent-info: #06b6d4;
  --itops-border: #e2e8f0;
  --itops-border-strong: #cbd5e1;
  --itops-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --itops-shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --itops-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
  --itops-radius-sm: 6px;
  --itops-radius-md: 10px;
  --itops-radius-lg: 14px;
  --itops-space-1: 8px;
  --itops-space-2: 16px;
  --itops-space-3: 24px;
  --itops-space-4: 40px;
  --itops-space-5: 64px;
  --itops-space-6: 96px;
}

/* Page-scoped reset — only affects elements inside .itops-page */
.itops-page * { box-sizing: border-box; }
.itops-page p, .itops-page h1, .itops-page h2, .itops-page h3, .itops-page h4 { margin: 0; }

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

.itops-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--itops-space-3);
}

.itops-section { padding: var(--itops-space-6) 0; }
.itops-section--tinted { background: var(--itops-bg-section); }
.itops-section--alt { background: var(--itops-bg-section-alt); }
.itops-section--metric-band { background: var(--itops-brand-tint); padding: var(--itops-space-5) 0; }

.itops-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--itops-brand);
  margin-bottom: var(--itops-space-2);
}

.itops-section-header {
  max-width: 760px;
  margin-bottom: var(--itops-space-4);
}

.itops-section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--itops-space-2);
}

.itops-section-sub {
  font-size: 17px;
  color: var(--itops-text-secondary);
  line-height: 1.55;
}

/* ============== HERO ============== */
.itops-hero { padding: var(--itops-space-5) 0 var(--itops-space-6); background: linear-gradient(180deg, var(--itops-bg-section) 0%, #ffffff 100%); }
.itops-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--itops-space-4); align-items: center; }

.itops-hero-h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: var(--itops-space-3); color: var(--itops-text-primary);
}
.itops-hero-h1 .accent { color: var(--itops-brand); }

.itops-hero-sub {
  font-size: 18px; line-height: 1.55; color: var(--itops-text-secondary);
  margin-bottom: var(--itops-space-3); max-width: 540px;
}

.itops-cta-row { display: flex; flex-wrap: wrap; gap: var(--itops-space-2); }

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

/* NOC dashboard mock on hero right */
.itops-noc-mock {
  background: var(--itops-bg-deep); color: var(--itops-text-on-deep);
  border-radius: var(--itops-radius-lg); padding: var(--itops-space-3);
  box-shadow: var(--itops-shadow-lg); position: relative; overflow: hidden;
  font-family: 'Inter', sans-serif;
}
.itops-noc-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--itops-space-2); border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--itops-space-2);
}
.itops-noc-title {
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--itops-text-on-deep-muted);
}
.itops-noc-pulse {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--itops-accent-success);
}
.itops-noc-pulse::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--itops-accent-success);
  animation: itops-pulse 1.6s infinite;
}
@keyframes itops-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.itops-noc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--itops-space-2); margin-bottom: var(--itops-space-2); }
.itops-noc-tile {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--itops-radius-sm); padding: var(--itops-space-2);
}
.itops-noc-tile-label { font-size: 10.5px; font-weight: 500; color: var(--itops-text-on-deep-muted); margin-bottom: 4px; letter-spacing: 0.5px; text-transform: uppercase; }
.itops-noc-tile-value { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 600; color: #fff; line-height: 1; }
.itops-noc-tile-delta { font-size: 11px; color: var(--itops-accent-success); margin-top: 4px; }
.itops-noc-tile-delta.warning { color: var(--itops-accent-warning); }

.itops-noc-bars { display: flex; align-items: flex-end; gap: 3px; height: 32px; padding-top: var(--itops-space-2); }
.itops-noc-bar { flex: 1; background: var(--itops-brand); border-radius: 1px; opacity: 0.85; }

.itops-noc-footer {
  margin-top: var(--itops-space-2); padding-top: var(--itops-space-2);
  border-top: 1px solid rgba(255,255,255,0.08); font-size: 11px; color: var(--itops-text-on-deep-muted); line-height: 1.5;
}

/* ============== PAIN CARDS ============== */
.itops-pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--itops-space-3); }
.itops-pain-card {
  background: var(--itops-bg-panel); border: 1px solid var(--itops-border);
  border-radius: var(--itops-radius-md); padding: var(--itops-space-4);
  position: relative; transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.itops-pain-card:hover { box-shadow: var(--itops-shadow-md); transform: translateY(-2px); }
.itops-pain-icon {
  width: 40px; height: 40px; border-radius: var(--itops-radius-sm);
  background: var(--itops-brand-tint); color: var(--itops-brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--itops-space-2);
}
.itops-pain-card h3 {
  font-size: 18px; font-weight: 700; margin-bottom: var(--itops-space-2);
  color: var(--itops-text-primary); letter-spacing: -0.01em; line-height: 1.3;
}
.itops-pain-card p {
  font-size: 14.5px; line-height: 1.6; color: var(--itops-text-secondary);
}

/* ============== METRIC BAND ============== */
.itops-metric-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--itops-space-3);
}
.itops-metric-tile {
  background: var(--itops-bg-panel); border: 1px solid var(--itops-border);
  border-radius: var(--itops-radius-md); padding: var(--itops-space-4);
  text-align: left;
}
.itops-metric-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 42px; font-weight: 600;
  color: var(--itops-brand); letter-spacing: -0.03em; line-height: 1;
  margin-bottom: var(--itops-space-2);
}
.itops-metric-label {
  font-size: 14px; font-weight: 600; color: var(--itops-text-primary);
  margin-bottom: 6px; letter-spacing: -0.005em;
}
.itops-metric-sub {
  font-size: 12.5px; color: var(--itops-text-muted); line-height: 1.5;
}

/* ============== CAPABILITY GRID ============== */
.itops-cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--itops-space-3); }
.itops-cap-card {
  background: var(--itops-bg-panel); border: 1px solid var(--itops-border);
  border-radius: var(--itops-radius-md); padding: var(--itops-space-3);
  display: flex; flex-direction: column; gap: var(--itops-space-2);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.itops-cap-card:hover { box-shadow: var(--itops-shadow-md); transform: translateY(-2px); }
.itops-cap-icon {
  width: 36px; height: 36px; border-radius: var(--itops-radius-sm);
  background: var(--itops-brand-tint); color: var(--itops-brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.itops-cap-title {
  font-size: 16px; font-weight: 700; color: var(--itops-text-primary);
  letter-spacing: -0.01em; line-height: 1.3;
}
.itops-cap-desc {
  font-size: 13.5px; color: var(--itops-text-secondary); line-height: 1.5; flex: 1;
}
.itops-cap-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--itops-brand);
  text-decoration: none; margin-top: auto;
}
.itops-cap-link:hover { text-decoration: underline; }

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

/* ============== STEPS ============== */
.itops-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--itops-space-3); }
.itops-step {
  background: var(--itops-bg-panel); border: 1px solid var(--itops-border);
  border-radius: var(--itops-radius-md); padding: var(--itops-space-4);
}
.itops-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: var(--itops-brand-tint); color: var(--itops-brand);
  border-radius: 50%; font-size: 16px; font-weight: 800; margin-bottom: var(--itops-space-2);
}
.itops-step-title {
  font-size: 17px; font-weight: 700; color: var(--itops-text-primary);
  margin-bottom: 4px; letter-spacing: -0.01em;
}
.itops-step-duration {
  font-size: 12.5px; color: var(--itops-brand); font-weight: 600; margin-bottom: var(--itops-space-2);
}
.itops-step-desc {
  font-size: 14px; color: var(--itops-text-secondary); line-height: 1.55; margin-bottom: var(--itops-space-2);
}
.itops-step-detail {
  font-size: 12.5px; color: var(--itops-text-muted); line-height: 1.5;
  padding-top: var(--itops-space-2); border-top: 1px dashed var(--itops-border);
  font-style: italic;
}
.itops-step-detail strong { color: var(--itops-brand); font-style: normal; font-weight: 600; }

/* ============== FAQ ============== */
.itops-faq-list { max-width: 880px; margin: 0 auto; }
.itops-faq-item { border-bottom: 1px solid var(--itops-border); }
.itops-faq-item:first-child { border-top: 1px solid var(--itops-border); }
.itops-faq-q {
  width: 100%; background: none; border: none;
  padding: var(--itops-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(--itops-text-primary); text-align: left; letter-spacing: -0.01em;
  list-style: none;
}
.itops-faq-q::-webkit-details-marker { display: none; }
.itops-faq-q:hover { color: var(--itops-brand); }
.itops-faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--itops-bg-section);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0; margin-left: var(--itops-space-2);
  transition: transform 0.2s ease, background 0.2s ease;
}
.itops-faq-item[open] .itops-faq-icon {
  background: var(--itops-brand); color: #fff; transform: rotate(45deg);
}
.itops-faq-a {
  padding: 0 0 var(--itops-space-3) 0;
  font-size: 15px; line-height: 1.65; color: var(--itops-text-secondary); max-width: 760px;
}

/* ============== FINAL CTA ============== */
.itops-final-cta {
  background: var(--itops-brand); color: #fff;
  text-align: center; padding: var(--itops-space-6) var(--itops-space-3);
}
.itops-final-cta-inner { max-width: 720px; margin: 0 auto; }
.itops-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(--itops-space-3);
}
.itops-final-cta-sub {
  font-size: 17px; color: rgba(255, 255, 255, 0.85);
  line-height: 1.5; margin-bottom: var(--itops-space-4);
}
.itops-final-cta-row { display: flex; justify-content: center; gap: var(--itops-space-2); flex-wrap: wrap; }
.itops-final-cta-fallback {
  margin-top: var(--itops-space-3); font-size: 14px; color: rgba(255, 255, 255, 0.75);
}
.itops-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: 960px) {
  .itops-hero-grid { grid-template-columns: 1fr; }
  .itops-pain-grid { grid-template-columns: 1fr; }
  .itops-metric-grid { grid-template-columns: 1fr 1fr; }
  .itops-cap-grid { grid-template-columns: 1fr 1fr; }
  .itops-steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .itops-section { padding: var(--itops-space-5) 0; }
  .itops-section-header { margin-bottom: var(--itops-space-3); }
  .itops-hero { padding: var(--itops-space-5) 0; }
  .itops-cta-row { flex-direction: column; align-items: stretch; }
  .itops-btn { justify-content: center; }
  .itops-cap-grid { grid-template-columns: 1fr; }
}
