/* Cliphorium D-Site — Workflow Control Room */
/* Deep navy / black base, cyan / violet / neon-green / amber accents */

:root {
  --bg:          #090c14;
  --bg2:         #0d1220;
  --bg3:         #111827;
  --panel:       rgba(15,22,40,0.85);
  --border:      rgba(56,189,248,0.18);
  --border-glow: rgba(56,189,248,0.45);
  --cyan:        #38bdf8;
  --cyan-dim:    #0ea5e9;
  --violet:      #a78bfa;
  --green:       #4ade80;
  --amber:       #fbbf24;
  --red:         #f87171;
  --text:        #e2e8f0;
  --muted:       #64748b;
  --white:       #f8fafc;
  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --mono:        'JetBrains Mono', 'Fira Mono', monospace;
  --radius:      10px;
  --radius-lg:   16px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}

/* ── Typography ── */
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { color: #94a3b8; }
a  { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--white); }

/* ── Layout ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  width: 100%;
  background: rgba(9,12,20,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1240px; 
  margin: 0 auto;
  padding: 18px 28px;
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  gap: 28px;
}
/* ── Brand Lockup ── */
.brand-lockup {
  display: inline-flex; 
  align-items: center; 
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
  transition: opacity .2s;
}
.brand-lockup:hover { opacity: 0.85; }

.brand-mark {
  width: 44px; 
  height: 44px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  transition: filter .2s;
}
.brand-mark svg {
  width: 44px;
  height: 44px;
  display: block;
}
.brand-lockup:hover .brand-mark {
  filter: drop-shadow(0 0 12px rgba(56,189,248,0.5));
}

.brand-title {
  font-size: 1.1rem; 
  font-weight: 850;
  color: #f8fafc;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-subtitle {
  display: inline;
  font-size: 0.7rem; 
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.02em;
  margin-left: 2px;
  opacity: 1;
}

/* Legacy nav-brand support */
.nav-brand {
  font-size: 1.15rem; 
  font-weight: 800; 
  color: var(--white);
  letter-spacing: -0.02em; 
  margin-right: auto;
}
.nav-links { 
  margin-left: auto;
  display: flex; 
  gap: 10px; 
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
}
.nav-links a {
  font-size: 0.875rem; 
  font-weight: 500; 
  color: var(--muted);
  padding: 6px 12px; 
  border-radius: 6px; 
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { 
  color: var(--cyan); 
  background: rgba(56,189,248,0.07); 
}
.nav-links a.nav-cta {
  background: var(--cyan); 
  color: #090c14; 
  font-weight: 700;
  padding: 7px 16px; 
  margin-left: 8px;
}
.nav-links a.nav-cta:hover { 
  background: var(--white); 
  color: #090c14; 
}

/* ── Mobile Menu Toggle ── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  z-index: 201;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  margin: 5px 0;
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ── Pill / Badge ── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(56,189,248,0.1); color: var(--cyan);
  border: 1px solid rgba(56,189,248,0.25);
  margin-bottom: 20px;
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse-dot 2s infinite; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 700; border-radius: var(--radius);
  padding: 12px 24px; cursor: pointer; border: none;
  text-decoration: none; transition: all .2s;
}
.btn-primary {
  background: var(--cyan); color: #090c14;
  box-shadow: 0 0 24px rgba(56,189,248,0.35);
}
.btn-primary:hover { background: #7dd3fc; color: #090c14; box-shadow: 0 0 36px rgba(56,189,248,0.55); }
.btn-outline {
  background: transparent; color: var(--cyan);
  border: 1.5px solid rgba(56,189,248,0.45);
}
.btn-outline:hover { background: rgba(56,189,248,0.08); color: var(--white); border-color: var(--cyan); }
.btn-violet {
  background: var(--violet); color: #090c14;
  box-shadow: 0 0 24px rgba(167,139,250,0.35);
}
.btn-violet:hover { background: #c4b5fd; box-shadow: 0 0 36px rgba(167,139,250,0.55); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* ── Glass Panel ── */
.glass {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}
.glass:hover { border-color: var(--border-glow); }

/* ── Hero ── */
.hero { padding: 80px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-text { max-width: 560px; }
.hero-headline { margin-bottom: 20px; }
.hero-headline .accent-cyan { color: var(--cyan); }
.hero-headline .accent-violet { color: var(--violet); }
.hero-sub { font-size: 1.05rem; color: #94a3b8; margin-bottom: 32px; max-width: 460px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.trust-bullets { display: flex; flex-direction: column; gap: 10px; }
.trust-bullet { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: #94a3b8; }
.trust-bullet .icon { color: var(--green); font-size: 1rem; }

/* ── Control Room Animation Panel ── */
.hero-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, rgba(13,18,32,0.95) 0%, rgba(9,12,20,0.95) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 440px;
}
.hero-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(56,189,248,0.07) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(167,139,250,0.06) 0%, transparent 60%);
  z-index: 0;
}
.panel-label {
  font-family: var(--mono);
  font-size: 0.68rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 18px; position: relative; z-index: 1;
  display: flex; align-items: center; gap: 8px;
}
.panel-label .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: pulse-live 1.8s ease-in-out infinite;
}

