/* ══════════════════════════════════════════════════════
   PRECIQ OMNI - Shared Stylesheet
   (unchanged from the existing Preciq marketing-site dark theme -
   colour scheme decision 2026-07-21: no unification, keep as-is)
   ══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --acc:    #6C63FF;
  --acc2:   #8B85FF;
  --acc-d:  #5850E8;
  --dark:   #0A0A0F;
  --panel:  #13131C;
  --panel2: #1A1A28;
  --border: #1E1E2E;
  --sec:    #888899;
  --fg:     #FFFFFF;
  --green:  #22C55E;
  --amber:  #F59E0B;
  --red:    #EF4444;
  --light:  #F4F3FF;
  --radius: 12px;
  --nav-h:  72px;
}

body {
  background: var(--dark);
  color: var(--fg);
  font-family: -apple-system, 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

a:visited { color: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ══ NAV ══════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(10,10,15,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-k {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px dashed var(--acc);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 400; color: #fff;
}
.nav-wordmark { font-size: 22px; font-weight: 300; letter-spacing: -.5px; color: #fff; }
.nav-wordmark span { color: var(--acc); }
.nav-sub { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--sec); margin-left: 2px; position: relative; top: 1px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--sec); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-cta {
  background: var(--acc); color: #fff; text-decoration: none;
  padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 600;
  transition: background .15s;
}
.nav-cta:hover { background: var(--acc-d); }
.nav-links a.nav-cta,
.nav-links a.nav-cta:visited,
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta:active { color: #fff; }
@media(max-width:768px){
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
}

/* ══ BUTTONS ══════════════════════════════════════════ */
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  border: none; cursor: pointer; font-size: 15px; font-weight: 600;
  border-radius: 10px; padding: 14px 28px; transition: all .15s; }
.btn-primary { background: var(--acc); color: #fff; }
.btn-primary:hover { background: var(--acc-d); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--acc); border: 1px solid var(--acc); }
.btn-ghost:hover { background: rgba(108,99,255,.1); }
.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 8px; }

/* ══ SECTIONS ════════════════════════════════════════ */
section { padding: 96px 48px; }
.container { max-width: 1120px; margin: 0 auto; }
.section-tag {
  display: inline-block; background: rgba(108,99,255,.12); color: var(--acc2);
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 16px;
}
h1, h2, h3 { font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(32px,5vw,56px); }
h2 { font-size: clamp(24px,3.5vw,40px); }
h3 { font-size: clamp(18px,2vw,22px); }
.text-acc { color: var(--acc); }
.text-sec { color: var(--sec); }
.lead { font-size: 18px; color: var(--sec); line-height: 1.75; }

/* ══ HERO ════════════════════════════════════════════ */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(108,99,255,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-note { font-size: 13px; color: var(--sec); }

/* ══ STAT STRIP ═══════════════════════════════════════ */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
@media(max-width:768px){ .stat-strip { grid-template-columns: repeat(2,1fr); } }
.stat-box { background: var(--panel); padding: 28px 24px; text-align: center; }
.stat-big { font-size: 52px; font-weight: 800; color: var(--acc); line-height: 1; display: block; }
.stat-sub { font-size: 13px; color: var(--sec); margin-top: 8px; line-height: 1.4; }

/* ══ CARDS ═══════════════════════════════════════════ */
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(108,99,255,.4); transform: translateY(-2px); }
.card-icon { font-size: 32px; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--sec); line-height: 1.7; }

/* ══ TWO / THREE COLUMN ══════════════════════════════ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col.flip > *:first-child { order: 2; }
.two-col.flip > *:last-child { order: 1; }
@media(max-width:768px){ .two-col { grid-template-columns: 1fr; gap: 40px; } .two-col.flip > * { order: unset; } }
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media(max-width:768px){ .three-col { grid-template-columns: 1fr; } }

/* ══ PULL QUOTE ══════════════════════════════════════ */
.pull-quote {
  border-left: 4px solid var(--acc);
  padding: 16px 24px;
  margin: 32px 0;
  font-size: 20px; font-style: italic; font-weight: 600;
  color: var(--fg); line-height: 1.5;
}

