/* ============================================================
   Business Blueprint IQ — Global Stylesheet
   ============================================================ */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-deep:    #020618;
  --blue-dark:    #020617;
  --blue-mid:     #0f172a;
  --blue-accent:  #1d4ed8;
  --cyan:         #38bdf8;
  --cyan-dim:     #7dd3fc;
  --indigo-soft:  #a5b4fc;
  --white:        #f9fafb;
  --slate-200:    #e5e7eb;
  --slate-400:    #9ca3af;
  --slate-500:    #6b7280;
  --border:       rgba(148,163,184,.35);
  --border-hi:    rgba(148,163,184,.55);
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --shadow-card:  0 4px 24px rgba(0,0,0,.45);
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--blue-deep);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ---- Header / Nav ---- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2,6,24,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Large centered logo banner */
.brand-lockup {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: #0a1628;
}

.brand-lockup img {
  width: 100%;
  max-width: 900px;
  height: 160px;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  display: block;
}

.brand-text { display: none; }

/* Nav row below logo */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  font-size: 13.5px;
  font-weight: 500;
  padding: 4px 0;
}

.nav-links a {
  color: var(--slate-200);
  opacity: .72;
  padding: 8px 14px;
  border-radius: 6px;
  border-bottom: 2px solid transparent;
  transition: opacity .18s, background .18s;
}

.nav-links a:hover { opacity: 1; background: rgba(148,163,184,.08); text-decoration: none; }
.nav-links a.active { opacity: 1; color: var(--cyan); border-bottom-color: var(--cyan); }

/* ---- Main wrapper ---- */
main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}

/* ---- Hero grid ---- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: 48px;
  align-items: center;
  padding: 48px 0 40px;
}

.hero-kicker {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--indigo-soft);
  margin-bottom: 14px;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  color: var(--white);
}

.hero-sub {
  font-size: 17px;
  color: #cbd5f5;
  margin-bottom: 22px;
  line-height: 1.6;
}

.hero-tags {
  font-size: 13px;
  color: var(--slate-400);
  margin-bottom: 22px;
  line-height: 1.5;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

/* Hero visual card */
.hero-visual {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-hi);
  background: radial-gradient(circle at top, var(--blue-mid) 0%, var(--blue-dark) 60%);
  background-size: cover;
  background-blend-mode: overlay;
  padding: 36px 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(2,6,24,.55) 0%, rgba(2,6,24,.82) 100%);
  border-radius: inherit;
}

.hero-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56,189,248,.15);
  border: 1px solid rgba(56,189,248,.35);
  color: var(--cyan-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
}

.hero-note {
  position: relative;
  font-size: 14px;
  color: var(--slate-200);
  line-height: 1.65;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: var(--blue-dark);
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .18s, transform .15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--cyan-dim); transform: translateY(-1px); text-decoration: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  padding: 10px 20px;
  font-size: 13.5px;
  color: var(--slate-200);
  background: transparent;
  transition: border-color .18s, background .18s;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--cyan); background: rgba(56,189,248,.06); text-decoration: none; }

/* ---- Sections ---- */
.section {
  margin-top: 80px;
}

.section-eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
  margin-bottom: 16px;
  max-width: 760px;
}

.section-body {
  font-size: 16px;
  color: #cbd5f5;
  max-width: 740px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ---- 3-column grid cards ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.pill-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--blue-mid) 0%, var(--blue-dark) 100%);
  background-image: var(--bg);
  background-size: cover;
  background-blend-mode: overlay;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .2s, border-color .2s;
}

.pill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,23,42,.75) 0%, rgba(2,6,24,.88) 100%);
}

.pill-card:hover { transform: translateY(-3px); border-color: var(--border-hi); }

.pill-eyebrow, .pill-title, .pill-body, .pill-meta { position: relative; }

.pill-eyebrow {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 10px;
}

.pill-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.pill-body {
  font-size: 14px;
  color: #cbd5f5;
  line-height: 1.6;
  margin-bottom: 14px;
}

.pill-meta {
  font-size: 12px;
  color: var(--slate-400);
  font-style: italic;
  border-top: 1px solid rgba(148,163,184,.2);
  padding-top: 10px;
  line-height: 1.5;
}

/* ---- List ---- */
.list {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

.list li {
  font-size: 15px;
  color: #cbd5f5;
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}

.list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 13px;
  top: 2px;
}

/* ---- Contact grid ---- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: 32px;
  align-items: start;
  margin-top: 20px;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--blue-mid);
  padding: 36px 32px;
}

.contact-meta {
  font-size: 14px;
  color: var(--slate-400);
  margin-bottom: 28px;
  line-height: 1.8;
}

/* Form styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--indigo-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(15,23,42,.8);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color .18s;
  font-family: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
}

.form-field select option { background: var(--blue-mid); }
.form-field textarea { min-height: 110px; resize: vertical; }

/* Panel card */
.panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--blue-mid), var(--blue-dark)),
              var(--bg);
  background-size: cover;
  background-blend-mode: overlay;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,23,42,.78) 0%, rgba(2,6,24,.88) 100%);
}

.panel-title, .panel-body { position: relative; }

.panel-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.25;
}

.panel-body {
  font-size: 14px;
  color: #cbd5f5;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border);
  background: var(--blue-dark);
  padding: 28px 24px 36px;
  margin-top: 60px;
}

.footer-shell {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-left {
  font-size: 13px;
  color: var(--slate-500);
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.6;
}

.footer-left a { color: var(--cyan-dim); }

.footer-logo { display: none; }

.footer-attribution {
  font-size: 11px;
  color: var(--slate-500);
  margin-top: 16px;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  padding-bottom: 8px;
}

/* ---- Stats row (home) ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 60px;
}

.stat-block {
  background: var(--blue-mid);
  padding: 28px 24px;
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 500;
}

/* ---- Process steps ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.step-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--blue-mid);
  padding: 28px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color .2s;
}

.step-card:hover { border-color: var(--border-hi); }

.step-num {
  font-size: 28px;
  font-weight: 900;
  color: rgba(56,189,248,.25);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -.04em;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-body {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.6;
}

/* ---- Image feature block ---- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 24px;
}

.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.feature-text { display: flex; flex-direction: column; gap: 14px; }
.feature-text h3 { font-size: 22px; font-weight: 800; line-height: 1.2; }
.feature-text p { font-size: 15px; color: #cbd5f5; line-height: 1.7; }

/* ---- CTA band ---- */
.cta-band {
  margin-top: 80px;
  border: 1px solid rgba(56,189,248,.25);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(29,78,216,.18) 0%, rgba(2,6,24,.6) 100%);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(56,189,248,.08) 0%, transparent 70%);
}

.cta-band h2 { position: relative; font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; margin-bottom: 14px; }
.cta-band p  { position: relative; font-size: 16px; color: #cbd5f5; max-width: 560px; margin: 0 auto 28px; line-height: 1.6; }
.cta-band .btn-row { position: relative; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-block { grid-template-columns: 1fr; }
  .feature-block.reverse { direction: ltr; }
}

@media (max-width: 700px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 28px 0 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { gap: 2px; font-size: 12px; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .brand-text { display: none; }
}
