/* ============================================================
   PRIMUS FILTERS — "Coming Soon" landing page
   Premium corporate styling. Loaded after Bootstrap 5 grid;
   all bespoke design lives here.

   Brand palette (authorized only):
     Red #D82312   Navy #27245F   White #FFFFFF   Charcoal #16161E
   Type: Manrope (Google Fonts)
   ============================================================ */

:root {
  --red:        #D82312;
  --red-dark:   #B81B0D;
  --navy:       #27245F;   /* Primus Blue                       */
  --navy-deep:  #1F1B4D;   /* Primus Blue, deepened a touch     */
  --white:      #FFFFFF;
  --charcoal:   #16161E;

  --card-bg:    rgba(39, 36, 95, 0.68);     /* Primus Blue, frosted — banner shows through */
  --card-brd:   rgba(255, 255, 255, 0.16);  /* thin white border           */
  --txt-soft:   rgba(255, 255, 255, 0.84);  /* supporting copy             */
  --txt-muted:  rgba(255, 255, 255, 0.66);  /* fine print / description     */

  --radius:     22px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------  Base  ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--white);
  background: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--red); color: var(--white); }

/* Visible, accessible focus ring on every interactive element */
a:focus-visible,
.btn-primus:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
  border-radius: 9999px;
}

/* ============================================================
   BACKGROUND — full-bleed product banner with Ken Burns zoom
   ============================================================ */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("../images/primusfilterbanner.jpg") center / cover no-repeat;
  /* Slow, subtle zoom */
  animation: kenburns 28s ease-in-out infinite alternate;
  will-change: transform;
}

/* Dark readability overlay (~55%) with a faint navy tint + vignette
   so the banner stays visible but text contrast is excellent. */
.hero-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 100% at 50% 35%, rgba(20, 20, 28, 0.35) 0%, rgba(10, 10, 16, 0.72) 100%),
    linear-gradient(180deg, rgba(39, 36, 95, 0.32) 0%, rgba(10, 10, 16, 0.60) 100%);
}

/* ============================================================
   PAGE LAYOUT — everything centered, footer beneath the card
   ============================================================ */
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 30px);
  padding: clamp(32px, 5vw, 60px) clamp(18px, 4vw, 40px);
}

/* ============================================================
   GLASS CARD
   ============================================================ */
.card-glass {
  width: 100%;
  max-width: 700px;
  padding: clamp(40px, 5.5vw, 64px) clamp(28px, 5vw, 60px);
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-brd);
  border-radius: var(--radius);
  box-shadow:
    0 36px 80px -28px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);   /* top sheen */
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  backdrop-filter: blur(22px) saturate(120%);
  /* Fade in + slight upward motion on load */
  animation: rise 0.9s var(--ease) both;
}

/* Logo seated on a clean white badge so the navy wordmark stays
   legible against the dark frosted glass. */
.logo-badge {
  display: flex;                 /* block-level so it sits on its own line */
  width: -moz-fit-content;
  width: fit-content;
  padding: 14px 22px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5);
  margin: 0 auto clamp(14px, 1.8vw, 18px);
}
.logo-badge img { height: clamp(34px, 4.5vw, 42px); width: auto; }

/* Brand slogan / tagline */
.tagline {
  font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.12rem);
  font-weight: 600;
  font-style: italic;
  color: var(--txt-soft);
  margin: 0 0 clamp(18px, 2.4vw, 26px);
}

/* "COMING SOON" pill */
.badge-soon {
  display: flex;                 /* own line, centered */
  width: -moz-fit-content;
  width: fit-content;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 9999px;
  margin: 0 auto clamp(18px, 2.4vw, 26px);
}
.badge-soon .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(216, 35, 18, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

/* ----------  Typographic hierarchy  ---------- */
.headline {
  font-weight: 700;
  font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2rem);   /* compact slogan, not a hero */
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(14px, 2vw, 20px);
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  font-weight: 500;
  color: var(--txt-soft);
  max-width: 52ch;
  margin: 0 auto clamp(12px, 1.5vw, 16px);
}

.desc {
  font-size: clamp(0.95rem, 0.92rem + 0.2vw, 1.02rem);
  color: var(--txt-muted);
  line-height: 1.7;
  max-width: 56ch;
  margin: 0 auto clamp(24px, 3vw, 34px);
}

/* ============================================================
   TRUST INDICATORS  (Bootstrap grid: 2-up mobile, 4-up ≥md)
   ============================================================ */
.trust {
  max-width: 600px;
  margin: 0 auto clamp(24px, 3vw, 34px);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.trust-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}
.trust-item:hover .trust-icon {
  background: rgba(216, 35, 18, 0.18);
  border-color: rgba(216, 35, 18, 0.5);
  transform: translateY(-3px);
}
.trust-icon svg { width: 26px; height: 26px; }
.trust-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--txt-soft);
  line-height: 1.35;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.btn-primus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1;
  border-radius: 9999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease),
              background-color 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.3s var(--ease);
}
.btn-primus svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Primary — Primus red */
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 16px 30px -14px rgba(216, 35, 18, 0.65);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 22px 36px -14px rgba(216, 35, 18, 0.75);
}

/* Secondary — outlined */
.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.page-foot {
  text-align: center;
  font-size: 13px;
  color: var(--txt-muted);
  line-height: 1.7;
}
.page-foot strong { color: var(--txt-soft); font-weight: 600; }

/* ============================================================
   MOTION
   ============================================================ */
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.16); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(216, 35, 18, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(216, 35, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 35, 18, 0); }
}

/* ============================================================
   RESPONSIVE refinements
   ============================================================ */
/* Large screens — let the card breathe a little more */
@media (min-width: 1600px) {
  .card-glass { max-width: 760px; }
}

/* Small phones — stack the CTAs full width */
@media (max-width: 575.98px) {
  .actions { flex-direction: column; align-items: stretch; }
  .btn-primus { width: 100%; }
}

/* Honour reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }
}