/* Stage cards inside panel */
.stage-cards {
  display: flex; flex-direction: column; gap: 10px;
  position: relative; z-index: 1;
}
.stage-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  transition: border-color .4s, background .4s, box-shadow .4s;
  font-size: 0.82rem;
}
.stage-card.is-active {
  background: rgba(56,189,248,0.07);
  border-color: rgba(56,189,248,0.35);
  box-shadow: 0 0 18px rgba(56,189,248,0.12);
}
.stage-card.is-active.violet-active {
  background: rgba(167,139,250,0.07);
  border-color: rgba(167,139,250,0.35);
  box-shadow: 0 0 18px rgba(167,139,250,0.12);
}
.stage-card.is-active.green-active {
  background: rgba(74,222,128,0.07);
  border-color: rgba(74,222,128,0.35);
  box-shadow: 0 0 18px rgba(74,222,128,0.12);
}
.stage-card .s-icon {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
  background: rgba(56,189,248,0.1); color: var(--cyan);
}
.stage-card.is-active .s-icon { background: rgba(56,189,248,0.2); }
.stage-card .s-label { font-weight: 600; color: var(--text); font-size: 0.8rem; }
.stage-card .s-sub { color: var(--muted); font-size: 0.72rem; margin-top: 1px; }
.stage-card .s-badge {
  margin-left: auto; font-size: 0.65rem; font-weight: 700; letter-spacing: .05em;
  padding: 2px 8px; border-radius: 100px; text-transform: uppercase;
  background: rgba(100,116,139,0.2); color: var(--muted);
}
.stage-card.is-active .s-badge {
  background: rgba(56,189,248,0.15); color: var(--cyan);
}
.stage-card.is-active.violet-active .s-badge { background: rgba(167,139,250,0.15); color: var(--violet); }
.stage-card.is-active.green-active .s-badge  { background: rgba(74,222,128,0.15); color: var(--green); }

/* Signal packet */
.signal-packet {
  position: absolute;
  left: -14px; top: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(56,189,248,0.5);
  z-index: 10;
  animation: signal-travel 3.5s ease-in-out infinite;
}

/* Control node / route line at bottom */
.panel-footer { position: relative; z-index: 1; margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.control-node {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
  animation: control-node-pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
.route-line {
  flex: 1; height: 3px; border-radius: 2px;
  background: rgba(56,189,248,0.12);
  overflow: hidden; position: relative;
}
.route-line::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%;
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: route-sweep 2.5s linear infinite;
}
.report-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: report-pulse 1.9s ease-in-out infinite;
  flex-shrink: 0;
}
.progress-line {
  position: absolute; bottom: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  animation: progress-sweep 3.5s linear infinite;
  border-radius: 0 2px 2px 0;
}