/* ══ COMPARISON TABLE ════════════════════════════════ */
.compare-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-tbl th, .compare-tbl td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.compare-tbl th { background: var(--panel2); font-weight: 700; }
.compare-tbl th.col-preciq { background: var(--acc); color: #fff; }
.compare-tbl td.col-preciq { background: rgba(108,99,255,.06); color: var(--fg); font-weight: 600; }
.compare-tbl td.col-trad { color: var(--sec); }
.compare-tbl tr:last-child td { border-bottom: none; }

/* ══ STEP CONNECTOR / FLOW ═══════════════════════════ */
.flow-wrap { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding: 8px 0 16px; }
.flow-node {
  flex: 1; min-width: 130px; background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 16px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: border-color .2s, transform .2s;
}
.flow-node:hover { border-color: rgba(108,99,255,.5); transform: translateY(-3px); }
.flow-node.accent { border-color: rgba(108,99,255,.4); background: rgba(108,99,255,.04); }
.flow-num { width: 32px; height: 32px; border-radius: 50%; background: rgba(108,99,255,.15); border: 1.5px solid var(--acc); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--acc); }
.flow-icon { font-size: 22px; }
.flow-title { font-size: 13px; font-weight: 600; color: #fff; }
.flow-lbl { font-size: 11px; color: var(--sec); line-height: 1.4; }
.flow-arr { display: flex; align-items: center; padding: 0 6px; flex-shrink: 0; color: rgba(108,99,255,.4); font-size: 18px; align-self: center; }

/* ══ GOVERNANCE / FEATURE GRID ═══════════════════════ */
.gov-item { text-align: center; padding: 32px 24px; border: 1px solid var(--border); border-radius: var(--radius); }
.gov-icon { font-size: 36px; margin-bottom: 14px; }
.gov-item h3 { font-size: 16px; margin-bottom: 10px; color: var(--acc2); }
.gov-item p { font-size: 14px; color: var(--sec); line-height: 1.65; }
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media(max-width:900px){ .feat-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:540px){ .feat-grid { grid-template-columns: 1fr; } }
.feat-card { border: 1px solid var(--border); border-radius: 12px; padding: 24px; background: var(--panel); transition: border-color .2s, transform .2s, background .2s; }
.feat-card:hover { border-color: rgba(108,99,255,.4); transform: translateY(-3px); background: rgba(108,99,255,.03); }
.feat-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.feat-card h3 { font-size: 15px; margin-bottom: 8px; }
.feat-card p { font-size: 13px; color: var(--sec); line-height: 1.65; }

/* ══ STEP CARD (solution page) ═══════════════════════ */
.step-card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 36px; margin-bottom: 2px; }
.step-card:hover { border-color: rgba(108,99,255,.35); }
.step-num-big { font-size: 72px; font-weight: 800; line-height: 1; color: rgba(108,99,255,.15); margin-bottom: 8px; display: block; }
.time-saved { display: inline-flex; align-items: center; gap: 8px; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.2); border-radius: 8px; padding: 8px 16px; margin-top: 20px; font-size: 13px; font-weight: 600; color: #22C55E; }
.feat-box { flex: 1; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.feat-box.accent { border-color: rgba(108,99,255,.3); background: rgba(108,99,255,.04); }
.feat-box h4 { font-size: 15px; margin-bottom: 10px; }
.feat-box p { font-size: 13px; color: var(--sec); line-height: 1.65; }

/* ══ SYSTEM PILLS ═════════════════════════════════════ */
.sys-strip { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.sys-pill { padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; border: 1px solid var(--border); background: var(--panel); color: var(--fg); }

/* ══ NOTE / HONESTY BOX ══════════════════════════════ */
.note-box { background: rgba(245,158,11,.06); border: 1px solid rgba(245,158,11,.25); border-radius: 10px; padding: 16px 20px; font-size: 13px; color: #E8B84B; line-height: 1.65; margin-top: 16px; }
.note-box strong { color: #F5C563; }

/* ══ CTA BAND ════════════════════════════════════════ */
.cta-band {
  background: var(--panel);
  border-top: 1px solid var(--border);
  text-align: center; padding: 96px 48px;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══ FORM ════════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--sec); margin-bottom: 8px; letter-spacing: .3px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px;
  background: var(--panel2); border: 1px solid var(--border);
  border-radius: 8px; color: var(--fg); font-size: 15px;
  transition: border-color .15s; outline: none;
  font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--acc); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select option { background: var(--panel2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:600px){ .form-row { grid-template-columns: 1fr; } }
.form-submit {
  width: 100%; padding: 15px; background: var(--acc); color: #fff;
  border: none; border-radius: 10px; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: background .15s; margin-top: 8px;
}
.form-submit:hover { background: var(--acc-d); }

/* ══ FOOTER ══════════════════════════════════════════ */
.footer {
  background: var(--panel); border-top: 1px solid var(--border);
  padding: 64px 48px 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media(max-width:768px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media(max-width:480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 14px; color: var(--sec); margin-top: 12px; line-height: 1.65; max-width: 260px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--sec); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--sec); text-decoration: none; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--fg); }
.footer-bar {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--sec); flex-wrap: wrap; gap: 12px;
}

/* ══ UTILITIES ═══════════════════════════════════════ */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.gap-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(108,99,255,.1); border: 1px solid rgba(108,99,255,.2);
  color: var(--acc2); border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: 600;
}

/* ══ ANIMATION ═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-2 { animation: fadeUp .6s .15s ease both; }
.fade-up-3 { animation: fadeUp .6s .3s ease both; }
.fade-up-4 { animation: fadeUp .6s .45s ease both; }
