:root {
  --bg: #000000;
  --card: #111111;
  --card-elevated: #1a1a1a;
  --purple: #d4a0ff;
  --purple-deep: #9b6fd4;
  --purple-glow: rgba(212, 160, 255, 0.35);
  --purple-muted: rgba(212, 160, 255, 0.12);
  --orange: #ff5300;
  --orange-hot: #ff5300;
  --orange-glow: rgba(255, 83, 0, 0.25);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shell-pad: clamp(1.25rem, 4vw, 4rem);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Full viewport page */
.page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(212, 160, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(212, 160, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
}

.page-glow {
  position: absolute;
  top: 15%;
  left: 28%;
  transform: translateX(-50%);
  width: 55%;
  height: 65%;
  background: radial-gradient(
    ellipse 50% 55% at 50% 40%,
    rgba(212, 160, 255, 0.18) 0%,
    rgba(212, 160, 255, 0.05) 45%,
    transparent 70%
  );
  filter: blur(40px);
}

.top-banner {
  position: relative;
  z-index: 25;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  line-height: 1.4;
}

/* Header */
.topbar {
  position: relative;
  z-index: 20;
  flex-shrink: 0;
  padding: 1.25rem var(--shell-pad) 0;
}

.logo-link {
  display: inline-block;
  line-height: 0;
}

.logo-img {
  display: block;
  height: clamp(22px, 2.5vw, 36px);
  width: auto;
  filter: brightness(0) invert(1);
}

/* Main split layout — first screen */
.layout {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  min-height: 100dvh;
  width: 100%;
}

.hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coin-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.coin {
  position: absolute;
  width: var(--size, 44px);
  height: var(--size, 44px);
  border-radius: 50%;
  padding: 2px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  animation: coin-float var(--dur, 7s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transform: translate(-50%, -50%);
  left: var(--x, 50%);
  top: var(--y, 50%);
  opacity: 0.7;
}

.coin img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

@keyframes coin-float {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0) rotate(0deg);
    opacity: 0.75;
  }
  50% {
    transform: translate(-50%, -50%) translateY(-16px) rotate(6deg);
    opacity: 1;
  }
}

.device-wrap {
  position: relative;
  z-index: 6;
}

.device-glow {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: clamp(220px, 40vw, 420px);
  height: clamp(300px, 50vw, 520px);
  background: radial-gradient(ellipse, var(--purple-glow) 0%, transparent 70%);
  filter: blur(50px);
  opacity: 0.6;
}

.device-ring {
  display: none;
}

.device-img {
  position: relative;
  display: block;
  width: clamp(200px, 28vw, 380px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 40px rgba(212, 160, 255, 0.2));
  z-index: 2;
}

/* Pitch / CTA column */
.pitch {
  position: relative;
  z-index: 10;
  padding: 1.5rem var(--shell-pad) 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pitch-inner {
  width: 100%;
  max-width: 560px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--purple-muted);
  color: var(--purple);
  font-size: clamp(0.62rem, 1vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 160, 255, 0.25);
  margin-bottom: 1.5rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 0 rgba(212, 160, 255, 0.6);
  animation: live-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes live-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(212, 160, 255, 0.55);
  }
  50% {
    opacity: 0.85;
    box-shadow: 0 0 0 6px rgba(212, 160, 255, 0);
  }
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

h1 .accent {
  color: var(--purple);
}

.sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text);
  margin-bottom: 0.6rem;
}

.sub strong {
  font-weight: 700;
}

