/**
 * HearFluent UI Designer System
 * 
 * A comprehensive CSS design system based on the DISTILLED_AESTHETICS_PROMPT
 * Avoids generic "AI slop" aesthetics with distinctive typography, bold colors,
 * and purposeful animations.
 * 
 * Usage: Import in your WordPress theme or HTML pages
 * @import '/assets/css/ui-designer.css';
 */

/* ============================================
   1. TYPOGRAPHY SYSTEM
   ============================================ */

/* Recommended fonts - avoid Inter/Roboto/Arial */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=Space+Grotesk:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  /* Type Scale */
  --hf-font-xs: 0.75rem;
  --hf-font-sm: 0.875rem;
  --hf-font-base: 1rem;
  --hf-font-lg: 1.125rem;
  --hf-font-xl: 1.25rem;
  --hf-font-2xl: 1.5rem;
  --hf-font-3xl: 1.875rem;
  --hf-font-4xl: 2.25rem;
  --hf-font-5xl: 3rem;
  
  /* Line Heights */
  --hf-leading-tight: 1.1;
  --hf-heading: 1.25;
  --hf-body: 1.6;
  --hf-relaxed: 1.75;
  
  /* Font Families */
  --hf-font-sans: 'Space Grotesk', 'DM Sans', system-ui, -apple-system, sans-serif;
  --hf-font-display: 'Playfair Display', Georgia, serif;
  --hf-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ============================================
   2. COLOR PALETTE - MIDNIGHT THEME
   ============================================ */

:root {
  /* Deep Navy Base */
  --hf-midnight-950: #030712;
  --hf-midnight-900: #0a0f1c;
  --hf-midnight-850: #0f1628;
  --hf-midnight-800: #141d33;
  --hf-midnight-700: #1a2744;
  --hf-midnight-600: #243352;
  --hf-midnight-500: #2e4268;
  
  /* Electric Cyan Accent */
  --hf-cyan-400: #22d3ee;
  --hf-cyan-300: #67e8f9;
  --hf-cyan-200: #a5f3fc;
  --hf-cyan-500: #06b6d4;
  --hf-cyan-600: #0891b2;
  
  /* Warm Orange CTA */
  --hf-orange-500: #f97316;
  --hf-orange-400: #fb923c;
  --hf-orange-600: #ea580c;
  
  /* Semantic Colors */
  --hf-success: #10b981;
  --hf-warning: #f59e0b;
  --hf-error: #ef4444;
  --hf-info: #3b82f6;
  
  /* Text Hierarchy */
  --hf-text-primary: #f8fafc;
  --hf-text-secondary: #cbd5e1;
  --hf-text-muted: #64748b;
}

/* ============================================
   3. SPACING & LAYOUT
   ============================================ */

:root {
  /* Base unit: 4px */
  --hf-space-1: 0.25rem;
  --hf-space-2: 0.5rem;
  --hf-space-3: 0.75rem;
  --hf-space-4: 1rem;
  --hf-space-5: 1.25rem;
  --hf-space-6: 1.5rem;
  --hf-space-8: 2rem;
  --hf-space-10: 2.5rem;
  --hf-space-12: 3rem;
  --hf-space-16: 4rem;
  --hf-space-20: 5rem;
  --hf-space-24: 6rem;
  
  /* Border Radius */
  --hf-radius-sm: 0.375rem;
  --hf-radius-md: 0.5rem;
  --hf-radius-lg: 0.75rem;
  --hf-radius-xl: 1rem;
  --hf-radius-2xl: 1.5rem;
  --hf-radius-full: 9999px;
}

/* ============================================
   4. SHADOWS & GLOWS
   ============================================ */

:root {
  --hf-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --hf-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --hf-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --hf-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  
  --hf-glow-cyan: 0 0 20px rgba(34, 211, 238, 0.3), 0 0 40px rgba(34, 211, 238, 0.1);
  --hf-glow-orange: 0 0 20px rgba(249, 115, 22, 0.3), 0 0 40px rgba(249, 115, 22, 0.1);
  --hf-glow-purple: 0 0 20px rgba(168, 85, 247, 0.3), 0 0 40px rgba(168, 85, 247, 0.1);
}

/* ============================================
   5. BASE STYLES
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--hf-font-sans);
  font-size: var(--hf-font-base);
  line-height: var(--hf-body);
  color: var(--hf-text-primary);
  background-color: var(--hf-midnight-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hf-font-display);
  font-weight: 700;
  line-height: var(--hf-heading);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--hf-font-5xl); }
h2 { font-size: var(--hf-font-4xl); }
h3 { font-size: var(--hf-font-3xl); }
h4 { font-size: var(--hf-font-2xl); }
h5 { font-size: var(--hf-font-xl); }
h6 { font-size: var(--hf-font-lg); }

a {
  color: var(--hf-cyan-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--hf-cyan-300);
}

::selection {
  background: var(--hf-cyan-400);
  color: var(--hf-midnight-900);
}

/* ============================================
   6. ANIMATIONS
   ============================================ */

