/* ============================================
   APPOINTER PAGE - Proctor IQ
   ============================================ */

/* ================================================================
   APPOINTER HERO
   ================================================================ */
.appt-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.appt-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.appt-hero__glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 640px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.13) 0%, rgba(59,130,246,0.08) 45%, transparent 70%);
  filter: blur(48px);
}

.appt-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 65%);
}

.appt-hero__inner { position: relative; z-index: 1; padding-block: var(--sp-24); }

.appt-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.appt-hero__left { display: flex; flex-direction: column; gap: var(--sp-6); }

/* Brand header */
.appt-hero__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}

.appt-hero__brand-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}

.appt-hero__brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.appt-hero__title    { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
.appt-hero__subtitle { font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.75; }

.appt-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

.appt-hero__trust {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.appt-hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.appt-hero__trust-icon { color: #34d399; }

/* App preview */
.appt-preview { position: relative; }

.appt-preview__window {
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border-hover);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
}

.appt-preview__topbar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--glass-border);
}

.appt-preview__dot { width: 10px; height: 10px; border-radius: 50%; }

.appt-preview__url {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: center;
}

.appt-preview__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.appt-preview__section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

.appt-calendar-preview {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: var(--sp-4);
}

.appt-calendar-preview__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-3);
  font-size: 0.8125rem;
  font-weight: 600;
}

.appt-calendar-preview__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
  font-size: 0.6875rem;
}

.appt-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 500;
  color: var(--text-secondary);
}
.appt-cal-day--hdr      { color: var(--text-muted); font-weight: 600; }
.appt-cal-day--muted    { opacity: 0.3; }
.appt-cal-day--selected { background: var(--accent); color: #fff; font-weight: 700; }
.appt-cal-day--avail    { cursor: pointer; }
.appt-cal-day--avail:hover { background: var(--glass-bg-hover); }

.appt-payment-confirm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
}
.appt-payment-confirm__label  { font-size: 0.8125rem; color: var(--text-secondary); }
.appt-payment-confirm__amount { font-size: 0.9375rem; font-weight: 700; color: #34d399; }

/* ================================================================
   PROBLEM / SOLUTION
   ================================================================ */
.problem-solution {
  background: var(--bg-surface);
  border-block: 1px solid var(--glass-border);
  padding-block: var(--sp-16);
}

.problem-solution__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

.problem-card {
  padding: var(--sp-6);
  border-radius: var(--r-lg);
}

.problem-card--before {
  background: rgba(239,68,68,0.05);
  border: 1px solid rgba(239,68,68,0.14);
}
.problem-card--after {
  background: rgba(16,185,129,0.05);
  border: 1px solid rgba(16,185,129,0.14);
}

.problem-card__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}
.problem-card--before .problem-card__label { color: #f87171; }
.problem-card--after  .problem-card__label { color: #34d399; }

.problem-card__list { display: flex; flex-direction: column; gap: var(--sp-3); }

.problem-card__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.problem-card__icon--bad  { color: #f87171; flex-shrink: 0; margin-top: 1px; }
.problem-card__icon--good { color: #34d399; flex-shrink: 0; margin-top: 1px; }

/* ================================================================
   FEATURES
   ================================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-6);
}

.feature-card__icon {
  width: 44px; height: 44px;
  background: var(--accent-glow);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
}

.feature-card__title { font-size: 1rem;    font-weight: 700; }
.feature-card__desc  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 19px;
  left: calc(16.67% + 8px);
  right: calc(16.67% + 8px);
  height: 1px;
  border-top: 1px dashed rgba(99,102,241,0.35);
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
  position: relative;
  z-index: 1;
}

.how-step__num {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.how-step__title { font-size: 1rem; font-weight: 700; }
.how-step__desc  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* ================================================================
   TARGET AUDIENCE
   ================================================================ */
.targets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: var(--sp-4);
}

.target-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  transition: border-color var(--t-base), transform var(--t-base);
}
.target-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-2px); }

.target-card__icon {
  width: 40px; height: 40px;
  background: var(--accent-glow);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
  flex-shrink: 0;
}

.target-card__label { font-size: 0.9375rem; font-weight: 600; color: var(--text-secondary); }

/* ================================================================
   FINAL CTA
   ================================================================ */
.appt-cta {
  text-align: center;
  padding: var(--sp-24) var(--sp-6);
  background: var(--bg-surface);
  border-top: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.appt-cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(99,102,241,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.appt-cta__inner { position: relative; z-index: 1; max-width: 560px; margin-inline: auto; }
.appt-cta__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: var(--sp-4); }
.appt-cta__text  { font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: var(--sp-8); }
.appt-cta__actions { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); flex-wrap: wrap; }

.appt-cta__note { font-size: 0.8125rem; color: var(--text-muted); margin-top: var(--sp-4); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .appt-hero__layout { grid-template-columns: 1fr; gap: var(--sp-10); }
}

@media (max-width: 768px) {
  .problem-solution__grid,
  .how-steps            { grid-template-columns: 1fr; }
  .how-steps::before    { display: none; }
  .features-grid        { grid-template-columns: 1fr 1fr; }
  .appt-hero__ctas      { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}
