/* ============================================================
   OMEGA INFOSOFT — Design System
   Palette drawn from the brand mark: deep navy + circuit blue,
   with the logo's pixel-dissolve accent reused as the site's
   signature structural motif throughout.
   ============================================================ */

:root {
  /* Color */
  --ink: #0b1b3d;        /* deep navy — headings, dark surfaces */
  --ink-2: #132a58;      /* secondary navy — gradients, hovers */
  --blue: #2f6fed;       /* circuit blue — primary accent / CTAs */
  --blue-dark: #1f52c4;  /* pressed / hover state for blue */
  --blue-light: #6fa4f5; /* mid accent */
  --sky: #cfe1fb;        /* light tint — borders, subtle fills */
  --mist: #f4f7fc;       /* section background alt */
  --white: #ffffff;
  --slate: #55617a;      /* body text (cool gray, not black) */
  --slate-light: #8a93a8;/* muted text */
  --amber: #f5a623;      /* single warm accent — status-light motif */
  --line: #e2e9f5;       /* hairline borders */

  /* Type */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Layout */
  --container: 1180px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --section-pad: clamp(56px, 8vw, 108px);
  --shadow: 0 20px 50px -20px rgba(11, 27, 61, 0.25);
  --shadow-sm: 0 8px 24px -12px rgba(11, 27, 61, 0.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding-block: var(--section-pad); }
.section-alt { background: var(--mist); }

/* ---------- Eyebrow / mono labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow .omega-glyph {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
}

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; color: var(--slate); }

/* ---------- Pixel-dissolve motif (signature element) ----------
   Reuses the scattered-square accent from the logo mark as the
   site's recurring structural device: hero texture, list markers,
   card-corner accents, and hover states. */
.pixel-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.pixel-field span {
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
}
.pixel {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
  flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(47, 111, 237, 0.55);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-on-dark {
  background: var(--white);
  color: var(--ink);
}
.btn-on-dark:hover { background: var(--sky); transform: translateY(-2px); }
.btn-outline-on-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-on-dark:hover { border-color: var(--white); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-block: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--blue);
  transition: right 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--blue); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(245, 166, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0); }
}

.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 10vw, 120px);
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.75rem);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--blue); }
.hero-lede {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note { font-size: 0.85rem; color: var(--slate-light); margin-top: 18px; }

.hero-panel {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 10%, rgba(111,164,245,0.35), transparent 45%);
}
.hero-panel-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hero-panel-row:last-child { border-bottom: none; }
.hero-panel-label { font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.hero-panel-value { font-family: var(--font-mono); font-size: 0.92rem; color: var(--white); display: flex; align-items: center; gap: 8px; }
.hero-panel-value .pixel { background: var(--amber); }

/* ---------- Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 28px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-item svg { flex: none; color: var(--blue); }
.trust-item h4 { font-size: 0.98rem; margin-bottom: 3px; }
.trust-item p { font-size: 0.86rem; color: var(--slate-light); }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--sky);
  color: var(--blue);
  margin-bottom: 20px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--slate); margin-bottom: 16px; }
.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate);
  padding-block: 5px;
}
.card-list .pixel { margin-top: 6px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 600; color: var(--blue);
  margin-top: 4px;
}
.card::after {
  content: '';
  position: absolute;
  top: 18px; right: 18px;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--sky);
  transition: background 0.2s ease, transform 0.2s ease;
}
.card:hover::after { background: var(--amber); transform: scale(1.4); }

/* ---------- Process / steps (real sequence — numbering earns its keep) ---------- */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process::before {
  content: '';
  position: absolute;
  top: 26px; left: 6%; right: 6%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--sky) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step-num {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 68px);
  color: var(--white);
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(47,111,237,0.35), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(111,164,245,0.25), transparent 45%);
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 52ch; margin-inline: auto 26px auto; margin-bottom: 26px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-q .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ''; position: absolute; background: var(--blue);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq-q .plus::before { width: 14px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 14px; transition: transform .2s ease; }
.faq-item.open .plus::after { transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a p { padding-bottom: 22px; font-size: 0.95rem; color: var(--slate); max-width: 68ch; }
.faq-item.open .faq-a { max-height: 240px; }

/* ---------- Values / about page ---------- */
.value-card { text-align: left; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-visual {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius-lg);
  min-height: 380px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.split-visual .pixel-field span { opacity: 0.5; }
.split-visual .omega-mark { font-family: var(--font-display); font-size: 9rem; color: rgba(255,255,255,0.08); font-weight: 700; }

.list-check li {
  display: flex; align-items: flex-start; gap: 12px;
  padding-block: 9px;
  font-size: 0.98rem;
  color: var(--slate);
}
.list-check svg { flex: none; margin-top: 3px; color: var(--blue); }
.list-check strong { color: var(--ink); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding-block: 64px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 56ch; font-size: 1.05rem; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 18px;
  display: flex; gap: 8px; align-items: center;
}

/* ---------- Service detail rows ---------- */
.service-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding-block: 36px;
  border-bottom: 1px solid var(--line);
}
.service-row:first-of-type { padding-top: 0; }
.service-row-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--blue);
  display: grid; place-items: center;
}
.service-row h3 { font-size: 1.3rem; margin-bottom: 8px; }
.service-row p { max-width: 62ch; margin-bottom: 16px; }
.service-row .card-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; max-width: 640px; }

/* ---------- Plans (no fabricated prices — feature comparison only) ---------- */
.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.plan-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.plan-card.featured::before {
  content: 'Most popular';
  position: absolute; top: -13px; left: 28px;
  background: var(--blue); color: var(--white);
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.plan-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.plan-card .plan-desc { font-size: 0.9rem; color: var(--slate-light); margin-bottom: 22px; }
.plan-card .list-check { margin-bottom: 26px; flex: 1; }
.plan-card .list-check li { padding-block: 7px; font-size: 0.92rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47,111,237,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-note { font-size: 0.78rem; color: var(--slate-light); }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--sky);
  color: var(--ink);
}
.form-status.show { display: block; }

.contact-info-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.contact-info-row {
  position: relative;
  display: flex; gap: 16px; align-items: flex-start;
  padding-block: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-info-row:last-of-type { border-bottom: none; }
.contact-info-row svg { flex: none; color: var(--blue-light); margin-top: 2px; }
.contact-info-row h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-row p, .contact-info-row a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.contact-info-row a:hover { color: var(--white); }
.social-row { display: flex; gap: 10px; margin-top: 24px; position: relative; }
.social-row a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  transition: background .15s ease, border-color .15s ease;
}
.social-row a:hover { background: var(--blue); border-color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); }
.footer-main { padding-block: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; color: var(--slate); max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}
.footer-col li { padding-block: 7px; }
.footer-col a, .footer-col span { font-size: 0.92rem; color: var(--slate); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding-block: 20px;
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.footer-legal a:hover { color: var(--white); }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 480px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .process::before { display: none; }
  .split { grid-template-columns: 1fr; }
  .split-visual { min-height: 260px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}

@media (max-width: 720px) {
  .nav-links, .header-actions .status-pill { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 24px 22px;
    gap: 6px;
  }
  .site-header.open .nav-links a { padding-block: 10px; width: 100%; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row .card-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  section { padding-block: 56px; }
}
