/* =============================================================================
   Public / guest site — landing & shared chrome (matches portal accent tokens)
   ============================================================================= */
:root {
  --guest-accent: #2563eb;
  --guest-accent-soft: rgba(37, 99, 235, 0.12);
  --guest-teal: #0d9488;
  --guest-ink: #0f172a;
  --guest-muted: #64748b;
}

.guest-site-body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(165deg, #f1f5f9 0%, #e8eef5 45%, #f8fafc 100%);
  color: var(--guest-ink);
}

/* ----- Top bar ----- */
.guest-topbar {
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.guest-topbar .guest-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--guest-accent), var(--guest-teal));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.guest-topbar .guest-brand-title {
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

.guest-topbar .guest-brand-sub {
  font-size: 0.7rem;
  color: #94a3b8;
}

.guest-topbar .nav-link {
  color: #cbd5e1 !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.65rem !important;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.guest-topbar .nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}

.guest-topbar .nav-link.text-primary-emphasis {
  color: #93c5fd !important;
}

.guest-topbar .btn-guest-cta {
  border-radius: 9px;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
}

.guest-topbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.28);
}

/* ----- Layout ----- */
.guest-main {
  padding-bottom: 3rem;
}

.guest-flash-stack .alert {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

/* ----- Hero ----- */
.guest-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 48%, #0f172a 100%);
  color: #e2e8f0;
  padding: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.guest-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(37, 99, 235, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(13, 148, 136, 0.18), transparent 50%);
  pointer-events: none;
}

.guest-hero-inner {
  position: relative;
  z-index: 1;
}

.guest-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.65rem;
}

.guest-hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.guest-lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 38rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.guest-hero-actions {
  margin-top: 1.75rem;
}

.guest-hero-actions .btn {
  border-radius: 11px;
  font-weight: 600;
  padding: 0.65rem 1.15rem;
}

.guest-hero-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.guest-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.guest-meta-item .bi {
  color: var(--guest-teal);
  margin-top: 0.15rem;
}

.guest-meta-item strong {
  color: #f8fafc;
  font-size: 0.85rem;
}

.guest-meta-item span {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ----- Cards ----- */
.guest-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.35rem 1.45rem;
  height: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.guest-panel:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.07);
}

.guest-panel-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.guest-panel-icon.blue {
  background: var(--guest-accent-soft);
  color: var(--guest-accent);
}

.guest-panel-icon.teal {
  background: rgba(13, 148, 136, 0.12);
  color: var(--guest-teal);
}

.guest-panel-icon.slate {
  background: #f1f5f9;
  color: #475569;
}

.guest-panel h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.guest-panel p {
  font-size: 0.875rem;
  color: var(--guest-muted);
  margin-bottom: 0;
  line-height: 1.55;
}

.guest-panel-footer-link {
  margin-top: 1rem;
}

.guest-panel-footer-link a {
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

/* ----- Stack / pipeline ----- */
.guest-side-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}

.guest-side-card-header {
  padding: 1rem 1.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--guest-muted);
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.guest-side-card-body {
  padding: 1.25rem;
}

.guest-pipeline-step {
  display: flex;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.guest-pipeline-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.guest-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--guest-accent), var(--guest-teal));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guest-pipeline-step strong {
  font-size: 0.82rem;
  display: block;
  margin-bottom: 0.15rem;
}

.guest-pipeline-step span {
  font-size: 0.78rem;
  color: var(--guest-muted);
  line-height: 1.45;
}

.guest-tech-list li {
  font-size: 0.84rem;
  color: var(--guest-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.guest-tech-list li:last-child {
  border-bottom: 0;
}

.guest-tech-list .bi-check-lg {
  color: var(--guest-teal);
}

.guest-preview-slot {
  margin-top: 1rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border: 1px solid rgba(148, 163, 184, 0.15);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
}

.guest-preview-slot .bi {
  font-size: 2rem;
  opacity: 0.35;
  color: #94a3b8;
}

.guest-preview-slot p {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ----- Trust strip ----- */
.guest-strip {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.25rem;
}

.guest-strip-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--guest-muted);
}

/* ----- Footer ----- */
.guest-footer {
  margin-top: auto;
  padding: 2rem 0;
  color: var(--guest-muted);
  font-size: 0.82rem;
}

.guest-footer a {
  color: var(--guest-muted);
}

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