/* 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);
}

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;
}

/* 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;
}
.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);
}

/* 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%;
  }
}
