/* ==========================================================================
   EventsiQ Master Plan v7:
   - Exact EventsiQ Navy (#0b1d36 -> #153c63) & Gold (#c8a24d)
   - No global `<header>` white-bar collision on the Very First Page
   - Clean, non-duplicated buttons under the Hero headline
   ========================================================================== */

/* 1. Single Clean "← Back to First Page" Button in App Header */
#eiq-open-lovable-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0b1930;
  color: #f5f3ed;
  border: 1.5px solid #c8a24d;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

#eiq-open-lovable-home-btn:hover {
  background: #112644;
}

/* Hide the old developer testing bar so the 2nd page is 100% clean */
#eiq-ecosystem-bar,
#eiq-master-mode-switch {
  display: none !important;
}

/* 2. VERY FIRST PAGE (ORIGINAL LOVABLE LANDING PAGE "/") */
#eiq-lovable-first-page {
  position: fixed;
  inset: 0;
  background: #f5f3ed;
  color: #18314c;
  z-index: 10060;
  overflow-y: auto;
  font-family: "Plus Jakarta Sans", "Inter", "Segoe UI", Arial, sans-serif;
}

.eiq-lov-hero {
  background: linear-gradient(115deg, #0b1d36 0%, #153c63 100%);
  color: #ffffff;
  padding: 0 0 64px;
  position: relative;
  overflow: hidden;
}

.eiq-lov-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.eiq-lov-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.eiq-lov-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.eiq-lov-logo .mark {
  color: #c8a24d;
  font-size: 28px;
}

.eiq-lov-logo span:not(.mark) {
  color: #c8a24d;
}

.eiq-lov-logo sup {
  font-size: 11px;
  color: #bacde0;
  margin-left: 2px;
}

.eiq-lov-signin-top {
  background: transparent;
  color: #ffffff;
  border: 1px solid #7b9cb9;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.eiq-lov-signin-top:hover {
  background: rgba(255, 255, 255, 0.08);
}

.eiq-lov-hero-body {
  max-width: 760px;
  padding: 52px 0 12px;
}

.eiq-lov-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: #d8bd7a;
  font-weight: 800;
}

.eiq-lov-hero-body h1 {
  font-family: "Plus Jakarta Sans", "Inter", "Segoe UI", sans-serif;
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 12px 0 18px;
  color: #ffffff;
}

.eiq-lov-hero-body p {
  font-size: 17px;
  line-height: 1.55;
  color: #bacde0;
  margin: 0 0 28px;
  max-width: 680px;
}

.eiq-lov-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.eiq-lov-cta-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #c8a24d;
  color: #172740;
  border: 1px solid #a9822f;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.eiq-lov-cta-gold:hover {
  filter: brightness(0.95);
}

.eiq-lov-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  border: 1.5px solid #7b9cb9;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.eiq-lov-cta-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.eiq-lov-features {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 44px clamp(1.25rem, 5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.eiq-lov-fcard {
  flex: 1 1 320px;
  max-width: 380px;
  background: #ffffff;
  border: 1px solid #dee5eb;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 2px 6px rgba(18, 43, 69, 0.05);
}

.eiq-lov-fcard h3 {
  margin: 10px 0 6px;
  font-size: 17px;
  color: #102745;
}

.eiq-lov-fcard p {
  margin: 0;
  font-size: 13.5px;
  color: #697a8b;
  line-height: 1.5;
}

/* 3. Split-Screen Lovable "/auth" View (Simple, Clean Sign-In) */
.eiq-lov-auth-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 100vh;
}

@media (max-width: 900px) {
  .eiq-lov-auth-split {
    grid-template-columns: 1fr;
  }
}

.eiq-lov-auth-left {
  background: linear-gradient(115deg, #0b1d36 0%, #153c63 100%);
  color: #ffffff;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eiq-lov-auth-right {
  background: #f8fafc;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.eiq-gate-grid-3 {
  display: grid;
  grid-template-columns: 0.85fr 1.2fr 1.15fr;
  gap: 10px;
  margin-bottom: 14px;
}

@media (max-width: 720px) {
  .eiq-gate-grid-3 {
    grid-template-columns: 1fr;
  }
}

.eiq-gate-field {
  text-align: center;
}

.eiq-gate-field label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
  text-align: center;
}

