/* Aura Dental & Implant Center - Clinical Clarity Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

:root {
  --surface: #f8f9ff;
  --surface-dim: #cbdbf5;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #eff4ff;
  --surface-container: #e5eeff;
  --surface-container-high: #dce9ff;
  --surface-container-highest: #d3e4fe;
  --on-surface: #0b1c30;
  --on-surface-variant: #434750;
  --primary: #002253;
  --primary-container: #103775;
  --on-primary: #ffffff;
  --secondary: #006591;
  --secondary-container: #39b8fd;
  --accent-cyan: #0ea5e9;
  --tertiary: #f59e0b;
  --error: #ba1a1a;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: var(--surface);
  color: var(--on-surface);
  margin: 0;
  padding: 0;
}

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

/* Material Symbols alignment helper */
.material-symbols-outlined {
  vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-outlined.fill-1 {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Glassmorphism Specs from DESIGN.md */
.glass-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-modal {
  background: rgba(13, 40, 71, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Micro-Interaction Elevations */
.card-hover-elevation {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.card-hover-elevation:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -6px rgba(16, 55, 117, 0.09), 0 4px 14px -2px rgba(14, 165, 239, 0.06);
  border-color: rgba(14, 165, 239, 0.4);
}

/* Safe-area padding for mobile bottom bar */
.safe-bottom-padding {
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

/* FAQ Accordion Transitions */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  opacity: 1;
  margin-top: 0.75rem;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* Pulsing beacon */
@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.beacon-pulse {
  animation: softPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