@keyframes hf-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hf-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hf-scale-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hf-slide-in-right {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hf-waveform {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

@keyframes hf-glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.4); }
  50% { box-shadow: 0 0 40px rgba(249, 115, 22, 0.6); }
}

@keyframes hf-spin {
  to { transform: rotate(360deg); }
}

@keyframes hf-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Animation Utilities */
.hf-animate-fade-up {
  animation: hf-fade-up 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hf-animate-fade-in {
  animation: hf-fade-in 0.4s ease forwards;
}

.hf-animate-scale-in {
  animation: hf-scale-in 0.3s ease forwards;
}

.hf-animate-pulse-glow {
  animation: hf-glow-pulse 2s ease-in-out infinite;
}

.hf-animate-spin {
  animation: hf-spin 1s linear infinite;
}

.hf-animate-pulse {
  animation: hf-pulse 2s ease-in-out infinite;
}

/* Animation Delays */
.hf-delay-100 { animation-delay: 100ms; }
.hf-delay-200 { animation-delay: 200ms; }
.hf-delay-300 { animation-delay: 300ms; }
.hf-delay-400 { animation-delay: 400ms; }
.hf-delay-500 { animation-delay: 500ms; }
.hf-delay-600 { animation-delay: 600ms; }

/* ============================================
   7. BUTTONS
   ============================================ */

.hf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--hf-font-sans);
  font-weight: 600;
  font-size: var(--hf-font-sm);
  border-radius: var(--hf-radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hf-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hf-btn:hover::before {
  opacity: 1;
}

/* Primary CTA */
.hf-btn--primary {
  background: var(--hf-orange-500);
  color: white;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.hf-btn--primary:hover {
  background: var(--hf-orange-400);
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
  transform: translateY(-2px);
}

/* Secondary */
.hf-btn--secondary {
  background: transparent;
  color: var(--hf-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hf-btn--secondary:hover {
  border-color: var(--hf-cyan-400);
  background: rgba(34, 211, 238, 0.1);
  box-shadow: var(--hf-glow-cyan);
}

/* Accent */
.hf-btn--accent {
  background: var(--hf-cyan-400);
  color: var(--hf-midnight-900);
  box-shadow: var(--hf-glow-cyan);
}

.hf-btn--accent:hover {
  background: var(--hf-cyan-300);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
  transform: translateY(-2px);
}

/* Ghost */
.hf-btn--ghost {
  background: transparent;
  color: var(--hf-text-secondary);
}

.hf-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--hf-text-primary);
}

/* Sizes */
.hf-btn--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.hf-btn--lg { padding: 1rem 2rem; font-size: var(--hf-font-base); }
.hf-btn--full { width: 100%; }
.hf-btn--icon { padding: 0.75rem; aspect-ratio: 1; }

/* ============================================
   8. CARDS
   ============================================ */

.hf-card {
  background: var(--hf-midnight-850);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--hf-radius-xl);
  padding: var(--hf-space-6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hf-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: var(--hf-glow-cyan);
  transform: translateY(-4px);
}

.hf-card--elevated {
  background: var(--hf-midnight-800);
  box-shadow: var(--hf-shadow-lg);
}

.hf-card--interactive {
  cursor: pointer;
}

.hf-card--glass {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Card Header */
.hf-card__header {
  margin-bottom: var(--hf-space-4);
}

.hf-card__title {
  font-family: var(--hf-font-display);
  font-size: var(--hf-font-xl);
  font-weight: 600;
  color: var(--hf-text-primary);
  margin-bottom: var(--hf-space-2);
}

.hf-card__subtitle {
  font-size: var(--hf-font-sm);
  color: var(--hf-text-muted);
}

/* ============================================
   9. FORM ELEMENTS
   ============================================ */

.hf-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--hf-midnight-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--hf-radius-md);
  color: var(--hf-text-primary);
  font-family: var(--hf-font-sans);
  font-size: var(--hf-font-base);
  transition: all 0.2s ease;
}

.hf-input::placeholder {
  color: var(--hf-text-muted);
}

.hf-input:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.hf-input:focus {
  outline: none;
  border-color: var(--hf-cyan-400);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.hf-input--error {
  border-color: var(--hf-error);
}

.hf-label {
  display: block;
  font-size: var(--hf-font-sm);
  font-weight: 500;
  color: var(--hf-text-secondary);
  margin-bottom: var(--hf-space-2);
}

.hf-field {
  margin-bottom: var(--hf-space-4);
}

.hf-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ============================================
   10. NAVIGATION
   ============================================ */

.hf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--hf-space-4) var(--hf-space-8);
  background: rgba(10, 15, 28, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.hf-nav__logo {
  font-family: var(--hf-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hf-text-primary);
  letter-spacing: -0.02em;
}

.hf-nav__brand {
  display: flex;
  align-items: center;
  gap: var(--hf-space-3);
}

.hf-nav__menu {
  display: flex;
  align-items: center;
  gap: var(--hf-space-1);
}

.hf-nav__link {
  color: var(--hf-text-secondary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--hf-radius-md);
  transition: all 0.2s ease;
}

.hf-nav__link:hover,
.hf-nav__link--active {
  color: var(--hf-text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   11. AUDIO VISUALIZER
   ============================================ */

.hf-audio-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
}

.hf-audio-bar {
  width: 4px;
  background: var(--hf-cyan-400);
  border-radius: 2px;
  animation: hf-waveform 0.5s ease-in-out infinite;
}

.hf-audio-bar:nth-child(1) { animation-delay: 0s; height: 20px; }
.hf-audio-bar:nth-child(2) { animation-delay: 0.1s; height: 30px; }
.hf-audio-bar:nth-child(3) { animation-delay: 0.2s; height: 15px; }
.hf-audio-bar:nth-child(4) { animation-delay: 0.3s; height: 35px; }
.hf-audio-bar:nth-child(5) { animation-delay: 0.4s; height: 25px; }

/* ============================================
   12. PROGRESS & LOADING
   ============================================ */

.hf-progress {
  width: 100%;
  height: 8px;
  background: var(--hf-midnight-700);
  border-radius: var(--hf-radius-full);
  overflow: hidden;
}

.hf-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--hf-cyan-400), var(--hf-cyan-500));
  border-radius: var(--hf-radius-full);
  transition: width 0.5s ease;
}

