/* Sublime Labs — booking page styles (loads after sublime-landing.css) */

body.booking {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ---------- animated background stage ---------- */
.bg-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

/* ---------- light spots (real slime-splat PNGs, used as soft glows) ---------- */
.slime-spot {
  position: absolute;
  transform: translate(-50%, -50%);
}
.slime-spot .spot-img {
  display: block;
  opacity: 0.28;
  filter: blur(2px) drop-shadow(0 0 26px rgba(168, 201, 34, 0.35));
}
.slime-spot .spot-breathe {
  animation: spotBreathe 9s ease-in-out infinite alternate;
}
@keyframes spotBreathe {
  from { transform: scale(1) rotate(-1.5deg); }
  to   { transform: scale(1.06) rotate(1.5deg); }
}

/* ---------- crawling slime cubes (from sublime-crawling-cubes) ---------- */
.slime-traveler {
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 72px;
  z-index: 2;
  will-change: transform;
}
.slime-crawl-lurch { position: relative; width: 100%; height: 100%; }
.slime-crawl-inch {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: 50% 100%;
  animation: slimeInch 2s ease-in-out infinite;
  z-index: 2;
}
.slime-crawl-mirror {
  position: relative;
  width: 100%;
  height: 100%;
  transform: scaleX(-1);
  z-index: 2;
}
.slime-crawl-trail { position: absolute; width: 200px; height: 30px; }
.slime-crawl-trail.head-right svg {
  transform-origin: right center;
  animation: slimeTailPulse 2s ease-in-out infinite;
}
.slime-crawl-trail.head-left svg {
  transform-origin: left center;
  animation: slimeTailPulse 2s ease-in-out infinite;
}

/* body squash-stretch synced with each push */
@keyframes slimeInch {
  0%, 100% { transform: scale(0.94, 1.04); }
  30%      { transform: scale(1.16, 0.90); }
  60%      { transform: scale(0.95, 1.03); }
}
/* surge-and-stop (snail fighting friction), 2s sub-cycle */
@keyframes slimeLurchRight {
  0%   { transform: translateX(-23px); animation-timing-function: ease-in-out; }
  45%  { transform: translateX(23px);  animation-timing-function: linear; }
  100% { transform: translateX(-23px); }
}
@keyframes slimeLurchLeft {
  0%   { transform: translateX(23px);  animation-timing-function: ease-in-out; }
  45%  { transform: translateX(-23px); animation-timing-function: linear; }
  100% { transform: translateX(23px); }
}
@keyframes slimeLurchDownRight {
  0%   { transform: translate(-18px,-9px); animation-timing-function: ease-in-out; }
  45%  { transform: translate(18px,9px);   animation-timing-function: linear; }
  100% { transform: translate(-18px,-9px); }
}
@keyframes slimeLurchDownLeft {
  0%   { transform: translate(20px,-10px);  animation-timing-function: ease-in-out; }
  45%  { transform: translate(-20px,10px);  animation-timing-function: linear; }
  100% { transform: translate(20px,-10px); }
}
@keyframes slimeTailPulse {
  0%   { transform: scaleX(1); }
  40%  { transform: scaleX(1.2); }
  75%  { transform: scaleX(0.96); }
  100% { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .slime-traveler, .slime-crawl-lurch, .slime-crawl-inch,
  .slime-crawl-trail svg, .slime-spot .spot-breathe { animation: none !important; }
  .slime-crawl-trail { display: none; }
}

/* ---------- page content ---------- */
.booking-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 72px;
}
.booking-inner {
  width: 100%;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.booking-inner h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 18px 0 14px;
  text-wrap: balance;
}
.booking-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 520px;
  margin: 0 0 14px;
  text-wrap: pretty;
}
.booking-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-60);
  margin-bottom: 36px;
}
.booking-trust span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- voice agent live panel ---------- */
.voice-agent {
  width: 100%;
  max-width: 560px;
  margin: 4px 0 34px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px 16px 18px;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 18px 44px -22px rgba(27, 42, 31, 0.55);
  position: relative;
  overflow: hidden;
}
.voice-agent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 160% at 0% 50%, rgba(168, 201, 34, 0.22), transparent 55%);
  pointer-events: none;
}
/* pulsing orb with concentric rings */
.va-orb {
  position: relative;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
}
.va-orb .ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1.5px solid rgba(198, 244, 50, 0.55);
  animation: vaRing 2.6s ease-out infinite;
}
.va-orb .ring:nth-child(2) { animation-delay: 0.9s; }
.va-orb .ring:nth-child(3) { animation-delay: 1.8s; }
.va-orb .core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 0 18px rgba(198, 244, 50, 0.6);
  animation: vaCore 2.6s ease-in-out infinite;
}
@keyframes vaRing {
  0%   { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes vaCore {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}
/* live waveform bars */
.va-mid { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.va-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
}
.va-wave i {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: var(--accent);
  animation: vaBar 1.1s ease-in-out infinite;
}
@keyframes vaBar {
  0%, 100% { height: 6px; opacity: 0.55; }
  50%      { height: 24px; opacity: 1; }
}
.va-caption {
  font-size: 13.5px;
  color: rgba(250, 246, 237, 0.82);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 18px;
  text-align: left;
}
.va-caption .va-cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: -2px;
  animation: vaBlink 1s steps(2) infinite;
}
@keyframes vaBlink { 50% { opacity: 0; } }
.va-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.va-badge .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(198, 244, 50, 0.6);
  animation: vaLive 1.6s ease-out infinite;
}
@keyframes vaLive {
  0%   { box-shadow: 0 0 0 0 rgba(198, 244, 50, 0.55); }
  100% { box-shadow: 0 0 0 10px rgba(198, 244, 50, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .va-orb .ring, .va-orb .core, .va-wave i, .va-caption .va-cursor, .va-badge .live-dot {
    animation: none !important;
  }
}
@media (max-width: 560px) {
  .voice-agent { gap: 14px; padding: 14px 18px; border-radius: 24px; }
  .va-badge span.va-badge-txt { display: none; }
}

/* calendar card */
.booking-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--ink-12);
  border-radius: 22px;
  box-shadow: 0 24px 60px -28px rgba(27, 42, 31, 0.28);
  padding: 18px;
}
.calendly-slot {
  min-height: 600px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* placeholder shown until the Calendly embed is pasted in */
.calendly-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--ink-40);
  border: 2px dashed var(--ink-12);
  border-radius: 14px;
  width: 100%;
  align-self: stretch;
  justify-content: center;
  padding: 40px;
}
.calendly-placeholder .cal-glyph {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.calendly-placeholder .t1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}
.calendly-placeholder .t2 {
  font-size: 14.5px;
  max-width: 360px;
  line-height: 1.55;
  color: var(--ink-60);
}

/* slim footer */
.booking-foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  font-size: 13.5px;
  color: var(--ink-40);
}

@media (max-width: 720px) {
  .calendly-slot { min-height: 520px; }
  .booking-trust { gap: 14px; }
}

/* ---------- Cal.com inline embed ---------- */
.cal-embed {
  position: relative;
  width: 100%;
  min-height: 640px;
  border-radius: 14px;
  overflow: hidden;
}
.cal-embed iframe { border-radius: 14px; }
/* loading state shown until Cal paints its iframe over it */
.cal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink-40);
}
.cal-loading .cal-glyph {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-loading .t1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}

@media (max-width: 720px) {
  .cal-embed { min-height: 560px; }
}
