/* The Unhackables — premium minimal UI
   Safe defaults so navbar/buttons never become invisible even if other CSS breaks.
*/

:root{
  --brand-900:#0f172a;
  --brand-800:#111827;
  --bg:#f8fafc;
  --card:#ffffff;
  --muted:#64748b;
  --ring: rgba(15,23,42,.12);
  --safeBottom: env(safe-area-inset-bottom, 0px);
}

html{ scroll-behavior:smooth; }

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 10% 0%, rgba(59,130,246,.10), transparent 50%),
              radial-gradient(900px 500px at 90% 10%, rgba(34,197,94,.08), transparent 55%),
              var(--bg);
  color: #0b1220;
}

/* Page wrapper spacing */
.page-wrap{
  padding-top: 22px;
  padding-bottom: 36px;
}

/* If sticky CTA bar exists on mobile, make extra room */
html.has-cta-bar body{
  padding-bottom: 88px;
}

/* Navbar — make it always visible */
.navbar{
  background: linear-gradient(90deg, var(--brand-900), var(--brand-800));
  box-shadow: 0 10px 30px rgba(2,6,23,.15);
}
.navbar .navbar-brand span{
  letter-spacing: .2px;
}

/* Make outline-light buttons visible on dark navbar */
.navbar .btn-outline-light{
  border-color: rgba(255,255,255,.55);
  color: rgba(255,255,255,.95);
}
.navbar .btn-outline-light:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.65);
}

/* Cards */
.card{
  background: var(--card);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 30px rgba(2,6,23,.06);
  border-radius: 16px;
}
.card.p-4{ border-radius: 18px; }

/* Premium headings */
.section-title{
  font-weight: 900;
  letter-spacing: -0.6px;
}

/* Hero title responsive sizing (only for homepage H1) */
.hero-title{
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.05;
}

.kicker{
  color: var(--muted);
  line-height: 1.55;
}

/* Badge soft */
.badge-soft{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  color: #0b1220;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.20);
}

/* Hover lift */
.hover-lift{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hover-lift:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(2,6,23,.10);
  border-color: rgba(15,23,42,.12);
}

/* Buttons — slightly premium */
.btn{
  border-radius: 12px;
}
.btn-primary{
  box-shadow: 0 10px 24px rgba(37,99,235,.18);
}

/* ✅ Sticky mobile CTA bar */
.mobile-cta-bar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px calc(10px + var(--safeBottom));
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,.08);
  z-index: 1029;
}
.mobile-cta-bar .cta-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ✅ Floating WhatsApp button */
.whatsapp-float{
  position: fixed;
  right: 16px;
  bottom: calc(16px + var(--safeBottom));
  z-index: 1030;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
}
.whatsapp-float:hover{ color:#fff; filter: brightness(0.98); }
.whatsapp-float i{ font-size: 20px; line-height: 1; }

/* On mobile, keep floating WA above the sticky bar */
@media (max-width: 767.98px){
  .whatsapp-float{
    bottom: calc(16px + var(--safeBottom) + 70px);
  }
}

/* Mobile polish: fix navbar alignment in collapse */
@media (max-width: 991.98px){
  .navbar-brand span{
    font-size: 14px;
    line-height: 1.15;
  }
  .navbar-brand img{
    height: 30px !important;
  }

  /* Your nav buttons sit inside #nav .d-flex; stack them on mobile */
  #nav .d-flex{
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px !important;
  }
  #nav .btn{
    width: 100%;
  }
}
