/* =========================================================
   Provalo.ai — public site theme
   Brand tokens carried over from the previous static site
   (old_website_reference/assets/css/styles.css), re-applied on
   top of Bootstrap 5 rather than a from-scratch design system.
   ========================================================= */

:root {
  --pv-bg-deep-indigo: #1c1f4a;
  --pv-bg-midnight: #0c0c0f;
  --pv-text-light: #e8e8ec;
  --pv-text-white: #ffffff;
  --pv-accent-pink-soft: #dcabbe;
  --pv-accent-pink-strong: #b34b73;
  --pv-body-bg: var(--pv-bg-deep-indigo);
  --pv-body-color: var(--pv-text-light);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: var(--pv-body-bg);
  color: var(--pv-body-color);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand, .pv-brand-wordmark {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  color: var(--pv-accent-pink-soft);
}

a:hover {
  color: var(--pv-accent-pink-strong);
}

.text-muted {
  color: rgba(232, 232, 236, 0.72) !important;
}

/* ---------- Navbar ---------- */

.pv-navbar {
  background: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.pv-navbar .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  margin-inline: 0.15rem;
}

.pv-navbar .nav-link:hover {
  color: #ffffff;
}

.pv-navbar.is-scrolled {
  background-color: rgba(12, 12, 15, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.pv-navbar-brand img {
  height: 34px;
  width: auto;
}

.pv-navbar .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.4rem 0.6rem;
}

.pv-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 171, 190, 0.35);
}

.pv-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* The navbar is transparent until scrolled (for the hero-overlay look), but
   the collapsed mobile menu must always have its own solid backdrop — it
   renders on top of page content regardless of scroll position, and without
   this it's unreadable over a hero video/image. */
@media (max-width: 991.98px) {
  .pv-navbar .navbar-collapse {
    background: rgba(12, 12, 15, 0.97);
    backdrop-filter: blur(10px);
    margin-top: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .pv-navbar .navbar-nav {
    align-items: center;
    text-align: center;
    gap: 0.25rem;
  }

  .pv-navbar .nav-item {
    width: 100%;
  }
}

/* ---------- Buttons ---------- */

.btn-primary {
  background-image: linear-gradient(135deg, var(--pv-accent-pink-strong) 0%, var(--pv-accent-pink-soft) 100%);
  border: none;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.65rem 1.85rem;
  box-shadow: 0 4px 16px rgba(179, 75, 115, 0.35);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-image: linear-gradient(135deg, var(--pv-accent-pink-soft) 0%, var(--pv-accent-pink-strong) 100%);
  box-shadow: 0 8px 24px rgba(179, 75, 115, 0.45);
  transform: translateY(-1px);
}

.btn-outline-light,
.btn-outline-dark {
  border-radius: 999px;
  font-weight: 500;
  padding: 0.65rem 1.85rem;
  transition: transform 0.2s ease;
}

.btn-outline-light:hover,
.btn-outline-dark:hover {
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */

.pv-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.pv-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 15, 0.55) 0%, rgba(12, 12, 15, 0.75) 55%, rgba(12, 12, 15, 0.92) 100%);
}

.pv-hero .container {
  position: relative;
  z-index: 2;
}

.pv-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.08;
}

.pv-page-hero {
  position: relative;
  padding-block: 7rem 4rem;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.pv-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 15, 0.72), rgba(28, 31, 74, 0.88));
}

.pv-page-hero .container {
  position: relative;
  z-index: 2;
}

/* ---------- Sections & surfaces ---------- */

.pv-section {
  padding-block: 5rem;
}

.pv-section-alt {
  background: rgba(255, 255, 255, 0.03);
}

.pv-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pv-accent-pink-soft);
  font-weight: 600;
}

.pv-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
  border-color: rgba(220, 171, 190, 0.35);
}

.pv-card-light {
  background: #ffffff;
  color: #111827;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pv-card-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.12);
}

.pv-card-light .text-muted {
  color: #6b7280 !important;
}

.pv-cta-band {
  background: linear-gradient(120deg, #111827, #1f2937 60%, #0b1020);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
}

/* ---------- Footer ---------- */

.pv-footer {
  background: var(--pv-bg-midnight);
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pv-footer a {
  color: #cbd5e1;
}

.pv-footer a:hover {
  color: #ffffff;
}

/* ---------- Locale switcher ---------- */

.locale-switcher {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  overflow: hidden;
}

.locale-switcher__link {
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
}

.locale-switcher__link.is-active {
  background: var(--pv-accent-pink-strong);
  color: #fff !important;
}

/* ---------- Blog ---------- */

.blog-body {
  color: var(--pv-text-light);
  line-height: 1.75;
}

.blog-body img {
  max-width: 100%;
  border-radius: 1rem;
}
