:root {
  --frame-bg: #0D0F12;
  --card-white: #FFFFFF;
  --card-soft: #F7F8FA;
  --card-blue: #0088FF;
  --card-orange: #F34F1D;
  --ink: #0F172A;
  --ink-body: #334155;
  --ink-muted: #64748B;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --accent: #F34F1D;
  --accent-2: #FF6B35;
  --blue: #0088FF;
  --cyan: #0284C7;
  --teal: #0D9488;
  --green: #059669;
  --red: #E11D48;
  --amber: #D97706;
  --purple: #7C3AED;
  --radius-xl: 28px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--frame-bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  padding: 0 0 40px;
}

/* Top Header moved to SaaS sticky header section below */

/* =========================================================================
   2. Outcrowd / FluentAI 4-Card Bento Grid Showcase
   ========================================================================= */
.bento-showcase {
  max-width: 1420px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: 18px;
}
@media (max-width: 1120px) {
  .bento-showcase { grid-template-columns: 1fr; }
}

.bento-card {
  border-radius: var(--radius-xl);
  padding: 32px 34px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Card Top Brand Row */
.bento-card-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; flex-wrap: wrap; position: relative; z-index: 2;
}
.bento-logo-dark {
  font-size: 1.22rem; font-weight: 600; color: var(--ink); letter-spacing: -0.03em;
}
.bento-logo-dark b { font-weight: 800; }
.bento-logo-dark i { font-style: normal; font-weight: 800; color: var(--card-orange); }

.bento-logo-light {
  font-size: 1.22rem; font-weight: 600; color: #FFFFFF; letter-spacing: -0.03em;
}
.bento-logo-light b { font-weight: 800; }
.bento-logo-light i { font-style: normal; font-weight: 800; opacity: 0.92; margin-left: 1px; }

.top-savings-badge {
  background: #DCFCE7; color: #166534; border: 1px solid #86EFAC;
  font-size: 0.8rem; font-weight: 800; padding: 5px 13px; border-radius: 999px;
}
.bento-corner-pill {
  background: rgba(255, 255, 255, 0.18); color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 0.78rem; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}
.sample-lead-tag {
  background: #DBEAFE; color: #1E40AF; border: 1px solid #93C5FD;
  font-size: 0.76rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: 0.03em;
}

