/* ============================================
   QUILLEN — Design Overrides
   Visual enhancements & component styles
   Typography is handled by quillen-typography.css
   ============================================ */

/* ----- POLICY PAGES — enforce sane heading sizes ----- */
.quillen-policy-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
  line-height: 1.15 !important;
  font-weight: 300 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 1.5rem !important;
}

.quillen-policy-page h2 {
  font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  margin-top: 2.5rem !important;
  margin-bottom: 0.75rem !important;
  letter-spacing: 0 !important;
}

.quillen-policy-page h3 {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  margin-bottom: 0.5rem !important;
}

/* ----- GLOBAL CARD IMPROVEMENTS ----- */
.quillen-card-glow {
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.quillen-card-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(208, 188, 255, 0.2), 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ----- BACKGROUND: subtle ambient glow orbs ----- */
.quillen-hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.quillen-hero-ambient::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(160, 120, 255, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.quillen-hero-ambient::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -8%;
  width: 45%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(93, 230, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
}

/* ----- HERO SUBTEXT — tighter spacing ----- */
.quillen-hero-body p + p {
  margin-top: 0.875rem;
}

/* ----- BUTTON CONSISTENCY ----- */
.quillen-btn-secondary {
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}

.quillen-btn-secondary:hover {
  border-color: rgba(208, 188, 255, 0.3) !important;
  background: rgba(208, 188, 255, 0.06) !important;
}

/* ----- FEATURE CARDS — clean gradient background ----- */
.quillen-feature-card-clean {
  background: linear-gradient(135deg,
    rgba(27, 27, 35, 0.9) 0%,
    rgba(19, 19, 27, 0.95) 100%
  ) !important;
  backdrop-filter: blur(12px);
}

/* ----- SELECTION COLOR ----- */
::selection {
  background: rgba(160, 120, 255, 0.3);
  color: #fff;
}

/* ----- TECH LOGOS ROW ----- */
.quillen-tech-logo {
  transition: opacity 0.2s ease, filter 0.2s ease;
  filter: grayscale(1) brightness(0.7);
}

.quillen-tech-logo:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

/* ----- POLICY PAGES MOBILE ----- */
@media (max-width: 768px) {
  .quillen-policy-page h1 {
    font-size: 1.875rem !important;
    line-height: 1.2 !important;
  }

  .quillen-policy-page h2 {
    font-size: 1.125rem !important;
  }
}
