/* ============================================
   BlueRocket Systems — custom styles
   Tokens-first so we edit variables, not selectors
   ============================================ */

:root {
  --br-blue-50:  #EAF4FF;
  --br-blue-100: #D3E8FF;
  --br-blue-500: #0F8BFF;
  --br-blue-600: #0F8BFF;
  --br-blue-700: #0070D9;
  --br-blue-900: #0A1028;
  --br-accent-400: #3F42FF;
  --br-accent-500: #1A1DFF;
  --br-accent-600: #1316CC;
  --br-ink: #111111;
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
}

html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ============================================
   Typography — elite SaaS display defaults
   Display headlines get tight tracking + crisp rendering
   ============================================ */
h1.font-manrope,
h2.font-manrope,
h3.font-manrope {
  letter-spacing: -0.03em;
}
h2.font-manrope { letter-spacing: -0.035em; }
h1.font-manrope { letter-spacing: -0.045em; }

/* ============================================
   HERO v2 — premium dark SaaS
   ============================================ */

.hero-v2 {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, #0a1230 0%, #060818 60%),
    #050714;
  color: #F4F7FF;
  isolation: isolate;
  min-height: 86vh;
  display: flex;
  align-items: center;
}

/* ambient meshes */
.hero-mesh-1,
.hero-mesh-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.hero-mesh-1 {
  width: 720px;
  height: 720px;
  top: -240px;
  left: -180px;
  background: radial-gradient(circle, rgba(15,139,255,0.32), rgba(15,139,255,0) 70%);
  animation: meshDrift 22s ease-in-out infinite;
}
.hero-mesh-2 {
  width: 680px;
  height: 680px;
  bottom: -200px;
  right: -160px;
  background: radial-gradient(circle, rgba(26,29,255,0.28), rgba(26,29,255,0) 70%);
  animation: meshDrift 26s ease-in-out infinite;
  animation-delay: -8s;
}
@keyframes meshDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.08); }
}