/* ---- CARD 1: TOP-LEFT PURE WHITE (HIGH-LEGIBILITY 3x2 SELLING POINTS) ---- */
.bento-white-main {
  background: var(--card-white);
  color: var(--ink);
}
.bento-dots-bg {
  position: absolute; top: 0; right: 0; width: 42%; height: 55%;
  background-image: radial-gradient(#CBD5E1 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  mask-image: radial-gradient(circle at top right, rgba(0,0,0,0.75), transparent 70%);
  -webkit-mask-image: radial-gradient(circle at top right, rgba(0,0,0,0.75), transparent 70%);
  pointer-events: none;
}

.bento-hero-title {
  margin: 18px 0 12px;
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  position: relative; z-index: 2;
}
.bento-3d-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 2px 18px 5px;
  border-radius: 16px;
  background: linear-gradient(145deg, #29A3FF 0%, #0077EE 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.88em;
  box-shadow:
    0 10px 22px rgba(0, 136, 255, 0.35),
    inset 0 2px 3px rgba(255, 255, 255, 0.45);
  vertical-align: baseline;
  margin: 0 4px;
}
.bento-muted-word {
  color: #64748B;
  font-weight: 600;
}
.bento-hero-lead {
  margin: 0 0 22px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #334155;
  max-width: 760px;
  position: relative; z-index: 2;
}
.bento-hero-lead b { color: #0F172A; font-weight: 800; }

/* 3x2 Grid of Large, High-Contrast Selling Point Cards */
.bento-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative; z-index: 2;
}
@media (max-width: 820px) {
  .bento-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .bento-features-grid { grid-template-columns: 1fr; }
}
.bento-feat {
  cursor: pointer;
  padding: 14px 16px;
  border-radius: 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.bento-feat:hover {
  background: #FFFFFF;
  border-color: #94A3B8;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.feat-head {
  display: flex; align-items: center; gap: 11px; margin-bottom: 8px;
}
.feat-icon {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12), inset 0 2px 2px rgba(255,255,255,0.35);
}
.feat-icon svg { width: 20px; height: 20px; }
.feat-icon.blue { background: linear-gradient(145deg, #38BDF8, #0284C7); }
.feat-icon.pink { background: linear-gradient(145deg, #F472B6, #DB2777); }
.feat-icon.orange { background: linear-gradient(145deg, #FB923C, #EA580C); }
.feat-icon.yellow { background: linear-gradient(145deg, #FACC15, #CA8A04); }
.feat-icon.green { background: linear-gradient(145deg, #4ADE80, #16A34A); }
.feat-icon.purple { background: linear-gradient(145deg, #C084FC, #7E22CE); }

.feat-kicker {
  display: block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em;
  color: #0284C7; text-transform: uppercase; margin-bottom: 1px;
}
.bento-feat h3 {
  margin: 0; font-size: 0.96rem; font-weight: 800; color: #0F172A; letter-spacing: -0.015em; line-height: 1.2;
}
.bento-feat p {
  margin: 0; font-size: 0.84rem; line-height: 1.48; color: #334155; font-weight: 500;
}
.bento-feat p b { color: #0F172A; font-weight: 700; }

/* ---- CARD 2: TOP-RIGHT ELECTRIC BLUE ---- */
.bento-blue-card {
  background: linear-gradient(145deg, #0A8CFF 0%, #0070E0 100%);
  color: #FFFFFF;
}
.blue-card-layout {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 16px;
  flex: 1;
}
@media (max-width: 640px) {
  .blue-card-layout { grid-template-columns: 1fr; }
}
.blue-callouts {
  display: flex; flex-direction: column; justify-content: center; gap: 14px; position: relative; z-index: 2;
}
.white-callout-pill {
  background: #FFFFFF;
  color: var(--ink);
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 35, 80, 0.22);
  position: relative;
  cursor: pointer;
  transition: transform 0.18s ease;
}
.white-callout-pill:hover { transform: translateX(4px); }
.callout-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em;
  padding: 2px 8px; border-radius: 6px; margin-bottom: 4px;
}
.callout-badge.green { background: #DCFCE7; color: #166534; }
.callout-badge.blue { background: #DBEAFE; color: #1E40AF; }
.callout-badge.orange { background: #FFEDD5; color: #C2410C; }

.white-callout-pill h4 {
  margin: 0 0 4px; font-size: 0.98rem; font-weight: 800; color: #0F172A;
}
.white-callout-pill p {
  margin: 0; font-size: 0.83rem; line-height: 1.42; color: #334155; font-weight: 500;
}
.white-callout-pill p b { color: #0F172A; font-weight: 800; }
.callout-line { display: none; }


.blue-visual-photo-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(0, 25, 65, 0.35);
  min-height: 330px;
}
.builder-hero-img {
  width: 100%; height: 100%; min-height: 330px;
  object-fit: cover; object-position: center 18%; display: block;
}
.photo-stat-overlay {
  position: absolute;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0,0,0,0.32);
}
.photo-stat-overlay.top-stat {
  top: 12px; right: 12px;
  background: #0F172A; color: #FFFFFF;
}
.photo-stat-overlay.bottom-stat {
  bottom: 12px; left: 12px;
  background: #FFFFFF; color: #0F172A;
}

/* ---- CARD 3: BOTTOM-LEFT SIGNAL ORANGE ---- */
.bento-orange-card {
  background: linear-gradient(135deg, #F55322 0%, #E0390B 100%);
  color: #FFFFFF;
}
.orange-card-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
  flex: 1;
}
@media (max-width: 820px) {
  .orange-card-layout { grid-template-columns: 1fr; }
}
.orange-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #FFFFFF;
}
.orange-copy p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #FFFFFF;
  font-weight: 500;
}
.orange-bullet-list {
  display: grid; gap: 7px; margin-bottom: 20px;
  font-size: 0.86rem; color: #FFF7ED;
  background: rgba(0, 0, 0, 0.16); padding: 12px 14px; border-radius: 14px;
}
.orange-bullet-list b { color: #FFFFFF; font-weight: 800; }

.white-action-btn {
  appearance: none; border: none;
  background: #FFFFFF; color: var(--ink);
  font: inherit; font-size: 0.9rem; font-weight: 800;
  padding: 14px 24px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.white-action-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32); }



/* ---- CARD 4: BOTTOM-RIGHT WHITE (EXACT SAMPLE LEAD PACKET PREVIEW) ---- */
.bento-white-side {
  background: var(--card-white);
  color: var(--ink);
  justify-content: flex-start;
  gap: 12px;
}
.side-white-sub {
  margin: -4px 0 6px;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.45;
}
.side-white-title {
  margin: 12px 0 10px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--ink);
}

/* Detailed Sample Lead Packet Card */
.lead-packet-preview {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 18px;
  padding: 14px 16px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.lead-packet-preview:hover {
  border-color: var(--card-blue);
  box-shadow: 0 10px 26px rgba(0, 136, 255, 0.12);
}
.lp-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  padding-bottom: 10px; border-bottom: 1px solid #E2E8F0; margin-bottom: 10px;
}
.lp-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 800; color: #15803D;
  background: #DCFCE7; padding: 2px 8px; border-radius: 6px; margin-bottom: 3px;
}
.lp-header h4 {
  margin: 0; font-size: 0.96rem; font-weight: 800; color: #0F172A;
}
.lp-val {
  background: #0F172A; color: #FFFFFF; padding: 5px 10px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 800; text-align: right; line-height: 1.1; flex: none;
}
.lp-val span { display: block; font-size: 0.64rem; color: #94A3B8; font-weight: 600; }

.lp-grid { display: grid; gap: 7px; margin-bottom: 10px; }
.lp-item span { display: block; font-size: 0.72rem; font-weight: 700; color: #64748B; }
.lp-item b { display: block; font-size: 0.84rem; font-weight: 800; color: #0F172A; }
.lp-chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 3px; }
.lp-chips em {
  font-style: normal; font-size: 0.72rem; font-weight: 700;
  background: #E0F2FE; color: #0369A1; padding: 2px 8px; border-radius: 999px;
}

.lp-pitch-box {
  background: #EFF6FF; border-left: 3px solid #0284C7; padding: 8px 11px; border-radius: 8px;
}
.lp-pitch-box span {
  display: block; font-size: 0.68rem; font-weight: 800; color: #0369A1; letter-spacing: 0.04em; margin-bottom: 2px;
}
.lp-pitch-box p {
  margin: 0; font-size: 0.78rem; line-height: 1.42; color: #1E293B; font-weight: 500; font-style: italic;
}

/* Bottom Grey Pill Strip with Green Phone Icon & Builder Portraits */
.builder-strip-pill {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer;
  transition: background 0.18s ease;
}
.builder-strip-pill:hover { background: #E2E8F0; }
.builder-strip-pill p {
  margin: 2px 0 0; font-size: 0.78rem; line-height: 1.35; color: #475569; font-weight: 500;
}
.builder-avatars-cluster {
  display: flex; align-items: center; gap: 6px; flex: none;
}
.green-phone-circle {
  width: 50px; height: 50px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #A3E635, #4D7C0F);
  color: #FFFFFF;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(101, 163, 13, 0.38), inset 0 2px 4px rgba(255, 255, 255, 0.45);
}
.avatar-circle {
  width: 50px; height: 50px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFFFFF;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.14);
}

/* =========================================================================
   3. Interactive Workspace Shell (Crisp White Bento Aesthetic)
   ========================================================================= */
.workspace-shell {
  max-width: 1420px;
  margin: 0 auto 32px;
  box-sizing: border-box;
  background: #F8FAFC;
  border-radius: var(--radius-xl);
  padding: 26px 32px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
@media (max-width: 640px) {
  .workspace-shell { padding: 18px 16px 28px; }
}

.tabs {
  display: flex; gap: 8px; padding: 6px;
  background: #E2E8F0; border-radius: 16px;
  overflow-x: auto; margin-bottom: 24px;
}
.tab {
  appearance: none; border: none; background: transparent; color: #334155;
  font: inherit; font-size: 0.9rem; font-weight: 700; padding: 12px 18px; border-radius: 12px; cursor: pointer;
  transition: all 0.18s ease; white-space: nowrap; flex: 1; text-align: center;
}
.tab:hover { color: var(--ink); }
.tab.active {
  color: var(--ink); background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.panel { display: none; animation: rise 0.25s ease both; }
.panel.active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* Cards, Forms & Typography in Crisp Light Mode */
.card, .lead {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.form h2 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.muted { color: var(--ink-body); font-size: 0.92rem; margin: 0 0 18px; line-height: 1.55; }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.row.end { justify-content: flex-end; margin-top: 14px; }
.grow { flex: 1 1 220px; }

label { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; font-weight: 700; color: #334155; }
label.check { flex-direction: row; align-items: center; gap: 8px; padding-bottom: 10px; cursor: pointer; color: var(--ink); }
input, select, textarea {
  font: inherit; font-size: 0.92rem; color: var(--ink); background: #F8FAFC;
  border: 1px solid var(--border-strong); border-radius: 11px; padding: 10px 13px; outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input::placeholder, textarea::placeholder { color: #94A3B8; }
input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--card-orange); cursor: pointer; }
input:focus, select:focus, textarea:focus {
  background: #FFFFFF; border-color: var(--card-blue); box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.15);
}
textarea { resize: vertical; }

/* Buttons */
.btn {
  font: inherit; font-weight: 700; font-size: 0.88rem; padding: 11px 18px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--border-strong); color: var(--ink); background: #FFFFFF;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn:hover { transform: translateY(-1px); background: #F1F5F9; }
.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }

.btn.primary {
  border: none; color: #FFFFFF; font-weight: 800;
  background: linear-gradient(135deg, var(--card-orange), var(--accent-2));
  box-shadow: 0 8px 20px rgba(243, 79, 29, 0.3);
}
.btn.primary:hover { box-shadow: 0 12px 26px rgba(243, 79, 29, 0.42); }

.btn.outline {
  background: rgba(0, 136, 255, 0.08);
  border: 1px solid rgba(0, 136, 255, 0.35);
  color: #0066CC;
}
.btn.outline:hover { background: rgba(0, 136, 255, 0.14); border-color: var(--card-blue); }

.btn.ghost { background: #F8FAFC; border: 1px solid var(--border); color: #475569; }
.btn.sm { padding: 7px 13px; font-size: 0.8rem; border-radius: 9px; }
.btn.lg { padding: 13px 22px; font-size: 0.94rem; border-radius: 13px; }

.toolbar-card { padding: 16px 20px; margin-bottom: 18px; }
.toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.toolbar label { min-width: 170px; }
.toolbar-btns { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.meta { color: var(--ink-body); font-size: 0.86rem; font-weight: 600; margin: 10px 2px 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 18px; }
.section-title { margin: 32px 0 14px; font-size: 1.18rem; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }

/* =========================================================================
   4. Pricing Cards, Toggle-Switch ROI Calculator & Comparison Table
   ========================================================================= */
.pricing-header-card { margin-bottom: 24px; }
.pricing-header-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.hero-savings-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em;
  background: #DCFCE7; color: #15803D; border: 1px solid #86EFAC;
}

.toggle-switch-wrap {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; background: #F1F5F9; border: 1px solid var(--border-strong);
}
.toggle-switch-wrap input { display: none; }
.toggle-slider {
  width: 42px; height: 24px; background: #CBD5E1; border-radius: 999px; position: relative; transition: background 0.2s;
}
.toggle-slider::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  background: #FFFFFF; border-radius: 50%; transition: transform 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.toggle-switch-wrap input:checked + .toggle-slider { background: #16A34A; }
.toggle-switch-wrap input:checked + .toggle-slider::after { transform: translateX(18px); }
.toggle-label { font-size: 0.86rem; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.save-tag {
  background: #DCFCE7; color: #15803D; padding: 2px 8px; border-radius: 999px; font-size: 0.74rem; font-weight: 800;
}

.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px; align-items: stretch; margin-top: 8px;
}
.price-card {
  background: #FFFFFF; border: 1px solid var(--border); border-radius: 22px;
  padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08); }

.price-card.featured {
  border: 2.5px solid var(--card-orange);
  box-shadow: 0 20px 44px rgba(243, 79, 29, 0.14);
  transform: translateY(-6px);
}
.popular-ribbon {
  position: absolute; top: -13px; left: 24px;
  background: var(--card-orange); color: #FFFFFF;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px; box-shadow: 0 4px 12px rgba(243, 79, 29, 0.35);
}

.comp-strike-row { font-size: 0.82rem; color: var(--red); font-weight: 700; margin-bottom: 2px; }
.price-amount { font-size: 2.65rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1.08; }
.price-amount span { font-size: 0.88rem; font-weight: 600; color: #64748B; margin-left: 4px; }

.value-callout-box {
  padding: 12px 14px; border-radius: 12px;
  background: #F0FDF4; border: 1px solid #BBF7D0;
  display: flex; flex-direction: column; gap: 3px;
}
.value-callout-box .vc-top { font-size: 0.82rem; font-weight: 800; color: #15803D; }
.value-callout-box .vc-sub { font-size: 0.78rem; color: #334155; font-weight: 500; }

.price-features {
  list-style: none; margin: 6px 0 14px; padding: 0;
  display: grid; gap: 11px; font-size: 0.88rem; color: #334155; flex: 1;
}
.price-features li { display: flex; align-items: flex-start; gap: 9px; line-height: 1.45; }
.price-features li::before {
  content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: #DCFCE7; color: #15803D; font-size: 0.74rem; font-weight: 800;
  display: grid; place-items: center; margin-top: 1px;
}
.price-features li b { color: var(--ink); font-weight: 700; }

/* Interactive ROI & Price Gap Calculator */
.savings-calc-card { margin-top: 28px; }
.calc-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: center; }
@media (max-width: 860px) { .calc-grid { grid-template-columns: 1fr; } }

.calc-switches { display: grid; gap: 10px; }
.switch-row {
  display: flex; flex-direction: row !important; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-radius: 14px; background: #F8FAFC; border: 1px solid var(--border);
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.switch-row:hover { border-color: var(--border-strong); background: #F1F5F9; }
.switch-info { display: flex; flex-direction: column; gap: 2px; }
.switch-info b { font-size: 0.9rem; color: var(--ink); }
.switch-info small { font-size: 0.78rem; color: #64748B; font-weight: 500; }
.switch-right { display: flex; align-items: center; gap: 12px; flex: none; }
.switch-cost {
  font-family: "JetBrains Mono", monospace; font-size: 0.84rem; font-weight: 700;
  color: var(--red); background: #FFE4E6; padding: 3px 9px; border-radius: 7px;
}
.switch-row input { display: none; }
.switch-ui {
  width: 40px; height: 22px; background: #CBD5E1; border-radius: 999px; position: relative; transition: background 0.2s;
}
.switch-ui::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  background: #FFFFFF; border-radius: 50%; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.switch-row input:checked + .switch-ui { background: var(--card-blue); }
.switch-row input:checked + .switch-ui::after { transform: translateX(18px); }

.calc-results-box {
  padding: 26px; border-radius: 20px; background: #0F172A; color: #FFFFFF;
  text-align: center; box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
}
.calc-compare-strip {
  display: flex; justify-content: space-around; align-items: center;
  padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.calc-col span { display: block; font-size: 0.78rem; color: #94A3B8; margin-bottom: 4px; }
.calc-col b { font-size: 1.3rem; font-weight: 800; }
.calc-vs {
  font-size: 0.72rem; font-weight: 800; color: #94A3B8;
  background: rgba(255,255,255,0.08); padding: 4px 9px; border-radius: 999px;
}
.calc-counter-card {
  padding: 18px; border-radius: 16px;
  background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.35);
}
.counter-label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; color: #6EE7B7; }
.big-savings-num {
  font-size: 2.9rem; font-weight: 800; color: #FFFFFF; letter-spacing: -0.03em; margin: 4px 0;
}
.big-savings-num span { font-size: 1.2rem; color: #6EE7B7; margin-left: 2px; }
.savings-sub-badge { font-size: 0.85rem; font-weight: 700; color: #6EE7B7; }

/* Side-by-Side Comparison Table */
.table-wrap-card { overflow-x: auto; padding: 0; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; text-align: left; }
.compare-table th, .compare-table td {
  padding: 18px 20px; border-bottom: 1px solid var(--border); vertical-align: middle; line-height: 1.55; color: #334155;
}
.compare-table th {
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  color: #475569; background: #F1F5F9;
}
.compare-table tbody tr:nth-child(even) { background: #F8FAFC; }
.compare-table tbody tr:hover { background: #F1F5F9; }
.compare-table .comp-price { color: var(--red); font-weight: 700; }

.compare-table th.our-col-head {
  background: #DCFCE7; color: #166534; border-left: 2px solid #22C55E;
}
.compare-table td.our-col-cell {
  background: #F0FDF4; color: #14532D; font-weight: 600; border-left: 2px solid #22C55E;
}
.compare-tfoot td {
  background: #F1F5F9; border-top: 2px solid var(--border-strong); color: var(--ink);
}
.compare-tfoot td.our-tfoot-cell {
  background: #DCFCE7; color: #14532D;
}
.compare-tfoot td.our-tfoot-cell span { color: #15803D; font-weight: 800; }

/* =========================================================================
   5. Permit Lead Cards, Semantic Badges & Copy-Pitch Snippet Box
   ========================================================================= */
.lead {
  display: flex; flex-direction: column; gap: 13px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lead:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08); }
.lead-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.lead h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--ink); line-height: 1.3; }
.sub { color: #64748B; font-size: 0.82rem; font-weight: 500; margin-top: 4px; }

.proj-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.73rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-top: 6px;
}
.proj-badge.pool { background: #E0F2FE; color: #0369A1; }
.proj-badge.solar { background: #FEF3C7; color: #B45309; }
.proj-badge.remodel { background: #EDE9FE; color: #6D28D9; }
.proj-badge.newbuild { background: #DCFCE7; color: #15803D; }
.proj-badge.commercial { background: #FFEDD5; color: #C2410C; }

.score {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 1rem; color: var(--ink);
  background: conic-gradient(var(--c, var(--card-orange)) calc(var(--p) * 1%), #E2E8F0 0);
  position: relative;
}
.score::after { content: ""; position: absolute; inset: 5px; background: #FFFFFF; border-radius: 50%; }
.score span { position: relative; z-index: 1; }

.lead p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--ink-body); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-size: 0.74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: #E0F2FE; color: #0369A1;
}
.chip.warn { background: #FEF3C7; color: #B45309; }

.angle {
  font-size: 0.84rem; padding: 10px 13px; border-radius: 10px;
  background: #FFF7ED; border-left: 3px solid var(--card-orange); color: #9A3412; font-weight: 500;
}
.kv {
  display: grid; grid-template-columns: auto 1fr; gap: 5px 14px;
  font-size: 0.83rem; color: #64748B; padding-top: 8px; border-top: 1px solid var(--border);
}
.kv b { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.tag { font-family: "JetBrains Mono", monospace; font-size: 0.72rem; color: #94A3B8; }

.pitch-snippet-box {
  margin-top: 6px; background: #F8FAFC; border: 1px solid var(--border-strong);
  border-left: 3px solid var(--card-blue); border-radius: 12px; overflow: hidden;
}
.pitch-snippet-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; background: #EFF6FF; border-bottom: 1px solid var(--border);
}
.pitch-snippet-header span {
  font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #0284C7;
}
.copy-pitch-btn {
  appearance: none; border: 1px solid #93C5FD; background: #FFFFFF;
  color: #0284C7; font-family: inherit; font-size: 0.74rem; font-weight: 700;
  padding: 4px 10px; border-radius: 6px; cursor: pointer;
}
.copy-pitch-btn:hover { background: #0088FF; color: #FFFFFF; }
.pitch-snippet-body { padding: 12px 14px; font-size: 0.86rem; color: var(--ink); line-height: 1.55; }

.savings-callout-box {
  margin-top: 16px; padding: 14px 18px; border-radius: 14px;
  background: #F0FDF4; border: 1px solid #86EFAC;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.9rem; color: var(--ink);
}
.savings-highlight {
  font-weight: 800; color: #15803D; background: #DCFCE7; padding: 6px 13px; border-radius: 8px;
}

/* Feasibility & Maps */
.result { margin-top: 18px; display: grid; gap: 16px; }
.verdict { display: flex; gap: 16px; align-items: center; }
.verdict .badge { padding: 8px 16px; border-radius: 10px; font-weight: 800; font-size: 0.9rem; }
.badge.GO { background: #DCFCE7; color: #15803D; }
.badge.CAUTION { background: #FEF3C7; color: #B45309; }
.badge.NO-GO { background: #FFE4E6; color: #BE123C; }
.badge.INSUFFICIENT-DATA { background: #F1F5F9; color: #475569; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.list-h { margin: 0 0 8px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: #475569; }
ul.clean { margin: 0; padding-left: 18px; font-size: 0.9rem; line-height: 1.6; color: var(--ink-body); }
ul.clean.red li::marker { color: var(--red); } ul.clean.green li::marker { color: var(--green); }
.empty { padding: 40px; text-align: center; color: #64748B; border: 1px dashed var(--border-strong); border-radius: 16px; grid-column: 1 / -1; }

.map-card { padding: 18px; margin-bottom: 22px; overflow: hidden; border-radius: 20px; }
.map-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.map-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.map-title h3 { margin: 0; font-size: 1.08rem; font-weight: 800; color: var(--ink); }
.map-sub-pill { font-size: 0.76rem; font-weight: 600; color: #475569; background: #F1F5F9; padding: 4px 10px; border-radius: 999px; }
.map-controls { display: flex; align-items: center; gap: 10px; }
.map-view-box { width: 100%; height: 420px; border-radius: 14px; border: 1px solid var(--border); overflow: hidden; background: #0E1218; }
.map-view-box.hidden { display: none; }
.sm-select { padding: 6px 10px; font-size: 0.8rem; border-radius: 8px; width: auto; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--card-orange); box-shadow: 0 0 10px var(--card-orange); }
.pulse-dot.cyan { background: var(--card-blue); box-shadow: 0 0 10px var(--card-blue); }

/* Footer */
footer { max-width: 1420px; margin: 28px auto 0; color: #94A3B8; font-size: 0.8rem; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.system-status-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  padding: 6px 14px; border-radius: 999px; background: #171A21; border: 1px solid rgba(255,255,255,0.08);
}
.status-label { font-size: 0.72rem; font-weight: 700; color: #94A3B8; text-transform: uppercase; }
.status { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; background: rgba(255,255,255,0.06); color: #94A3B8;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #64748B; }
.pill.on { color: #E2E8F0; }
.pill.on::before { background: #34D399; box-shadow: 0 0 6px #34D399; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: #0F172A; color: #FFFFFF; font-weight: 600; padding: 12px 22px; border-radius: 999px;
  font-size: 0.88rem; z-index: 1000; transition: all 0.25s ease; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--red); }

/* =========================================================================
   v8. SaaS top bar, auth-state visibility, demo map, cluster engine, member hub
   ========================================================================= */
body { padding: 0 0 40px; }
/* =========================================================================
   SaaS Top Navigation Bar (Sticky Full-Width) & Mobile Breakpoints
   ========================================================================= */
header.site-nav {
  position: sticky; top: 0; z-index: 1000;
  width: 100%; margin: 0 0 24px; padding: 0 28px; height: 68px;
  box-sizing: border-box;
  background: rgba(13, 15, 18, 0.96); backdrop-filter: blur(12px);
  border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: nowrap;
}
.topbar-brand { text-decoration: none; display: flex; align-items: center; gap: 10px; flex-shrink: 0; cursor: pointer; }
.topbar-brand .brand-mark { font-size: 1.35rem; font-weight: 700; color: #FFFFFF; letter-spacing: -0.03em; }
.topbar-brand .brand-mark b { font-weight: 800; }
.brand-orange { color: var(--card-orange); font-weight: 800; margin-left: 1px; }

.topbar-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.topbar-links a {
  color: #CBD5E1; text-decoration: none; font-size: 0.9rem; font-weight: 700;
  padding: 8px 12px; border-radius: 8px; cursor: pointer; transition: all 0.15s ease;
}
.topbar-links a:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.1); }

.topbar-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-pill-btn {
  appearance: none; border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08); color: #F8FAFC;
  font: inherit; font-size: 0.82rem; font-weight: 700;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  transition: all 0.18s ease; white-space: nowrap;
}
.nav-pill-btn:hover { background: rgba(255, 255, 255, 0.18); color: #FFFFFF; }

.nav-cta-btn {
  appearance: none; border: none;
  background: var(--card-orange); color: #FFFFFF;
  font: inherit; font-size: 0.82rem; font-weight: 800;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(243, 79, 29, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease; white-space: nowrap;
}
.nav-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(243, 79, 29, 0.6); }

/* MOBILE RESPONSIVE TWEAKS */
@media (max-width: 900px) {
  header.site-nav { padding: 0 16px; height: 60px; margin-bottom: 16px; }
  .topbar-links { display: none !important; }
}
@media (max-width: 600px) {
  header.site-nav { padding: 0 12px; height: 56px; margin-bottom: 14px; gap: 8px; }
  .topbar-brand .brand-mark { font-size: 1.15rem; }
  .nav-pill-btn { padding: 6px 10px; font-size: 0.76rem; }
  .nav-cta-btn { padding: 7px 12px; font-size: 0.76rem; }
  
  /* Bento mobile cleanup */
  .bento-showcase { padding: 0 12px; margin-bottom: 18px; gap: 14px; }
  .bento-card { padding: 22px 18px; border-radius: 20px; }
  .bento-hero-title { font-size: 1.75rem !important; line-height: 1.15; margin: 12px 0 10px; }
  .bento-hero-lead { font-size: 0.88rem !important; line-height: 1.5; }
  .orange-copy h2 { font-size: 1.7rem !important; }
  .workspace-shell { padding: 16px 12px 24px; border-radius: 20px; }
  .hub-welcome { padding: 18px 16px; }
  .hub-welcome h1 { font-size: 1.3rem; }
  .roi-board { grid-template-columns: 1fr 1fr !important; gap: 8px; }
  .roi-tile { padding: 12px 14px; }
  .roi-tile b { font-size: 1.4rem; }
}

/* auth-state visibility */
body.is-member .public-only { display: none !important; }
body:not(.is-member) .member-only { display: none !important; }

/* Demo map */
.demo-banner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  background: linear-gradient(135deg, #0F172A, #1E293B); color: #fff; border-radius: 18px; padding: 16px 20px; margin-bottom: 16px; }
.demo-banner h2 { margin: 0 0 4px; font-size: 1.2rem; letter-spacing: -0.02em; }
.demo-banner p { margin: 0; color: #CBD5E1; font-size: 0.88rem; max-width: 640px; line-height: 1.5; }
.tier-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.tier-pill { appearance: none; border: 2px solid transparent; font: inherit; font-weight: 800; font-size: 0.82rem;
  padding: 9px 15px; border-radius: 999px; cursor: pointer; color: #fff; opacity: 0.55; transition: all 0.15s ease; }
.tier-pill.active { opacity: 1; box-shadow: 0 6px 18px rgba(0,0,0,0.35); border-color: #fff; }
.tier-pill.t-starter { background: #16A34A; } .tier-pill.t-pro { background: #0088FF; } .tier-pill.t-enterprise { background: #F34F1D; }
.demo-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
@media (max-width: 980px) { .demo-layout { grid-template-columns: 1fr; } }
.demo-detail { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 18px; min-height: 420px; }
.demo-detail h3 { margin: 6px 0 2px; font-size: 1.1rem; color: var(--ink); }
.demo-detail .sub { color: var(--ink-muted); font-size: 0.82rem; margin-bottom: 10px; }
.sample-tag { display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; background: #FEF3C7; color: #B45309; padding: 3px 9px; border-radius: 999px; }
.feat-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; font-size: 0.84rem; color: var(--ink-body); margin-bottom: 5px; border: 1px solid var(--border); }
.feat-row.on { background: #F0FDF4; border-color: #BBF7D0; }
.feat-row.off { background: #F8FAFC; color: #94A3B8; }
.feat-row b { color: var(--ink); } .feat-row.off b { color: #94A3B8; }
.feat-row .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.demo-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 0.8rem; color: var(--ink-body); font-weight: 700; }
.demo-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.blur-text { filter: blur(5px); user-select: none; }
.demo-note { margin-top: 12px; font-size: 0.78rem; color: var(--ink-muted); }

/* Cluster engine (orange card) */
.cluster-engine { background: #fff; color: var(--ink); border-radius: 22px; padding: 18px; box-shadow: 0 12px 28px rgba(120, 20, 0, 0.28); }
.cluster-engine h4 { margin: 0 0 4px; font-size: 1rem; font-weight: 800; }
.cluster-engine .ce-sub { margin: 0 0 12px; font-size: 0.78rem; color: var(--ink-muted); line-height: 1.4; }
.cluster-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cluster-pill { appearance: none; font: inherit; font-size: 0.76rem; font-weight: 800; padding: 7px 11px; border-radius: 999px;
  border: 1.5px solid var(--border-strong); background: #F8FAFC; color: #334155; cursor: pointer; transition: all 0.15s ease; }
.cluster-pill.active { background: var(--card-orange); border-color: var(--card-orange); color: #fff; }
.cluster-out { background: #FFF7ED; border: 1px solid #FED7AA; border-radius: 14px; padding: 12px 14px; font-size: 0.78rem; color: #431407; }
.cluster-out .co-title { font-weight: 800; font-size: 0.86rem; margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cluster-out .co-count { background: #0F172A; color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 0.7rem; }
.param-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-bottom: 8px; }
.param-grid span { color: #9A3412; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; display: block; }
.param-grid b { font-size: 0.8rem; }
.trigger-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.trigger-chips em { font-style: normal; background: #fff; border: 1px solid #FDBA74; border-radius: 6px; padding: 2px 7px; font-size: 0.68rem; font-weight: 700; }
.ce-why { margin-top: 10px; font-size: 0.74rem; color: #475569; border-top: 1px dashed var(--border-strong); padding-top: 8px; line-height: 1.45; }

/* Login modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(2, 6, 23, 0.72); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal-backdrop.show { display: flex; }
.modal-box { position: relative; background: #fff; border-radius: 24px; padding: 28px 30px; width: 100%; max-width: 480px; max-height: 92dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; margin: auto; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.modal-close-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 999px; border: 1px solid #E2E8F0; background: #F8FAFC; color: #475569; font-size: 1rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal-close-x:hover { background: #E2E8F0; color: #0F172A; }
.auth-tab-bar { display: flex; background: #F1F5F9; padding: 4px; border-radius: 12px; margin-bottom: 18px; margin-right: 36px; gap: 4px; }
.auth-tab-btn { flex: 1; border: none; background: transparent; padding: 9px 12px; border-radius: 9px; font-weight: 700; font-size: 0.86rem; color: #64748B; cursor: pointer; transition: all 0.15s ease; }
.auth-tab-btn.active { background: #FFFFFF; color: #0F172A; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.auth-form-grid > label { min-width: 0; display: block; }
.auth-inline-err { display: none; background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; border-radius: 10px; padding: 10px 12px; font-size: 0.84rem; font-weight: 600; margin-bottom: 12px; }
.auth-inline-err.show { display: block; }
.modal-box select { width: 100%; max-width: 100%; box-sizing: border-box; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--border-strong); font: inherit; font-size: 0.92rem; margin-bottom: 10px; background: #fff; }
.modal-box h2 { margin: 0 0 6px; font-size: 1.45rem; letter-spacing: -0.03em; color: var(--ink); }
.modal-box p { margin: 0 0 14px; color: var(--ink-body); font-size: 0.9rem; line-height: 1.5; }
.modal-box input { width: 100%; max-width: 100%; box-sizing: border-box; padding: 12px 13px; border-radius: 12px; border: 1.5px solid var(--border-strong); font: inherit; font-size: 0.95rem; margin-bottom: 12px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 560px) {
  .modal-backdrop { align-items: flex-start; padding: 10px; }
  .modal-box { padding: 20px 16px; border-radius: 18px; max-height: calc(100dvh - 20px); }
  .auth-form-grid { grid-template-columns: 1fr; gap: 0; }
  .modal-box input, .modal-box select { font-size: 16px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; justify-content: center; }
}

/* Member command center */
.member-hub { max-width: 1420px; margin: 0 auto 22px; display: grid; gap: 16px; }
.hub-welcome { background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%); color: #fff; border-radius: 24px; padding: 24px 28px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.hub-welcome h1 { margin: 0 0 4px; font-size: 1.6rem; letter-spacing: -0.03em; }
.hub-welcome p { margin: 0; color: #CBD5E1; font-size: 0.9rem; }
.capacity-toggle { display: flex; gap: 6px; flex-wrap: wrap; }
.cap-btn { appearance: none; font: inherit; font-weight: 800; font-size: 0.78rem; padding: 9px 13px; border-radius: 10px; cursor: pointer;
  border: 2px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: #E2E8F0; }
.cap-btn.active.green { background: #16A34A; border-color: #4ADE80; color: #fff; }
.cap-btn.active.yellow { background: #D97706; border-color: #FCD34D; color: #fff; }
.cap-btn.active.red { background: #E11D48; border-color: #FDA4AF; color: #fff; }
.roi-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 820px) { .roi-board { grid-template-columns: repeat(2, 1fr); } }
.roi-tile { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; }
.roi-tile span { display: block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-muted); }
.roi-tile b { display: block; font-size: 1.8rem; letter-spacing: -0.03em; color: var(--ink); margin-top: 4px; }
.roi-tile.hl { background: linear-gradient(135deg, #F34F1D, #FF7A3D); border: none; }
.roi-tile.hl span, .roi-tile.hl b { color: #fff; }
.hub-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 22px 24px; }
.hub-card h2 { margin: 0 0 4px; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); }
.hub-card .hub-sub { margin: 0 0 14px; color: var(--ink-body); font-size: 0.88rem; line-height: 1.5; }
.preset-chip { display: flex; gap: 12px; align-items: center; background: #FFF7ED; border: 1.5px solid #FDBA74; color: #7C2D12;
  border-radius: 14px; padding: 12px 16px; font-weight: 800; font-size: 0.92rem; margin-bottom: 12px; flex-wrap: wrap; }
.wiz-steps { display: flex; gap: 6px; margin-bottom: 14px; }
.wiz-steps i { flex: 1; height: 5px; border-radius: 3px; background: var(--border); }
.wiz-steps i.done { background: var(--card-orange); }
.wiz-q { font-weight: 800; font-size: 1rem; color: var(--ink); margin-bottom: 10px; }
.wiz-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.wiz-opt { appearance: none; font: inherit; text-align: left; background: #F8FAFC; border: 1.5px solid var(--border-strong); border-radius: 14px;
  padding: 13px 15px; cursor: pointer; font-weight: 700; color: var(--ink); font-size: 0.88rem; transition: all 0.15s ease; }
.wiz-opt:hover { border-color: var(--card-orange); background: #FFF7ED; transform: translateY(-1px); }
.wiz-opt small { display: block; font-weight: 500; color: var(--ink-muted); margin-top: 3px; }
.hub-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 980px) { .hub-two { grid-template-columns: 1fr; } }
.excl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.excl-list li {
  padding: 12px 14px; border-radius: 14px; background: #F0FDF4; border: 1px solid #BBF7D0;
  font-size: 0.86rem; color: var(--ink-body); cursor: pointer; transition: all 0.16s ease;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.excl-list li:hover {
  transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22, 163, 74, 0.12);
  border-color: #4ADE80;
}
.excl-list li.locked {
  background: #F8FAFC; border-color: var(--border-strong); color: #64748B;
}
.excl-list li.locked:hover {
  background: #FFF7ED; border-color: #FDBA74; box-shadow: 0 4px 14px rgba(243, 79, 29, 0.12);
}
.excl-list b { color: var(--ink); }
.excl-list .excl-meta { display: flex; flex-direction: column; gap: 2px; }
.excl-list .excl-tag {
  flex-shrink: 0; font-size: 0.72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px;
  background: #DCFCE7; color: #166534; border: 1px solid #86EFAC;
}
.excl-list li.locked .excl-tag {
  background: #FEF3C7; color: #92400E; border-color: #FCD34D;
}

/* Modals */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px); z-index: 2100; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.show { display: flex; animation: fadeIn 0.2s ease both; }
.modal-card {
  background: #FFFFFF; border-radius: 24px; padding: 32px; width: 100%;
  max-width: 540px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
  position: relative; border: 1px solid var(--border);
}
.modal-close-btn {
  position: absolute; top: 20px; right: 20px; background: #F1F5F9; border: none;
  width: 32px; height: 32px; border-radius: 50%; font-weight: 800; font-size: 1rem;
  color: #64748B; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.modal-close-btn:hover { background: #E2E8F0; color: #0F172A; }

/* Communications & Notification Center */
.comm-center-card {
  background: #FFFFFF; border: 1.5px solid #E2E8F0; border-radius: 20px;
  padding: 24px 28px; margin-bottom: 24px; box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}
.comm-center-card h2 { margin: 0 0 6px; font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.comm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 18px 0; }
.comm-field-box {
  background: #F8FAFC; border: 1px solid var(--border-strong); border-radius: 14px; padding: 14px 16px;
}
.comm-field-box h4 { margin: 0 0 10px; font-size: 0.86rem; color: #0F172A; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.channel-checkboxes { display: flex; flex-direction: column; gap: 10px; }
.channel-checkboxes label { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; cursor: pointer; }

/* Gov SAM Defense Portal High-Prestige Styles */
.gov-portal-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #0B2545; color: #E0E7FF;
  border: 1px solid #1E3A8A; padding: 5px 14px; border-radius: 999px; font-size: 0.72rem;
  font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px;
}
.gov-trust-seal {
  background: linear-gradient(135deg, #0A192F 0%, #172A45 100%);
  border: 1px solid #1E3A8A; border-radius: 20px; padding: 26px; color: #E2E8F0; margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(10, 25, 47, 0.4);
}
.gov-trust-seal h2 { color: #FFFFFF; font-size: 1.4rem; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.02em; }
.gov-trust-seal p { color: #94A3B8; font-size: 0.9rem; line-height: 1.55; margin: 0 0 16px; }
.gov-auth-specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px; padding: 14px 18px; font-size: 0.78rem;
}
.gov-spec-item span { display: block; color: #60A5FA; font-weight: 800; text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.05em; }
.gov-spec-item b { color: #FFFFFF; font-size: 0.88rem; }
.gov-security-banner {
  background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 12px; padding: 12px 16px;
  color: #1E40AF; font-size: 0.82rem; display: flex; align-items: center; gap: 10px; margin-top: 14px;
}
.pipe-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pipe-btns .btn { flex: 1; min-width: 120px; justify-content: center; }
.pipe-state { font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #E2E8F0; color: #334155; }
.pipe-state.bid { background: #DBEAFE; color: #1D4ED8; } .pipe-state.won { background: #DCFCE7; color: #15803D; } .pipe-state.passed { background: #F1F5F9; color: #94A3B8; }
.packet-box { margin-top: 12px; background: #F8FAFC; border: 1px solid var(--border); border-radius: 14px; padding: 14px; font-size: 0.84rem; white-space: pre-line; color: var(--ink-body); }

/* =========================================================================
   6. Dedicated Operations Command Deck & Impersonation System
   ========================================================================= */
.impersonation-bar {
  position: sticky; top: 0; z-index: 2500;
  background: linear-gradient(90deg, #78350F 0%, #B45309 100%);
  color: #FEF3C7; padding: 10px 20px;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35);
  border-bottom: 2px solid #F59E0B;
}
.impersonation-inner {
  max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.impersonation-label {
  display: inline-flex; align-items: center; gap: 10px; font-size: 0.88rem;
}
.imp-exit-btn {
  background: #FFF !important; color: #78350F !important; font-weight: 800 !important;
  border: none !important; border-radius: 999px !important; padding: 6px 16px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}
.imp-exit-btn:hover { background: #FEF3C7 !important; }

/* Admin visibility controls */
body.is-admin .admin-only { display: inline-flex !important; }
body.is-admin div.admin-only, body.is-admin section.admin-only { display: block !important; }

/* Operations Hero */
.admin-deck-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #F8FAFC; border: 1px solid #334155; border-radius: 22px; padding: 28px 32px;
  margin-bottom: 24px; box-shadow: 0 12px 36px rgba(15, 23, 42, 0.25);
}
.admin-deck-hero h2 { color: #FFFFFF; font-weight: 800; }
.admin-deck-hero p { color: #94A3B8; font-size: 0.94rem; }
.admin-deck-header-flex {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; margin-bottom: 24px;
}
.admin-action-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

/* Health Notification Pill */
.admin-health-pill {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
  padding: 5px 14px; font-size: 0.78rem; font-weight: 800; cursor: pointer;
  border: 1.5px solid transparent; transition: all 0.2s ease;
  background: #022C22; color: #34D399; border-color: #059669;
}
.admin-health-pill:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3); }
.admin-health-pill.healthy { background: #022C22; color: #34D399; border-color: #059669; }
.admin-health-pill.warning { background: #451A03; color: #FBBF24; border-color: #D97706; }
.admin-health-pill.error { background: #450A0A; color: #F87171; border-color: #DC2626; }
.pulse-dot.amber { background: #F59E0B; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25); }

/* Top Metrics Strip */
.admin-metrics-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.admin-metric-card {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px; padding: 16px 20px; display: flex; flex-direction: column; justify-content: center;
}
.admin-m-label { font-size: 0.72rem; font-weight: 800; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-m-val { font-size: 1.9rem; font-weight: 800; color: #FFFFFF; line-height: 1.15; margin: 4px 0 2px; }
.admin-m-sub { font-size: 0.8rem; color: #64748B; font-weight: 600; }

/* Filter Tabs & Search Controls */
.admin-table-controls {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
}
.admin-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-filter-pill {
  border: 1.5px solid var(--border-strong); background: #F8FAFC; color: #475569;
  border-radius: 999px; padding: 8px 16px; font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: all 0.16s ease;
}
.admin-filter-pill:hover { border-color: var(--card-orange); color: var(--ink); }
.admin-filter-pill.active {
  background: #0F172A; color: #FFFFFF; border-color: #0F172A;
}
.admin-search-wrap { display: flex; gap: 8px; flex: 1; max-width: 480px; min-width: 260px; }
.admin-search-input {
  width: 100%; border: 1.5px solid var(--border-strong); border-radius: 12px;
  padding: 10px 14px; font-size: 0.88rem; outline: none; transition: border-color 0.15s ease;
}
.admin-search-input:focus { border-color: var(--card-orange); }

/* Admin Users Table */
.admin-users-table th { background: #F8FAFC; padding: 14px 16px; font-size: 0.76rem; }
.admin-users-table td { padding: 14px 16px; font-size: 0.86rem; }
.user-name-cell b { display: block; font-size: 0.94rem; color: var(--ink); }
.user-name-cell small { color: #64748B; font-size: 0.76rem; }
.user-actions-cell { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.btn-imp {
  background: #EFF6FF !important; color: #1D4ED8 !important; border-color: #93C5FD !important;
  font-weight: 800 !important; font-size: 0.78rem !important; padding: 5px 12px !important;
}
.btn-imp:hover { background: #DBEAFE !important; }

/* =========================================================================
   7. Interactive Conversion Deck (Quality Score, Simulator & ROI Calculators)
   ========================================================================= */
.interactive-conversion-deck {
  max-width: 1260px; margin: 40px auto; padding: 0 16px;
}
.interactive-deck-block {
  margin-bottom: 50px;
}
.deck-header h2 {
  color: #FFFFFF;
}
.deck-header p.muted {
  color: #CBD5E1;
}
.text-center { text-align: center; }

/* 2-Column Split Cards */
.interactive-grid-card {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px;
  background: #FFFFFF; border: 1.5px solid var(--border-strong);
  border-radius: 26px; padding: 32px 34px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}
@media (max-width: 900px) {
  .interactive-grid-card { grid-template-columns: 1fr; padding: 22px 18px; }
}

.calc-section-title {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.step-num {
  width: 28px; height: 28px; border-radius: 50%; background: #0F172A; color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 800;
}
.calc-section-title h3 {
  margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--ink);
}

/* Sliders & Inputs */
.slider-field {
  background: #F8FAFC; border: 1px solid var(--border); border-radius: 16px;
  padding: 16px 18px;
}
.slider-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.slider-header label {
  font-weight: 700; font-size: 0.88rem; color: #334155; margin: 0;
}
.slider-val {
  font-size: 1.1rem; color: #0F172A; font-weight: 900; background: #FFFFFF;
  padding: 3px 12px; border-radius: 8px; border: 1px solid var(--border-strong);
}
.slider-field input[type="range"] {
  width: 100%; accent-color: var(--card-orange); cursor: pointer; height: 8px; margin: 6px 0;
}
.slider-ticks {
  display: flex; justify-content: space-between; font-size: 0.72rem; color: #94A3B8; font-weight: 600;
}

.select-field label {
  display: block; font-weight: 700; font-size: 0.86rem; color: #334155; margin-bottom: 6px;
}
.select-field select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border-strong);
  font: inherit; font-size: 0.9rem; font-weight: 600; background: #FFFFFF; color: var(--ink);
}

.check-field-box {
  background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 14px; padding: 14px 16px;
}
.toggle-check {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
}
.toggle-check input { display: none; }
.check-box-custom {
  width: 22px; height: 22px; border-radius: 6px; border: 2px solid #16A34A;
  background: #FFFFFF; flex-shrink: 0; margin-top: 2px; position: relative;
}
.toggle-check input:checked + .check-box-custom {
  background: #16A34A;
}
.toggle-check input:checked + .check-box-custom::after {
  content: "✓"; position: absolute; inset: 0; color: #FFF; font-weight: 900;
  display: flex; align-items: center; justify-content: center; font-size: 0.82rem;
}
.check-label-text b { display: block; font-size: 0.92rem; color: #166534; }
.check-label-text small { color: #4B5563; font-size: 0.78rem; line-height: 1.35; display: block; margin-top: 2px; }

/* Score Output Card */
.score-display-card {
  display: flex; align-items: center; gap: 18px; background: #0F172A; color: #FFFFFF;
  border-radius: 20px; padding: 20px 24px; margin-bottom: 18px;
}
.score-circle-wrap {
  width: 78px; height: 78px; border-radius: 50%; background: rgba(255, 255, 255, 0.1);
  border: 3px solid #22C55E; display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.score-number { font-size: 1.9rem; font-weight: 900; line-height: 1; color: #4ADE80; }
.score-denom { font-size: 0.64rem; font-weight: 700; color: #94A3B8; }
.score-tier-badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.04em; margin-bottom: 4px;
}
.score-tier-badge.tier-1 { background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D; }
.score-tier-badge.tier-2 { background: #DBEAFE; color: #1E40AF; border: 1px solid #93C5FD; }
.score-tier-badge.tier-3 { background: #F1F5F9; color: #475569; border: 1px solid #CBD5E1; }

.perks-list { display: flex; flex-direction: column; gap: 12px; }
.perk-item {
  display: flex; align-items: flex-start; gap: 12px; background: #F8FAFC;
  border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px;
}
.perk-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.perk-item b { display: block; font-size: 0.88rem; color: var(--ink); }
.perk-item p { margin: 2px 0 0; font-size: 0.78rem; color: #64748B; line-height: 1.4; }

/* Simulator Comparison Grid */
.simulator-trade-tabs {
  display: inline-flex; background: #E2E8F0; padding: 5px; border-radius: 999px; gap: 6px; margin-bottom: 24px;
}
.sim-tab {
  background: transparent; border: none; border-radius: 999px; padding: 8px 18px;
  font-weight: 800; font-size: 0.86rem; color: #475569; cursor: pointer; transition: all 0.16s ease;
}
.sim-tab.active { background: #0F172A; color: #FFFFFF; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.sim-comparison-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 900px) {
  .sim-comparison-grid { grid-template-columns: 1fr; }
}

.sim-side-card {
  background: #FFFFFF; border-radius: 24px; padding: 26px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.sim-side-card.raw-portal {
  border: 1.5px solid #CBD5E1; background: #F8FAFC;
}
.sim-side-card.buildsignal-pro {
  border: 2px solid #22C55E; background: #FFFFFF;
  box-shadow: 0 16px 42px rgba(34, 197, 94, 0.12);
}

.sim-card-header { margin-bottom: 14px; }
.sim-badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; margin-bottom: 6px;
}
.sim-badge.raw { background: #FEE2E2; color: #991B1B; }
.sim-badge.pro { background: #DCFCE7; color: #15803D; }

.raw-code-box {
  background: #0F172A; color: #F1F5F9; border-radius: 14px; padding: 16px;
  font-family: monospace; font-size: 0.78rem; line-height: 1.5; overflow-x: auto; margin-bottom: 16px;
}
.sim-flaws-list { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; color: #991B1B; font-weight: 600; }

.pro-dossier-body {
  background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 16px; padding: 18px; margin-bottom: 16px;
}
.dossier-meta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 0.82rem; margin-bottom: 14px;
}
.dossier-meta-grid span { display: block; color: #64748B; font-size: 0.72rem; text-transform: uppercase; font-weight: 700; }
.dossier-meta-grid b { color: #0F172A; font-size: 0.88rem; }
.dossier-pitch-snippet {
  background: #FFFFFF; border-left: 3px solid #F55322; border-radius: 8px; padding: 12px 14px;
}
.pitch-tag { font-size: 0.72rem; font-weight: 800; color: #C2410C; display: block; margin-bottom: 4px; }
.dossier-pitch-snippet p { margin: 0; font-size: 0.82rem; color: #1E293B; line-height: 1.5; }
.sim-perks-list { display: flex; flex-direction: column; gap: 6px; font-size: 0.84rem; color: #15803D; font-weight: 700; }

/* Financial ROI Output */
.roi-financial-box {
  background: #F8FAFC; border: 1.5px solid var(--border-strong); border-radius: 18px;
  padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px;
}
.financial-row {
  display: flex; justify-content: space-between; align-items: center; font-size: 0.94rem; color: #334155; font-weight: 600;
}
.financial-row.hl { background: #ECFDF5; border-radius: 12px; padding: 8px 12px; margin-top: 4px; }
.payback-callout {
  background: #FEF3C7; border: 1px solid #FCD34D; border-radius: 12px; padding: 14px 16px;
  color: #92400E; font-size: 0.88rem; line-height: 1.45;
}

/* Top Live Radar Preview Banner */
.live-radar-banner {
  background: linear-gradient(135deg, #0B1120 0%, #0F172A 60%, #1E293B 100%);
  border-bottom: 1.5px solid rgba(249, 115, 22, 0.35);
  color: #F8FAFC;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
}
.live-radar-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.radar-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 960px) {
  .radar-banner-inner { grid-template-columns: 1fr; }
}
.radar-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #34D399;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.radar-live-pill .pulse-dot { width: 8px; height: 8px; background: #10B981; border-radius: 50%; box-shadow: 0 0 8px #10B981; }
.radar-count-tag { color: #F8FAFC; font-weight: 700; background: rgba(15, 23, 42, 0.8); padding: 2px 8px; border-radius: 6px; }
.radar-banner-title {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #FFFFFF;
}
.radar-banner-desc {
  font-size: 0.94rem;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0 0 18px;
  max-width: 580px;
}
.radar-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Mockup Card */
.radar-mockup-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}
.radar-mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding-bottom: 8px;
}
.mock-tag { font-size: 0.75rem; font-weight: 800; color: #38BDF8; font-family: monospace; letter-spacing: 0.05em; }
.mock-live-badge { font-size: 0.72rem; font-weight: 800; color: #F97316; background: rgba(249, 115, 22, 0.15); padding: 3px 8px; border-radius: 6px; }
.mock-permit-meta { display: flex; justify-content: space-between; margin-bottom: 4px; font-family: monospace; }
.mock-id { font-size: 0.85rem; font-weight: 800; color: #F1F5F9; }
.mock-val { font-size: 0.9rem; font-weight: 800; color: #10B981; }
.mock-addr { font-size: 0.98rem; font-weight: 700; color: #FFFFFF; margin-bottom: 4px; }
.mock-scope { font-size: 0.82rem; color: #94A3B8; line-height: 1.4; margin-bottom: 12px; }
.mock-letter-box {
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-left: 3px solid #F97316;
  border-radius: 10px;
  padding: 10px 12px;
}
.mock-letter-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; font-weight: 800; color: #FB923C; margin-bottom: 6px; }
.mock-copy-btn {
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #FFFFFF;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.mock-copy-btn:hover { background: #F97316; }
.mock-pitch-text { font-size: 0.78rem; color: #E2E8F0; margin: 0; line-height: 1.45; font-style: italic; }

/* Downstream Multiplier Section */
.downstream-showcase {
  max-width: 1260px;
  margin: 40px auto 60px;
  padding: 0 20px;
}
.downstream-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}
.downstream-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 999px;
  color: #FB923C;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.downstream-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.downstream-subhead {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin: 0 0 24px;
}
.downstream-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ds-tab {
  padding: 10px 18px;
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}
.ds-tab:hover {
  background: #E2E8F0;
  color: #0F172A;
}
.ds-tab.active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

/* 3-Column Transformation Grid */
.downstream-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1.15fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 1080px) {
  .downstream-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ds-arrow-col { display: none; }
}

.ds-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ds-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}
.ds-raw-card { border-top: 4px solid #EF4444; }
.ds-ai-card { border-top: 4px solid #3B82F6; background: #F8FAFC; }
.ds-phone-card { border-top: 4px solid #10B981; }

.ds-card-head { margin-bottom: 14px; }
.ds-step-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 6px;
  background: #FEE2E2;
  color: #B91C1C;
}
.ds-step-tag.ai { background: #DBEAFE; color: #1D4ED8; }
.ds-step-tag.green { background: #DCFCE7; color: #15803D; }

.ds-card-head h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.ds-raw-box {
  background: #0F172A;
  border-radius: 12px;
  padding: 16px;
  color: #94A3B8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.ds-raw-box b { color: #F8FAFC; }
.ds-raw-box .hl-raw { color: #F59E0B; }

.ds-trades-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  flex-grow: 1;
}
.ds-trade-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
}
.ds-trade-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}
.ds-trade-scope-pill {
  font-size: 0.74rem;
  color: #059669;
  font-weight: 700;
  background: #ECFDF5;
  padding: 2px 6px;
  border-radius: 4px;
}
.ds-trade-desc {
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.45;
  margin: 0;
}

.ds-packet-box {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  flex-grow: 1;
}
.ds-packet-owner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}
.ds-packet-addr {
  font-size: 0.8rem;
  color: #059669;
  font-weight: 700;
  margin-bottom: 10px;
}
.ds-packet-pitch {
  background: #FFFFFF;
  border-left: 3px solid #10B981;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: #1E293B;
  line-height: 1.45;
  font-style: italic;
  margin-bottom: 8px;
}

.ds-verdict {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.82rem;
  line-height: 1.4;
}
.ds-verdict.red { background: #FEF2F2; color: #991B1B; }
.ds-verdict.blue { background: #EFF6FF; color: #1E40AF; }
.ds-verdict.green { background: #ECFDF5; color: #065F46; }
.ds-verdict span { font-weight: 800; font-size: 0.95rem; }
.ds-verdict p { margin: 0; }

.ds-arrow-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}
.ds-arrow-circle {
  width: 44px;
  height: 44px;
  background: #0F172A;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.ds-arrow-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #CBD5E1;
  text-transform: uppercase;
  text-align: center;
  max-width: 70px;
  line-height: 1.2;
}

/* ---- FLOATING SCROLL-FOLLOWING SIDE PANEL MENU ---- */
.floating-side-dock {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  width: 158px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.floating-side-dock.collapsed {
  width: auto;
  padding: 8px;
}
.floating-side-dock.collapsed .fsd-item {
  display: none;
}
.fsd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 2px 4px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.floating-side-dock.collapsed .fsd-head {
  border-bottom: none;
  padding: 0;
}
.fsd-brand {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94A3B8;
}
.floating-side-dock.collapsed .fsd-brand {
  display: none;
}
.fsd-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #E2E8F0;
  border-radius: 8px;
  width: 24px;
  height: 24px;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fsd-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
}
.fsd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 11px;
  font-size: 0.79rem;
  font-weight: 700;
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, transform 0.15s ease;
}
.fsd-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(-2px);
}
.fsd-item.primary {
  background: #F55322;
  border-color: #F55322;
  color: #FFFFFF;
}
.fsd-item.primary:hover {
  background: #E04416;
}
.fsd-item.trial {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
  color: #6EE7B7;
}
@media (max-width: 900px) {
  .floating-side-dock {
    right: 10px;
    left: 10px;
    top: auto;
    bottom: 10px;
    transform: none;
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px;
    border-radius: 14px;
  }
  .fsd-head {
    display: none;
  }
  .fsd-item {
    padding: 7px 10px;
    font-size: 0.74rem;
  }
}


