/* ═══════════════════════════════════════════════════════════
   BuildArq — Landing Page (static mirror of HomeView.java)
   Dark theme — v2
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #080d1a;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ═══════════════════════════════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════════════════════════════ */
@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  33%       { transform: translateY(-40px) translateX(20px) scale(1.05); }
  66%       { transform: translateY(20px) translateX(-20px) scale(0.97); }
}
@keyframes floatOrb2 {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  33%       { transform: translateY(30px) translateX(-30px) scale(1.08); }
  66%       { transform: translateY(-20px) translateX(25px) scale(0.95); }
}
@keyframes floatOrb3 {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-60px) scale(1.1); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99,102,241,0.7); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 16px rgba(99,102,241,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99,102,241,0); }
}
@keyframes borderGlow {
  0%, 100% { border-color: rgba(99,102,241,0.3); box-shadow: 0 0 0 0 rgba(99,102,241,0); }
  50%       { border-color: rgba(99,102,241,0.8); box-shadow: 0 0 24px 4px rgba(99,102,241,0.2); }
}
@keyframes marqueeLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
@keyframes barGrow {
  from { width: 0 !important; }
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.ba-home-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  padding: 14px 48px;
  gap: 28px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(8,13,26,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s, box-shadow 0.3s;
}
.ba-home-nav.scrolled {
  background: rgba(8,13,26,0.96);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.ba-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  flex-shrink: 0;
  text-decoration: none;
}
.ba-nav-logo img { height: 38px; width: auto; display: block; }
.ba-nav-spacer { flex: 1; }
.ba-nav-links { display: flex; align-items: center; gap: 28px; }
.ba-nav-link {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  text-decoration: none;
}
.ba-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,#6366f1,#3b82f6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.ba-nav-link:hover { color: #fff; }
.ba-nav-link:hover::after { transform: scaleX(1); }
.ba-nav-btn-outline {
  padding: 8px 22px;
  font-weight: 600;
  font-size: 0.9rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.88);
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.ba-nav-btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}
.ba-nav-btn-primary {
  padding: 9px 22px;
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(135deg,#6366f1,#3b82f6);
  color: #fff;
  border: none;
  border-radius: 8px;
  transition: all 0.2s, transform 0.15s;
  box-shadow: 0 0 20px rgba(99,102,241,0.4);
  text-decoration: none;
  margin-left: 8px;
}
.ba-nav-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 36px rgba(99,102,241,0.65);
  color: #fff;
}
.ba-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  /* Ensure minimum 44×44 tap target */
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.ba-hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.9); border-radius: 2px; transition: all 0.25s ease; }
.ba-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  gap: 4px;
  background: rgba(8,13,26,0.97);
  /* Fixed so it always opens below the sticky navbar regardless of scroll position */
  position: fixed;
  top: 63px;
  left: 0;
  right: 0;
  z-index: 998;
  max-height: calc(100vh - 63px);
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.ba-mobile-menu.open { display: flex; }
.ba-mobile-menu a {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.97rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  display: block;
}
.ba-mobile-menu a:hover { background: rgba(255,255,255,0.07); color: #fff; }
/* Show the primary CTA inside the mobile menu even though it's hidden in the desktop nav */
.ba-mobile-menu .ba-nav-btn-primary {
  display: block !important;
  text-align: center;
  margin: 10px 0 0;
  padding: 12px 24px;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.ba-hero {
  position: relative;
  overflow: hidden;
  background: #080d1a;
  width: 100%;
  padding: 110px 48px 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 620px;
}
.ba-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}
.ba-hero > * { position: relative; z-index: 1; }
.ba-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}
.ba-hero-orb-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(99,102,241,0.38), transparent 70%);
  top: -120px; left: -120px;
  animation: floatOrb 14s ease-in-out infinite;
}
.ba-hero-orb-2 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(59,130,246,0.3), transparent 70%);
  top: 30px; right: -80px;
  animation: floatOrb2 17s ease-in-out infinite;
}
.ba-hero-orb-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(6,182,212,0.2), transparent 70%);
  bottom: -80px; left: 40%;
  animation: floatOrb3 11s ease-in-out infinite;
}
.ba-gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #60a5fa 40%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shimmer 5s linear infinite;
}
.ba-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.35);
  color: #a5b4fc;
  border-radius: 100px;
  padding: 7px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  animation: fadeInUp 0.7s ease both 0.1s;
  backdrop-filter: blur(8px);
}
.ba-hero-title {
  font-size: clamp(2.4rem,5.5vw,4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  max-width: 820px;
  margin: 20px auto 0;
  animation: fadeInUp 0.9s ease both 0.22s;
}
.ba-hero-title .line1 { color: #fff; display: block; }
.ba-hero-title .line2 { display: block; }
.ba-hero-sub {
  color: rgba(255,255,255,0.62);
  font-size: 1.12rem;
  max-width: 620px;
  margin: 20px auto 0;
  line-height: 1.75;
  animation: fadeInUp 0.9s ease both 0.38s;
}
.ba-hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
  animation: fadeInUp 0.9s ease both 0.52s;
}
.ba-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  background: linear-gradient(135deg,#6366f1,#3b82f6);
  color: #fff;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(99,102,241,0.5), 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.ba-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(99,102,241,0.75), 0 8px 32px rgba(0,0,0,0.4); color: #fff; }
.ba-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.9);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.04);
  transition: all 0.2s;
}
.ba-cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); color: #fff; }
.ba-hero-slogan { margin-top: 14px; font-size: 0.88rem; color: rgba(255,255,255,0.38); text-align: center; }
.ba-hero-trust {
  color: rgba(255,255,255,0.32);
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  margin-top: 36px;
  display: block;
  animation: fadeInUp 0.9s ease both 0.68s;
}