.fine {
  font-size: clamp(0.88rem, 1.2vw, 1.05rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 42ch;
  margin: 0 auto 2rem;
}

.cta {
  position: relative;
  overflow: hidden;
  width: auto;
  max-width: none;
  padding: 0.95rem 1.65rem;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.25;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: none;
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
  white-space: nowrap;
}

.pitch .cta {
  width: 100%;
  max-width: 420px;
  padding: clamp(0.95rem, 1.5vw, 1.1rem) clamp(1.75rem, 3vw, 2.25rem);
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: normal;
}

.cta:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.cta:active {
  transform: translateY(0);
  opacity: 0.92;
}

.cta.cta-vip {
  background: #ff5f00;
  color: #fff;
}

.cta.cta-vip:hover {
  background: #ff7320;
  transform: translateY(-1px);
  opacity: 1;
}

.cta.cta-vip:active {
  background: #e55500;
  transform: translateY(0);
  opacity: 1;
}

.booking-main .cta,
.cta.cta-sm,
.cta.cta-seed {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.25;
  width: auto;
  max-width: none;
  white-space: nowrap;
}

.cta-sm {
  padding: 0.85rem 1.5rem;
}

.cta.cta-seed {
  padding: 0.85rem 1.55rem;
}

.secure {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

/* Desktop: side-by-side full bleed */
@media (min-width: 900px) {
  .layout {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: 1fr;
    align-items: stretch;
    min-height: 100dvh;
    max-width: 100%;
    padding: 0 var(--shell-pad) 2rem;
    gap: clamp(2rem, 5vw, 6rem);
  }

  .booking-head {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
  }

  .hero {
    min-height: 0;
    justify-content: flex-end;
  }

  .hero-stage {
    min-height: 100%;
    max-width: none;
  }

  .page-glow {
    left: 38%;
  }

  .pitch {
    padding: 0;
    justify-content: center;
    align-items: center;
  }

  .pitch-inner {
    max-width: 520px;
    text-align: left;
    margin-left: 0;
  }

  .fine {
    margin-left: 0;
    margin-right: 0;
  }

  .pitch .cta {
    margin-left: 0;
    max-width: 100%;
  }

  .secure {
    justify-content: flex-start;
  }

  .device-img {
    width: clamp(280px, 32vw, 420px);
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 4rem;
  }

  .device-img {
    width: clamp(320px, 28vw, 440px);
  }

  .coin {
    /* slightly larger coins on big screens via JS vars optional */
  }
}

@media (min-width: 1600px) {
  .layout {
    max-width: 1800px;
    margin: 0 auto;
  }
}

/* Inline booking section */
.booking {
  position: relative;
  z-index: 15;
  width: 100%;
  padding: 4rem var(--shell-pad) 5rem;
  scroll-margin-top: 1.5rem;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 8%);
  border-top: 1px solid var(--border-subtle);
}

.booking-anchor {
  position: absolute;
  top: -2rem;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.booking.is-highlight .booking-card {
  border-color: rgba(212, 160, 255, 0.4);
  box-shadow:
    0 0 0 1px rgba(212, 160, 255, 0.15),
    0 0 48px rgba(212, 160, 255, 0.12);
}

.booking-head {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.booking-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.6rem;
}

.booking-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.booking-lead {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 auto;
}

.booking-card {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.booking-card::before {
  content: none;
}

.booking-side {
  padding: 2rem 1.75rem;
  background: var(--card-elevated);
  border-right: 1px solid var(--border);
}

.concierge-logo {
  display: block;
  height: 28px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}

.concierge-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.concierge-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.perks li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 1.25rem;
  position: relative;
}

.perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

.booking-main {
  padding: 2rem 2rem 2.5rem;
  position: relative;
  z-index: 1;
}

.steps {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.step {
  flex: 0 1 auto;
  min-width: 4.5rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: default;
  transition: all 0.2s;
}

.step.active {
  background: var(--purple-muted);
  border-color: rgba(212, 160, 255, 0.35);
  color: #fff;
}

.step.done {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--purple);
}

.panel {
  display: none;
}

.panel.active {
  display: block;
  animation: panel-in 0.35s ease;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cal-head h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.cal-head button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.cal-head button:hover {
  border-color: rgba(212, 160, 255, 0.4);
  background: var(--purple-muted);
}

.cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.cal-day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.cal-day:hover:not(:disabled) {
  background: var(--purple-muted);
  border: 1px solid rgba(212, 160, 255, 0.2);
}

.cal-day.selected {
  background: var(--text);
  color: var(--bg);
  box-shadow: none;
}

.cal-day:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  background: transparent;
}

.cal-day.empty {
  visibility: hidden;
  pointer-events: none;
}

.hint,
.panel-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1rem;
}

.panel-label {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--purple);
  font-weight: 600;
  font-size: 0.95rem;
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.slot {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.slot:hover {
  border-color: rgba(212, 160, 255, 0.35);
  background: var(--purple-muted);
}

.slot.selected {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.ghost {
  margin-top: 1rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
}

.ghost:hover {
  color: #fff;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}

.panel[data-panel="3"] {
  max-width: 28rem;
}

.panel[data-panel="3"] .panel-label {
  line-height: 1.45;
  word-break: normal;
}

.panel[data-panel="3"] .form {
  width: 100%;
  max-width: 28rem;
}

.panel[data-panel="3"] .form .cta {
  align-self: flex-start;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 520px) {
  .panel[data-panel="3"] {
    max-width: 32rem;
  }

  .panel[data-panel="3"] .form {
    max-width: 32rem;
  }

  .panel[data-panel="3"] .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.field label span {
  font-weight: 400;
  opacity: 0.7;
}

.field {
  width: 100%;
}

.field input,
.field textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: normal;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(212, 160, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(212, 160, 255, 0.12);
}

.panel-done {
  text-align: center;
  padding: 2rem 0;
}

.done-ring {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--purple-muted);
  border: 1px solid rgba(212, 160, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}

.panel-done h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.panel-done p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

/* Ledger connect & verify */
.ledger-flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.flow-steps {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.25s;
}

.flow-step.active {
  border-color: rgba(212, 160, 255, 0.35);
  background: var(--purple-muted);
  color: #fff;
}

.flow-step.done {
  border-color: var(--border);
  color: var(--purple);
}

.flow-step.done .flow-icon {
  background: var(--purple-muted);
  color: var(--purple);
}

.flow-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.flow-step.active .flow-icon {
  background: var(--text);
  color: var(--bg);
}

.connect-box {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.connect-box.is-searching {
  border-color: rgba(212, 160, 255, 0.35);
  box-shadow: 0 0 32px rgba(212, 160, 255, 0.1);
}

.connect-box.is-searching .connect-device-img {
  animation: device-pulse 1.2s ease-in-out infinite;
}

@keyframes device-pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

.connect-box.is-connected {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.12);
}

.connect-loading {
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.loader-ring {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--purple);
  border-right-color: rgba(255, 255, 255, 0.4);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.loading-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.manual-fail-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.manual-fail-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.manual-fail-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fecaca;
  margin-bottom: 0.2rem;
}

.manual-fail-sub {
  font-size: 0.82rem;
  color: var(--muted);
}

.manual-device {
  font-size: 0.88rem;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.panel[data-panel="5"] {
  max-width: 42rem;
  margin: 0 auto;
}

.panel[data-panel="5"] .manual-fail-banner,
.panel[data-panel="5"] .manual-device {
  max-width: 100%;
}

.seed-form {
  text-align: left;
  width: 100%;
}

.panel[data-panel="5"] .seed-actions {
  display: flex;
  justify-content: center;
  align-items: center;
}

.panel[data-panel="5"] .seed-actions .cta {
  flex: 0 0 auto;
  align-self: center;
}

.seed-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.seed-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.seed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-bottom: 1rem;
}

@media (min-width: 700px) {
  .seed-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.seed-cell {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.seed-num {
  font-size: 0.6rem;
  color: var(--muted);
  font-weight: 600;
}

.seed-cell input {
  width: 100%;
  padding: 0.5rem 0.45rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.78rem;
  font-family: var(--font-body);
}

.seed-cell input:focus {
  outline: none;
  border-color: var(--purple);
}

.seed-cell input.invalid {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.seed-error {
  font-size: 0.82rem;
  color: #fca5a5;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  text-align: center;
}

.connect-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

.seed-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0 0.75rem;
}

.cta.cta-seed:disabled {
  opacity: 0.7;
  transform: none;
  cursor: default;
}

.connect-device-img {
  width: 100px;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
}

.connect-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.connect-msg {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 40ch;
  margin: 0 auto 1.25rem;
}

.connect-hint {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.verified-card {
  text-align: center;
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: linear-gradient(160deg, rgba(34, 197, 94, 0.12) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.verified-model {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.verified-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.otp-box {
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
}

.otp-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.otp-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.otp-device {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.otp-screen {
  width: 200px;
  padding: 1.25rem 1rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.otp-screen-label {
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.otp-code {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #fff;
}

.otp-screen-action {
  font-size: 0.5rem;
  color: var(--muted);
  text-align: center;
}

.otp-timer {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

#confirmVerification:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 899px) {
  .booking {
    padding: 3rem 1.25rem 3.5rem;
  }

  .booking-card {
    grid-template-columns: 1fr;
  }

  .booking-side {
    display: none;
  }

  .booking-main {
    padding: 1.5rem 1.25rem 2rem;
  }

  .slots {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}