/* fine grid overlay for engineered feel */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* status pill */
.hero-v2-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9999px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hero-v2-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.18), 0 0 12px rgba(16,185,129,0.6);
  position: relative;
}
.hero-v2-pill-dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(16,185,129,0.5);
  animation: heroPulse 2.4s ease-out infinite;
}
@keyframes heroPulse {
  0%   { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}
.hero-v2-pill-divider { color: rgba(255,255,255,0.25); }
.hero-v2-pill-meta { color: rgba(255,255,255,0.55); }

/* H1 */
.hero-v2-h1 {
  font-size: clamp(2.75rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #F8FAFF;
  margin: 0;
  text-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

/* Headline accent word: solid white, heavier weight, halo glow behind */
.hero-v2-h1-grad {
  color: #FFFFFF;
  font-weight: 900;
  letter-spacing: -0.055em;
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.hero-v2-h1-grad::after {
  content: "";
  position: absolute;
  inset: -28% -14%;
  background: radial-gradient(ellipse at center, rgba(15,139,255,0.55), rgba(63,66,255,0.18) 50%, transparent 72%);
  filter: blur(38px);
  z-index: -1;
  pointer-events: none;
}

/* sub */
.hero-v2-sub {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.62);
  max-width: 560px;
  font-weight: 400;
  letter-spacing: -0.005em;
}
@media (max-width: 640px) { .hero-v2-sub { font-size: 16px; } }

/* CTAs */
.hero-v2-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #fff;
  color: #060818;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid rgba(255,255,255,0.95);
  transition: transform .25s var(--ease-out-quart), box-shadow .25s, background-color .2s;
  position: relative;
  overflow: hidden;
}
.hero-v2-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(15,139,255,0.5), 0 0 0 6px rgba(255,255,255,0.06);
}
.hero-v2-btn-arrow {
  transition: transform .25s var(--ease-out-quart);
}
.hero-v2-btn-primary:hover .hero-v2-btn-arrow {
  transform: translateX(3px);
}

.hero-v2-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform .25s var(--ease-out-quart), background-color .2s, border-color .2s;
}
.hero-v2-btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.24);
  transform: translateY(-2px);
}
.hero-v2-btn-secondary .fa-whatsapp { color: #25D366; font-size: 18px; }

/* social proof */
.hero-v2-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-v2-proof-row {
  display: flex;
  align-items: center;
}
.hero-v2-proof-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #060818;
  margin-left: -8px;
  background: linear-gradient(135deg, #0F8BFF, #1A1DFF);
}
.hero-v2-proof-dot:first-child { margin-left: 0; }
.hero-v2-proof-dot-1 { background: linear-gradient(135deg, #10b981, #059669); }
.hero-v2-proof-dot-2 { background: linear-gradient(135deg, #0F8BFF, #0070D9); }
.hero-v2-proof-dot-3 { background: linear-gradient(135deg, #6B6EFF, #1A1DFF); }
.hero-v2-proof-dot-4 { background: linear-gradient(135deg, #FB923C, #EA580C); }

.hero-v2-proof-text {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.hero-v2-proof-strong {
  color: #fff;
  font-weight: 600;
}

/* ============================================
   HERO STAGE — portrait as anchor, floating SaaS UI
   ============================================ */

.hero-stage {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  width: 100%;
  display: block;
}

/* THE big radial glow — single cinematic light source behind the portrait */
.hero-stage-glow {
  position: absolute;
  top: -6%;
  bottom: -8%;
  right: -8%;
  width: 96%;
  background:
    radial-gradient(ellipse 62% 58% at 56% 44%, rgba(15,139,255,0.72) 0%, rgba(15,139,255,0.42) 28%, rgba(26,29,255,0.18) 55%, transparent 78%);
  filter: blur(38px);
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* atmospheric depth — soft navy vignette grounds the portrait into the scene */
.hero-stage-spot {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 38% at 56% 96%, rgba(4,6,18,0.95), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(10,16,40,0.5), transparent 60%);
  z-index: 1;
  pointer-events: none;
}

/* rim light — vertical beam behind Kim, cinematic edge */
.hero-stage-rim {
  position: absolute;
  top: 8%;
  bottom: 8%;
  right: 50%;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(15,139,255,0.0) 10%,
    rgba(15,139,255,0.55) 45%,
    rgba(63,66,255,0.55) 60%,
    rgba(15,139,255,0.0) 90%,
    transparent 100%);
  box-shadow: 0 0 30px 6px rgba(15,139,255,0.4);
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

/* engineered grid panel — clipped to a portrait-shaped column */
.hero-stage-grid {
  position: absolute;
  top: 6%;
  bottom: 0;
  right: 6%;
  width: 56%;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 25%, transparent 75%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

/* decorative orbit rings behind portrait */
.hero-stage-orbit {
  position: absolute;
  top: 14%;
  right: 14%;
  width: 56%;
  aspect-ratio: 1 / 1;
  z-index: 1;
  pointer-events: none;
  display: grid;
  place-items: center;
}
.hero-stage-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(15,139,255,0.18);
  animation: orbitSpin 60s linear infinite;
}
.hero-stage-orbit-ring-1 { inset: 0%; }
.hero-stage-orbit-ring-2 { inset: 12%; border-style: solid; border-color: rgba(63,66,255,0.10); animation-duration: 90s; animation-direction: reverse; }
.hero-stage-orbit-ring-3 { inset: 28%; border-color: rgba(15,139,255,0.10); animation-duration: 120s; }
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* THE portrait — main visual anchor */
.hero-portrait {
  position: absolute;
  right: 2%;
  bottom: 0;
  top: 0;
  width: 88%;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-portrait img {
  height: 108%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter:
    drop-shadow(-26px 8px 42px rgba(15,139,255,0.55))
    drop-shadow(-2px 0 0 rgba(125,180,255,0.35))
    drop-shadow(22px 24px 38px rgba(0,0,0,0.7))
    drop-shadow(0 12px 24px rgba(10,16,40,0.6))
    contrast(1.06)
    saturate(1.06);
}

/* ground bleed — wide cyan-tinted floor glow that integrates the figure */
.hero-portrait-ground {
  position: absolute;
  bottom: -2%;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  height: 110px;
  background:
    radial-gradient(ellipse 60% 100% at 50% 50%, rgba(0,0,0,0.72), transparent 70%),
    radial-gradient(ellipse 90% 100% at 50% 40%, rgba(15,139,255,0.32), transparent 75%);
  filter: blur(22px);
  z-index: -1;
}

/* ============================================
   FLOATING SaaS UI — small modular cards
   ============================================ */

.hero-fcard {
  position: absolute;
  z-index: 5;
  background:
    linear-gradient(180deg, rgba(22,28,55,0.85) 0%, rgba(10,15,35,0.85) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 22px 50px -16px rgba(0,0,0,0.6),
    0 0 30px -6px rgba(15,139,255,0.15);
  color: #fff;
  letter-spacing: -0.005em;
}

@keyframes fcardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* card A — identity badge (top-left of portrait, off body) */
.hero-fcard-id {
  top: 8%;
  left: -2%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  animation: fcardFloat 6.4s ease-in-out infinite;
}
.hero-fcard-id-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0F8BFF, #1A1DFF);
  box-shadow: 0 8px 20px -6px rgba(15,139,255,0.6), 0 0 0 1px rgba(255,255,255,0.08) inset;
  letter-spacing: 0;
}
.hero-fcard-id-body { display: flex; flex-direction: column; line-height: 1.15; }
.hero-fcard-id-name { font-size: 13px; font-weight: 600; color: #fff; }
.hero-fcard-id-role {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}
.hero-fcard-id-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16,185,129,0.8);
}

/* card B — pipeline mini stats with sparkline (top-right, near shoulder) */
.hero-fcard-stats {
  top: 4%;
  right: -3%;
  width: 184px;
  padding: 12px 14px 10px;
  animation: fcardFloat 7s ease-in-out infinite;
  animation-delay: -1.6s;
}
.hero-fcard-stats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hero-fcard-stats-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.hero-fcard-stats-trend {
  font-size: 10.5px;
  font-weight: 700;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.22);
  border-radius: 999px;
}
.hero-fcard-stats-trend i { font-size: 8px; }
.hero-fcard-stats-value {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.hero-fcard-stats-spark {
  display: block;
  margin-top: 8px;
  width: 100%;
  height: 26px;
}
.hero-fcard-stats-line {
  filter: drop-shadow(0 1px 4px rgba(15,139,255,0.5));
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: sparkDraw 2s var(--ease-out-quart) forwards;
  animation-delay: 0.5s;
}
@keyframes sparkDraw {
  to { stroke-dashoffset: 0; }
}

/* card C — live notification (mid-left, away from body) */
.hero-fcard-notif {
  top: 38%;
  left: -6%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px 11px 11px;
  width: 252px;
  animation: fcardFloat 5.6s ease-in-out infinite;
  animation-delay: -0.6s;
}

/* card D — automation status (lower-left, off body) */
.hero-fcard-auto {
  bottom: 18%;
  left: 2%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px 11px 11px;
  width: 224px;
  animation: fcardFloat 6.6s ease-in-out infinite;
  animation-delay: -2.4s;
}

.hero-fcard-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.hero-fcard-icon-green {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 20px -6px rgba(16,185,129,0.55), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.hero-fcard-icon-blue {
  background: linear-gradient(135deg, #0F8BFF, #1A1DFF);
  box-shadow: 0 8px 20px -6px rgba(15,139,255,0.55), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.hero-fcard-notif-body,
.hero-fcard-auto-body { line-height: 1.2; min-width: 0; }
.hero-fcard-notif-title,
.hero-fcard-auto-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.hero-fcard-notif-meta,
.hero-fcard-auto-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.50);
  margin-top: 1px;
}
.hero-fcard-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.22);
  padding: 3px 7px;
  border-radius: 6px;
  margin-left: auto;
  flex-shrink: 0;
}
.hero-fcard-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0F8BFF;
  box-shadow: 0 0 12px #0F8BFF;
  margin-left: auto;
  position: relative;
  flex-shrink: 0;
}
.hero-fcard-pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(15,139,255,0.5);
  animation: heroPulse 2s ease-out infinite;
}

/* card E — micro pipeline chip (bottom-right, off body) */
.hero-fcard-chip {
  bottom: 6%;
  right: 1%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  animation: fcardFloat 7.6s ease-in-out infinite;
  animation-delay: -3s;
}
.hero-fcard-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3F42FF;
  box-shadow: 0 0 8px rgba(63,66,255,0.9);
}
.hero-fcard-chip-text { letter-spacing: -0.005em; }
.hero-fcard-chip-time {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  padding-left: 8px;
  margin-left: 2px;
  border-left: 1px solid rgba(255,255,255,0.10);
}

/* tablet: portrait + cards scale down gracefully */
@media (max-width: 1024px) {
  .hero-v2 { min-height: auto; }
  .hero-stage { min-height: 580px; margin-top: 12px; }
  .hero-stage-grid { width: 70%; right: 0; }
  .hero-portrait { right: 0; width: 100%; }
  .hero-portrait img { height: 100%; }
  .hero-fcard-id { top: 4%; left: 0; }
  .hero-fcard-stats { top: 0; right: 0; width: 168px; }
  .hero-fcard-notif { top: 36%; left: -2%; width: 232px; }
  .hero-fcard-auto { bottom: 16%; left: 0; width: 212px; }
}

/* mobile: portrait becomes inline-flow, sits directly under CTAs,
   proof row drops below portrait. One connected section. */
@media (max-width: 640px) {
  /* tight outer padding (overrides Tailwind py-14) */
  .hero-v2 .max-w-7xl {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
  }
  /* tight gap between text column, portrait, and mobile proof row */
  .hero-v2 .grid { gap: 0.5rem; }

  /* stage no longer a positioned canvas — it auto-sizes to the portrait */
  .hero-stage {
    min-height: 0;
    height: auto;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  /* kill atmospheric layers + every floating card on mobile for clean focus */
  .hero-stage-orbit,
  .hero-stage-grid,
  .hero-stage-rim,
  .hero-stage-spot,
  .hero-portrait-ground,
  .hero-fcard { display: none; }
  /* keep one soft glow behind portrait for depth */
  .hero-stage-glow {
    inset: -10% -10%;
    filter: blur(40px);
    opacity: 0.7;
  }

  /* portrait is now flow-positioned, capped 460px tall, full body visible */
  .hero-portrait {
    position: relative;
    inset: auto;
    right: auto;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  .hero-portrait img {
    max-height: 460px;
    height: auto;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    /* lighter rim filters on mobile for crispness on small screens */
    filter:
      drop-shadow(-12px 4px 22px rgba(15,139,255,0.42))
      drop-shadow(10px 14px 22px rgba(0,0,0,0.55))
      contrast(1.04) saturate(1.04);
  }

  /* mobile proof row sits right below the portrait with breathing room */
  [data-mobile-proof] {
    padding-top: 0.75rem;
    margin-top: 0.25rem;
  }
}

/* extra-tight viewport (small phones, Messenger in-app browser) */
@media (max-width: 400px) {
  .hero-v2 .max-w-7xl { padding-top: 0.75rem; }
  .hero-portrait img { max-height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mesh-1, .hero-mesh-2,
  .hero-fcard,
  .hero-stage-orbit-ring,
  .hero-v2-pill-dot::after,
  .hero-fcard-pulse::after,
  .hero-fcard-stats-line { animation: none !important; }
  .hero-fcard-stats-line { stroke-dashoffset: 0; }
}



/* ===== sticky header shadow on scroll ===== */
#siteHeader.is-scrolled {
  box-shadow: 0 10px 30px -20px rgba(10, 31, 68, 0.25);
  background-color: rgba(255,255,255,0.95);
}

/* ===== reveal-on-scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .8s var(--ease-out-quart),
    transform .8s var(--ease-out-quart);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"] { transform: translateX(-28px); }
[data-reveal="left"].is-in { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="right"].is-in { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .floating, .floating-slow, .hero-blob, .marquee-track { animation: none !important; }
}

/* When Motion takes over reveals, kill the CSS transition so springs run clean */
.motion-on .reveal {
  transition: none;
}

/* ===== hero blobs ===== */
.hero-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: float 14s ease-in-out infinite;
}
.hero-blob-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(15,139,255,0.45), rgba(15,139,255,0) 70%);
  top: -120px;
  left: -120px;
}
.hero-blob-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(26,29,255,0.45), rgba(26,29,255,0) 70%);
  bottom: -100px;
  right: -100px;
  animation-delay: -7s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.05); }
}

/* ===== dashboard mock (right side of hero) ===== */
.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--br-blue-500), var(--br-accent-500));
  opacity: 0.9;
  transform-origin: bottom;
  animation: barRise 1.2s var(--ease-out-quart) backwards;
}
.bar:nth-child(1) { animation-delay: 0.05s; }
.bar:nth-child(2) { animation-delay: 0.10s; }
.bar:nth-child(3) { animation-delay: 0.15s; }
.bar:nth-child(4) { animation-delay: 0.20s; }
.bar:nth-child(5) { animation-delay: 0.25s; }
.bar:nth-child(6) { animation-delay: 0.30s; }
.bar:nth-child(7) { animation-delay: 0.35s; }
.bar:nth-child(8) { animation-delay: 0.40s; }
.bar:nth-child(9) { animation-delay: 0.45s; }
.bar:nth-child(10){ animation-delay: 0.50s; }

