/* Elevate PDX - Modern PNW Tech Agency Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --color-slate-dark: #0d131a;
  --color-slate-surface: #141c24;
  --color-slate-card: #192430;
  --color-slate-border: #233140;
  --color-evergreen: #1b4332;
  --color-evergreen-light: #2d6a4f;
  --color-accent-orange: #ff6b35;
  --color-accent-orange-hover: #e85d04;
  --color-accent-emerald: #10b981;
  --color-offwhite: #f8fafc;
  --color-offwhite-surface: #ffffff;
  --color-muted-text: #64748b;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  background-color: var(--color-slate-dark);
}

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

/* Custom Selection */
::selection {
  background-color: #ff6b35;
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0d131a;
}
::-webkit-scrollbar-thumb {
  background: #233140;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2d6a4f;
}

/* Subtle Topographic Pattern */
.bg-topo-dark {
  background-color: #0d131a;
  background-image: radial-gradient(circle at 15% 25%, rgba(45, 106, 79, 0.15) 0%, transparent 45%),
                    radial-gradient(circle at 85% 75%, rgba(255, 107, 53, 0.08) 0%, transparent 40%),
                    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
}

.bg-topo-light {
  background-color: #f8fafc;
  background-image: radial-gradient(circle at 10% 20%, rgba(27, 67, 50, 0.03) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(255, 107, 53, 0.03) 0%, transparent 40%);
}

/* Glassmorphism Classes */
.glass-header {
  background: rgba(13, 19, 26, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-header.scrolled {
  background: rgba(10, 15, 21, 0.94);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(45, 106, 79, 0.25);
}

.glass-card-dark {
  background: rgba(20, 28, 36, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Glowing effects */
.glow-orange {
  box-shadow: 0 0 25px -4px rgba(255, 107, 53, 0.45);
}

.glow-orange:hover {
  box-shadow: 0 0 35px -2px rgba(255, 107, 53, 0.65);
}

.glow-emerald {
  box-shadow: 0 0 20px -5px rgba(16, 185, 129, 0.35);
}

/* Gradient text */
.gradient-text-orange {
  background: linear-gradient(135deg, #ffffff 30%, #ff8c5a 75%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #10b981 0%, #2d6a4f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button & Interactive styles */
.btn-primary {
  background-color: var(--color-accent-orange);
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover {
  background-color: var(--color-accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(255, 107, 53, 0.4);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Card hover micro-animations */
.hover-lift {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
}

/* Pulsing Status Dot */
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #10b981;
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* Form Styles */
.form-input {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  transition: all 0.2s ease;
}
.form-input:focus {
  outline: none;
  border-color: #2d6a4f;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

/* Budget radio pills */
.budget-pill {
  cursor: pointer;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}
.budget-pill:hover {
  border-color: #94a3b8;
  background-color: #f1f5f9;
}
.budget-pill.active {
  background-color: #1b4332;
  border-color: #1b4332;
  color: #ffffff;
  box-shadow: 0 4px 12px -2px rgba(27, 67, 50, 0.25);
}

/* Modal Transition */
.modal-overlay {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.modal-container {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.modal-overlay.hidden .modal-container {
  transform: scale(0.95) translateY(10px);
  opacity: 0;
}

/* Toast Notification */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  min-width: 300px;
  max-width: 420px;
  padding: 16px 20px;
  border-radius: 12px;
  background: #0d131a;
  color: #ffffff;
  border: 1px solid #233140;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Calendar Slot pill */
.time-slot-pill {
  cursor: pointer;
  transition: all 0.2s ease;
}
.time-slot-pill:hover {
  border-color: #ff6b35;
  background-color: rgba(255, 107, 53, 0.05);
}
.time-slot-pill.selected {
  border-color: #ff6b35;
  background-color: #ff6b35;
  color: #ffffff;
  font-weight: 600;
}
