/* Lumen Studio — booking demo */
:root {
  --bg: #0f1419;
  --bg-soft: #161d26;
  --surface: #1c2530;
  --surface-2: #243040;
  --text: #f0f4f8;
  --muted: #8b9cb0;
  --accent: #5eead4;
  --accent-dim: rgba(94, 234, 212, 0.12);
  --accent-2: #818cf8;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --container: min(1140px, calc(100% - 2.5rem));
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
  background: rgba(94, 234, 212, 0.1);
}

.bg-glow--2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -120px;
  background: rgba(129, 140, 248, 0.08);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

h1, h2, h3, h4 {
  line-height: 1.2;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 400;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, opacity 0.3s;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #2dd4bf 100%);
  color: #0f1419;
  box-shadow: 0 8px 28px rgba(94, 234, 212, 0.25);
}

.btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(94, 234, 212, 0.35);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
}

.btn--ghost:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  margin-top: 1rem;
}

.btn--outline:hover {
  background: var(--accent-dim);
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  background: var(--accent);
  color: var(--bg);
  margin-top: 0.75rem;
}

.btn--small:hover {
  transform: translateY(-1px);
}

/* Header — stays visible always */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  transition: background 0.35s, border-color 0.35s;
}

.header--solid {
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(94, 234, 212, 0.1);
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--serif);
  font-size: 1.4rem;
}

.nav__logo span {
  color: var(--accent);
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s;
}

.nav__links a:hover {
  color: var(--accent);
}

.nav__menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav__menu span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav__menu[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__menu[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  position: relative;
  z-index: 1;
}

/* Hero */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28rem;
  margin: 1rem 0 1.75rem;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.hero__stats span {
  font-size: 0.75rem;
  color: var(--muted);
}

.hero__visual {
  position: relative;
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(94, 234, 212, 0.15);
  box-shadow: var(--shadow);
}

.hero__chip {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(15, 20, 25, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(94, 234, 212, 0.2);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero__chip strong {
  color: var(--accent);
}

.section-head {
  max-width: var(--container);
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
  text-align: center;
}

/* Services grid */
.services {
  padding: 4rem 0;
  background: var(--bg-soft);
}

.services__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.service-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 234, 212, 0.25);
  box-shadow: var(--shadow);
}

.service-pick__icon,
.service-card .service-pick__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

.service-card h4,
.service-pick h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.service-card p,
.service-pick p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.service-pick__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.service-pick__meta strong {
  color: var(--accent);
}

/* Booking section */
.book {
  padding: 5rem 0;
}

.book__layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.book__main .section-head {
  text-align: left;
  padding: 0;
  margin-bottom: 1.5rem;
}

/* Progress */
.progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.progress__step {
  flex: 1;
  min-width: 70px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  transition: color 0.3s, border-color 0.3s;
}

.progress__step span {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.progress__step.is-active {
  color: var(--text);
  border-color: var(--accent);
}

.progress__step.is-active span {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.progress__step.is-done {
  color: var(--accent);
  border-color: rgba(94, 234, 212, 0.3);
}

.progress__step.is-done span {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

/* Panels */
.panels {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.75rem;
  min-height: 320px;
}

.panel {
  animation: panelIn 0.45s var(--ease);
}

.panel[hidden] {
  display: none !important;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.panel__hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* Service picks in wizard */
.service-picks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.service-pick {
  text-align: left;
  padding: 1.25rem;
  background: var(--bg-soft);
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}

.service-pick:hover {
  border-color: rgba(94, 234, 212, 0.3);
  transform: translateY(-2px);
}

.service-pick.is-selected {
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.2);
}

/* Calendar */
.calendar {
  max-width: 360px;
}

.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.calendar__head h4 {
  font-size: 1rem;
  font-weight: 600;
}

.calendar__nav {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text);
  transition: background 0.25s, color 0.25s;
}

.calendar__nav:hover {
  background: var(--accent-dim);
  color: var(--accent);
}

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.calendar__weekdays span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 0.25rem;
}

.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 10px;
  background: var(--bg-soft);
  transition: background 0.25s, color 0.25s, transform 0.2s;
}

.cal-day:not(.cal-day--disabled):not(.cal-day--empty):hover {
  background: var(--accent-dim);
  color: var(--accent);
  transform: scale(1.05);
}

.cal-day--selected {
  background: var(--accent) !important;
  color: var(--bg) !important;
  font-weight: 700;
}

.cal-day--disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.cal-day--empty {
  background: transparent;
}

/* Time slots */
.times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.5rem;
}

.time-slot {
  position: relative;
  padding: 0.75rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  background: var(--bg-soft);
  border: 2px solid transparent;
  border-radius: 10px;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

.time-slot:hover:not(.is-taken):not(:disabled) {
  border-color: rgba(94, 234, 212, 0.4);
  transform: translateY(-2px);
}

.time-slot.is-selected {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.time-slot.is-taken {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.time-slot__tag {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
  color: var(--muted);
}

/* Details form */
.details-form .form-row {
  margin-bottom: 1rem;
}

.details-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.details-form input,
.details-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: border-color 0.25s;
}

.details-form input:focus,
.details-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.details-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* Confirmation */
.confirm {
  text-align: center;
  padding: 2rem 1rem;
}

.confirm__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent), #2dd4bf);
  border-radius: 50%;
  animation: confirmPop 0.6s var(--ease);
}

@keyframes confirmPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.confirm__card {
  margin: 1.5rem auto;
  max-width: 280px;
  padding: 1.25rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid rgba(94, 234, 212, 0.2);
  text-align: left;
  font-size: 0.9rem;
}

.confirm__card p {
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.confirm__card p:first-child {
  color: var(--text);
  font-size: 1rem;
}

/* Book nav */
.book__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

/* Summary sidebar */
.summary {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(94, 234, 212, 0.15);
  border-radius: var(--radius);
}

.summary h3 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.summary__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.summary__list span {
  color: var(--muted);
}

.summary__list strong {
  text-align: right;
  font-weight: 600;
  font-size: 0.82rem;
}

.summary__total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.summary__total strong {
  font-size: 1.35rem;
  color: var(--accent);
}

.summary__note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Reviews */
.reviews {
  padding: 4rem 0 5rem;
  background: var(--bg-soft);
}

.reviews__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.review:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 234, 212, 0.2);
}

.review p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-style: italic;
}

.review footer {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* Footer */
.footer {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.footer__note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer__note a {
  color: var(--accent);
  text-decoration: underline;
}

.footer__back {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.footer__back:hover {
  color: var(--accent);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  z-index: 400;
  padding: 0.85rem 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(94, 234, 212, 0.3);
  border-radius: 999px;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Reveal */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .book__layout {
    grid-template-columns: 1fr;
  }

  .summary {
    position: static;
    order: -1;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem;
    background: rgba(15, 20, 25, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(94, 234, 212, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease), opacity 0.4s, visibility 0.4s;
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__menu {
    display: flex;
  }

  .progress__step {
    font-size: 0;
  }

  .progress__step span {
    font-size: 0.7rem;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .panel {
    animation: none;
  }

  .hero__chip-dot {
    animation: none;
  }
}
