/* ==========================================================
   AXIOBIT — Shared site styles
   Dark, blue-accent, enterprise-feel.
   ========================================================== */

:root {
  --bg-0: #02050e;
  --bg-1: #08101f;
  --bg-2: #0d1628;
  --bg-3: #131e36;
  --line: #1c273f;
  --line-strong: #2a3a5c;
  --text-0: #e6edf7;
  --text-1: #aab6cc;
  --text-2: #6b7794;
  --blue: #4f8cff;
  --blue-dim: #2c5fbf;
  --blue-soft: rgba(79,140,255,0.12);
  --cyan: #5ee0ff;
  --ai: #6ea8ff;
  --ai-glow: rgba(110,168,255,0.35);
  --hitl: #f5a524;
  --green: #36d399;
  --red: #ef4444;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #02050e; }
body {
  margin: 0; padding: 0;
  color: var(--text-0);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background: #02050e;
  position: relative;
}

/* Layered cinematic blue-black gradient.
   Layer 1: deep base linear gradient
   Layer 2: bright indigo bloom upper-left
   Layer 3: cyan accent lower-right
   Layer 4: subtle violet wash at bottom for depth */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 22% -5%, rgba(59, 130, 246, 0.22), transparent 60%),
    radial-gradient(ellipse 55% 45% at 92% 95%, rgba(14, 165, 233, 0.12), transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 110%, rgba(99, 102, 241, 0.07), transparent 70%),
    linear-gradient(180deg, #0b1530 0%, #060e22 28%, #03070f 65%, #02040c 100%);
}

/* Faint conic shimmer over base — adds a "metal" sheen at scale */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    conic-gradient(from 220deg at 50% 50%,
      transparent 0deg,
      rgba(79, 140, 255, 0.025) 90deg,
      transparent 180deg,
      rgba(94, 224, 255, 0.020) 270deg,
      transparent 360deg);
  mix-blend-mode: screen;
  opacity: 0.6;
}

.page { position: relative; z-index: 1; }

/* ---------- Site header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(2,5,14,0.78) 0%, rgba(2,5,14,0.55) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text-0);
}
.brand-mark {
  width: 30px; height: 30px;
  background: conic-gradient(from 200deg, var(--blue), var(--cyan), var(--blue));
  border-radius: 8px;
  box-shadow: 0 0 20px var(--ai-glow);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 6px;
  background: var(--bg-0); border-radius: 4px;
}
.brand-text { font-weight: 600; letter-spacing: 0.2px; }
.brand-tag {
  color: var(--text-2); font-size: 12px;
  margin-left: 8px;
  padding: 2px 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.nav-links {
  display: flex; gap: 4px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-1);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  transition: all .15s ease;
}
.nav-links a:hover { color: var(--text-0); background: var(--bg-2); }
.nav-links a.active { color: var(--blue); }
.nav-cta {
  background: linear-gradient(180deg, var(--blue), var(--blue-dim));
  color: white !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(79,140,255,0.3);
}
.nav-cta:hover { background: var(--blue) !important; filter: brightness(1.05); }

/* ---------- Container ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-tight {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 90px;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-soft);
  border: 1px solid rgba(79,140,255,0.25);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 10px var(--blue);
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 18ch;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lede {
  font-size: 19px; line-height: 1.55;
  color: var(--text-1);
  max-width: 60ch;
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(180deg, var(--blue), var(--blue-dim));
  color: white;
  box-shadow: 0 8px 22px rgba(79,140,255,0.35);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-secondary {
  background: var(--bg-2);
  color: var(--text-0);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost {
  background: transparent;
  color: var(--text-1);
}
.btn-ghost:hover { color: var(--blue); }

/* hero canvas decoration */
.hero-deco {
  position: absolute; top: 80px; right: -80px;
  width: 520px; height: 520px;
  pointer-events: none;
  opacity: 0.6;
}
@media (max-width: 980px) { .hero-deco { display: none; } }

/* ---------- Section ---------- */
section.block {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.section-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  max-width: 22ch;
}
.section-lede {
  color: var(--text-1);
  font-size: 17px;
  max-width: 62ch;
  margin: 0 0 48px;
}

/* ---------- 3-step grid ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: linear-gradient(180deg, rgba(13,22,40,0.75), rgba(8,16,31,0.55));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.6;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(79,140,255,0.25);
}
.step h3 {
  font-size: 18px;
  margin: 0 0 10px;
  font-weight: 600;
}
.step p {
  color: var(--text-1);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Feature row ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 720px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: linear-gradient(180deg, rgba(13,22,40,0.70), rgba(8,16,31,0.50));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex; gap: 16px;
  transition: border-color .2s ease, transform .2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.feature:hover { transform: translateY(-2px); }
.feature:hover { border-color: var(--blue-dim); }
.feature-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue-soft);
  border: 1px solid rgba(79,140,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.feature h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}
.feature p {
  margin: 0;
  color: var(--text-1);
  font-size: 14px;
}

/* ---------- Inline screenshot card ---------- */
.preview-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  margin: 48px 0 0;
  box-shadow: 0 30px 80px -30px rgba(79,140,255,0.25);
  overflow: hidden;
}
.preview-bar {
  display: flex; gap: 6px; align-items: center;
  padding: 0 4px 12px;
}
.preview-dot { width: 10px; height: 10px; border-radius: 50%; }
.preview-dot.r { background: #ff5f57; }
.preview-dot.y { background: #ffbd2e; }
.preview-dot.g { background: #28c940; }
.preview-bar-title {
  font-size: 12px; color: var(--text-2);
  margin-left: auto; margin-right: 8px;
}
.preview-frame {
  width: 100%;
  height: 540px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-0);
}

/* ---------- Methodology ---------- */
.layer-stack {
  display: grid; gap: 14px;
}
.layer {
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 10px;
  padding: 22px 26px;
}
.layer h4 {
  margin: 0 0 6px;
  display: flex; align-items: center; gap: 12px;
  font-size: 17px;
}
.layer-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
.layer p { margin: 0; color: var(--text-1); font-size: 14px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(600px 300px at 30% 30%, rgba(79,140,255,0.20), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  margin: 60px 0 80px;
}
.cta-banner h2 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cta-banner p {
  margin: 0 auto 28px;
  color: var(--text-1);
  max-width: 50ch;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8,16,31,0.6), rgba(2,5,14,0.85));
  backdrop-filter: blur(12px);
  padding: 40px 0 28px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: var(--text-1);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
}
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--text-2);
  font-size: 13px;
}
.footer-brand-line {
  color: var(--text-1);
  margin-top: 12px;
  font-size: 14px;
}
.footer-brand-line span { color: var(--text-2); }

/* ---------- Misc ---------- */
.kbd {
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 12px;
  font-family: ui-monospace, Menlo, monospace;
  color: var(--text-1);
}
.muted { color: var(--text-2); }

/* simple FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--blue); font-size: 20px;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-1); margin: 12px 0 0; font-size: 14.5px; }
