/* BulkScanPro marketing landing — custom design on the ita.builders brand.
   Brand tokens mirror the Node/Server frontends (see brand design system). */

:root {
  --blue: #2e42c9;
  --orange: #f17331;
  --cyan: #cee9f9;
  --green: #83bd62;
  --gold: #f5c445;

  --surface: #0f1535;
  --surface-card: #151d45;
  --surface-hover: #1c2654;
  --border: rgba(255, 255, 255, 0.10);
  --text: #eef1fb;
  --text-dim: #a6adcf;

  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --maxw: 1080px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .font-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ---------- Background glow ---------- */
.glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.glow::before,
.glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.glow::before {
  width: 520px; height: 520px;
  background: var(--blue);
  top: -160px; left: -120px;
}
.glow::after {
  width: 460px; height: 460px;
  background: var(--orange);
  top: -80px; right: -140px;
  opacity: 0.28;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(15, 21, 53, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
}
.brand img { width: 26px; height: 26px; }
.brand span b { color: var(--orange); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-hover); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 30px rgba(46, 66, 201, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(46, 66, 201, 0.55); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: rgba(255,255,255,0.2); }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 72px;
  text-align: center;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 18px auto 0;
  max-width: 16ch;
}
.hero h1 .hl { color: var(--orange); }
.hero p.sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-dim);
  max-width: 56ch;
  margin: 22px auto 0;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---------- Stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
}
.stat {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--cyan);
}
.stat .lbl { font-size: 0.9rem; color: var(--text-dim); margin-top: 4px; }

/* ---------- Sections ---------- */
section.block { padding: 80px 0; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 12px 0 0; }
.section-head p { color: var(--text-dim); font-size: 1.1rem; margin: 16px auto 0; }

/* ---------- Feature cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s, border-color 0.15s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.18); }
.card .ic {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(46, 66, 201, 0.18);
  margin-bottom: 16px;
}
.card .ic svg { width: 24px; height: 24px; stroke: var(--cyan); }
.card h3 { font-size: 1.2rem; margin: 0 0 8px; }
.card p { color: var(--text-dim); margin: 0; font-size: 0.98rem; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.step {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.step .n {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--surface);
  background: var(--orange);
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step p { color: var(--text-dim); margin: 0; font-size: 0.96rem; }

/* ---------- Integration ---------- */
.integration { background: var(--surface-card); }
.surfaces {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.surface {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s, transform 0.15s;
}
.surface:hover { border-color: var(--blue); transform: translateY(-3px); }
.surface .tag {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--surface);
  background: var(--cyan);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.surface h3 { margin: 0 0 6px; font-size: 1.1rem; }
.surface p { margin: 0; color: var(--text-dim); font-size: 0.95rem; }
.code-peek {
  margin-top: 28px;
  background: #0b1030;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  overflow-x: auto;
}
.code-peek pre {
  margin: 0;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  color: var(--cyan);
  line-height: 1.7;
}
.code-peek .c { color: var(--text-dim); }
.code-peek .k { color: var(--orange); }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(46,66,201,0.22), rgba(241,115,49,0.16));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 32px;
}
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.cta p { color: var(--text-dim); font-size: 1.1rem; margin: 14px auto 28px; max-width: 50ch; }
.cta .hero-cta { margin-top: 0; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .surfaces { grid-template-columns: 1fr; }
  .nav-links .hide-sm { display: none; }
}
