/* ============================================================
   BI Automations — design tokens
   ============================================================ */
:root {
  --navy-950: #070b18;
  --navy-900: #0b1224;
  --navy-800: #111a33;
  --navy-700: #1b2747;
  --navy-600: #26345c;
  --border: #223055;
  --border-light: #e2e6f0;

  --primary: #2f6bff;
  --primary-dark: #1f4fd6;
  --accent: #f5a524;
  --accent-dark: #d98a0e;

  --text: #0f1729;
  --text-muted: #566079;
  --text-inverse: #eef1fb;
  --text-inverse-muted: #a8b2cf;

  --bg: #ffffff;
  --bg-alt: #f5f7fc;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(15, 23, 41, .08), 0 1px 2px rgba(15, 23, 41, .06);
  --shadow-md: 0 6px 20px rgba(15, 23, 41, .10);
  --shadow-xl: 0 20px 45px rgba(15, 23, 41, .16);

  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.bg-alt { background: var(--bg-alt); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff;
  padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 600; border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--border-light); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 15px; }

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--navy-700));
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--text); }

.nav-links { display: flex; align-items: center; gap: 6px; flex: 1; justify-content: center; }
.nav-link {
  background: none; border: none; padding: 10px 14px; font-size: 14px; font-weight: 500;
  color: var(--text-muted); border-radius: 8px; display: inline-flex; align-items: center; gap: 4px;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--primary); background: var(--bg-alt); }
.nav-dropdown-trigger .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-dropdown:hover .chev { transform: rotate(180deg); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  /* Flush against the trigger (top:100%, no gap) so the hover hit-area is
     continuous from button to menu — a gap here is dead space outside any
     element and breaks :hover before the pointer reaches the menu. */
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 280px; background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: 8px;
  display: none; z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown.closing .nav-dropdown-menu { display: none !important; }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--text);
}
.nav-dropdown-menu a:hover { background: var(--bg-alt); color: var(--primary); }

