/* =============================================================================
   DripMate Web - Clean Medical Light CSS
   Brand Identity Tokens:
   Canvas: #F8FAFC | Surface: #FFFFFF | Border: #E2E8F0
   Primary Blue: #0284C7 | Cyan: #0EA5E9 | Mint Green: #059669 | Red: #DC2626
   Text Primary: #0F172A | Text Muted: #64748B
   ============================================================================= */

:root {
  --dm-canvas: #F8FAFC;
  --dm-surface: #FFFFFF;
  --dm-border: #E2E8F0;
  --dm-primary: #0284C7;
  --dm-cyan: #0EA5E9;
  --dm-mint: #059669;
  --dm-danger: #DC2626;
  --dm-amber: #D97706;
  --dm-dark: #0F172A;
  --dm-muted: #64748B;
}

body {
  background-color: var(--dm-canvas);
  color: var(--dm-dark);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Lexend', sans-serif;
}

/* Custom Clean Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0284C7;
}

/* Glassmorphism Classes (Clean Light Theme) */
.glass-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

.glass-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: #0284C7;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.12);
}

/* Subtle Ambient Light Orbs on Light Canvas */
@keyframes breatheLight {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1) translate(0, 0);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.12) translate(15px, -15px);
  }
}

.ambient-orb-cyan {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(2, 132, 199, 0.04) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: breatheLight 11s ease-in-out infinite;
}

.ambient-orb-mint {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 65%);
  filter: blur(55px);
  pointer-events: none;
  animation: breatheLight 13s ease-in-out infinite reverse;
}

/* Scroll Reveal Base Utility */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Drip Animation for Light Phone Frame */
@keyframes fallDrip {
  0% {
    transform: translateY(0) scale(0.85);
    opacity: 0;
  }
  25% {
    transform: translateY(12px) scale(1);
    opacity: 1;
  }
  75% {
    transform: translateY(58px) scale(0.9, 1.25);
    opacity: 1;
  }
  100% {
    transform: translateY(72px) scale(1.4, 0.3);
    opacity: 0;
  }
}

@keyframes rippleWave {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

.anim-drop {
  animation: fallDrip 1.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.anim-ripple {
  animation: rippleWave 1.5s ease-out infinite;
  animation-delay: 1.1s;
}

/* Numpad 56dp Touch Target */
.glove-touch-btn {
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.15s ease;
  user-select: none;
}
.glove-touch-btn:active {
  transform: scale(0.94);
  background-color: #E2E8F0;
}