.eiq-gate-field input,
.eiq-gate-field select {
  width: 100%;
  height: 40px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1.5px solid #93c5fd;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  background: #eff6ff;
  text-align: center;
  text-align-last: center;
}

.eiq-gate-field input:focus,
.eiq-gate-field select:focus {
  outline: none;
  border-color: #1d4ed8;
  background: #dbeafe;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18);
}

.eiq-intent-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 6px 0 14px;
}

@media (max-width: 560px) {
  .eiq-intent-cards {
    grid-template-columns: 1fr;
  }
}

.eiq-intent-card {
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 12px;
  background: #f8fafc;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.eiq-intent-card.intent-walk {
  background: #eff6ff;
  border-color: #93c5fd;
}

.eiq-intent-card.intent-booth {
  background: #fffbeb;
  border-color: #fcd34d;
}

.eiq-intent-card.intent-smart {
  background: #ecfeff;
  border-color: #67e8f9;
}

.eiq-intent-card.intent-organizer {
  background: #ecfdf5;
  border-color: #6ee7b7;
}

.eiq-intent-card.active {
  border-width: 2.5px;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.22);
  transform: translateY(-1px);
}

.eiq-intent-card strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 3px;
  text-align: center;
}

.eiq-intent-card small {
  display: block;
  font-size: 11.5px;
  color: #334155;
  line-height: 1.35;
  text-align: center;
}

.eiq-demo-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 6px 0 16px;
}

.eiq-demo-chip {
  background: #eff6ff;
  color: #1e3a8a;
  border: 1.5px solid #93c5fd;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.eiq-demo-chip.active {
  background: #f59e0b;
  color: #0f172a;
  border-color: #b45309;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.eiq-gate-submit-btn {
  background: #1d4ed8;
  color: #ffffff;
  border: 1.5px solid #1e40af;
  border-radius: 10px;
  padding: 13px 22px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  text-align: center;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.28);
}

/* 4. Welcome Splash & 4-Bubble Guided Spotlight Tour */
.eiq-tour-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.eiq-tour-card {
  width: min(560px, 94vw);
  background: #0f172a;
  color: #f8fafc;
  border: 2px solid #c8a24d;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55);
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}

.eiq-tour-step-pill {
  display: inline-block;
  background: rgba(200, 162, 77, 0.22);
  color: #fde68a;
  border: 1px solid #c8a24d;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}

.eiq-tour-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: #ffffff;
}

.eiq-tour-card p {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #cbd5e1;
}

.eiq-tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.eiq-tour-highlight-target {
  position: relative;
  z-index: 10045 !important;
  outline: 3px solid #f59e0b !important;
  box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.35) !important;
  border-radius: 8px;
}

/* 5. Inline Show Ecosystem Drawer (Show Video + Virtual Booth + Past Attendees) */
.eiq-show-eco-strip {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1.5px dashed #cbd5e1;
}

.eiq-show-eco-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 8px 12px;
}

.eiq-vbooth-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.eiq-vbooth-chip.offline {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.eiq-vbooth-chip.online {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.eiq-eco-drawer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eiq-eco-mini-btn {
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #94a3b8;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}

.eiq-eco-mini-btn.video {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
}

.eiq-eco-mini-btn.attendees {
  background: #fefce8;
  color: #854d0e;
  border-color: #fde047;
}

.eiq-show-eco-panel {
  margin-top: 10px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px;
}

.eiq-past-attendees-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin-top: 8px;
}

.eiq-past-attendees-table th {
  background: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #cbd5e1;
}

.eiq-past-attendees-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.eiq-blurred-row td {
  filter: blur(4.5px);
  user-select: none;
  pointer-events: none;
}

.eiq-lock-banner {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* 6. Ecosystem Modals (Inbound Buyer Inbox, InMail + Calendar, Organizer Hub) */
.eiq-eco-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  z-index: 10030;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.eiq-eco-modal-box {
  width: min(860px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  color: #0f172a;
  border-radius: 16px;
  border: 2px solid #cbd5e1;
  padding: 20px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}

.eiq-inbox-item {
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #f8fafc;
}

.eiq-inbox-item.blurred-msg .msg-body {
  filter: blur(5px);
  user-select: none;
}

.eiq-eco-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 162, 77, 0.18);
  border: 1px solid #c8a24d;
  color: #fde68a;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.03em;
}