@keyframes barRise {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 0.85; }
}

.hover-row { transition: transform .25s var(--ease-out-quart), background-color .25s; }
.hover-row:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,.12);
}

/* ===== flow diagram ===== */
.flow-stack {
  display: flex;
  flex-direction: column;
}

.flow-card {
  background: #fff;
  border: 2px solid rgba(10, 16, 40, 0.06);
  border-radius: 1rem;
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 6px 18px -10px rgba(10, 16, 40, 0.12);
  position: relative;
  transition:
    border-color .35s,
    box-shadow .35s,
    transform .35s var(--ease-out-quart);
}

.flow-card-sm {
  padding: 0.8rem 0.9rem;
  gap: 0.65rem;
}

.flow-card-sm .flow-title { line-height: 1.15; }
.flow-card-sm .flow-desc { margin-top: 2px; }

.flow-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.3);
}

.flow-icon-sm {
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
}

.flow-icon-orange { background: linear-gradient(135deg, #FB923C, #EA580C); }
.flow-icon-blue   { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.flow-icon-green  { background: linear-gradient(135deg, #34D399, #059669); }
.flow-icon-purple { background: linear-gradient(135deg, #A78BFA, #7C3AED); }

.flow-content { min-width: 0; flex: 1; }

.flow-title {
  font-weight: 700;
  color: var(--br-blue-900);
  font-size: 1.05rem;
  line-height: 1.2;
  font-family: 'Manrope', system-ui, sans-serif;
}

.flow-desc {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 3px;
}

.flow-connector {
  display: flex;
  justify-content: center;
  height: 36px;
  position: relative;
}

.flow-connector::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(249, 115, 22, 0.55);
  transform: translateX(-50%);
}

.flow-plus {
  position: relative;
  width: 24px;
  height: 24px;
  background: #fff;
  border: 2px solid rgba(249, 115, 22, 0.7);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: auto;
  font-weight: 800;
  color: var(--br-accent-500);
  font-size: 0.85rem;
  z-index: 1;
}

.flow-branch-svg {
  width: 100%;
  height: 70px;
  display: block;
}

.flow-chip {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(10, 16, 40, 0.08);
  color: var(--br-blue-900);
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: border-color .25s, background-color .25s, transform .25s;
}

.flow-chip:hover {
  border-color: rgba(249, 115, 22, 0.4);
  background: #fff;
  transform: translateY(-1px);
}

/* === highlight wave: each card lights up in sequence === */
.flow-step {
  animation: flowHighlight 7s linear infinite;
  animation-delay: calc(var(--step) * 0.9s);
}

@keyframes flowHighlight {
  0%, 8% {
    border-color: rgba(249, 115, 22, 0.85);
    box-shadow:
      0 0 0 4px rgba(249, 115, 22, 0.15),
      0 16px 32px -10px rgba(249, 115, 22, 0.4);
    transform: translateY(-3px);
  }
  20%, 100% {
    border-color: rgba(10, 16, 40, 0.06);
    box-shadow: 0 6px 18px -10px rgba(10, 16, 40, 0.12);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-step { animation: none; }
}

/* ===== method section ===== */
.method-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(10, 16, 40, 0.06);
  border-radius: 1.5rem;
  padding: 1.75rem 1.6rem 1.85rem;
  position: relative;
  overflow: hidden;
  transition:
    transform .4s var(--ease-out-quart),
    box-shadow .4s,
    border-color .35s,
    background-color .35s;
}

.method-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,139,255,0.04), rgba(249,115,22,0.04));
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}

.method-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -22px rgba(10, 16, 40, 0.18);
  border-color: rgba(15, 139, 255, 0.3);
  background: rgba(255,255,255,0.75);
}

.method-card:hover::before { opacity: 1; }

.method-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.25);
  animation: methodBob 4s ease-in-out infinite;
  transition: box-shadow .35s;
}

