/*
Theme Name:  V9LLogic
Theme URI:   https://llogicsoftware.com
Description: V9LLogic — Version 9 of the Lewers Logic enterprise site as a self-contained WordPress theme. Canvas-rendered 3D grid floor with circuit-light particles on home/about/contact, sector-themed product backgrounds (cash signs, DNA helixes, judicial symbols), glass-panel navigation, and per-sector color theming.
Author:      Lewers Logic LLC
Version:     9.0.0
Text Domain: v9llogic
*/

/* ── NOTE: Google Fonts are enqueued via functions.php, not @import ── */

:root {
  --midnight-navy:  #0A192F;
  --active-teal:    #00D1FF;
  --slate-blue:     #507C94;
  --clean-white:    #E2E8F0;
  --text-muted:     rgba(226,232,240,0.55);
  --glass-bg:       rgba(10,25,47,0.65);
  --border-glass:   rgba(0,209,255,0.12);
  --sector-color:   #00D1FF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--midnight-navy);
  color: var(--clean-white);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Typography ─────────────────────────────────────────── */

h1, h2, h3 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.03em;
}
h4 { font-family: 'Orbitron', sans-serif; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 18px; }
h3 { font-size: 1rem; margin-bottom: 8px; }
p  { color: var(--text-muted); line-height: 1.75; }
a  { color: var(--active-teal); }

/* ── WordPress admin bar offset ─────────────────────────── */
.admin-bar nav { top: 32px; }
@media (max-width: 782px) { .admin-bar nav { top: 46px; } }

/* ── Canvas Tendril Layer ───────────────────────────────── */

#tendril-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

/* ── Scroll Progress Bar ────────────────────────────────── */

#scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--active-teal);
  box-shadow: 0 0 8px var(--active-teal);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ── Splash Screen ──────────────────────────────────────── */

#splash {
  position: fixed;
  inset: 0;
  background: #020d1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#splash.hidden { opacity: 0; visibility: hidden; }
.splash-logo { width: 90px; height: 90px; margin-bottom: 18px; animation: splashPulse 1.2s ease-in-out infinite alternate; }
.splash-logo img { width: 100%; height: 100%; object-fit: contain; }
.splash-wordmark { font-family: 'Orbitron', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--clean-white); letter-spacing: 0.14em; }
.splash-tagline { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--active-teal); margin-top: 8px; letter-spacing: 0.2em; text-transform: uppercase; }
@keyframes splashPulse { from { filter: drop-shadow(0 0 8px rgba(0,209,255,0.3)); } to { filter: drop-shadow(0 0 22px rgba(0,209,255,0.9)); } }

/* ── Navigation ─────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  z-index: 500;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(10,25,47,0.88);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border-glass);
}
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo-img { width: 36px; height: 36px; object-fit: contain; }
.nav-logo-text { font-family: 'Orbitron', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--clean-white); letter-spacing: 0.1em; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links li { list-style: none; }
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--clean-white); }
.nav-links a.active,
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a { color: var(--sector-color); border-bottom-color: var(--sector-color); }
/* Last nav item = CTA button (add CSS class "nav-cta" in WP menu admin, or it auto-applies here) */
.nav-links li:last-child > a,
.nav-links a.nav-cta {
  background: rgba(0,209,255,0.08) !important;
  border: 1px solid rgba(0,209,255,0.3) !important;
  border-radius: 4px !important;
  padding: 7px 18px !important;
  color: var(--active-teal) !important;
  border-bottom: none !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.nav-links li:last-child > a:hover,
.nav-links a.nav-cta:hover { background: rgba(0,209,255,0.16) !important; box-shadow: 0 0 14px rgba(0,209,255,0.25); }

/* ── Section layout ─────────────────────────────────────── */

section { padding: 96px 48px; }
section > div { max-width: 1100px; margin: 0 auto; }

/* ── Section label ──────────────────────────────────────── */

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--active-teal);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--active-teal);
  box-shadow: 0 0 6px rgba(0,209,255,0.6);
  flex-shrink: 0;
}

/* ── Dissolve Scroll Animation ──────────────────────────── */