/* ── Five-Lane Workflow ── */
.workflow-section { background: var(--bg2); }
.workflow-lanes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.workflow-lane {
  padding: 24px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  text-align: center;
  transition: border-color .4s, background .4s, box-shadow .4s;
  position: relative; overflow: hidden;
}
.workflow-lane::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s ease;
}
.workflow-lane.is-active {
  background: rgba(56,189,248,0.06);
  border-color: rgba(56,189,248,0.35);
  box-shadow: 0 0 24px rgba(56,189,248,0.1);
}
.workflow-lane.is-active::before { transform: scaleX(1); }
.workflow-pulse {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin: 0 auto 14px;
  background: rgba(56,189,248,0.08); color: var(--cyan);
  transition: background .4s, box-shadow .4s;
}
.workflow-lane.is-active .workflow-pulse {
  background: rgba(56,189,248,0.18);
  box-shadow: 0 0 18px rgba(56,189,248,0.25);
  animation: workflow-pulse-anim 1.5s ease-in-out infinite;
}
.workflow-lane h3 { font-size: 0.9rem; color: var(--text); margin-bottom: 6px; }
.workflow-lane p  { font-size: 0.78rem; color: var(--muted); }
.workflow-lane .lane-num {
  font-family: var(--mono); font-size: 0.65rem; font-weight: 700;
  color: var(--cyan); letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 8px; display: block;
}