.method-card:nth-child(2) .method-icon { animation-delay: -1s; }
.method-card:nth-child(3) .method-icon { animation-delay: -2s; }

.method-card:hover .method-icon {
  animation-play-state: paused;
  transform: rotate(-10deg) scale(1.12);
  box-shadow: 0 18px 32px -10px rgba(0, 0, 0, 0.35);
}

@keyframes methodBob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-6px) rotate(-3deg); }
}

.method-icon-orange {
  background: linear-gradient(135deg, #FB923C 0%, #EA580C 100%);
}
.method-icon-blue {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}
.method-icon-green {
  background: linear-gradient(135deg, #34D399 0%, #059669 100%);
}

.method-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--br-blue-900);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .method-title { font-size: 3.5rem; }
}

.method-desc {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
}

.method-chip {
  background: rgba(10, 16, 40, 0.045);
  border: 1px solid rgba(10, 16, 40, 0.08);
  color: rgba(10, 16, 40, 0.7);
  padding: 0.42rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.83rem;
  font-weight: 600;
  transition: background-color .25s, color .25s, transform .25s, border-color .25s;
  cursor: default;
  user-select: none;
}

.method-chip:hover {
  background: var(--br-blue-50);
  color: var(--br-blue-700);
  border-color: var(--br-blue-200, #C5DDFD);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .method-icon { animation: none; }
}

/* ===== problems section ===== */
.problem-card {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 7rem;
  position: relative;
}

.problem-card:last-of-type { margin-bottom: 0; }

.problem-num {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  color: var(--br-accent-500);
  margin-bottom: 1.5rem;
}

.problem-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) { .problem-title { font-size: 3.25rem; } }
@media (min-width: 1024px) { .problem-title { font-size: 4rem; } }