/* Hero preview mockup */
.ba-hero-preview-wrap {
  width: 100%;
  max-width: 780px;
  margin: 56px auto 0;
  animation: fadeInUp 1s ease both 0.8s, bob 6s ease-in-out 2s infinite;
}
.ba-mockup-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(99,102,241,0.35);
  border-radius: 20px;
  padding: 20px 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(99,102,241,0.15), 0 24px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  animation: borderGlow 3s ease-in-out infinite;
}
.ba-mockup-top-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ba-mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.ba-mockup-dot-r { background: #ff5f57; }
.ba-mockup-dot-y { background: #febc2e; }
.ba-mockup-dot-g { background: #28c840; }
.ba-mockup-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 4px 14px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-left: 8px;
  font-family: monospace;
}
.ba-live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; color: #34d399; font-weight: 600; }
.ba-live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; animation: blinkDot 1.5s ease-in-out infinite; }
.ba-mockup-content { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px; }
.ba-mockup-stat { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 14px 16px; text-align: center; }
.ba-mockup-stat-icon { font-size: 1.4rem; display: block; line-height: 1; margin-bottom: 6px; }
.ba-mockup-stat-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.65); display: block; font-weight: 600; }
.ba-mockup-bar-row { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.ba-mockup-bar-item { display: flex; align-items: center; gap: 10px; }
.ba-mockup-bar-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); width: 110px; flex-shrink: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ba-mockup-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.07); border-radius: 100px; overflow: hidden; }
.ba-mockup-bar-fill { height: 100%; border-radius: 100px; animation: barGrow 1.5s ease both; }
.ba-mockup-bar-pct { font-size: 0.7rem; color: rgba(255,255,255,0.45); width: 30px; text-align: right; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════════════════ */
.ba-marquee-outer {
  width: 100%;
  overflow: hidden;
  background: rgba(99,102,241,0.06);
  border-top: 1px solid rgba(99,102,241,0.15);
  border-bottom: 1px solid rgba(99,102,241,0.15);
  padding: 14px 0;
  position: relative;
}
.ba-marquee-outer::before,
.ba-marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ba-marquee-outer::before { left: 0; background: linear-gradient(90deg,#080d1a,transparent); }
.ba-marquee-outer::after  { right: 0; background: linear-gradient(-90deg,#080d1a,transparent); }
.ba-marquee-track { display: flex; gap: 0; width: max-content; animation: marqueeLeft 35s linear infinite; }
.ba-marquee-track:hover { animation-play-state: paused; }
.ba-marquee-item { color: rgba(255,255,255,0.58); font-size: 0.84rem; font-weight: 500; white-space: nowrap; padding: 0 8px; transition: color 0.2s; }
.ba-marquee-item:hover { color: #a5b4fc; }
.ba-marquee-dot { color: rgba(99,102,241,0.5); font-size: 0.6rem; align-self: center; padding: 0 6px; }

/* ═══════════════════════════════════════════════════════════
   SCROLL-REVEAL
   ═══════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.reveal-right { opacity: 0; transform: translateX(30px);  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translate(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* ═══════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════ */
.ba-section-dark { background: #080d1a; }
.ba-section-dim  { background: #0b1020; }
.ba-section {
  width: 100%;
  padding: 88px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ba-section-label {
  display: inline-block;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.28);
  color: #a5b4fc;
  border-radius: 100px;
  padding: 5px 18px;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
}
.ba-section-title { color: #fff; font-size: clamp(1.7rem,3.5vw,2.4rem); font-weight: 900; margin: 0 0 12px; text-align: center; letter-spacing: -0.4px; line-height: 1.2; }
.ba-section-sub  { color: rgba(255,255,255,0.48); font-size: 1.02rem; text-align: center; margin: 0; max-width: 560px; line-height: 1.75; }
.ba-divider { width: 56px; height: 4px; background: linear-gradient(90deg,#6366f1,#3b82f6); border-radius: 4px; margin: 0 auto 24px; position: relative; }
.ba-divider::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg,#6366f1,#3b82f6); border-radius: 4px; filter: blur(6px); opacity: 0.6; }

/* ═══════════════════════════════════════════════════════════
   VALUE PROPS
   ═══════════════════════════════════════════════════════════ */
.ba-value-props {
  background: rgba(255,255,255,0.015);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 64px 48px;
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.ba-value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; max-width: 1100px; width: 100%; }
.ba-value-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px 24px;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.ba-value-card:hover { transform: translateY(-5px); border-color: rgba(99,102,241,0.45); box-shadow: 0 10px 40px rgba(99,102,241,0.14); background: rgba(99,102,241,0.05); }
.ba-value-card:hover .ba-value-bar { transform: scaleX(1); }
.ba-value-icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.6rem; }
.ba-value-title { margin: 0 0 10px; font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.3; }
.ba-value-desc  { margin: 0; color: rgba(255,255,255,0.52); font-size: 0.875rem; line-height: 1.7; }
.ba-value-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }

/* ═══════════════════════════════════════════════════════════
   ROLES
   ═══════════════════════════════════════════════════════════ */
.ba-roles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 20px; width: 100%; max-width: 1100px; margin-top: 48px; }
.ba-role-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  overflow: hidden;
}
.ba-role-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,#6366f1,#3b82f6,#34d399); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.ba-role-card:hover { transform: translateY(-7px) scale(1.02); border-color: rgba(99,102,241,0.45); box-shadow: 0 16px 56px rgba(99,102,241,0.2); background: rgba(99,102,241,0.06); }
.ba-role-card:hover::after { transform: scaleX(1); }
.ba-role-icon { width: 64px; height: 64px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 2rem; }
.ba-role-title { margin: 0 0 10px; font-size: 1.05rem; font-weight: 700; color: #fff; }
.ba-role-desc  { margin: 0; color: rgba(255,255,255,0.52); font-size: 0.85rem; line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════════════════════ */
.ba-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 18px; width: 100%; max-width: 1200px; margin-top: 52px; }
.ba-feature-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px 24px;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, box-shadow 0.3s, background 0.3s;
  cursor: pointer;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.ba-feature-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent); transition: left 0.5s ease; }
.ba-feature-card:hover::before { left: 150%; }
.ba-feature-card:hover { transform: translateY(-6px); border-color: rgba(99,102,241,0.5); box-shadow: 0 10px 48px rgba(99,102,241,0.18), 0 0 0 1px rgba(99,102,241,0.2), inset 0 1px 0 rgba(255,255,255,0.08); background: rgba(99,102,241,0.07); }
.ba-icon-wrap { width: 54px; height: 54px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.ba-feature-card:hover .ba-icon-wrap { transform: scale(1.18) rotate(-4deg); }
.ba-feature-title { margin: 0 0 8px; font-size: 0.98rem; font-weight: 700; color: #fff; }
.ba-feature-desc  { margin: 0 0 12px; color: rgba(255,255,255,0.5); font-size: 0.86rem; line-height: 1.65; }
.ba-feature-demo  { font-size: 0.76rem; font-weight: 600; opacity: 0.75; transition: opacity 0.2s; }
.ba-self-gc-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.2px; color: #f59e0b; background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3); border-radius: 100px; padding: 6px 18px; margin-top: 52px; display: inline-block; }
.ba-self-gc-title { color: #fff; font-size: clamp(1.2rem,2.5vw,1.7rem); font-weight: 800; margin: 14px 0 6px; text-align: center; letter-spacing: -0.3px; }
.ba-self-gc-sub { color: rgba(255,255,255,0.48); font-size: 0.95rem; text-align: center; margin: 0 0 32px; max-width: 620px; line-height: 1.75; }

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════ */
.ba-steps-row { position: relative; display: flex; gap: 0; justify-content: center; align-items: flex-start; flex-wrap: wrap; max-width: 1100px; width: 100%; margin-top: 56px; }
.ba-step-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 18px; padding: 36px 24px; text-align: center; flex: 1; min-width: 220px; max-width: 260px; transition: all 0.3s cubic-bezier(0.16,1,0.3,1); position: relative; }
.ba-step-card:hover { border-color: rgba(99,102,241,0.45); box-shadow: 0 0 40px rgba(99,102,241,0.14); background: rgba(99,102,241,0.04); transform: translateY(-4px); }
.ba-step-num { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg,#6366f1,#3b82f6); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 18px; box-shadow: 0 0 24px rgba(99,102,241,0.5); animation: pulse-ring 2.8s ease-out infinite; }
.ba-step-title { margin: 0 0 10px; font-size: 1rem; font-weight: 700; color: #fff; }
.ba-step-desc  { margin: 0; color: rgba(255,255,255,0.5); font-size: 0.86rem; line-height: 1.65; }
.ba-step-connector { flex: 0 0 40px; height: 2px; background: linear-gradient(90deg,#6366f1,#3b82f6); margin-top: 74px; opacity: 0.35; position: relative; }
.ba-step-connector::after { content: ''; position: absolute; top: -2px; right: -1px; width: 6px; height: 6px; border-radius: 50%; background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }

/* ═══════════════════════════════════════════════════════════
   SPOTLIGHT
   ═══════════════════════════════════════════════════════════ */
.ba-spotlight-row { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; max-width: 1100px; width: 100%; margin-bottom: 80px; }
.ba-spotlight-row:last-child { margin-bottom: 0; }
.ba-spotlight-row.reverse { flex-direction: row-reverse; }
.ba-spotlight-visual { flex: 1; min-width: 280px; max-width: 440px; height: 280px; border-radius: 24px; background: linear-gradient(135deg,rgba(99,102,241,0.15),rgba(59,130,246,0.08)); border: 1px solid rgba(99,102,241,0.25); display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.ba-spotlight-text { flex: 1; min-width: 280px; }
.ba-spotlight-title { margin: 0 0 16px; font-size: 1.65rem; font-weight: 800; color: #fff; line-height: 1.25; letter-spacing: -0.3px; }
.ba-spotlight-desc { margin: 0 0 24px; color: rgba(255,255,255,0.57); font-size: 0.95rem; line-height: 1.75; }
.ba-bullet-list { display: flex; flex-direction: column; gap: 10px; }
.ba-bullet-item { display: flex; align-items: center; gap: 10px; }
.ba-bullet-check { color: #6366f1; font-size: 0.9rem; flex-shrink: 0; }
.ba-bullet-text  { color: rgba(255,255,255,0.72); font-size: 0.92rem; font-weight: 500; }

/* ═══════════════════════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════════════════════ */
.ba-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px,1fr)); gap: 24px; width: 100%; max-width: 1100px; margin-top: 52px; }
.ba-blog-card { background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; transition: all 0.3s cubic-bezier(0.16,1,0.3,1); position: relative; overflow: hidden; }
.ba-blog-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,#6366f1,#3b82f6); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.ba-blog-card:hover { transform: translateY(-5px); border-color: rgba(99,102,241,0.4); box-shadow: 0 10px 40px rgba(99,102,241,0.15); }
.ba-blog-card:hover::after { transform: scaleX(1); }
.ba-blog-tag { font-size: 0.72rem; font-weight: 700; color: #a5b4fc; background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25); padding: 4px 12px; border-radius: 100px; display: inline-block; }
.ba-blog-title { font-size: 1rem; font-weight: 700; color: #fff; text-decoration: none; line-height: 1.4; display: block; transition: color 0.2s; }
.ba-blog-title:hover { color: #a5b4fc; }
.ba-blog-excerpt { margin: 0; color: rgba(255,255,255,0.48); font-size: 0.86rem; line-height: 1.65; }
.ba-blog-read { color: #60a5fa; font-size: 0.86rem; font-weight: 600; text-decoration: none; margin-top: auto; }
.ba-blog-read:hover { color: #93c5fd; }
.ba-view-all { margin-top: 40px; padding: 12px 32px; border: 1px solid rgba(99,102,241,0.4); border-radius: 8px; color: #a5b4fc; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: all 0.2s; }
.ba-view-all:hover { background: rgba(99,102,241,0.1); color: #c7d2fe; }

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.ba-cta-section {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  background-size: 300% 300%;
  animation: heroGradient 12s ease infinite;
  position: relative;
  overflow: hidden;
  padding: 96px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ba-cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 25% 50%, rgba(99,102,241,0.25) 0%, transparent 55%), radial-gradient(ellipse at 75% 50%, rgba(59,130,246,0.18) 0%, transparent 55%); pointer-events: none; }
.ba-cta-section::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.ba-cta-section > * { position: relative; z-index: 1; }
.ba-cta-title { color: #fff; font-size: clamp(1.8rem,4.5vw,2.8rem); font-weight: 900; margin: 12px auto 18px; max-width: 640px; line-height: 1.2; letter-spacing: -0.5px; display: block; }
.ba-cta-sub { color: rgba(255,255,255,0.62); font-size: 1.05rem; max-width: 500px; margin: 0 auto 40px; line-height: 1.75; }
.ba-cta-btn-main { display: inline-flex; align-items: center; gap: 10px; padding: 17px 44px; background: #fff; color: #302b63; border-radius: 12px; font-size: 1.08rem; font-weight: 800; text-decoration: none; transition: all 0.25s; box-shadow: 0 4px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.9); position: relative; z-index: 1; }
.ba-cta-btn-main:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 56px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.9); color: #302b63; }
.ba-cta-microcopy { margin-top: 14px; font-size: 0.9rem; text-align: center; color: rgba(255,255,255,0.38); }
.ba-cta-nocard { color: rgba(255,255,255,0.32); font-size: 0.78rem; display: block; margin-top: 24px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.ba-footer { background: #050810; padding: 64px 48px 32px; border-top: 1px solid rgba(255,255,255,0.05); }
.ba-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr 1fr 1fr; gap: 36px; max-width: 1200px; width: 100%; margin: 0 auto 56px; }
.ba-footer-logo { height: 34px; width: auto; display: block; margin-bottom: 6px; }
.ba-footer-brand-desc { color: rgba(255,255,255,0.38); font-size: 0.86rem; line-height: 1.7; margin: 0 0 24px; max-width: 280px; }
.ba-social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ba-social-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: rgba(255,255,255,0.6); font-size: 0.83rem; font-weight: 700; text-decoration: none; transition: all 0.2s; }
.ba-social-icon:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.3); }
.ba-footer-col-head { color: #fff; font-weight: 700; font-size: 0.82rem; display: block; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.8px; }
.ba-footer-link { color: rgba(255,255,255,0.42); font-size: 0.88rem; text-decoration: none; display: block; margin-bottom: 12px; transition: color 0.2s; }
.ba-footer-link:hover { color: #fff; }
.ba-footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; text-align: center; max-width: 1100px; margin: 0 auto; }
.ba-footer-copy { color: rgba(255,255,255,0.22); font-size: 0.78rem; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet: tighten nav padding so buttons don't overflow ── */
@media (max-width: 1024px) {
  .ba-home-nav { padding: 12px 24px; gap: 16px; }
  .ba-nav-links { gap: 16px; }
}

/* ── Below 900px: collapse nav links, keep CTA buttons ── */
@media (max-width: 900px) {
  .ba-nav-links { display: none; }
}

/* ── Mobile (≤768px): hamburger only ── */
@media (max-width: 768px) {
  .ba-home-nav { padding: 12px 20px; gap: 12px; }
  .ba-nav-links { display: none; }
  .ba-nav-btn-outline { display: none; }
  /* Hide CTA button in the *navbar* but NOT inside .ba-mobile-menu (overridden above) */
  .ba-home-nav > .ba-nav-btn-primary { display: none; }
  .ba-hamburger { display: flex; }
  .ba-hero { padding: 80px 24px 72px; }
  .ba-hero-orb-1 { width: 320px; height: 320px; }
  .ba-hero-orb-2 { width: 260px; height: 260px; }
  .ba-hero-preview-wrap { display: none; }
  .ba-step-connector { display: none; }
  .ba-mockup-content { grid-template-columns: 1fr 1fr; }
  .ba-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ba-footer-brand { grid-column: 1 / -1; }
  .ba-value-props { padding: 48px 20px; }
  .ba-section { padding: 64px 24px; }
  .ba-spotlight-row, .ba-spotlight-row.reverse { flex-direction: column; }
  .ba-spotlight-visual { max-width: 100%; }
  .ba-marquee-track { animation-duration: 25s; }
}
@media (max-width: 480px) {
  .ba-cta-primary, .ba-cta-secondary { width: 100%; justify-content: center; }
  .ba-hero-cta { flex-direction: column; }
  .ba-footer-grid { grid-template-columns: 1fr; }
}