.hf-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--hf-midnight-700);
  border-top-color: var(--hf-cyan-400);
  border-radius: 50%;
  animation: hf-spin 0.8s linear infinite;
}

.hf-spinner--lg {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

/* ============================================
   13. BADGES & ALERTS
   ============================================ */

.hf-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--hf-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hf-badge--primary {
  background: rgba(249, 115, 22, 0.2);
  color: var(--hf-orange-400);
}

.hf-badge--accent {
  background: rgba(34, 211, 238, 0.2);
  color: var(--hf-cyan-400);
}

.hf-badge--success {
  background: rgba(16, 185, 129, 0.2);
  color: var(--hf-success);
}

.hf-badge--warning {
  background: rgba(245, 158, 11, 0.2);
  color: var(--hf-warning);
}

.hf-badge--error {
  background: rgba(239, 68, 68, 0.2);
  color: var(--hf-error);
}

.hf-alert {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--hf-radius-lg);
  border: 1px solid;
}

.hf-alert--info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.hf-alert--success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.hf-alert--warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

.hf-alert--error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* ============================================
   14. BACKGROUND PATTERNS
   ============================================ */

.hf-bg-mesh {
  background: 
    radial-gradient(at 40% 20%, rgba(34, 211, 238, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(249, 115, 22, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(34, 211, 238, 0.1) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(168, 85, 247, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(249, 115, 22, 0.1) 0px, transparent 50%),
    var(--hf-midnight-900);
  background-attachment: fixed;
}

.hf-bg-geometric {
  background-color: var(--hf-midnight-900);
  background-image: 
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hf-bg-spotlight {
  position: relative;
  overflow: hidden;
}

.hf-bg-spotlight::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
  top: -300px;
  right: -300px;
  pointer-events: none;
}

/* ============================================
   15. PRICING CARDS
   ============================================ */

.hf-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--hf-space-6);
}

.hf-pricing-card {
  background: var(--hf-midnight-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--hf-radius-xl);
  padding: var(--hf-space-8);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.hf-pricing-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: var(--hf-glow-cyan);
}

.hf-pricing-card--featured {
  border-color: var(--hf-cyan-400);
  box-shadow: var(--hf-glow-cyan);
  transform: scale(1.02);
}

.hf-pricing-card__badge {
  position: absolute;
  top: var(--hf-space-4);
  right: var(--hf-space-4);
  background: var(--hf-cyan-400);
  color: var(--hf-midnight-900);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--hf-radius-full);
  text-transform: uppercase;
}

.hf-pricing-card__tier {
  color: var(--hf-cyan-400);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--hf-space-2);
}

.hf-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: var(--hf-space-4);
}

.hf-pricing-card__currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hf-text-primary);
}

.hf-pricing-card__amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--hf-text-primary);
  line-height: 1;
}

.hf-pricing-card__period {
  color: var(--hf-text-muted);
}

.hf-pricing-card__features {
  flex-grow: 1;
  margin-bottom: var(--hf-space-6);
}