.problem-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 3rem;
  line-height: 1.55;
}

.problem-scene {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.scene-stage {
  position: relative;
  width: 340px;
  height: 300px;
}

/* === scene 01: leads falling === */
.scene-leads .scene-funnel {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.45));
}
.scene-leads .scene-funnel svg { width: 100%; height: 100%; }

.scene-drop {
  position: absolute;
  font-size: 1.35rem;
  color: var(--br-accent-500);
  top: 95px;
  left: 50%;
  transform: translateX(calc(-50% + var(--x)));
  animation: fallAway 2.6s ease-in infinite;
  animation-delay: var(--delay);
  opacity: 0;
  filter: drop-shadow(0 4px 8px rgba(249,115,22,0.45));
}

@keyframes fallAway {
  0%   { opacity: 0; transform: translateX(calc(-50% + var(--x))) translateY(0) rotate(0); }
  15%  { opacity: 1; }
  85%  { opacity: 0.8; }
  100% { opacity: 0; transform: translateX(calc(-50% + var(--x))) translateY(180px) rotate(40deg); }
}

/* === scene 02: orbit messages === */
.scene-followup .scene-spotlight {
  position: absolute;
  top: 50%; left: 50%;
  width: 280px; height: 280px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(249,115,22,0.18), rgba(249,115,22,0) 65%);
  border-radius: 50%;
  animation: pulse 3.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  50%      { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}

