/* ============================================================
   Demo Landing Page — Premium Design (FAB + Bottom Sheet)
   floWork.AI Voice
   ============================================================ */

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

:root {
  --blue: #2FCDBE;
  --blue-hover: #26a89b;
  --dark: #1d1d1f;
  --gray: #6e6e73;
  --light-gray: #f5f5f7;
  --border: #e5e5ea;
  --white: #ffffff;
  --green: #34c759;
  --red: #ff3b30;
  --orange: #ff9500;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--light-gray);
  color: var(--dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ======== TOP BAR ======== */
.topbar {
  background: var(--dark);
  color: var(--white);
  padding: 14px 24px;
}
.topbar-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  height: 56px;
  width: auto;
}
.footer-logo {
  height: 12px;
  width: auto;
  vertical-align: middle;
  margin-left: 2px;
}
/* SVG presentation attributes har lägre specificitet än CSS — överrider fill="#fff"
   så samma logo syns mörk på de tre ljusa "Powered by"-platserna. W-bokstaven
   håller mint-färgen (samma som topbar) via tspan-regeln. */
.footer-logo text { fill: var(--dark); }
.footer-logo tspan { fill: var(--blue); }
.topbar-tagline { text-align: right; }
.topbar-headline {
  display: block;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
}
.topbar-company {
  display: block;
  font-size: 12px;
  opacity: 0.6;
}

/* ======== HERO ======== */
.hero {
  padding: 48px 24px 64px;
}
.hero-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.highlight { color: var(--blue); }
.hero-sub {
  font-size: 20px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 12px;
  max-width: 440px;
}
.hero-action {
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 20px;
  max-width: 440px;
}
.hero-note {
  font-size: 13px;
  color: #aeaeb2;
  max-width: 440px;
  line-height: 1.5;
}

/* ======== PHONE MOCKUP ======== */
.phone-wrap {
  display: flex;
  justify-content: center;
}
.phone {
  width: 300px;
  height: 620px;
  background: var(--dark);
  border-radius: 44px;
  padding: 12px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), inset 0 0 0 2px #3a3a3c;
}
.phone-notch {
  width: 120px;
  height: 28px;
  background: var(--dark);
  border-radius: 0 0 18px 18px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}

/* Website content in phone — img (screenshot) fills proportionally */
.phone-site {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border: none;
  z-index: 1;
}
/* Iframe (live site) — zoom out so desktop layout fits mobile mockup */
iframe.phone-site {
  width: 250%;
  height: 250%;
  transform: scale(0.4);
  transform-origin: 0 0;
  object-fit: unset;
}
.phone-site.hidden { display: none; }
.phone-site-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  color: var(--white);
  text-align: center;
  padding: 40px;
}
.phone-site-fallback.hidden { display: none; }
.fallback-company { font-size: 20px; font-weight: 700; }
.fallback-sub { font-size: 12px; opacity: 0.8; }

/* ======== FAB (Floating Action Button) ======== */
.fab {
  position: absolute;
  bottom: 20px;
  right: 16px;
  z-index: 15;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--blue) 0%, #26a89b 100%);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(47,205,190,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: var(--font);
}
.fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(47,205,190,0.5);
}
.fab:active { transform: scale(0.95); }
.fab.active {
  background: var(--gray);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ======== FAB MENU ======== */
.fab-menu {
  position: absolute;
  bottom: 80px;
  right: 16px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.fab-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fab-menu-btn {
  padding: 10px 16px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  white-space: nowrap;
  font-family: var(--font);
  transition: transform 0.15s;
}
.fab-menu-btn:hover { transform: scale(1.03); }

/* ======== BACKDROP ======== */
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 9;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ======== BOTTOM SHEET (shared) ======== */
.bottom-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 12;
  border-radius: 16px 16px 0 0;
  background: var(--white);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
}
.bottom-sheet.open {
  display: flex;
}
.sheet-handle {
  width: 36px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 8px auto 0;
}
.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 8px;
  flex-shrink: 0;
}
.sheet-header-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.sheet-close {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
}
.sheet-close:hover {
  background: var(--light-gray);
  color: var(--dark);
}
.sheet-footer {
  padding: 6px 14px;
  text-align: center;
  font-size: 9px;
  color: var(--gray);
  flex-shrink: 0;
  border-top: 1px solid var(--border);
}
.sheet-footer strong { color: var(--dark); }

/* ======== CHAT SHEET ======== */
#sheet-chat { height: 70%; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-bubble {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-bubble.ai {
  background: var(--light-gray);
  color: var(--dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-bubble.ai a {
  color: var(--blue-hover);
  text-decoration: underline;
  word-break: break-all;
}
.chat-bubble.user {
  background: var(--blue);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-bubble.typing {
  background: var(--light-gray);
  color: var(--gray);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  font-style: italic;
}
.chat-input-wrap {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  font-size: 13px;
  outline: none;
  font-family: var(--font);
}
.chat-input:focus { border-color: var(--blue); }
.chat-send {
  width: 34px;
  height: 34px;
  border: none;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font);
}
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }

/* ======== VOICE SHEET ======== */
#sheet-voice { height: 50%; }
.voice-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
}
.voice-avatar {
  font-size: 44px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.voice-company {
  font-size: 16px;
  font-weight: 700;
}
.voice-status {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}
.voice-timer {
  font-size: 28px;
  font-weight: 300;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}
.voice-controls {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.voice-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: var(--light-gray);
  color: var(--dark);
  font-family: var(--font);
  transition: background 0.15s;
}
.voice-btn:hover { background: var(--border); }
.voice-btn-end {
  background: var(--red);
  color: var(--white);
}
.voice-btn-end:hover { background: #e0342b; }

/* ======== BOOKING FORM (inline in chat) ======== */
.chat-booking-form {
  background: var(--light-gray);
  border-radius: 14px;
  padding: 14px 12px;
  margin: 4px 0;
  animation: fadeIn 0.2s ease;
}
.booking-form-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.booking-field {
  margin-bottom: 8px;
}
.booking-field label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.booking-field input,
.booking-field select {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font);
  outline: none;
  background: var(--white);
}
.booking-field input:focus,
.booking-field select:focus {
  border-color: var(--blue);
}
.booking-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.booking-chip {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font);
  transition: all 0.15s;
}
.booking-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.booking-chip.selected {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.booking-submit {
  width: 100%;
  padding: 9px;
  border: none;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  margin-top: 4px;
  transition: background 0.15s;
}
.booking-submit:hover {
  background: var(--blue-hover);
}

/* ======== BOOKING PREVIEW ======== */
.booking-preview {
  padding: 80px 24px;
  background: linear-gradient(135deg, #f0fdfb 0%, #e8f5f3 100%);
  text-align: center;
  animation: fadeSlideIn 0.6s ease-out;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.booking-preview.hidden { display: none; }
.booking-preview-inner { max-width: 900px; margin: 0 auto; }
.booking-preview-inner h2 {
  font-size: 28px; font-weight: 700; color: var(--dark);
  margin-bottom: 8px;
}
.booking-preview-sub {
  color: var(--gray); font-size: 16px; margin-bottom: 40px;
}
.booking-preview-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  text-align: left;
}
@media (max-width: 700px) {
  .booking-preview-cards { grid-template-columns: 1fr; }
}
.booking-preview-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.booking-preview-card-label {
  background: var(--dark); color: var(--white);
  padding: 12px 20px; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.booking-preview-card-content { padding: 24px; }
.booking-preview-card-content p { margin-bottom: 8px; line-height: 1.6; }
.booking-preview-card-content strong { color: var(--dark); }
.booking-preview-email {
  font-size: 14px; color: #333;
}
.booking-preview-email h2 {
  font-size: 22px; margin-bottom: 12px; text-align: left;
}
.booking-preview-email hr {
  border: none; border-top: 1px solid var(--border); margin: 16px 0;
}

/* ======== CTA ======== */
.cta {
  background: var(--white);
  padding: 64px 24px;
  text-align: center;
}
.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}
.cta h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}
.cta-trial {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 20px;
}
.cta-price {
  color: var(--blue);
  font-weight: 700;
}
.cta-landing-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  margin: 0 auto 32px;
  background: var(--dark);
  color: var(--white);
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font);
  transition: transform 0.15s ease, background 0.15s ease;
  max-width: 90%;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}
.cta-landing-link:hover {
  background: #000;
  transform: translateY(-1px);
}
.cta-landing-icon {
  font-size: 22px;
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}
.cta-landing-link strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}
.cta-landing-sub {
  display: block;
  font-size: 13px;
  opacity: 0.75;
  font-weight: 400;
  margin-top: 2px;
}
.cta-divider {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin: 0 auto 32px;
}
.cta-cal-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-cal-sub {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 32px;
}
.cta-calendar {
  margin-bottom: 32px;
  min-height: 200px;
  background: var(--light-gray);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cta-calendar iframe {
  width: 100%;
  height: 600px;
  border: none;
}
/* ======== Lead Form (alternativ till kalendern) ======== */
.lead-form-wrap {
  margin: 40px auto 24px;
  max-width: 640px;
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  position: relative;
}
.lead-form-head {
  text-align: center;
  margin-bottom: 24px;
}
.lead-form-badge {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47, 205, 190, 0.25);
  margin-bottom: 12px;
}
.lead-form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.lead-form-sub {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.55;
  max-width: 460px;
  margin: 0 auto;
}
.lead-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.lead-form-field {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}
.lead-form-field em {
  color: var(--gray);
  font-weight: 500;
  font-style: normal;
}
.lead-form-field span {
  margin-bottom: 6px;
}
.lead-form-field-full {
  margin-bottom: 16px;
}
.lead-form-field input,
.lead-form-field textarea {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lead-form-field textarea {
  resize: vertical;
  min-height: 78px;
  line-height: 1.5;
}
.lead-form-field input::placeholder,
.lead-form-field textarea::placeholder {
  color: #9a9aa0;
}
.lead-form-field input:focus,
.lead-form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 205, 190, 0.18);
}
.lead-form-field.invalid input,
.lead-form-field.invalid textarea {
  border-color: var(--red);
}
.lead-form-submit {
  display: block;
  width: 100%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
  margin-top: 4px;
}
.lead-form-submit:hover { background: var(--blue-hover); }
.lead-form-submit:active { transform: translateY(1px); }
.lead-form-submit:disabled {
  background: #9bdfd5;
  cursor: not-allowed;
  transform: none;
}
.lead-form-privacy {
  font-size: 12px;
  color: var(--gray);
  margin-top: 12px;
  text-align: center;
  line-height: 1.5;
}
.lead-form-error {
  font-size: 13px;
  color: var(--red);
  text-align: center;
  margin-top: 10px;
}
.lead-form-error.hidden { display: none; }
.lead-form-success {
  text-align: center;
  padding: 16px 8px 4px;
}
.lead-form-success.hidden { display: none; }
.lead-form-success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}
.lead-form-success h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.lead-form-success p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
  max-width: 380px;
  margin: 0 auto;
}

