/* ===========================================================
   FluxAI — Design System
   Palette: Navy #0A1F44, Charcoal #1B1E24, White #FFFFFF, Electric Blue #2E6BE6
   =========================================================== */

:root {
  --navy: #0A1F44;
  --navy-deep: #071630;
  --charcoal: #1B1E24;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --blue: #2E6BE6;
  --blue-light: #5B8DEF;
  --blue-pale: #EAF1FD;
  --grey: #5B6474;
  --grey-light: #9AA3B2;
  --border: #E3E7EF;
  --radius: 10px;
  --max: 1140px;
  --shadow: 0 10px 30px rgba(10, 31, 68, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: 'Inter', sans-serif; font-weight: 700; color: var(--navy); margin: 0 0 16px; line-height: 1.2; }
h1 { font-size: 44px; letter-spacing: -0.5px; }
h2 { font-size: 32px; letter-spacing: -0.3px; }
h3 { font-size: 22px; }
h4 { font-size: 17px; }
p { margin: 0 0 16px; color: #333A46; }
.lede { font-size: 19px; color: var(--grey); }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-intro { max-width: 720px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #2558c2; transform: translateY(-1px); }
.btn-ghost-light { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-ghost-dark { border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.logo { display: flex; flex-direction: column; color: #fff; font-weight: 800; font-size: 21px; letter-spacing: 0.3px; }
.logo span.tag { font-weight: 500; font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue-light); margin-top: 1px; }
.navlinks { display: flex; align-items: center; gap: 30px; }
.navlinks a { color: rgba(255,255,255,0.82); font-size: 14.5px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.navlinks a:hover, .navlinks a.active { color: #fff; border-color: var(--blue-light); }
.nav-cta { margin-left: 10px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 65%, #06122b 100%);
  color: #fff;
  padding: 96px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,107,230,0.25) 0%, rgba(46,107,230,0) 70%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: #fff; font-size: 48px; margin-bottom: 22px; }
.hero .lede { color: rgba(255,255,255,0.82); font-size: 19px; max-width: 620px; }
.hero-ctas { display: flex; gap: 16px; margin: 30px 0 20px; flex-wrap: wrap; }
.hero-trust { font-size: 14px; color: rgba(255,255,255,0.6); border-top: 1px solid rgba(255,255,255,0.15); padding-top: 18px; margin-top: 8px; max-width: 560px; }

.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; padding: 64px 0 56px;
}
.page-hero .eyebrow { color: var(--blue-light); }
.page-hero h1 { color: #fff; font-size: 38px; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 640px; font-size: 17.5px; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
section.alt { background: var(--off-white); }
section.dark { background: var(--charcoal); color: #fff; }
section.dark h2 { color: #fff; }
section.dark p { color: rgba(255,255,255,0.75); }
.section-head { margin-bottom: 44px; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.bullet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; list-style: none; padding: 0; margin: 0; }
.bullet-grid li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: #333A46; }
.bullet-grid li .dot { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 2px; background: var(--blue); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; color: var(--grey); font-size: 15px; }
.icon-badge {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--blue-pale); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-badge svg { width: 24px; height: 24px; stroke: var(--blue); }

.service-card { border-top: 3px solid var(--blue); }
.service-num { font-size: 12.5px; font-weight: 700; letter-spacing: 1px; color: var(--blue); margin-bottom: 8px; }

/* ---------- Founder ---------- */
.founder-block { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; }
.founder-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.founder-name { font-size: 13px; color: var(--grey); margin-top: 10px; text-align: center; }
.pullquote {
  border-left: 3px solid var(--blue);
  padding: 4px 0 4px 22px; margin: 22px 0;
  font-size: 19px; font-style: italic; color: var(--navy); font-weight: 500;
}

/* ---------- Trust list ---------- */
.trust-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.trust-list li { padding-left: 26px; position: relative; font-size: 15.5px; color: #333A46; }
.trust-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 700;
}

/* ---------- Process / Method ---------- */
.method-steps { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.method-step { display: grid; grid-template-columns: 70px 1fr; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.method-step:last-child { border-bottom: none; }
.method-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 19px;
}
.method-step h3 { margin-bottom: 6px; }

.flow { display: flex; align-items: center; justify-content: space-between; margin: 44px 0; flex-wrap: wrap; gap: 10px; }
.flow-node {
  background: #fff; border: 1.5px solid var(--blue); color: var(--navy);
  padding: 12px 16px; border-radius: 8px; font-weight: 600; font-size: 13.5px;
  text-align: center; flex: 1; min-width: 120px;
}
.flow-arrow { color: var(--blue-light); font-size: 20px; flex: none; }

/* ---------- Stat / Results ---------- */
.result-cat { margin-bottom: 8px; }
.result-cat .icon-badge { margin-bottom: 12px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; text-align: center; padding: 76px 0;
}
.cta-band h2 { color: #fff; font-size: 34px; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 620px; margin-left: auto; margin-right: auto; font-size: 17px; }

/* ---------- Form (contact) ---------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 7px;
  font-family: inherit; font-size: 14.5px; background: #FBFCFE;
}
.form-row textarea { resize: vertical; min-height: 100px; }
.contact-info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px; }
.contact-info-card h3 { color: #fff; }
.contact-info-card .row { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14.5px; color: rgba(255,255,255,0.85); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.65); padding: 50px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-grid a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 9px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.small-note { font-size: 13.5px; color: var(--grey-light); font-style: italic; }
.tag-pill {
  display: inline-block; background: var(--blue-pale); color: var(--blue);
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .navlinks { display: none; }
  .grid-2, .founder-block, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .bullet-grid, .trust-list { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
}