.scene-followup .scene-main {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  color: rgba(255,255,255,0.92);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.4));
  z-index: 2;
}

.scene-orbit {
  position: absolute;
  top: 50%; left: 50%;
  font-size: 1.4rem;
  color: var(--br-accent-500);
  transform: translate(-50%, -50%) rotate(var(--orbit)) translateY(-110px) rotate(calc(-1 * var(--orbit)));
  animation: orbitBob 3.2s ease-in-out infinite;
  animation-delay: var(--delay);
  filter: drop-shadow(0 4px 10px rgba(249,115,22,0.45));
  z-index: 1;
}

@keyframes orbitBob {
  0%, 100% { transform: translate(-50%, -50%) rotate(var(--orbit)) translateY(-110px) rotate(calc(-1 * var(--orbit))) scale(1); }
  50%      { transform: translate(-50%, -50%) rotate(var(--orbit)) translateY(-128px) rotate(calc(-1 * var(--orbit))) scale(1.15); }
}

/* === scene 03: chaos === */
.scene-chaos .scene-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene-chaos .scene-main {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  color: rgba(255,255,255,0.92);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.4));
  z-index: 2;
}

.scene-spark {
  position: absolute;
  top: 50%; left: 50%;
  font-size: 1.6rem;
  color: var(--br-accent-500);
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1);
  animation: sparkFlicker 1.8s ease-in-out infinite;
  animation-delay: var(--delay);
  filter: drop-shadow(0 4px 12px rgba(249,115,22,0.5));
  z-index: 1;
}

@keyframes sparkFlicker {
  0%, 100% { opacity: 0.45; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0.85); }
  50%      { opacity: 1;    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1.2); }
}

/* === scene 04: synthesis collage === */
.problem-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .problem-collage { margin-right: 0; }
}

.collage-tile {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.1rem;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  animation: tileBob 3.2s ease-in-out infinite;
  animation-delay: var(--d);
  transition: border-color .35s, transform .35s var(--ease-out-quart);
}

.collage-tile:hover {
  border-color: rgba(249,115,22,0.5);
  transform: translateY(-4px) scale(1.02);
}

.collage-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(249,115,22,0.15), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}

.collage-tile:hover::before { opacity: 1; }

.collage-tile i {
  font-size: 2.75rem;
  color: rgba(255,255,255,0.85);
  filter: drop-shadow(0 4px 10px rgba(249,115,22,0.3));
}

.collage-num {
  position: absolute;
  top: 0.75rem;
  left: 0.85rem;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--br-accent-500);
}

.collage-shift-up   { transform: translateY(-18px); animation-name: tileBobUp; }
.collage-shift-down { transform: translateY(18px);  animation-name: tileBobDown; }

@keyframes tileBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes tileBobUp {
  0%, 100% { transform: translateY(-18px); }
  50%      { transform: translateY(-30px); }
}
@keyframes tileBobDown {
  0%, 100% { transform: translateY(18px); }
  50%      { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .scene-drop, .scene-orbit, .scene-spark, .scene-spotlight,
  .collage-tile { animation: none !important; }
}

/* ===== trust cards (dark band) ===== */
.trust-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
  transition:
    border-color .35s var(--ease-out-quart),
    background-color .35s,
    transform .35s var(--ease-out-quart),
    box-shadow .35s;
}

