/* AFH Care Plan — Creative Hero Page v3 */

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --purple: #7c3aed;
  --purple-50: #f5f3ff;
  --green: #16a34a;
  --green-50: #f0fdf4;
  --teal: #0d9488;
  --teal-50: #f0fdfa;
  --orange: #ea580c;
  --orange-50: #fff7ed;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #fff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --radius: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); font-size: 15px; line-height: 1.6;
  color: var(--gray-600); background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-bottom-color: var(--gray-200); box-shadow: 0 1px 12px rgba(0,0,0,0.05); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { display: flex; }
.logo span { font-size: 16px; font-weight: 700; color: var(--gray-900); letter-spacing: -0.02em; }
.nav-right { display: none; align-items: center; gap: 20px; }
.nav-link { font-size: 13px; font-weight: 500; color: var(--gray-500); transition: color .15s; }
.nav-link:hover { color: var(--gray-900); }
.nav-btn {
  font-size: 13px; font-weight: 600; color: var(--white);
  background: var(--blue); padding: 10px 22px; border-radius: var(--radius);
  transition: all .15s;
  box-shadow: 0 1px 3px rgba(37,99,235,0.2);
}
.nav-btn:hover { background: var(--blue-dark); box-shadow: 0 4px 12px rgba(37,99,235,0.3); transform: translateY(-1px); }
.mobile-menu-btn {
  display: flex; flex-direction: column; gap: 4px;
  padding: 6px; background: none; border: none; cursor: pointer;
}
.mobile-menu-btn span { width: 20px; height: 2px; background: var(--gray-600); border-radius: 2px; transition: all .15s; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }
@media(min-width:768px) { .nav-right { display: flex; } .mobile-menu-btn { display: none; } }
.nav-right.open {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); padding: 12px 32px 20px;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.nav-right.open a { padding: 10px 0; border-bottom: 1px solid var(--gray-100); width: 100%; }
.nav-right.open .nav-btn { margin-top: 8px; text-align: center; border-bottom: none; }

/* ===== BUTTONS ===== */
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; font-family: var(--font);
  border-radius: var(--radius); cursor: pointer; transition: all .2s;
  border: none;
}
.btn-primary {
  padding: 14px 32px; background: var(--blue); color: var(--white);
  box-shadow: 0 2px 8px rgba(37,99,235,0.2), 0 0 0 1px rgba(37,99,235,0.1);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 8px 24px rgba(37,99,235,0.3), 0 0 0 1px rgba(37,99,235,0.15);
  transform: translateY(-2px);
}
.btn-outline {
  padding: 14px 32px; background: var(--white); color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); box-shadow: 0 4px 12px rgba(37,99,235,0.08); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  position: relative;
  background: linear-gradient(170deg, #f0f5ff 0%, #faf5ff 25%, #fefefe 55%, #f5f9ff 100%);
}

/* Background decorations */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.45;
}
.orb-1 { width: 600px; height: 600px; top: -150px; right: -150px; background: var(--blue-200); }
.orb-2 { width: 450px; height: 450px; bottom: 5%; left: -150px; background: #e0e7ff; opacity: 0.35; }
.orb-3 { width: 350px; height: 350px; top: 35%; right: 15%; background: #ede9fe; opacity: 0.3; }
.bg-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--gray-200) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 40%, black 20%, transparent 100%);
}

.hero-body {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  max-width: var(--max-w); width: 100%; margin: 0 auto;
  padding: 90px 32px 28px;
  position: relative; z-index: 1;
}

/* ===== TOP: Two columns ===== */
.hero-top {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 56px; align-items: center;
  margin-bottom: 44px;
}

/* Left column */
.hero-left { max-width: 520px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 100px;
  background: var(--white); border: 1px solid var(--blue-100);
  font-size: 12px; font-weight: 600; color: var(--blue);
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.06);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,0.15); }
  50% { box-shadow: 0 0 0 7px rgba(22,163,74,0.06); }
}