.dissolve {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(16px);
  transition: opacity 0.7s ease-out, filter 0.7s ease-out, transform 0.6s ease-out;
}
.dissolve.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--active-teal);
  color: var(--midnight-navy);
  box-shadow: 0 0 20px rgba(0,209,255,0.3);
}
.btn-primary:hover { box-shadow: 0 0 32px rgba(0,209,255,0.55); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--active-teal);
  border: 1px solid rgba(0,209,255,0.4);
}
.btn-outline:hover { background: rgba(0,209,255,0.08); border-color: var(--active-teal); }

/* ── Hero (Home) ─────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 48px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0,209,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 780px; }
.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--active-teal);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 { color: var(--clean-white); margin-bottom: 22px; }
.hero p { font-size: 1.05rem; max-width: 580px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
#typewriter-prefix { color: var(--clean-white); display: block; }
#typewriter { color: var(--active-teal); display: block; white-space: nowrap; }
#typewriter::after { content: '|'; animation: blink 0.8s step-end infinite; color: var(--active-teal); }
@keyframes blink { 50% { opacity: 0; } }

/* ── Page Hero (About / Contact / Blog) ──────────────────── */

.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 48px 80px;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--border-glass);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 60%, rgba(0,209,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 700px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1rem; }
.page-hero-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--slate-blue);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 16px;
}

/* ── Product Hero ────────────────────────────────────────── */

.product-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 140px 48px 80px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 40%, rgba(0,209,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.product-hero-inner { max-width: 800px; }
.product-hero h1 { color: var(--clean-white); margin-bottom: 20px; }
.product-hero p { font-size: 1.05rem; max-width: 620px; margin-bottom: 36px; }
.product-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Product Badge ───────────────────────────────────────── */

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  border-radius: 3px;
  border: 1px solid rgba(0,209,255,0.3);
  background: rgba(0,209,255,0.06);
  color: var(--active-teal);
  margin-bottom: 24px;
}

/* ── Feature Cards ───────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature-card {
  padding: 28px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--active-teal), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover { border-color: rgba(0,209,255,0.2); background: rgba(10,25,47,0.85); }
.feature-card:hover::after { opacity: 1; }
.feature-icon { font-size: 1.4rem; margin-bottom: 12px; }
.feature-card h3 { color: var(--clean-white); font-size: 0.82rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.83rem; line-height: 1.65; }

/* ── Stats Strip ─────────────────────────────────────────── */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(0,209,255,0.04);
  border: 1px solid var(--border-glass);
}
.stats-strip-item { padding: 18px 20px; border-right: 1px solid var(--border-glass); }
.stats-strip-item:last-child { border-right: none; }
.stats-strip-num { font-family: 'Orbitron', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--active-teal); margin-bottom: 3px; }
.stats-strip-label { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.14em; }

/* ── Data Table ──────────────────────────────────────────── */