.trust-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 139, 255, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}

.trust-card:hover {
  border-color: rgba(15, 139, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px -18px rgba(15, 139, 255, 0.4);
}

.trust-card:hover::before { opacity: 1; }

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  margin-bottom: 1.25rem;
  transition: transform .4s var(--ease-out-quart);
}

.trust-card:hover .trust-icon { transform: translateY(-2px) scale(1.05); }

.trust-emoji {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 6px 18px rgba(251, 146, 60, 0.4));
}

.trust-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(216, 116, 89, 0.45));
  transition: transform .4s var(--ease-out-quart);
}

.trust-card:hover .trust-img {
  transform: rotate(-4deg) scale(1.08);
}

.trust-title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.trust-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

/* ===== founder signature ===== */
.founder-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}

.founder-signature::before,
.founder-signature::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--br-blue-200, #A8D2FF));
  opacity: 0.7;
}

.founder-signature::before {
  right: calc(100% + 14px);
  transform: scaleX(-1);
}

.founder-signature::after {
  left: calc(100% + 14px);
}

.founder-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--br-blue-900);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.founder-role {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

@media (max-width: 640px) {
  .founder-name { font-size: 1.25rem; }
  .founder-signature::before,
  .founder-signature::after { display: none; }
}

/* ===== experience card ===== */
.experience-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, var(--br-blue-50) 100%);
  border: 2px solid var(--br-blue-100);
  border-radius: 1.1rem;
  padding: 1.1rem 1.4rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 18px -10px rgba(10, 16, 40, 0.15);
  transition:
    border-color .35s var(--ease-out-quart),
    box-shadow .35s var(--ease-out-quart),
    transform .35s var(--ease-out-quart);
}

.experience-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 1.1rem;
  pointer-events: none;
  background: linear-gradient(135deg, var(--br-blue-500), var(--br-accent-500));
  opacity: 0;
  z-index: -1;
  transition: opacity .35s;
}

.experience-card:hover {
  border-color: var(--br-blue-500);
  box-shadow:
    0 0 0 4px rgba(15, 139, 255, 0.12),
    0 18px 50px -14px rgba(15, 139, 255, 0.45);
  transform: translateY(-3px);
}

.experience-shimmer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 60%;
  background: linear-gradient(115deg,
    transparent 0%,
    rgba(15, 139, 255, 0.18) 45%,
    rgba(26, 29, 255, 0.22) 55%,
    transparent 100%);
  transform: skewX(-15deg);
  animation: shimmerSweep 4.5s var(--ease-in-out-quart) infinite;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0%   { left: -60%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}

.experience-num {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--br-blue-500), var(--br-accent-500));
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  box-shadow: 0 12px 26px -10px rgba(26, 29, 255, 0.55);
  animation: numPulse 3s ease-in-out infinite;
}

.experience-card:hover .experience-num {
  animation-duration: 1.5s;
}

@keyframes numPulse {
  0%, 100% { box-shadow: 0 12px 26px -10px rgba(26, 29, 255, 0.55), 0 0 0 0 rgba(15, 139, 255, 0.5); }
  50%      { box-shadow: 0 12px 26px -10px rgba(26, 29, 255, 0.55), 0 0 0 10px rgba(15, 139, 255, 0); }
}

.experience-num-value {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.experience-num-label {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  .experience-shimmer { animation: none; left: -60%; }
  .experience-num { animation: none; }
}

/* ===== hero portrait (blended, no frame) ===== */
.hero-portrait-pro {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
}

.hero-portrait-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  filter: contrast(1.04) saturate(1.05);
  transition: transform .6s var(--ease-out-quart);
}

.hero-portrait-pro:hover .hero-portrait-img {
  transform: translateY(-2px);
}

.hero-portrait-glow {
  position: absolute;
  inset: auto 0 -10% 0;
  z-index: 0;
  width: 80%;
  height: 70%;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15,139,255,0.18), rgba(15,139,255,0) 70%);
  filter: blur(28px);
  pointer-events: none;
}

@media (max-width: 1023px) {
  .hero-portrait-pro { max-width: 380px; }
}