/* ── Packages ── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.package-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
}
.package-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 36px rgba(56,189,248,0.08);
}
.package-card.featured {
  border-color: rgba(167,139,250,0.45);
  box-shadow: 0 0 40px rgba(167,139,250,0.1);
}
.package-card.featured:hover {
  box-shadow: 0 0 60px rgba(167,139,250,0.18);
}
.pkg-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px; margin-bottom: 18px;
  width: fit-content;
  background: rgba(56,189,248,0.12); color: var(--cyan);
}
.pkg-tag.violet { background: rgba(167,139,250,0.12); color: var(--violet); }
.pkg-tag.amber  { background: rgba(251,191,36,0.12);  color: var(--amber); }
.package-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 8px; }
.package-card .pkg-desc { font-size: 0.855rem; color: var(--muted); margin-bottom: 24px; flex: 1; }
.pkg-price { margin-bottom: 24px; }
.pkg-price .setup { font-size: 1.35rem; font-weight: 800; color: var(--white); }
.pkg-price .monthly { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.pkg-features { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; }
.pkg-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.82rem; color: #94a3b8; }
.pkg-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ── Founder-Level / Ops Lead ── */
.ops-lead-section { background: var(--bg2); }
.ops-lead-inner {
  max-width: 780px; margin: 0 auto; text-align: center;
}
.ops-lead-inner h2 { margin-bottom: 16px; }
.ops-lead-inner p  { font-size: 1rem; max-width: 560px; margin: 0 auto 32px; }
.ops-meta { display: flex; justify-content: center; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.ops-meta-item { text-align: center; }
.ops-meta-item .val { font-size: 1.5rem; font-weight: 800; color: var(--amber); }
.ops-meta-item .lab { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

/* ── Trust Strip ── */
.trust-strip {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-strip-inner {
  display: flex; justify-content: center; align-items: center;
  gap: 48px; flex-wrap: wrap;
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: #64748b; }
.trust-item .t-icon { font-size: 1.1rem; color: var(--cyan); }

/* ── Closing CTA ── */
.cta-section { text-align: center; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { max-width: 480px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 36px 24px;
  text-align: center;
  font-size: 0.8rem; color: var(--muted);
}
footer .foot-brand { font-weight: 700; color: var(--white); margin-bottom: 6px; }

footer .brand-lockup {
  justify-content: center;
  margin: 0 auto 12px;
}
footer .brand-mark {
  width: 38px; height: 38px;
}
footer .brand-mark svg {
  width: 38px; height: 38px;
}
footer .brand-title {
  font-size: 1rem;
}
footer .brand-subtitle {
  font-size: 0.65rem;
  color: #38bdf8;
}

/* ── Page Header (inner pages) ── */
.page-header {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
}
.page-header h1 { margin-bottom: 14px; }
.page-header p  { max-width: 560px; font-size: 1rem; }

/* ── Templates page ── */
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.template-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.template-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 28px rgba(56,189,248,0.08);
}
.template-card h3 { font-size: 0.95rem; color: var(--white); margin-bottom: 14px; }
.template-row {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 4px 12px; font-size: 0.8rem; margin-bottom: 6px;
}
.template-row .t-key { color: var(--muted); font-weight: 600; }
.template-row .t-val { color: #cbd5e1; }

/* ── Security page ── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.security-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
}
.security-card .sec-icon { font-size: 1.8rem; margin-bottom: 14px; }
.security-card h3 { font-size: 0.95rem; color: var(--white); margin-bottom: 10px; }
.security-card p  { font-size: 0.82rem; }

/* ── Status page ── */
.status-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.status-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--border);
  font-size: 0.875rem;
}
.status-row .svc-name { font-weight: 600; color: var(--text); }
.status-row .svc-desc { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.status-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.dot-green  { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); animation: pulse-dot 2s infinite; }
.dot-amber  { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.dot-red    { width: 8px; height: 8px; border-radius: 50%; background: var(--red);   box-shadow: 0 0 6px var(--red); }
.svc-ok     { color: var(--green); }
.svc-amber  { color: var(--amber); }

.uptime-bar { margin-top: 4px; }
.uptime-track {
  display: flex; gap: 3px; margin-top: 6px;
}
.uptime-seg {
  flex: 1; height: 6px; border-radius: 2px;
  background: var(--green); opacity: 0.8;
}
.uptime-seg.miss { background: var(--amber); opacity: 0.6; }

/* ── Dashboard Demo ── */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.dash-wide { grid-column: span 2; }
.dash-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
}
.dash-panel h3 { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; }
.activity-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem;
}
.activity-item:last-child { border-bottom: none; }
.act-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.act-label { color: var(--text); }
.act-time  { color: var(--muted); font-size: 0.72rem; margin-top: 2px; }
.approval-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem;
}
.approval-item:last-child { border-bottom: none; }
.appr-label { color: var(--text); }
.appr-sub   { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.appr-btn {
  font-size: 0.72rem; font-weight: 700; padding: 5px 12px; border-radius: 6px;
  border: none; cursor: pointer;
  background: rgba(56,189,248,0.15); color: var(--cyan);
  transition: background .2s;
}
.appr-btn:hover { background: rgba(56,189,248,0.28); }
.stat-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.stat-item { flex: 1; min-width: 80px; }
.stat-item .sv { font-size: 1.3rem; font-weight: 800; color: var(--white); }
.stat-item .sl { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

/* ── Audit Page ── */
.audit-inner { max-width: 700px; margin: 0 auto; }
.audit-form {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  margin-top: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600; color: #94a3b8; margin-bottom: 7px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 0.875rem; color: var(--text);
  font-family: var(--font);
  transition: border-color .2s;
  outline: none;
}
.form-group select {
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid #334155;
  cursor: pointer;
}
.form-group select option {
  background: #1e293b;
  color: #e2e8f0;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--cyan);
}
.form-group textarea { min-height: 90px; resize: vertical; }

/* ── Keyframes ── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.75); }
}
@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 6px var(--green); }
  50%       { box-shadow: 0 0 14px var(--green); }
}
@keyframes signal-travel {
  0%   { top: 12%;  opacity: 0; transform: scale(0.6); }
  10%  { opacity: 1; transform: scale(1); }
  25%  { top: 29%; }
  50%  { top: 50%; }
  75%  { top: 71%; }
  90%  { opacity: 1; }
  100% { top: 88%; opacity: 0; transform: scale(0.6); }
}
@keyframes control-node-pulse {
  0%, 100% { box-shadow: 0 0 8px var(--violet); transform: scale(1); }
  50%       { box-shadow: 0 0 20px var(--violet); transform: scale(1.2); }
}
@keyframes route-sweep {
  0%   { left: -60%; }
  100% { left: 140%; }
}
@keyframes report-pulse {
  0%, 100% { box-shadow: 0 0 6px var(--green); transform: scale(1); }
  50%       { box-shadow: 0 0 18px var(--green); transform: scale(1.3); }
}
@keyframes progress-sweep {
  0%   { width: 0%; }
  85%  { width: 100%; }
  100% { width: 100%; }
}
@keyframes workflow-pulse-anim {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { min-height: 300px; margin-top: 0; }
  .workflow-lanes { grid-template-columns: 1fr; gap: 10px; }
  .packages-grid  { grid-template-columns: 1fr; }
  .dash-grid      { grid-template-columns: 1fr; }
  .dash-wide      { grid-column: span 1; }
  .ops-meta       { gap: 24px; }
}
@media (max-width: 768px) {
  .nav-inner {
    padding: 14px 20px;
    gap: 16px;
  }
  
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .nav-links {
    position: fixed;
    top: 61px;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: calc(100vh - 61px);
    background: rgba(9,12,20,0.98);
    backdrop-filter: blur(24px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  
  .nav-links.open {
    transform: translateX(0);
  }
  
  .nav-links a {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(56,189,248,0.1);
  }
  
  .nav-links a.nav-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
  }
  
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark svg { width: 38px; height: 38px; }
  .brand-title { font-size: 1rem; }
  .brand-subtitle { font-size: 0.68rem; color: #38bdf8; }
}
@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; }
  .packages-grid { grid-template-columns: 1fr; }
  .audit-form { padding: 24px; }
  
  .nav-inner {
    padding: 12px 18px;
  }
  
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark svg { width: 36px; height: 36px; }
  .brand-title { font-size: 0.95rem; }
  .brand-subtitle { font-size: 0.65rem; color: #38bdf8; }
  
  footer .brand-mark { width: 34px; height: 34px; }
  footer .brand-title { font-size: 0.9rem; }
  footer .brand-subtitle { font-size: 0.6rem; color: #38bdf8; }
}

/* Operations Lead Support — Security-Risk Review Layer */
/* ── Security-Risk Review Layer ── */
.ops-security-section { background: var(--bg); }

.ops-security-layer {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 36px rgba(56,189,248,0.06);
  transition: border-color .2s, box-shadow .2s;
}

.ops-security-layer:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 48px rgba(56,189,248,0.10);
}

.ops-security-layer::before {
  content: "🛡️";
  position: absolute;
  right: clamp(20px, 4vw, 40px);
  top: clamp(20px, 3vw, 32px);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(56,189,248,0.08);
  font-size: 1.4rem;
}

.ops-security-copy {
  max-width: 820px;
  text-align: left;
  padding-right: 70px;
}

.ops-security-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(56,189,248,0.25);
  background: rgba(56,189,248,0.08);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ops-security-copy h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ops-security-copy p {
  max-width: 790px;
  margin: 0;
  color: #94a3b8;
  line-height: 1.7;
  font-size: 1rem;
}

.ops-security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.ops-security-grid article {
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(9,12,20,0.55);
  transition: border-color .2s, box-shadow .2s;
}

.ops-security-grid article:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 22px rgba(56,189,248,0.07);
}

.ops-security-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ops-security-grid span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .ops-security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ops-security-layer {
    padding: 20px 16px;
  }
  .ops-security-layer::before {
    position: static;
    margin-bottom: 14px;
  }
  .ops-security-copy {
    padding-right: 0;
  }
  .ops-security-grid {
    grid-template-columns: 1fr;
  }
}
