/* Zoomedic ORIT Landing Page Styles */

:root {
  --zm-primary: rgb(45, 188, 214);
  --zm-primary-dark: #2298ae;
  --zm-primary-light: #e6f8fb;
  --zm-primary-tint: rgba(45, 188, 214, 0.12);
  --zm-green: #4ec276;
  --zm-green-dark: #3ea863;
  --zm-danger: rgb(45, 188, 214);
  --zm-danger-dark: #2298ae;
  --zm-dark: #1b2831;
  --zm-dark-secondary: #27282a;
  --zm-gray-text: #525252;
  --zm-gray-heading: #313131;
  --zm-gray-muted: #8f8f8f;
  --zm-gray-bg: #f7f9fa;
  --zm-gray-card: #f2f2f2;
  --zm-border: #e8e8e8;
  --zm-shadow: 0 6px 30px rgba(0, 0, 0, 0.06);
  --zm-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --zm-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-family: var(--zm-font);
  color: var(--zm-gray-text);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--zm-gray-heading);
  font-weight: 700;
  line-height: 1.25;
}

/* Pulsing Badge for 24/7 Emergency */
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.5);
  animation: pulse-ring 1.8s infinite;
}

.pulse-dot-cyan {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: rgb(45, 188, 214);
  border-radius: 50%;
}
.pulse-dot-cyan::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(45, 188, 214, 0.5);
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.7);
    opacity: 0.9;
  }
  70% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Shimmer & Glow effects for conversion CTA in brand cyan */
.btn-emergency-glow {
  box-shadow: 0 4px 20px rgba(45, 188, 214, 0.45);
  animation: emergency-glow 2.5s infinite alternate;
}

@keyframes emergency-glow {
  0% {
    box-shadow: 0 4px 15px rgba(45, 188, 214, 0.35);
  }
  100% {
    box-shadow: 0 6px 28px rgba(45, 188, 214, 0.7);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--zm-primary);
}

/* Triage Card Highlighting */
.triage-card {
  transition: all 0.25s ease-in-out;
}
.triage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Tab active state */
.pricing-tab.active {
  background-color: var(--zm-primary);
  color: #ffffff;
  border-color: var(--zm-primary);
}

/* Floating bottom bar for mobile */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid #e5e7eb;
  padding: 10px 16px;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.12);
}

/* Modal styles */
.modal-overlay {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  transform: scale(0.95);
  transition: all 0.3s ease;
}
.modal-overlay.active .modal-box {
  transform: scale(1);
}

/* Clinical case blockquote quote mark */
.quote-card {
  position: relative;
  background: rgba(45, 188, 214, 0.07);
  border-left: 4px solid var(--zm-primary);
}

/* Safe area inset for modern mobile browsers (iPhone notch/home indicator) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-sticky-bar {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
}
