/* BBA Data Solutions — dark tech (Claude Design iteration, cleaned to static CSS) */

:root {
  --bg: #0b1020; --bg-2: #0f1730;
  --ink: #e8ecf5; --muted: #98a2b8; --muted-2: #8b96ad;
  --line: rgba(255,255,255,.1); --line-soft: rgba(255,255,255,.07);
  --glass: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  --cyan: #4FD1FF; --violet: #8B5CF6; --green: #3ddc97;
  --font: "Space Grotesk", -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #9ae5ff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 700; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.025em; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 3rem); margin-inline: auto; }

/* Animations */
@keyframes pulseNode { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes dashFlow { to { stroke-dashoffset: -240; } }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.nd  { animation: pulseNode 4.5s ease-in-out infinite; }
.nd2 { animation: pulseNode 6s ease-in-out infinite .8s; }
.nd3 { animation: pulseNode 5.2s ease-in-out infinite 1.9s; }
.flow { stroke-dasharray: 4 10; animation: dashFlow 12s linear infinite; }
.tk { animation: tick 40s linear infinite; }
.up { animation: rise .7s cubic-bezier(.22,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nd, .nd2, .nd3, .flow, .up { animation: none; }
  .tk { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 20; background: rgba(11,16,32,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 25px; height: 25px; fill: var(--cyan); stroke: var(--cyan); stroke-width: 1.5; stroke-opacity: .55; }
.brand-mark .alt { fill: var(--violet); stroke: var(--violet); }
.brand-mark path { fill: none; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); font-size: 14px; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav-cta { color: var(--ink) !important; padding: 8px 16px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; }
.nav-cta:hover { border-color: var(--cyan); }

/* Backgrounds */
main { position: relative; }
.glow-bg {
  position: absolute; inset: 0 0 auto; height: 1100px; pointer-events: none;
  background: radial-gradient(46% 55% at 100% 0%, rgba(139,92,246,.15), transparent 62%),
              radial-gradient(42% 50% at 0% 42%, rgba(79,209,255,.13), transparent 62%);
}
.grid-bg {
  position: absolute; inset: 0 0 auto; height: 900px; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(72% 62% at 50% 26%, #000, transparent);
  -webkit-mask-image: radial-gradient(72% 62% at 50% 26%, #000, transparent);
}

/* Hero */
.hero {
  position: relative; display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 52px); align-items: center;
  padding: clamp(56px, 7vw, 92px) 0 clamp(40px, 5vw, 64px);
}
.hero-copy { flex: 1 1 460px; min-width: min(100%, 420px); }
.status {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 26px; font-size: 13px; color: var(--muted);
  border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035); border-radius: 999px; padding: 6px 14px 6px 11px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61,220,151,.18); }
.hero h1 { font-size: clamp(34px, 4.3vw, 56px); line-height: 1.06; letter-spacing: -0.035em; text-wrap: pretty; }
.glow { color: var(--cyan); text-shadow: 0 0 26px rgba(79,209,255,.42), 0 0 64px rgba(79,209,255,.18); }
.lead { max-width: 48ch; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.62; color: var(--muted); margin: 26px 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }
.sig { margin: clamp(32px, 4vw, 46px) 0 0; color: var(--muted-2); font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 22px; border-radius: 10px;
  font-weight: 500; font-size: 16px; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.btn-primary {
  background: var(--cyan); color: #06111f;
  box-shadow: 0 0 0 1px rgba(79,209,255,.4), 0 10px 30px -10px rgba(79,209,255,.6);
}
.btn-primary:hover { color: #06111f; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(79,209,255,.65), 0 14px 34px -10px rgba(79,209,255,.8); }
.btn-ghost { color: var(--ink); border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); }
.btn-ghost:hover { color: var(--ink); border-color: rgba(255,255,255,.28); }
.li { width: 17px; height: 17px; fill: currentColor; }

/* Hero panel */
.panel {
  flex: 1 1 380px; min-width: min(100%, 340px); padding: 22px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--glass);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px -42px rgba(79,209,255,.4);
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px;
  font-size: 11.5px; color: var(--muted-2); letter-spacing: .09em; text-transform: uppercase;
}
.healthy { display: inline-flex; align-items: center; gap: 7px; text-transform: none; letter-spacing: 0; font-size: 12px; }
.dot-sm { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.diagram { width: 100%; height: auto; display: block; }

/* Tags */
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.panel .tags { margin-top: 18px; gap: 8px; }
.tags > * {
  font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.03);
}

/* Ticker */
.ticker {
  position: relative; overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.tk { display: flex; gap: 48px; width: max-content; color: var(--muted-2); font-size: 14px; font-weight: 500; white-space: nowrap; }

/* Expertise */
.expertise { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); }
.section-head { max-width: 60ch; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p { color: var(--muted); margin-top: 12px; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  position: relative; padding: 26px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: .5;
  background: linear-gradient(135deg, rgba(79,209,255,.6), transparent 42%, transparent 60%, rgba(139,92,246,.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.icon { width: 32px; height: 32px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; margin-bottom: 18px; }
.card h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; }
.card p { color: var(--muted); font-size: 16px; margin: 0 0 18px; }

/* About */
.about { position: relative; padding: clamp(48px, 6vw, 80px) 0; }
.about h2 { margin-bottom: clamp(28px, 3.5vw, 44px); }
.about-grid { display: grid; gap: clamp(28px, 3.5vw, 44px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.about-body p { color: var(--muted); max-width: 60ch; }
.about-body p + p { margin-top: 18px; }
.facts { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); }
.facts dl { margin: 0; display: grid; gap: 16px; }
.facts dl > div { display: grid; gap: 2px; }
.facts dl > div + div { padding-top: 16px; border-top: 1px solid var(--line-soft); }
.facts dt { font-size: 12.5px; color: var(--muted-2); letter-spacing: .04em; }
.facts dd { margin: 0; font-weight: 500; }

/* Contact */
.contact { position: relative; padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 88px); }
.contact-card {
  position: relative; overflow: hidden; text-align: center; border-radius: 20px; border: 1px solid var(--line);
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
  background: radial-gradient(80% 120% at 50% 0%, rgba(79,209,255,.16), transparent 62%), var(--bg-2);
}
.contact-lines { position: absolute; inset: auto 0 0; width: 100%; height: 120px; opacity: .55; pointer-events: none; }
.contact-inner { position: relative; }
.contact-inner h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.028em; }
.contact-inner p { color: var(--muted); max-width: 52ch; margin: 16px auto 30px; }

/* Footer */
.foot { position: relative; padding: 22px 0 40px; color: var(--muted-2); font-size: 13.5px; border-top: 1px solid rgba(255,255,255,.08); }
