/* 58AI Bootcamp & AZ Real Estate Design System */
:root {
  --bc-deep: #0b4a52;
  --bc-mid: #0f7a83;
  --bc-light: #5ecfd8;
  --bc-pale: #e6f4f6;
  --bc-pale2: #c9e6ea;
  --bc-ink: #1d1d1d;
  --bc-mute: #5c5c5c;
  --bc-card: 0 4px 20px rgba(11, 74, 82, 0.12);
  --az-green: #64BC64;
  --az-green-dark: #1F281F;
  --font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--bc-ink);
  background-color: #f7fbfc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Hero Section */
.hero-58ai {
  background: linear-gradient(135deg, #09373d 0%, #0b4a52 60%, #0f5c66 100%);
  color: #ffffff;
}

/* 58AI Card System */
.card-58ai {
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid var(--bc-pale2);
  box-shadow: var(--bc-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.card-58ai:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(11, 74, 82, 0.18);
  border-color: var(--bc-light);
}

.card-58ai-highlight {
  border: 2px solid var(--bc-mid);
  box-shadow: 0 8px 30px rgba(15, 122, 131, 0.22);
}

/* Buttons */
.btn-58ai-primary {
  background: linear-gradient(135deg, var(--bc-mid) 0%, var(--bc-deep) 100%);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(15, 122, 131, 0.35);
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn-58ai-primary:hover {
  background: linear-gradient(135deg, #13909b 0%, #0d5861 100%);
  box-shadow: 0 6px 20px rgba(15, 122, 131, 0.5);
  transform: translateY(-1px);
}

.btn-58ai-outline {
  background: #ffffff;
  color: var(--bc-deep) !important;
  font-weight: 700;
  border: 1.5px solid var(--bc-mid);
  border-radius: 9999px;
  padding: 0.7rem 1.5rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-58ai-outline:hover {
  background: var(--bc-pale);
  border-color: var(--bc-deep);
  color: var(--bc-deep);
}

/* Issue Diagnostic Chips */
.issue-chip {
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  border: 1.5px solid var(--bc-pale2);
  background: #ffffff;
  color: #244147;
}

.issue-chip:hover {
  border-color: var(--bc-mid);
  background: var(--bc-pale);
  transform: translateY(-1px);
}

.issue-chip.active {
  background: linear-gradient(135deg, var(--bc-deep) 0%, var(--bc-mid) 100%);
  border-color: var(--bc-deep);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(11, 74, 82, 0.28);
}

.issue-chip.active .chip-dot {
  background-color: var(--bc-light) !important;
}

/* Schedule Pill */
.schedule-pill {
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid var(--bc-pale2);
  background: #ffffff;
  border-radius: 0.75rem;
}

.schedule-pill:hover {
  border-color: var(--bc-mid);
  background: var(--bc-pale);
}

.schedule-pill.active {
  border-color: var(--bc-mid);
  background: #eef8f9;
  box-shadow: 0 2px 10px rgba(15, 122, 131, 0.15);
}

/* Custom Checkbox */
.custom-checkbox {
  appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid var(--bc-mid);
  border-radius: 0.35rem;
  background-color: #ffffff;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.custom-checkbox:checked {
  background-color: var(--bc-mid);
  border-color: var(--bc-mid);
}

.custom-checkbox:checked::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  background-color: #ffffff;
}

/* Pulse badge */
.pulse-badge {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.pulse-badge::before {
  content: '';
  position: absolute;
  left: -8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--bc-light);
  box-shadow: 0 0 0 0 rgba(94, 207, 216, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(94, 207, 216, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(94, 207, 216, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(94, 207, 216, 0);
  }
}

/* Modal Backdrop */
.modal-backdrop {
  background: rgba(11, 74, 82, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
