/* ── Liquid Glass — dark canvas variant (america.gov DNA) ─────────────
   Tinted dark glass: low-alpha white fill, cool blur, rim highlight.
   ──────────────────────────────────────────────────────────────────── */

.hero-composer.liquid-glass {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.045) 45%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);

  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 10px 40px rgba(0, 0, 0, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.3);

  position: relative;
  overflow: hidden;
}

/* Diagonal light streak — the "liquid" specular, restrained for dark UI */
.hero-composer.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    100deg,
    transparent 25%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.02) 58%,
    transparent 75%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-composer.liquid-glass > * {
  position: relative;
  z-index: 1;
}

.hero-composer.liquid-glass:focus-within {
  backdrop-filter: blur(26px) saturate(1.4);
  -webkit-backdrop-filter: blur(26px) saturate(1.4);
  border-color: rgba(102, 174, 245, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 3px rgba(0, 102, 197, 0.35),
    0 14px 48px rgba(0, 0, 0, 0.5);
  transition: backdrop-filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.hero-composer.liquid-glass:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 12px 44px rgba(0, 0, 0, 0.5);
}

/* ── Floating search bar ─────────────────────────────────────────────── */

.floating-composer.liquid-glass {
  background: linear-gradient(
    135deg,
    rgba(18, 23, 32, 0.82) 0%,
    rgba(18, 23, 32, 0.68) 45%,
    rgba(18, 23, 32, 0.56) 100%
  );
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    0 12px 44px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.floating-composer.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.06) 45%,
    rgba(255, 255, 255, 0.015) 60%,
    transparent 75%
  );
  pointer-events: none;
  z-index: 0;
}

.floating-composer.liquid-glass > * {
  position: relative;
  z-index: 1;
}

.floating-composer.liquid-glass:hover {
  backdrop-filter: blur(26px) saturate(1.4);
  -webkit-backdrop-filter: blur(26px) saturate(1.4);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 16px 52px rgba(0, 0, 0, 0.6);
  transition: backdrop-filter 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}