/* ============================================================================
   RANGE CRAFT — LIQUID GLASS (test)
   Loaded last on every page. To go back: remove the
   <link rel="stylesheet" href="./liquid-glass.css"> line from the pages (or empty this file).
   ============================================================================ */
:root {
  --lg-blur: blur(18px) saturate(180%);

  /* Glass on dark backgrounds */
  --lg-dark-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.06) 100%);
  --lg-dark-border: rgba(255, 255, 255, 0.14);
  --lg-dark-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 32px rgba(0, 0, 0, 0.25);

  /* Glass on light backgrounds */
  --lg-light-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.46) 100%);
  --lg-light-border: rgba(255, 255, 255, 0.9);
  --lg-light-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(10, 14, 26, 0.04),
    0 8px 28px rgba(10, 14, 26, 0.08);

  /* Specular sheen used on buttons */
  --lg-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.08) 46%, rgba(255, 255, 255, 0) 54%, rgba(255, 255, 255, 0.10) 100%);
}

/* ---------- 1. Navbar pill, login button, mobile toggle ---------- */
html body .site-navbar.is-scrolled .navbar-links,
html body .site-navbar.is-scrolled .nav-login-btn {
  backdrop-filter: var(--lg-blur) !important;
  -webkit-backdrop-filter: var(--lg-blur) !important;
}

html body .site-navbar.theme-light.is-scrolled .navbar-links,
html body .site-navbar.theme-light.is-scrolled .nav-login-btn,
html body .mobile-nav-toggle {
  background: rgba(12, 16, 32, 0.45) !important;
  background-image: var(--lg-dark-bg) !important;
  border: 1px solid var(--lg-dark-border) !important;
  box-shadow: var(--lg-dark-shadow) !important;
  backdrop-filter: var(--lg-blur) !important;
  -webkit-backdrop-filter: var(--lg-blur) !important;
}

html body .site-navbar.theme-dark.is-scrolled .navbar-links,
html body .site-navbar.theme-dark.is-scrolled .nav-login-btn {
  background: rgba(255, 255, 255, 0.55) !important;
  background-image: var(--lg-light-bg) !important;
  border: 1px solid var(--lg-light-border) !important;
  box-shadow: var(--lg-light-shadow) !important;
}

/* ---------- 2. Dropdown menus (Features / Documentation / Language) ----------
   Almost opaque + strong blur so the text behind never interferes with reading. */
.rc-fdd-menu,
html body .lang-dropdown-menu {
  background: rgba(12, 15, 30, 0.94) !important;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
  border: 1px solid var(--lg-dark-border) !important;
  box-shadow: var(--lg-dark-shadow) !important;
  backdrop-filter: blur(40px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(160%) !important;
}

.site-navbar.theme-dark .rc-fdd-menu {
  background: rgba(255, 255, 255, 0.95) !important;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%) !important;
  border: 1px solid var(--lg-light-border) !important;
  box-shadow: var(--lg-light-shadow), 0 20px 50px rgba(10, 14, 26, 0.12) !important;
}

/* ---------- 3. Download buttons ----------
   Not glass: they keep the single solid style defined in styles.css (DOWNLOAD BUTTONS). */

/* ---------- 4. Format tabs ----------
   Inactive = light glass pill · active = flat dark navy (no gloss, no movement) */
.audience-tab-btn {
  background: #FFFFFF !important;
  border: 1px solid rgba(10, 14, 26, 0.08) !important;
  color: #1E293B !important;
  box-shadow: 0 1px 2px rgba(10, 14, 26, 0.04) !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}

.audience-tab-btn:hover {
  background: #F4F5F8 !important;
  border-color: rgba(10, 14, 26, 0.14) !important;
  transform: none !important;
}

.audience-tab-btn.is-active,
.audience-tab-btn.is-active:hover {
  background: #1E3A6E !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-color: #1E3A6E !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 2px rgba(10, 14, 26, 0.2) !important;
}

/* ---------- 5. Light cards (format showcase) ---------- */
.project-showcase-card {
  background: var(--lg-light-bg) !important;
  border: 1px solid var(--lg-light-border) !important;
  box-shadow: var(--lg-light-shadow), 0 24px 60px rgba(10, 14, 26, 0.06) !important;
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
}

/* ---------- 6. Dark cards (pricing, final CTA, feature pages, language button) ---------- */
.pricing-card-box.free-box,
.fp-cta,
.fp-more-card,
.fp-points li,
.final-os-tag {
  background: rgba(255, 255, 255, 0.03) !important;
  background-image: var(--lg-dark-bg) !important;
  border: 1px solid var(--lg-dark-border) !important;
  box-shadow: var(--lg-dark-shadow) !important;
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
}

.final-os-tag {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.fp-more-card:hover {
  background-color: rgba(37, 99, 235, 0.18) !important;
  border-color: rgba(147, 197, 253, 0.45) !important;
}

/* Feature pages: small dark cards get a much flatter gradient (the default one reads too strongly on small blocks) */
.rc-feature-page .fp-points li,
.rc-feature-page .st-card--dark {
  background: rgba(255, 255, 255, 0.035) !important;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.035) 55%, rgba(255, 255, 255, 0.045) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 32px rgba(0, 0, 0, 0.25) !important;
}

/* Final CTA — same frame as the "Master any format" card (radius, hairline edge, soft depth), in dark blue */
.final-cta-compact {
  background: #10204A !important;
  background-image:
    radial-gradient(120% 140% at 0% 0%, rgba(59, 130, 246, 0.28) 0%, rgba(59, 130, 246, 0) 55%),
    linear-gradient(135deg, #142A61 0%, #0E1C44 55%, #0A1433 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 28px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 50px rgba(10, 14, 26, 0.18) !important;
}

.final-cta-compact .final-os-tag {
  background: rgba(54, 54, 54, 0.16) !important;
  background-image: none !important;
  border: 1px solid rgba(54, 54, 54, 0.2) !important;
  color: #A5B4CF !important;
  box-shadow: none !important;
}

/* Premium card keeps its blue mesh, with glass edges */
.pricing-card-box.premium-box {
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 40px rgba(255, 255, 255, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.3) !important;
}


/* ---------- 7. Light pills on feature pages ---------- */
.fp-eyebrow {
  background: var(--lg-light-bg) !important;
  border: 1px solid var(--lg-light-border) !important;
  box-shadow: var(--lg-light-shadow);
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
}

/* ---------- 8. Features & testimonial cards ----------
   Their style now lives in styles.css ("CARDS — features & testimonials"). */
