/* ============================================================
   BMA CONSULTANTS — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

:root {
  --bg:         #0B0E14;
  --panel:      #11151D;
  --panel-alt:  #161B26;
  --border:     #1E2535;
  --teal:       #5EE6C5;
  --teal-dim:   rgba(94,230,197,.12);
  --teal-glow:  rgba(94,230,197,.35);
  --orange:     #FF6B4A;
  --orange-dim: rgba(255,107,74,.12);
  --text:       #E8ECF1;
  --muted:      #8B96A8;
  --font-head:  'Space Grotesk', sans-serif;
  --font-body:  'Inter', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  --radius:     12px;
  --radius-lg:  20px;
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Typography ── */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; }

.mono { font-family: var(--font-mono); }

/* ── Utility ── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px,5vw,64px);
}

.section { padding-block: clamp(64px,8vw,120px); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid rgba(94,230,197,.25);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 20px;
}

.tag-orange {
  color: var(--orange);
  background: var(--orange-dim);
  border-color: rgba(255,107,74,.25);
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, #4BC7F8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 14px 28px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: #0B0E14;
  box-shadow: 0 0 28px rgba(94,230,197,.3);
}
.btn-primary:hover {
  background: #7AEDCE;
  box-shadow: 0 0 40px rgba(94,230,197,.55);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-lg { font-size: 1.05rem; padding: 16px 36px; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(20px,5vw,64px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11,14,20,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), #4BC7F8);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .85rem;
  color: #0B0E14;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.01em;
}
.nav-logo-text span { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  padding: 24px clamp(20px,5vw,64px);
  z-index: 99;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 8px; align-self: flex-start; }

/* ── Footer ── */
.footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding-block: 60px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3,1fr);
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  color: var(--muted);
  font-size: .9rem;
  max-width: 280px;
  margin-top: 12px;
  line-height: 1.65;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .9rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: .85rem; color: var(--muted); }

.footer-bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-bottom-links a {
  font-size: .85rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--text); }

/* ============================================================
   HOMEPAGE
   ============================================================ */

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(94,230,197,.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(255,107,74,.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .25;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}

.hero-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 var(--teal-glow); }
  50%      { opacity: .7; transform: scale(1.15); box-shadow: 0 0 0 6px transparent; }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-accent { color: var(--orange); }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-trust {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust-avatars {
  display: flex;
}
.hero-trust-avatars span {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, var(--teal), #4BC7F8);
  margin-left: -8px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: .6rem;
  font-weight: 700;
  color: #0B0E14;
}
.hero-trust-avatars span:first-child { margin-left: 0; }

.hero-trust p {
  font-size: .85rem;
  color: var(--muted);
}
.hero-trust p strong { color: var(--text); }

/* ── Problem ── */
.problem { background: var(--panel); }

.problem-header { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 64px; }
.problem-header h2 { font-size: clamp(2rem,3.5vw,2.8rem); margin-bottom: 16px; }
.problem-header p { color: var(--muted); font-size: 1.05rem; }

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.problem-card:hover {
  border-color: rgba(255,107,74,.4);
  transform: translateY(-2px);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.problem-stat {
  font-family: var(--font-mono);
  font-size: clamp(3rem,5vw,4.2rem);
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 12px;
}

.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.problem-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ── How It Works ── */
.how-header { text-align: center; max-width: 600px; margin-inline: auto; margin-bottom: 72px; }
.how-header h2 { font-size: clamp(2rem,3.5vw,2.8rem); margin-bottom: 16px; }
.how-header p { color: var(--muted); font-size: 1.05rem; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), #4BC7F8, var(--teal));
  opacity: .35;
}

.how-step {
  padding: 0 20px;
  text-align: center;
  position: relative;
}

.how-step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--teal);
  display: grid;
  place-items: center;
  margin-inline: auto;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal);
  box-shadow: 0 0 20px rgba(94,230,197,.2);
}

.how-step-icon {
  font-size: 1.4rem;
  margin-bottom: 16px;
  display: block;
}

.how-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.how-step p { font-size: .88rem; color: var(--muted); line-height: 1.65; }

.how-step-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid rgba(94,230,197,.2);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 12px;
}

/* ── Proof Strip ── */
.proof {
  background: linear-gradient(135deg, rgba(94,230,197,.07) 0%, rgba(75,199,248,.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 56px;
}

.proof-inner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
  text-align: center;
}

.proof-item {}

.proof-stat {
  font-family: var(--font-mono);
  font-size: clamp(2rem,3.5vw,3rem);
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}

.proof-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.proof-item p { font-size: .88rem; color: var(--muted); }

.proof-divider {
  width: 1px;
  background: var(--border);
  margin-inline: auto;
}

/* ── Industries ── */
.industries { background: var(--panel); }

.industries-header { text-align: center; max-width: 560px; margin-inline: auto; margin-bottom: 56px; }
.industries-header h2 { font-size: clamp(2rem,3.5vw,2.8rem); margin-bottom: 16px; }
.industries-header p { color: var(--muted); font-size: 1.05rem; }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 16px;
}

/* 10 cards: 5×2 on desktop */
.industry-grid article:nth-child(n+6) {
  /* natural second row — no extra CSS needed */
}

.industry-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.industry-card:hover {
  border-color: rgba(94,230,197,.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(94,230,197,.08);
}

.industry-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}

.industry-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.industry-card p { font-size: .8rem; color: var(--muted); }

/* ── CTA Band ── */
.cta-band {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(94,230,197,.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band-inner { position: relative; z-index: 1; max-width: 680px; margin-inline: auto; }

.cta-band h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-band p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-band-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.cta-band-note {
  margin-top: 20px;
  font-size: .82rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: .04em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }

  .problem-cards { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: repeat(2,1fr); gap: 48px; }
  .how-steps::before { display: none; }
  .proof-inner { grid-template-columns: 1fr; gap: 32px; }
  .proof-divider { display: none; }
  .industry-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .how-steps { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-trust { flex-direction: column; align-items: flex-start; }
}