.data-table { width: 100%; border-collapse: collapse; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; margin-bottom: 20px; }
.data-table th { text-align: left; padding: 10px 14px; background: rgba(0,209,255,0.06); border: 1px solid var(--border-glass); color: var(--slate-blue); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.6rem; }
.data-table td { padding: 11px 14px; border: 1px solid rgba(80,124,148,0.12); color: var(--clean-white); }
.data-table tr:hover td { background: rgba(0,209,255,0.03); }
.val-green { color: #00FF41; } .val-warn { color: #FFD60A; } .val-red { color: #FF5555; }

/* ── Case / Status Chips ────────────────────────────────── */

.case-chip { font-family: 'JetBrains Mono', monospace; font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; padding: 3px 9px; border-radius: 3px; border: 1px solid; white-space: nowrap; }
.case-urgent { background: rgba(255,85,85,0.1);  color: #FF5555; border-color: rgba(255,85,85,0.3); }
.case-review { background: rgba(255,214,10,0.1); color: #FFD60A; border-color: rgba(255,214,10,0.3); }
.case-open   { background: rgba(0,209,255,0.08); color: var(--active-teal); border-color: rgba(0,209,255,0.25); }
.case-closed { background: rgba(80,124,148,0.1); color: var(--slate-blue);  border-color: rgba(80,124,148,0.25); }

/* ── Chat Demo ───────────────────────────────────────────── */

.chat-demo { background: rgba(4,12,28,0.85); backdrop-filter: blur(20px); border: 1px solid rgba(46,143,181,0.25); border-radius: 4px; overflow: hidden; }
.chat-header { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(46,143,181,0.08); border-bottom: 1px solid rgba(46,143,181,0.2); }
.chat-header-dot { width: 8px; height: 8px; border-radius: 50%; background: #2E8FB5; box-shadow: 0 0 8px rgba(46,143,181,0.8); animation: chatPulse 1.8s ease-in-out infinite; }
@keyframes chatPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.chat-header-label { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; color: var(--slate-blue); letter-spacing: 0.1em; }
.chat-messages { padding: 20px 16px; min-height: 280px; display: flex; flex-direction: column; gap: 14px; }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 3px; font-size: 0.82rem; line-height: 1.55; }
.chat-msg.user { align-self: flex-end; background: rgba(46,143,181,0.15); border: 1px solid rgba(46,143,181,0.3); color: var(--clean-white); font-family: 'Montserrat', sans-serif; }
.chat-msg.lewis { align-self: flex-start; background: rgba(10,25,47,0.9); border: 1px solid var(--border-glass); color: var(--clean-white); font-family: 'Montserrat', sans-serif; }
.chat-source { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.chat-source span { font-family: 'JetBrains Mono', monospace; font-size: 0.55rem; padding: 2px 7px; background: rgba(46,143,181,0.12); border: 1px solid rgba(46,143,181,0.25); color: #2E8FB5; border-radius: 2px; letter-spacing: 0.08em; }
.chat-input-bar { padding: 12px 16px; border-top: 1px solid rgba(46,143,181,0.15); display: flex; align-items: center; gap: 10px; }
.chat-input-mock { flex: 1; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: rgba(226,232,240,0.25); padding: 8px 12px; background: rgba(10,25,47,0.6); border: 1px solid var(--border-glass); border-radius: 3px; }
.chat-send-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(46,143,181,0.15); border: 1px solid rgba(46,143,181,0.3); color: #2E8FB5; font-size: 0.9rem; border-radius: 3px; cursor: default; }

/* ── CTA Band ────────────────────────────────────────────── */

.cta-band { padding: 80px 48px; text-align: center; border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass); background: rgba(0,209,255,0.02); }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p  { max-width: 540px; margin: 0 auto 32px; }

/* ── Footer ──────────────────────────────────────────────── */

footer { padding: 64px 48px 32px; border-top: 1px solid var(--border-glass); position: relative; z-index: 2; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.82rem; line-height: 1.7; max-width: 280px; margin-top: 14px; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo img { width: 32px; height: 32px; object-fit: contain; }
.footer-logo-text { font-family: 'Orbitron', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--clean-white); letter-spacing: 0.1em; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: var(--clean-white); font-size: 0.68rem; letter-spacing: 0.2em; margin-bottom: 6px; }
.footer-col a { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--active-teal); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border-glass); font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: rgba(226,232,240,0.25); }

/* ── Product Cards (Home) ────────────────────────────────── */

.product-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 48px; }
.product-card { padding: 36px 28px; background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid var(--border-glass); text-decoration: none; display: block; position: relative; overflow: hidden; transition: border-color 0.25s, background 0.25s; }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; opacity: 0; transition: opacity 0.3s; }
.product-card:hover { background: rgba(10,25,47,0.9); }
.product-card:hover::before { opacity: 1; }
.product-card-sector { font-family: 'JetBrains Mono', monospace; font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 16px; }
.product-card h3 { color: var(--clean-white); font-size: 1rem; margin-bottom: 10px; }
.product-card p  { font-size: 0.82rem; line-height: 1.65; margin-bottom: 20px; }
.product-card-arrow { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.1em; }
.card-green { border-top-color: rgba(0,255,65,0.15); }
.card-green .product-card-sector, .card-green .product-card-arrow { color: #00FF41; }
.card-green::before { background: #00FF41; }
.card-green:hover { border-color: rgba(0,255,65,0.2); }
.card-blue { border-top-color: rgba(46,143,181,0.15); }
.card-blue .product-card-sector, .card-blue .product-card-arrow { color: #2E8FB5; }
.card-blue::before { background: #2E8FB5; }
.card-blue:hover { border-color: rgba(46,143,181,0.2); }
.card-teal { border-top-color: rgba(60,153,146,0.15); }
.card-teal .product-card-sector, .card-teal .product-card-arrow { color: #3C9992; }
.card-teal::before { background: linear-gradient(90deg,#3C9992,#005493); }
.card-teal:hover { border-color: rgba(60,153,146,0.2); }

/* ── About page ──────────────────────────────────────────── */

.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 36px; position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, transparent, var(--border-glass) 10%, var(--border-glass) 90%, transparent); }
.timeline-item { padding: 0 0 36px 28px; position: relative; }
.timeline-dot { position: absolute; left: -25px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--midnight-navy); border: 2px solid var(--node-color, var(--active-teal)); box-shadow: 0 0 10px var(--node-color, var(--active-teal)); }
.timeline-phase { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: var(--active-teal); text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 3px; }
.timeline-year { font-family: 'Orbitron', sans-serif; font-size: 0.75rem; color: var(--slate-blue); margin-bottom: 6px; letter-spacing: 0.12em; }
.timeline-title { font-family: 'Orbitron', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--clean-white); margin-bottom: 8px; }
.timeline-body { font-size: 0.84rem; line-height: 1.72; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.value-cell { padding: 24px 22px; background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--border-glass); }
.value-num { font-family: 'Orbitron', sans-serif; font-size: 0.65rem; color: var(--active-teal); letter-spacing: 0.2em; margin-bottom: 8px; }
.value-title { font-family: 'Orbitron', sans-serif; font-size: 0.8rem; font-weight: 700; color: var(--clean-white); margin-bottom: 8px; }
.value-body { font-size: 0.8rem; line-height: 1.65; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-top: 36px; }
.team-card { padding: 32px 24px; text-align: center; background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid var(--border-glass); }
.team-avatar { width: 60px; height: 60px; border-radius: 50%; background: rgba(0,209,255,0.08); border: 1px solid rgba(0,209,255,0.2); display: flex; align-items: center; justify-content: center; font-family: 'Orbitron', sans-serif; font-size: 0.72rem; font-weight: 700; color: var(--active-teal); margin: 0 auto 16px; letter-spacing: 0.08em; }
.team-card h3 { color: var(--clean-white); font-size: 0.82rem; margin-bottom: 6px; }
.team-card p  { font-size: 0.75rem; color: var(--text-muted); }

/* ── Contact Page ────────────────────────────────────────── */

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; max-width: 1100px; margin: 0 auto; }
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { margin-bottom: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.contact-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contact-item-label { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: var(--slate-blue); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 3px; }
.contact-item-value { font-size: 0.9rem; color: var(--clean-white); font-weight: 500; }
.contact-form { display: flex; flex-direction: column; gap: 18px; padding: 36px; background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid var(--border-glass); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: var(--slate-blue); text-transform: uppercase; letter-spacing: 0.14em; }
.form-group input, .form-group select, .form-group textarea { background: rgba(10,25,47,0.7); border: 1px solid var(--border-glass); color: var(--clean-white); padding: 11px 14px; font-family: 'Montserrat', sans-serif; font-size: 0.84rem; border-radius: 3px; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: rgba(0,209,255,0.4); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { height: 120px; resize: vertical; }

/* ── WPForms skin to match V9 design ────────────────────── */

.wpforms-form .wpforms-field { margin-bottom: 18px; }
.wpforms-form .wpforms-field-label { font-family: 'JetBrains Mono', monospace !important; font-size: 0.6rem !important; color: var(--slate-blue) !important; text-transform: uppercase !important; letter-spacing: 0.14em !important; margin-bottom: 7px !important; }
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form select,
.wpforms-form textarea { background: rgba(10,25,47,0.7) !important; border: 1px solid var(--border-glass) !important; color: var(--clean-white) !important; padding: 11px 14px !important; font-family: 'Montserrat', sans-serif !important; font-size: 0.84rem !important; border-radius: 3px !important; outline: none !important; width: 100% !important; }
.wpforms-form input:focus, .wpforms-form select:focus, .wpforms-form textarea:focus { border-color: rgba(0,209,255,0.4) !important; }
.wpforms-form .wpforms-submit { font-family: 'Orbitron', sans-serif !important; font-size: 0.72rem !important; font-weight: 700 !important; letter-spacing: 0.12em !important; text-transform: uppercase !important; background: var(--active-teal) !important; color: var(--midnight-navy) !important; border: none !important; padding: 13px 28px !important; border-radius: 4px !important; cursor: pointer !important; width: 100% !important; box-shadow: 0 0 20px rgba(0,209,255,0.3) !important; }
.wpforms-form .wpforms-submit:hover { box-shadow: 0 0 32px rgba(0,209,255,0.55) !important; }
.wpforms-confirmation-container-full { background: rgba(0,209,255,0.06); border: 1px solid var(--border-glass); padding: 24px; color: var(--clean-white); font-family: 'Montserrat', sans-serif; }

/* ── Machine Status / Credential Grids (Product Pages) ──── */

.machine-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 12px; align-items: center; padding: 14px 18px; background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid rgba(0,255,65,0.1); border-bottom: none; transition: background 0.2s; }
.machine-row:last-child { border-bottom: 1px solid rgba(0,255,65,0.1); }
.machine-row:hover { background: rgba(0,20,5,0.7); }
.machine-name { color: var(--clean-white); font-size: 0.75rem; font-weight: 600; font-family: 'Orbitron', sans-serif; margin-bottom: 3px; }
.machine-meta { color: var(--text-muted); font-size: 0.65rem; font-family: 'JetBrains Mono', monospace; }
.machine-state { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; font-weight: 700; white-space: nowrap; }
.state-idle { color: #00FF41; } .state-active { color: #FFD60A; } .state-error { color: #FF5555; } .state-offline { color: var(--slate-blue); }
.fill-bar-wrap { width: 80px; }
.fill-bar-track { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.fill-bar-fill { height: 100%; background: #00FF41; border-radius: 2px; transition: width 0.4s ease; }
.fill-bar-fill.warn { background: #FFD60A; }
.fill-bar-fill.high { background: #FF5555; }
.cred-grid-header { display: grid; grid-template-columns: 40px 1fr auto auto; padding: 10px 16px; background: rgba(4,13,26,0.9); border: 1px solid rgba(60,153,146,0.2); border-bottom: none; }
.cred-grid-header span { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: var(--slate-blue); text-transform: uppercase; letter-spacing: 0.12em; }
.cred-row { display: grid; grid-template-columns: 40px 1fr auto auto; align-items: stretch; background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid rgba(60,153,146,0.12); border-bottom: none; transition: background 0.2s; }
.cred-row:last-child { border-bottom: 1px solid rgba(60,153,146,0.12); }
.cred-row:hover { background: rgba(10,25,47,0.85); }
.cred-status { display: flex; align-items: center; justify-content: center; border-right: 1px solid rgba(60,153,146,0.12); font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 700; }
.cred-cell { padding: 14px 16px; border-right: 1px solid rgba(60,153,146,0.12); }
.cred-name { color: var(--clean-white); font-size: 0.72rem; font-weight: 600; font-family: 'Orbitron', sans-serif; margin-bottom: 3px; }
.cred-meta { color: var(--text-muted); font-size: 0.65rem; font-family: 'JetBrains Mono', monospace; }
.cred-expiry { padding: 14px 16px; display: flex; align-items: center; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; font-weight: 700; white-space: nowrap; border-right: 1px solid rgba(60,153,146,0.12); }
.cred-type { padding: 14px 16px; display: flex; align-items: center; }
.s-active { color: #3C9992; } .s-warn { color: #FFD60A; } .s-expired { color: #FF5555; } .s-pending { color: var(--text-muted); }
.e-ok { color: #3C9992; } .e-warn { color: #FFD60A; } .e-bad { color: #FF5555; }

/* ── Section Sub-header ──────────────────────────────────── */
.section-sub { color: var(--text-muted); max-width: 640px; margin-bottom: 12px; font-size: 1rem; }

/* ── Blog Post Content ───────────────────────────────────── */

.entry-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 48px;
  position: relative;
  z-index: 2;
}
.entry-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; font-size: 0.95rem; }
.entry-content h2, .entry-content h3 { color: var(--clean-white); margin: 32px 0 12px; }
.entry-content ul, .entry-content ol { padding-left: 24px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.entry-content a { color: var(--active-teal); }
.entry-content img { max-width: 100%; border: 1px solid var(--border-glass); }
.entry-content blockquote { border-left: 2px solid var(--active-teal); padding: 14px 24px; background: rgba(0,209,255,0.03); margin: 24px 0; }
.entry-content blockquote p { margin: 0; }
.entry-content code { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; background: rgba(0,209,255,0.06); padding: 2px 6px; border-radius: 3px; }

/* ── Post Cards (Archive) ────────────────────────────────── */

.post-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 48px; }
.post-card { padding: 32px 28px; background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid var(--border-glass); text-decoration: none; display: block; transition: border-color 0.25s, background 0.25s; }
.post-card:hover { background: rgba(10,25,47,0.9); border-color: rgba(0,209,255,0.2); }
.post-card-date { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: var(--slate-blue); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 12px; }
.post-card h3 { color: var(--clean-white); font-size: 0.9rem; margin-bottom: 10px; line-height: 1.3; }
.post-card p { font-size: 0.82rem; line-height: 1.65; margin-bottom: 18px; }
.post-card-arrow { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--active-teal); letter-spacing: 0.1em; }

/* ── Post Navigation ─────────────────────────────────────── */

.post-nav { display: flex; justify-content: space-between; gap: 24px; padding: 40px 48px; max-width: 760px; margin: 0 auto; }
.post-nav a { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; color: var(--active-teal); text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; }
.post-nav a:hover { color: var(--clean-white); }

/* ── Pagination ──────────────────────────────────────────── */

.pagination { display: flex; justify-content: center; gap: 8px; padding: 48px; }
.pagination .page-numbers { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; padding: 8px 14px; border: 1px solid var(--border-glass); color: var(--text-muted); text-decoration: none; transition: all 0.2s; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { border-color: var(--active-teal); color: var(--active-teal); }

/* ── 404 Page ────────────────────────────────────────────── */

.error-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 48px; position: relative; z-index: 2; }
.error-404-inner { max-width: 500px; }
.error-code { font-family: 'Orbitron', sans-serif; font-size: clamp(5rem, 15vw, 10rem); font-weight: 900; color: var(--active-teal); opacity: 0.15; line-height: 1; margin-bottom: 0; }
.error-404-inner h1 { font-size: 1.4rem; margin-bottom: 16px; margin-top: -20px; }
.error-404-inner p { margin-bottom: 32px; }

/* ── About page biome cards ──────────────────────────────── */

.biome-card { padding: 32px 28px; background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid var(--border-glass); position: relative; overflow: hidden; }
.biome-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.biome-card.b-green::before  { background: #00FF41; }
.biome-card.b-blue::before   { background: #2E8FB5; }
.biome-card.b-teal::before   { background: linear-gradient(90deg, #3C9992, #005493); }
.biome-label { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 6px; }
.biome-label.c-green { color: #00FF41; }
.biome-label.c-blue  { color: #2E8FB5; }
.biome-label.c-teal  { color: #3C9992; }
.biome-card h3 { color: var(--clean-white); margin-bottom: 10px; }
.biome-card p  { font-size: 0.84rem; line-height: 1.7; }
.pull-quote { border-left: 2px solid var(--active-teal); padding: 18px 28px; margin: 32px 0; background: rgba(0,209,255,0.03); }
.pull-quote p { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 600; color: var(--clean-white); line-height: 1.55; letter-spacing: 0.02em; }
.cap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 36px; }
.cap-cell { padding: 32px 26px; background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid var(--border-glass); transition: border-color 0.2s; }
.cap-cell:hover { border-color: rgba(0,209,255,0.2); }
.cap-num { font-family: 'Orbitron', sans-serif; font-size: 0.6rem; color: var(--active-teal); letter-spacing: 0.2em; margin-bottom: 10px; }
.cap-title { font-family: 'Orbitron', sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--clean-white); margin-bottom: 10px; }
.cap-body { font-size: 0.82rem; line-height: 1.68; }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
  nav { padding: 14px 24px; }
  .nav-links { gap: 18px; }
  section { padding: 72px 24px; }
  .hero, .page-hero, .product-hero { padding-left: 24px; padding-right: 24px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .product-cards, .post-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .entry-content { padding: 48px 24px; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .post-nav { flex-direction: column; padding: 32px 24px; }
}