.cta-alt {
  font-size: 14px;
  color: var(--gray);
  margin-top: 16px;
}
.cta-email {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
.cta-email:hover { text-decoration: underline; }

/* ======== FOOTER ======== */
.footer {
  padding: 24px;
  text-align: center;
  font-size: 12px;
  color: #aeaeb2;
}
.footer strong { color: var(--gray); }

/* ======== ERROR OVERLAY ======== */
.error-overlay {
  position: fixed;
  inset: 0;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.error-overlay.hidden { display: none; }
.error-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 48px 36px;
  text-align: center;
  max-width: 400px;
}
.error-icon { font-size: 48px; margin-bottom: 16px; }
.error-card h2 { font-size: 20px; margin-bottom: 10px; }
.error-card p { font-size: 15px; color: var(--gray); line-height: 1.5; }

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-copy h1 { font-size: 28px; }
  .hero-sub { font-size: 17px; }
  .hero-desc, .hero-action, .hero-note { max-width: 100%; }
  .phone { width: 280px; height: 580px; }
  .topbar-tagline { text-align: center; }
  .topbar-inner { justify-content: center; flex-direction: column; gap: 4px; }
  .lead-form-wrap { padding: 24px 18px; }
  .lead-form-row { grid-template-columns: 1fr; gap: 12px; }
  .lead-form-title { font-size: 18px; }
}

/* ======== DEMO QUESTION CHIPS (hero) ======== */
.hero-questions {
  margin: 20px 0 16px;
  animation: fadeIn 0.3s ease;
}
.hero-questions.hidden { display: none; }
.hero-questions-label {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 10px;
}
.hero-questions-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.hero-questions-hint {
  font-size: 12px;
  color: var(--gray);
  font-style: italic;
}
.demo-question-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.demo-question-chip:hover {
  background: var(--light-gray);
  border-color: var(--blue);
  color: var(--blue-hover);
}
.demo-question-chip:active { transform: scale(0.97); }
@media (max-width: 760px) {
  /* Mobil: chips centreras (text-align centrar inte flex-children av sig själv)
     och hint/label följer hero-copy text-center. Annars hamnar chipsen
     vänsterställda i ett centrerat block och kan se "borta" ut. */
  .hero-questions {
    margin: 16px auto 14px;
    max-width: 100%;
  }
  .hero-questions-chips {
    gap: 6px;
    justify-content: center;
  }
  .hero-questions-label,
  .hero-questions-hint {
    text-align: center;
  }
  .demo-question-chip {
    font-size: 13px;
    padding: 9px 14px;
    line-height: 1.3;
    max-width: 100%;
  }
}

/* ============================================================
   Trial Tokens Banner — Fas 0.4c token-baserad trial
   ============================================================ */
.trial-tokens-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin: 18px 0 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 13px;
  color: var(--dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  flex-wrap: wrap;
  max-width: 100%;
}
.trial-tokens-banner.hidden { display: none; }
.trial-tokens-banner.expired {
  background: #fff5f5;
  border-color: #ffd8d6;
  color: var(--red);
}
.trial-tokens-banner.low {
  background: #fff8ec;
  border-color: #ffe2a8;
  color: #8a5a00;
}
.trial-tokens-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.trial-tokens-banner.low .trial-tokens-dot { background: var(--orange); }
.trial-tokens-banner.expired .trial-tokens-dot { background: var(--red); }
.trial-tokens-text {
  font-weight: 600;
  letter-spacing: 0.01em;
}
.trial-tokens-cta {
  display: inline-block;
  margin-left: 6px;
  padding: 6px 12px;
  background: var(--blue);
  color: var(--white);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12.5px;
  transition: background 0.12s ease, transform 0.12s ease;
}
.trial-tokens-cta:hover { background: var(--blue-hover); }
.trial-tokens-cta:active { transform: scale(0.97); }
.trial-tokens-cta.hidden { display: none; }

/* Disabled röst-knapp när trial slut — Chatta-knappen funkar fortfarande */
.fab-menu-btn.disabled-trial {
  opacity: 0.55;
  cursor: not-allowed;
  position: relative;
}
.fab-menu-btn.disabled-trial::after {
  content: '🔒';
  margin-left: 6px;
  font-size: 0.85em;
}