.hero-left h1 {
  font-size: 46px; font-weight: 900; color: var(--gray-900);
  line-height: 1.08; letter-spacing: -0.04em;
  margin-bottom: 18px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, #6d28d9 60%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 15px; color: var(--gray-500); line-height: 1.7;
  margin-bottom: 26px;
}

.hero-btns { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }

/* Trust items */
.hero-trust {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--gray-500); font-weight: 500;
}
.trust-item svg { flex-shrink: 0; }

/* Hero stats */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.stat-box {
  text-align: center; padding: 16px 8px;
  border-right: 1px solid var(--gray-100);
  position: relative;
}
.stat-box:last-child { border-right: none; }
.stat-box strong {
  display: block; font-size: 24px; font-weight: 800; color: var(--blue);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.stat-box span { font-size: 10px; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }

/* ===== Right column: Preview card ===== */
.hero-right { display: flex; justify-content: center; }

.preview-wrapper {
  position: relative;
  padding: 30px;
}

.preview-card {
  width: 100%; max-width: 460px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.08),
    0 8px 20px rgba(0,0,0,0.04),
    0 0 0 1px rgba(0,0,0,0.02);
  overflow: hidden; position: relative;
}
.preview-header {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  background: linear-gradient(180deg, var(--gray-50), #f5f6f8);
  border-bottom: 1px solid var(--gray-200);
}
.preview-dots { display: flex; gap: 5px; }
.preview-dots span { width: 9px; height: 9px; border-radius: 50%; }
.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:nth-child(3) { background: #28c840; }
.preview-title { font-size: 10.5px; color: var(--gray-500); font-weight: 500; flex: 1; }
.preview-pages {
  font-size: 10px; font-weight: 700; color: var(--blue);
  background: var(--blue-50); padding: 3px 10px; border-radius: 100px;
  white-space: nowrap;
  border: 1px solid var(--blue-100);
}

/* Preview image */
.preview-img-wrap {
  overflow: hidden;
  max-height: 480px;
}
.preview-img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

/* AI processing bar */
.ai-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: linear-gradient(90deg, #f5f3ff, #eff6ff);
  border-bottom: 1px solid var(--gray-100);
  font-size: 10.5px; color: var(--purple); font-weight: 600;
}
.ai-bar-icon {
  display: flex; align-items: center; justify-content: center;
  color: var(--purple); flex-shrink: 0;
  animation: spin-slow 4s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.ai-bar-progress {
  width: 56px; height: 4px; background: rgba(124,58,237,0.12);
  border-radius: 4px; overflow: hidden; flex-shrink: 0; margin-left: auto;
}
.ai-bar-fill {
  width: 78%; height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  border-radius: 4px;
  animation: progress-pulse 2s ease-in-out infinite;
}
@keyframes progress-pulse {
  0%, 100% { width: 78%; }
  50% { width: 92%; }
}

.preview-body { padding: 14px 16px; }

/* Document sections */
.doc-section { margin-bottom: 14px; }
.doc-section:last-child { margin-bottom: 0; }
.doc-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; color: var(--gray-800);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 7px;
  padding-bottom: 5px; border-bottom: 1.5px solid var(--gray-100);
}
.doc-ai-badge {
  font-size: 9px; font-weight: 700; color: var(--purple);
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  padding: 2px 8px; border-radius: 100px;
  text-transform: none; letter-spacing: 0;
  border: 1px solid rgba(124,58,237,0.1);
}

/* Document grid (Resident Info) */
.doc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5px;
}
.doc-cell {
  display: flex; flex-direction: column; gap: 1px;
  padding: 5px 8px;
  background: var(--gray-50);
  border-radius: 6px;
  border: 1px solid var(--gray-100);
}
.dc-label { font-size: 8.5px; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.dc-val { font-size: 11px; color: var(--gray-700); font-weight: 600; }

/* Document narrative text */
.doc-narrative {
  font-size: 10.5px; color: var(--gray-400); line-height: 1.55;
  padding: 4px 0;
}

/* Medication list */
.doc-med-list {
  display: flex; flex-direction: column; gap: 3px;
}
.doc-med {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 10px;
  background: var(--gray-50);
  border-radius: 6px;
  font-size: 11px;
  border: 1px solid var(--gray-100);
}
.med-name { color: var(--gray-700); font-weight: 600; }
.med-freq { color: var(--gray-400); font-size: 10px; font-weight: 500; }
.doc-med-more {
  font-size: 10px; color: var(--blue); font-weight: 600;
  padding: 4px 0 0;
}

/* Floating tags */
.float-tag {
  position: absolute;
  display: flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--radius);
  background: var(--white);
  font-size: 11.5px; font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.03);
  animation: float-tag 3s ease-in-out infinite;
  white-space: nowrap;
  z-index: 2;
}
.tag-check { bottom: 80px; left: -8px; color: var(--green); animation-delay: 0s; }
.tag-ai { top: 32%; right: -6px; color: var(--purple); animation-delay: 1s; }
.tag-hipaa { bottom: 16px; right: 0px; color: var(--teal); animation-delay: 2s; }

