/* Shared styles for the Slotara embed demo pages (sample third-party websites). */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #111827;
  background: #ffffff;
  line-height: 1.6;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ─── Slotara demo bar ─── */
.demo-bar { background: #14122e; color: #e0e7ff; font-size: 14px; position: relative; z-index: 20; }
.demo-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.demo-bar__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; color: #fff; }
.demo-bar__brand small { font-weight: 500; color: #a5b4fc; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.demo-bar__logo { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.demo-bar__tabs { display: flex; gap: 4px; background: rgba(255,255,255,.06); padding: 4px; border-radius: 10px; }
.demo-bar__tabs a { text-decoration: none; padding: 6px 12px; border-radius: 7px; color: #c7d2fe; font-weight: 500; white-space: nowrap; transition: background .15s, color .15s; }
.demo-bar__tabs a:hover { background: rgba(255,255,255,.08); color: #fff; }
.demo-bar__tabs a[aria-current="page"] { background: #fff; color: #1e1b4b; }
.demo-bar__back { text-decoration: none; color: #34d399; font-weight: 600; white-space: nowrap; }
.demo-bar__back:hover { color: #6ee7b7; }
.demo-bar__note { margin: 0; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #a5b4fc; }
.demo-bar__note strong { color: #fff; font-weight: 600; }
@media (max-width: 720px) {
  .demo-bar__tabs { order: 3; width: 100%; overflow-x: auto; }
}

/* ─── Sample business site ─── */
.site-header { background: #fff; border-bottom: 1px solid #eef0f4; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; text-decoration: none; }
.site-logo__mark { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--brand); }
.site-nav { display: flex; gap: 28px; font-size: 15px; color: #4b5563; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--brand); }
@media (max-width: 820px) { .site-nav { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 12px; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -6px var(--brand-shadow); }
.btn--brand:hover { background: var(--brand-dark); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

.hero { color: #fff; background: var(--hero); padding: 96px 0 104px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.12); padding: 6px 12px; border-radius: 999px; }
.hero h1 { margin: 20px 0 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -.025em; max-width: 720px; }
.hero p { margin: 18px 0 0; font-size: 18px; max-width: 560px; color: rgba(255,255,255,.85); }
.hero__actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { margin-top: 48px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stats strong { display: block; font-size: 28px; letter-spacing: -.02em; }
.hero__stats span { font-size: 14px; color: rgba(255,255,255,.75); }

.section { padding: 88px 0; }
.section--tint { background: #f8fafc; border-top: 1px solid #eef0f4; border-bottom: 1px solid #eef0f4; }
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.section h2 { margin: 10px 0 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.02em; }
.section__head p { margin: 14px 0 0; color: #4b5563; font-size: 17px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }
.tile { background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 1px 2px rgba(15,15,30,.04), 0 10px 30px rgba(15,15,30,.06); border: 1px solid #eef0f4; }
.tile__icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand-dark); }
.tile h3 { margin: 18px 0 0; font-size: 18px; letter-spacing: -.01em; }
.tile p { margin: 8px 0 0; color: #4b5563; font-size: 15px; }
.tile__price { margin-top: 16px; font-weight: 700; color: var(--brand-dark); }

/* Booking widget frame */
.booking { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
@media (max-width: 940px) { .booking { grid-template-columns: 1fr; } }
.booking__aside h2 { margin-top: 10px; }
.booking__aside p { color: #4b5563; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 15px; color: #374151; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; margin-top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.booking__frame { background: #fff; border-radius: 20px; padding: 8px; border: 1px solid #e5e7eb; box-shadow: 0 30px 60px -20px rgba(15,15,30,.18); min-height: 400px; }
.booking__frame iframe, .booking__frame [data-slotara] iframe { border-radius: 14px; }

/* "How this page is built" code panel */
.code-panel { background: #0f172a; color: #e2e8f0; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(15,23,42,.5); }
.code-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.code-panel__title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.code-panel__dots { display: flex; gap: 6px; }
.code-panel__dots i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.code-panel__dots i:nth-child(1) { background: #f87171; }
.code-panel__dots i:nth-child(2) { background: #fbbf24; }
.code-panel__dots i:nth-child(3) { background: #34d399; }
.code-panel__copy { font: inherit; font-size: 13px; font-weight: 600; color: #c7d2fe; background: rgba(255,255,255,.08); border: 0; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.code-panel__copy:hover { background: rgba(255,255,255,.14); color: #fff; }
.code-panel pre { margin: 0; padding: 20px 22px; overflow-x: auto; font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; line-height: 1.7; }
.code-panel .c { color: #64748b; }
.code-panel .t { color: #f472b6; }
.code-panel .a { color: #93c5fd; }
.code-panel .s { color: #6ee7b7; }
.code-panel__foot { padding: 14px 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #94a3b8; }
.code-panel__foot a { color: #a5b4fc; }

.site-footer { background: #0b0f19; color: #9ca3af; padding: 48px 0; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer strong { color: #fff; }
.site-footer a { color: #c7d2fe; }