/* ===== floating cards ===== */
.floating {
  animation: floatY 5s ease-in-out infinite;
}
.floating-slow {
  animation: floatY 7s ease-in-out infinite;
  animation-delay: -2s;
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

/* ===== mobile mock dashboard ===== */
.mock-dashboard {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
}
.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* ===== marquee ===== */
.marquee-track {
  overflow: hidden;
  width: 100%;
}
.marquee-row {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 38s linear infinite;
  padding: 1rem 0;
}
.marquee-track:hover .marquee-row {
  animation-play-state: paused;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.brand-card {
  flex-shrink: 0;
  width: 200px;
  height: 96px;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  color: var(--br-blue-900);
  font-size: 0.95rem;
  box-shadow: 0 4px 14px -8px rgba(10, 31, 68, 0.15);
  transition: transform .25s var(--ease-out-quart), box-shadow .25s;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px -16px rgba(10, 31, 68, 0.3);
}

/* ===== service cards ===== */
.service-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 14px -8px rgba(10, 31, 68, 0.1);
  transition:
    transform .3s var(--ease-out-quart),
    box-shadow .3s var(--ease-out-quart),
    border-color .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--br-blue-500), var(--br-accent-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out-quart);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -18px rgba(10, 31, 68, 0.25);
  border-color: var(--br-blue-100);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: transform .3s var(--ease-out-quart);
}
.service-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.08);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-list li {
  position: relative;
  padding-left: 22px;
  color: #475569;
  font-size: 0.9rem;
}
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--br-blue-600);
  font-weight: 800;
}

.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px dashed #e2e8f0;
  color: var(--br-blue-900);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ===== testimonial chip ===== */
.testimonial-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 9999px;
  background: var(--br-blue-50);
  color: var(--br-blue-900);
  font-weight: 700;
  font-size: 0.85rem;
}
.testimonial-chip i {
  color: #fff;
  background: var(--br-blue-600);
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  font-size: 0.6rem;
}

/* ===== form inputs ===== */
.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.625rem;
  background: #fff;
  color: var(--br-blue-900);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.form-input::placeholder { color: #94a3b8; }
.form-input:focus {
  outline: none;
  border-color: var(--br-blue-500);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}

/* ===== footer ===== */
.footer-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background-color .2s, transform .2s;
}
.footer-icon:hover {
  background-color: var(--br-accent-500);
  transform: translateY(-2px);
}

/* ===== utility: keep page from horizontal jitter on marquee ===== */
section { position: relative; }
.overflow-hidden { overflow: hidden; }

/* gentle gradient text underline asset, no-op fallback */
@media (max-width: 640px) {
  .hero-blob-1, .hero-blob-2 { display: none; }
}

/* ============================================
   Cinematic depth — atmospheric layering on dark sections
   ============================================ */

/* Soft radial light at top + bottom of every dark navy section */
section.bg-br-blue-900,
footer.bg-br-blue-900 {
  background-image:
    radial-gradient(ellipse 80% 36% at 50% 0%, rgba(15,139,255,0.16), transparent 62%),
    radial-gradient(ellipse 110% 50% at 50% 100%, rgba(26,29,255,0.10), transparent 70%);
}

/* Film grain overlay — tactile material feel, subtle but present */
section.bg-br-blue-900::after,
footer.bg-br-blue-900::after,
.hero-v2::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
  z-index: 10;
}

/* ============================================
   Floating cards — embedded glass realism
   ============================================ */

.hero-fcard {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 1px 2px rgba(0,0,0,0.4),
    0 8px 16px -4px rgba(0,0,0,0.55),
    0 24px 56px -16px rgba(0,0,0,0.75),
    0 0 32px -4px rgba(15,139,255,0.18);
  transition: box-shadow .45s var(--ease-out-quart);
}

.hero-fcard:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.07),
    0 2px 4px rgba(0,0,0,0.4),
    0 12px 24px -4px rgba(0,0,0,0.6),
    0 32px 72px -16px rgba(0,0,0,0.8),
    0 0 48px -4px rgba(15,139,255,0.36);
}

/* Top-edge glass highlight — sells the "polished pane" look */
.hero-fcard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 32%);
  pointer-events: none;
  z-index: 0;
}
.hero-fcard > * { position: relative; z-index: 1; }

/* ============================================
   Button hover — tactile glow halo
   ============================================ */

.hero-v2-btn-primary {
  transition:
    transform .25s var(--ease-out-quart),
    box-shadow .35s var(--ease-out-quart),
    background-color .2s;
}
.hero-v2-btn-primary:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10),
    0 18px 40px -12px rgba(15,139,255,0.55),
    0 0 56px rgba(15,139,255,0.35);
}

.hero-v2-btn-secondary {
  transition:
    transform .25s var(--ease-out-quart),
    background-color .2s,
    border-color .2s,
    box-shadow .35s var(--ease-out-quart);
}
.hero-v2-btn-secondary:hover {
  box-shadow: 0 12px 36px -8px rgba(255,255,255,0.12), 0 0 40px rgba(15,139,255,0.20);
}

@media (prefers-reduced-motion: reduce) {
  .hero-fcard,
  .hero-v2-btn-primary,
  .hero-v2-btn-secondary { transition: none; }
}