@keyframes float-tag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ===== BOTTOM: Feature strip + Steps ===== */
.hero-bottom { position: relative; z-index: 1; }

.feature-strip {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  margin-bottom: 14px;
}
.fcard {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 16px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all .25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.fcard:hover {
  border-color: var(--blue-200);
  box-shadow: 0 8px 24px rgba(37,99,235,0.08), 0 0 0 1px rgba(37,99,235,0.05);
  transform: translateY(-3px);
}
.fc-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
}
.fc-icon.blue   { background: var(--blue-50);   color: var(--blue); }
.fc-icon.purple { background: var(--purple-50); color: var(--purple); }
.fc-icon.green  { background: var(--green-50);  color: var(--green); }
.fc-icon.orange { background: var(--orange-50); color: var(--orange); }
.fc-icon.teal   { background: var(--teal-50);   color: var(--teal); }
.fcard strong { display: block; font-size: 12px; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.fcard span { font-size: 11px; color: var(--gray-400); line-height: 1.35; }

/* Steps strip */
.steps-strip {
  background: var(--gray-900); border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.steps-inner {
  padding: 18px 24px;
}
.step-label {
  font-size: 10px; font-weight: 700; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.steps-flow {
  display: flex; align-items: center; gap: 12px;
}
.step-item {
  display: flex; align-items: flex-start; gap: 10px;
  flex: 1;
}
.step-item div { display: flex; flex-direction: column; gap: 2px; }
.step-item strong { font-size: 13px; color: var(--white); font-weight: 700; }
.step-item span { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.4; }
.sn {
  width: 26px; height: 26px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: var(--white);
  font-size: 11px; font-weight: 700; border-radius: 50%;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}
.step-connector {
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600); flex-shrink: 0;
  opacity: 0.5;
}

/* ===== FOOTER ===== */
.hero-footer {
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 11px; color: var(--gray-400);
  border-top: 1px solid var(--gray-100);
  position: relative; z-index: 1;
}
.hf-links { display: flex; gap: 20px; flex-wrap: wrap; }
.hf-links a { color: var(--gray-400); transition: color .15s; }
.hf-links a:hover { color: var(--gray-600); }

/* ===== RESPONSIVE ===== */

@media(max-width:1024px) {
  .hero-top { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-left { max-width: 580px; margin: 0 auto; }
  .hero-left h1 { font-size: 38px; }
  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-stats { max-width: 440px; margin: 0 auto; }
  .preview-wrapper { padding: 20px; }
  .preview-card { max-width: 440px; margin: 0 auto; }
  .feature-strip { grid-template-columns: repeat(3, 1fr); }
}

@media(max-width:768px) {
  .hero-body { padding: 80px 20px 16px; }
  .hero-left h1 { font-size: 32px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .stat-box { padding: 12px 6px; }
  .stat-box strong { font-size: 20px; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .steps-inner { padding: 16px; }
  .steps-flow { flex-direction: column; gap: 10px; align-items: flex-start; }
  .step-connector { transform: rotate(90deg); align-self: center; }
  .step-item { width: 100%; }
  .hero-footer { flex-direction: column; align-items: center; text-align: center; padding: 16px 20px; }
  .float-tag.tag-ai { right: 2px; }
  .float-tag.tag-check { left: 2px; }
  .float-tag.tag-hipaa { right: 2px; }
  .preview-wrapper { padding: 16px; }
}

@media(max-width:640px) {
  .hero-body { padding: 72px 16px 12px; }
  .hero-left h1 { font-size: 26px; }
  .hero-desc { font-size: 13px; }
  .hero-btns { flex-direction: column; width: 100%; max-width: 280px; margin: 0 auto 16px; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; gap: 6px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-box:nth-child(2) { border-right: none; }
  .stat-box:nth-child(1),
  .stat-box:nth-child(2) { border-bottom: 1px solid var(--gray-100); }
  .feature-strip { grid-template-columns: 1fr; }
  .float-tag { display: none; }
  .preview-card { max-width: 100%; }
  .preview-wrapper { padding: 8px; }
  .ai-bar span { font-size: 9.5px; }
  .ai-bar { padding: 7px 12px; gap: 6px; }
  .doc-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 12px 16px; }
  .hero-footer { padding: 14px 16px; }
  .hf-links { gap: 12px; }
}

@media(max-width:380px) {
  .hero-left h1 { font-size: 23px; }
  .hero-desc { font-size: 12px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
  .stat-box strong { font-size: 18px; }
  .stat-box span { font-size: 9px; }
  .fcard { padding: 12px 10px; gap: 8px; }
  .fc-icon { width: 30px; height: 30px; }
  .fcard strong { font-size: 11px; }
  .fcard span { font-size: 10px; }
  .preview-body { padding: 10px 12px; }
  .doc-med { padding: 4px 8px; font-size: 10px; }
  .steps-inner { padding: 14px 12px; }
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(165deg, #f0f7ff 0%, #faf5ff 30%, var(--gray-50) 60%);
  padding: 24px;
}
.auth-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  padding: 44px 36px; width: 100%; max-width: 400px;
  border: 1px solid var(--gray-200);
}
.auth-card .logo { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; color: var(--gray-900); }
.auth-card .logo-icon { flex-shrink: 0; }
.auth-card h1 { font-size: 24px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; text-align: center; }
.auth-subtitle { font-size: 14px; color: var(--gray-500); text-align: center; margin-bottom: 28px; }
.auth-error {
  background: #fef2f2; border: 1px solid #fecaca; color: #dc2626;
  padding: 10px 14px; border-radius: var(--radius); font-size: 13px;
  margin-bottom: 20px; text-align: center;
}
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form > div { display: flex; flex-direction: column; gap: 5px; }
.auth-form label { font-size: 13px; font-weight: 500; color: var(--gray-700); }
.auth-form input {
  width: 100%; padding: 10px 14px; font-size: 14px; font-family: var(--font);
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  background: var(--white); color: var(--gray-900); transition: all .15s;
}
.auth-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.auth-form input::placeholder { color: var(--gray-400); }
.auth-form button {
  width: 100%; padding: 12px 20px; font-size: 14px; font-weight: 600;
  font-family: var(--font); color: var(--white);
  background: var(--blue); border: none; border-radius: var(--radius);
  cursor: pointer; transition: all .15s; margin-top: 4px;
}
.auth-form button:hover:not(:disabled) { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.2); }
.auth-form button:disabled { opacity: 0.5; cursor: not-allowed; background: var(--gray-400); }
.auth-footer {
  text-align: center; margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--gray-200); font-size: 13px; color: var(--gray-500);
}
.auth-footer a { color: var(--blue); font-weight: 600; margin-left: 4px; }
.auth-footer a:hover { text-decoration: underline; }
@media(max-width:480px) { .auth-card { padding: 28px 20px; } .auth-card h1 { font-size: 22px; } }

/* Focus & motion */
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .float-tag { animation: none; }
  .badge-dot { animation: none; }
  .ai-bar-fill { animation: none; }
  .ai-bar-icon { animation: none; }
}