.hf-pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--hf-text-secondary);
  margin-bottom: 0.75rem;
}

.hf-pricing-card__feature svg {
  color: var(--hf-success);
  flex-shrink: 0;
}

/* ============================================
   16. UTILITY CLASSES
   ============================================ */

/* Container */
.hf-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--hf-space-4);
}

@media (min-width: 768px) {
  .hf-container { padding: 0 var(--hf-space-6); }
}

@media (min-width: 1024px) {
  .hf-container { padding: 0 var(--hf-space-8); }
}

/* Text utilities */
.hf-text-center { text-align: center; }
.hf-text-left { text-align: left; }
.hf-text-right { text-align: right; }

.hf-text-primary { color: var(--hf-text-primary); }
.hf-text-secondary { color: var(--hf-text-secondary); }
.hf-text-muted { color: var(--hf-text-muted); }
.hf-text-accent { color: var(--hf-cyan-400); }

.hf-font-sans { font-family: var(--hf-font-sans); }
.hf-font-display { font-family: var(--hf-font-display); }
.hf-font-mono { font-family: var(--hf-font-mono); }

/* Spacing utilities */
.hf-mt-4 { margin-top: var(--hf-space-4); }
.hf-mt-6 { margin-top: var(--hf-space-6); }
.hf-mt-8 { margin-top: var(--hf-space-8); }
.hf-mt-12 { margin-top: var(--hf-space-12); }

.hf-mb-4 { margin-bottom: var(--hf-space-4); }
.hf-mb-6 { margin-bottom: var(--hf-space-6); }
.hf-mb-8 { margin-bottom: var(--hf-space-8); }
.hf-mb-12 { margin-bottom: var(--hf-space-12); }

.hf-py-8 { padding-top: var(--hf-space-8); padding-bottom: var(--hf-space-8); }
.hf-py-12 { padding-top: var(--hf-space-12); padding-bottom: var(--hf-space-12); }
.hf-py-16 { padding-top: var(--hf-space-16); padding-bottom: var(--hf-space-16); }

/* Flex utilities */
.hf-flex { display: flex; }
.hf-flex-col { flex-direction: column; }
.hf-flex-wrap { flex-wrap: wrap; }
.hf-items-center { align-items: center; }
.hf-items-start { align-items: flex-start; }
.hf-items-end { align-items: flex-end; }
.hf-justify-center { justify-content: center; }
.hf-justify-between { justify-content: space-between; }
.hf-justify-end { justify-content: flex-end; }
.hf-gap-2 { gap: var(--hf-space-2); }
.hf-gap-4 { gap: var(--hf-space-4); }
.hf-gap-6 { gap: var(--hf-space-6); }
.hf-gap-8 { gap: var(--hf-space-8); }

/* Grid utilities */
.hf-grid { display: grid; }
.hf-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hf-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
  .hf-grid-cols-2,
  .hf-grid-cols-3 {
    grid-template-columns: 1fr;
  }
}

/* Visibility */
.hf-hidden { display: none; }
@media (min-width: 768px) {
  .hf-hidden-md { display: none; }
}
@media (min-width: 1024px) {
  .hf-hidden-lg { display: none; }
}

/* ============================================
   17. HOVER EFFECTS
   ============================================ */

.hf-hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hf-hover-lift:hover {
  transform: translateY(-4px);
}

.hf-hover-scale {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hf-hover-scale:hover {
  transform: scale(1.02);
}

.hf-hover-glow {
  transition: box-shadow 0.3s ease;
}

.hf-hover-glow:hover {
  box-shadow: var(--hf-glow-cyan);
}

.hf-hover-border {
  transition: border-color 0.3s ease;
}

.hf-hover-border:hover {
  border-color: var(--hf-cyan-400);
}

/* ============================================
   18. RESPONSIVE BREAKPOINTS
   ============================================ */

@media (max-width: 640px) {
  :root {
    --hf-font-5xl: 2.5rem;
    --hf-font-4xl: 2rem;
    --hf-font-3xl: 1.5rem;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  :root {
    --hf-font-5xl: 2.75rem;
    --hf-font-4xl: 2.25rem;
  }
}

/* ============================================
   19. ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for keyboard navigation */
.hf-focus:focus-visible {
  outline: 2px solid var(--hf-cyan-400);
  outline-offset: 2px;
}

/* Screen reader only */
.hf-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   20. WORDPRESS SPECIFIC
   ============================================ */

/* WordPress admin bar adjustment */
.admin-bar .hf-nav {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .hf-nav {
    top: 46px;
  }
}

/* Gutenberg block editor support */
.wp-block {
  max-width: var(--hf-container, 1280px);
}

/* WordPress login page customization (if needed) */
body.login {
  background: var(--hf-midnight-900);
}

/* ============================================
   END OF UI DESIGNER SYSTEM
   ============================================ */