.navbar-cta { display: flex; align-items: center; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px;
}
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 2px; padding: 10px 24px 18px;
  border-top: 1px solid var(--border-light); background: #fff;
}
.mobile-menu a { padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--border-light); }
.mobile-menu.open { display: flex; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 500px at 15% -10%, #eaf0ff 0%, transparent 60%),
              radial-gradient(900px 500px at 100% 0%, #fff4e0 0%, transparent 55%),
              var(--bg);
  padding: 88px 0 60px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border-light) 1px, transparent 1px),
                     linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  opacity: .5;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--primary-dark); background: #eaf0ff; border: 1px solid #d7e2ff;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.hero h1 {
  font-family: var(--font-head); font-size: 46px; line-height: 1.12; letter-spacing: -.02em;
  margin: 0 0 18px; color: var(--text);
}
.text-gradient {
  background: linear-gradient(100deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 17px; color: var(--text-muted); max-width: 520px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; flex-direction: column; gap: 8px; }
.trust-item { font-size: 13px; color: var(--text-muted); }
.trust-item strong { color: var(--text); font-weight: 600; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.panel-card {
  width: 100%; max-width: 380px; background: var(--navy-900); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); overflow: hidden; border: 1px solid var(--navy-700);
}
.panel-card-head {
  display: flex; align-items: center; gap: 8px; padding: 14px 16px;
  border-bottom: 1px solid var(--navy-700); background: var(--navy-800);
}
.led { width: 9px; height: 9px; border-radius: 50%; }
.led-green { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.led-amber { background: #f5a524; }
.led-red { background: #ef4444; }
.panel-card-title { margin-left: 6px; font-size: 12px; color: var(--text-inverse-muted); font-weight: 600; letter-spacing: .02em; }
.panel-readout { padding: 20px 18px; }
.readout-row {
  display: flex; justify-content: space-between; font-size: 13px; color: var(--text-inverse-muted);
  padding: 9px 0; border-bottom: 1px dashed var(--navy-700);
}
.readout-row b { color: var(--text-inverse); font-weight: 700; }
.readout-row b.ok { color: #4ade80; }
.bar { height: 6px; background: var(--navy-700); border-radius: 999px; margin-top: 16px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 999px; }

.floating-chip {
  position: absolute; background: #fff; border: 1px solid var(--border-light); box-shadow: var(--shadow-md);
  padding: 10px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--text);
}
.chip-1 { top: -7%; left: -2%; }
.chip-2 { bottom: 8%; right: -6%; }

/* ============================================================
   Stats
   ============================================================ */
.stats { background: var(--navy-950); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 38px; font-weight: 700; color: #fff; }
.stat-num::after { content: '+'; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-inverse-muted); margin-top: 4px; }

/* ============================================================
   Section headers / shared
   ============================================================ */
.section-header { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary-dark); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head); font-size: 32px; letter-spacing: -.01em; margin: 0 0 12px; color: var(--text);
}
.section-title span { color: var(--primary); }
.section-sub { color: var(--text-muted); font-size: 15px; margin: 0; }

section { padding: 88px 0; }

/* ============================================================
   About
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about-frame {
  position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.about-frame-glow {
  position: absolute; inset: -40%; background: radial-gradient(circle, rgba(47,107,255,.35), transparent 60%);
}
.about-icon { font-size: 96px; position: relative; }
.about-copy .section-tag, .about-copy .section-title, .about-copy .section-sub { text-align: left; margin-left: 0; }
.about-copy .section-title span { color: var(--accent-dark); }
.check-list { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; font-size: 14px; color: var(--text); }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 50%;
  background: #e8f5e9; color: #16a34a; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.link-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); }
.link-cta span { transition: transform .15s; }
.link-cta:hover span { transform: translateX(4px); }

/* ============================================================
   Services
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 28px 24px; transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-3px); }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.service-title { font-family: var(--font-head); font-size: 17px; margin: 0 0 8px; }
.service-desc { font-size: 13.5px; color: var(--text-muted); margin: 0 0 16px; }
.service-items { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.service-items li { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.service-items li::before { content: '▶'; color: var(--primary); font-size: 9px; }
.service-link { font-size: 13px; font-weight: 600; color: var(--primary); display: inline-flex; gap: 6px; }

/* ============================================================
   Process
   ============================================================ */
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process-step {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 24px 18px; position: relative;
}
.process-num { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--border-light); margin-bottom: 10px; }
.process-step h3 { font-size: 14.5px; margin: 0 0 8px; }
.process-step p { font-size: 12.5px; color: var(--text-muted); margin: 0; }

/* ============================================================
   Industries
   ============================================================ */
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 26px 22px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.industry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.industry-icon { font-size: 30px; margin-bottom: 12px; }
.industry-card h3 { font-size: 15px; margin: 0 0 6px; }
.industry-card p { font-size: 12.5px; color: var(--text-muted); margin: 0; }

/* ============================================================
   Why Us
   ============================================================ */
.whyus-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.whyus-copy .section-tag, .whyus-copy .section-title, .whyus-copy .section-sub { text-align: left; margin-left: 0; }
.whyus-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.whyus-card {
  background: var(--bg-alt); border-radius: var(--radius-lg); padding: 22px;
}
.whyus-num { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.whyus-card h3 { font-size: 15px; margin: 0 0 6px; }
.whyus-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; }
.contact-copy .section-tag, .contact-copy .section-title, .contact-copy .section-sub { text-align: left; margin-left: 0; }
.contact-details { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.contact-detail { display: flex; gap: 14px; font-size: 13.5px; color: var(--text-muted); align-items: flex-start; }
.contact-detail strong { color: var(--text); display: block; margin-bottom: 2px; font-size: 14px; }
.contact-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.contact-form {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--border-light); border-radius: 8px; padding: 11px 13px;
  font-size: 14px; font-family: inherit; color: var(--text); background: #fff; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.form-note { font-size: 11.5px; color: var(--text-muted); text-align: center; margin: 14px 0 0; }
.form-note.success { color: #16a34a; font-weight: 600; }
.form-note.error   { color: #dc2626; font-weight: 600; }
/* Honeypot — off-screen rather than display:none, which some bots detect. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button[type=submit][disabled] { opacity: .6; cursor: not-allowed; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy-950); color: var(--text-inverse-muted); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand p { font-size: 13px; margin: 14px 0 0; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 13px; margin: 0 0 14px; letter-spacing: .04em; text-transform: uppercase; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--navy-700); padding: 20px 24px; display: flex; justify-content: space-between;
  font-size: 12px; flex-wrap: wrap; gap: 8px;
}
.footer-sample-note { color: var(--accent); }

/* ============================================================
   Scroll-reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav-links, .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .hero-inner, .about-grid, .whyus-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 20px; }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: 32px; }
  .process-track, .services-grid, .industries-grid, .whyus-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .chip-1, .chip-2 { position: static; margin-top: 10px; display: inline-flex; }
}
