/* ─────────────────────────────────────────
   FORMA — index.css
   ───────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Mono:wght@300;400&family=Outfit:wght@300;400;500&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ── */
:root {
  --ink:        #0b0b09;
  --paper:      #f2f0eb;
  --paper-dim:  #9a9890;
  --surface:    rgba(255,255,255,0.03);
  --border:     rgba(255,255,255,0.08);
  --border-hi:  rgba(255,255,255,0.15);
  --accent:     #c8b560;
  --accent-dim: rgba(200,181,96,0.12);
  --muted:      #4a4846;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono:    'DM Mono', monospace;
  --font-body:    'Outfit', sans-serif;

  --r:    10px;
  --r-lg: 16px;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  background: #080806;
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(242,240,235,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(242,240,235,0.2); }

/* ══════════════════════════════════════════
   LAYOUT — section rounding & spacing
   ══════════════════════════════════════════ */
.hero,
.section,
.analyse-section {
  margin: 6px 16px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  content-visibility: auto;
  contain-intrinsic-size: auto 100vh;
}

.section {
  padding: 120px 48px;
}

.section-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   DOT CANVAS (fixed bg)
   ══════════════════════════════════════════ */
#dot-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ══════════════════════════════════════════
   NAV
   ══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(11,11,9,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-wordmark {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.38em;
  color: var(--paper);
  opacity: 0.55;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--paper); }

.nav-cta {
  color: var(--accent) !important;
  border: 1px solid rgba(200,181,96,0.3);
  padding: 8px 18px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent-dim);
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 120px 64px 80px;
  max-width: calc(100% - 32px);
}

#aurora-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-left {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-right {
  flex: 0 0 400px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.7s 0.18s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(200,181,96,0.25);
  background: rgba(200,181,96,0.07);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 24px;
  min-height: 2.5em;
  animation: fadeUp 0.65s 0.08s ease both;
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 0.82em;
  background: var(--accent);
  margin-left: 5px;
  vertical-align: middle;
  border-radius: 2px;
  animation: blink 0.8s step-end infinite;
}

.hero-sub {
  font-size: 16px;
  color: var(--paper-dim);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeUp 0.65s 0.14s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 52px;
  animation: fadeUp 0.65s 0.2s ease both;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--r);
  font-weight: 400;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: #d8c46e; transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--border-hi); color: var(--paper); }

/* ── Powered by / LogoLoop ── */
.powered-by {
  animation: fadeUp 0.65s 0.26s ease both;
}

.powered-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}

.logoloop {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.logoloop__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.logoloop__list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.logoloop__item { display: flex; align-items: center; }



.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 24px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 14px;          /* was 11px */
  letter-spacing: 0.12em;
  color: var(--paper-dim);
  white-space: nowrap;
  background: var(--surface);
  transition: border-color 0.3s, color 0.3s;
  cursor: default;
}

.brand-pill:hover {
  border-color: rgba(200,181,96,0.3);
  color: var(--accent);
}




.logoloop__list {
  display: flex;
  align-items: center;
  gap: 16px;        /* was 10px */
  list-style: none;
  padding: 0;
  margin: 0;
}


/* ── Hero report card ── */
.report-card {
  background: rgba(18,18,15,0.9);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.card-dots { display: flex; gap: 6px; }
.card-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }

.card-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-score-row { display: flex; align-items: center; gap: 16px; }

.card-score-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: rgba(200,181,96,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.card-score-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.card-score-denom {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  position: absolute;
  bottom: 9px; right: 6px;
}

.card-idea-name {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--paper);
  margin-bottom: 6px;
}

.card-verdict {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid;
}

.card-verdict.promising {
  color: #6aab7a;
  border-color: rgba(106,171,122,0.35);
  background: rgba(106,171,122,0.08);
}

.card-divider { height: 1px; background: var(--border); }
.card-row { display: flex; flex-direction: column; gap: 3px; }

.card-row-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-row-val {
  font-size: 12px;
  color: var(--paper);
  opacity: 0.75;
  line-height: 1.5;
}

.card-comp-row { display: flex; flex-direction: column; gap: 8px; }

.card-comp-pills { display: flex; flex-wrap: wrap; gap: 6px; }

.card-comp-pills span {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--paper-dim);
  background: var(--surface);
}

/* ══════════════════════════════════════════
   SHARED TYPOGRAPHY
   ══════════════════════════════════════════ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--paper);
  line-height: 1.15;
  margin-bottom: 56px;
  max-width: 600px;
}

/* ══════════════════════════════════════════
   ANALYSE SECTION
   ══════════════════════════════════════════ */
.analyse-section {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}

#waves-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.search-wrap {
  display: flex;
  border: 1px solid var(--border-hi);
  border-radius: var(--r);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  transition: border-color 0.25s, box-shadow 0.25s;
  margin-bottom: 16px;
  max-width: 680px;
}

.search-wrap:focus-within {
  border-color: rgba(200,181,96,0.45);
  box-shadow: 0 0 0 3px rgba(200,181,96,0.07);
}

.search-bar {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 18px 22px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--paper);
  caret-color: var(--accent);
}

.search-bar::placeholder { color: var(--muted); font-style: italic; }

.search-btn {
  flex-shrink: 0;
  background: var(--accent);
  border: none;
  padding: 18px 30px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s;
}

.search-btn:hover { background: #d8c46e; }

.examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

.examples-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-right: 2px;
}

.pill {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--paper);
  opacity: 0.55;
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s, background 0.2s;
  white-space: nowrap;
}

.pill:hover {
  border-color: rgba(200,181,96,0.4);
  opacity: 1;
  background: rgba(200,181,96,0.05);
}

/* ── Status bar ── */
.status-bar {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.4s ease both;
  max-width: 680px;
}

.status-bar.visible { display: flex; }

.status-msg {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.steps {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.step {
  flex: 1;
  padding: 9px 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.35s ease, color 0.35s ease;
}

.step:last-child { border-right: none; }
.step.active { background: rgba(200,181,96,0.1); color: var(--accent); }
.step.done   { background: rgba(200,181,96,0.05); color: rgba(200,181,96,0.5); }
.step.done::after { content: ' ✓'; }

/* ── Report output ── */
.report {
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: fadeUp 0.5s ease both;
}

.report.visible { display: flex; }

.score-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0 16px;
  border-top: 1px solid var(--border);
}

.score-circle {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(200,181,96,0.06);
}

#score-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.score-denom {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  position: absolute;
  bottom: 13px; right: 9px;
}

#report-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 400;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: 10px;
}

.verdict-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 13px;
  border-radius: 100px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: rgba(200,181,96,0.08);
}

.verdict-badge.risky  { border-color: #c0644a; color: #c0644a; background: rgba(192,100,74,0.08); }
.verdict-badge.viable { border-color: #6aab7a; color: #6aab7a; background: rgba(106,171,122,0.08); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  transition: border-color 0.2s;
}

.info-box:hover { border-color: var(--border-hi); }

.box-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.info-box p:not(.box-label) {
  font-size: 14px;
  font-weight: 300;
  color: var(--paper);
  opacity: 0.85;
  line-height: 1.65;
}

.competitors-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.badge-row span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 13px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--paper);
  opacity: 0.65;
  background: var(--surface);
}

.reset-btn {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 22px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.45;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s, border-color 0.2s;
}

.reset-btn:hover { opacity: 1; border-color: var(--border-hi); }

/* ── Report layout ── */
.analyse-section .section-inner { max-width: 1200px; }

.report-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  align-items: start;
}

.report-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.report-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.report-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.verdict-badge.promising { border-color: #6aab7a; color: #6aab7a; background: rgba(106,171,122,0.08); }
.verdict-badge.saturated { border-color: #c0644a; color: #c0644a; background: rgba(192,100,74,0.08); }
.verdict-badge.niche     { border-color: #60a5fa; color: #60a5fa; background: rgba(96,165,250,0.08); }

/* ── SWOT grid ── */
.swot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.swot-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
}
.swot-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.swot-box li {
  font-size: 13px;
  color: var(--paper);
  opacity: 0.7;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.swot-box li::before { content: '•'; position: absolute; left: 0; color: var(--accent); }
.swot-s { border-color: rgba(106,171,122,0.25); }
.swot-w { border-color: rgba(192,100,74,0.25); }
.swot-o { border-color: rgba(96,165,250,0.25); }
.swot-t { border-color: rgba(245,158,11,0.25); }

.reco-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reco-list li {
  font-size: 13px;
  color: var(--paper);
  opacity: 0.75;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.reco-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); }

/* ── Investor & Failure cards ── */
.investor-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.investor-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}
.investor-name { font-size: 14px; font-weight: 500; color: #fff; }
.investor-firm { font-size: 12px; color: var(--muted); margin-top: 2px; }
.investor-focus { font-size: 12px; color: var(--paper-dim); margin-top: 4px; }

.failure-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 8px;
}
.failure-name { font-size: 14px; font-weight: 500; color: #fff; }
.failure-reason { font-size: 12px; color: var(--paper-dim); margin-top: 4px; line-height: 1.5; }

/* ── Revenue simulation ── */
.rev-sim-panel {
  background: var(--card, var(--surface));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
}
.rev-sim-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 16px;
}
.rev-sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.slider-group label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.slider-group label span { color: var(--accent); font-weight: 600; }
.slider-group input[type=range] {
  width: 100%;
  accent-color: var(--accent);
}
.scenario-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.scenario-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.scenario-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.scenario-metric { margin-top: 6px; }
.scenario-val { font-size: 18px; font-weight: 700; color: #fff; }
.scenario-unit { font-size: 10px; color: var(--muted); margin-left: 4px; }
.scenario-pessimistic { border-color: rgba(239,68,68,.2); }
.scenario-base { border-color: rgba(200,181,96,.25); }
.scenario-optimistic { border-color: rgba(34,197,94,.2); }

/* ── Flowchart panel ── */
.flowchart-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}
.flowchart-panel:hover { border-color: var(--border-hi); box-shadow: 0 0 20px rgba(200,181,96,.06); }
.flowchart-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.flowchart-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.fc-expand-btn {
  margin-left: auto;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.fc-expand-btn:hover { color: var(--accent); border-color: var(--accent); }
.flowchart-container {
  padding: 24px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flowchart-container svg { max-width: 100%; height: auto; }
.flowchart-placeholder {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

/* ── Flowchart modal ── */
.fc-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.fc-modal.open { display: flex; align-items: center; justify-content: center; }
.fc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
}
.fc-modal-box {
  position: relative;
  width: 90vw;
  height: 85vh;
  background: #111;
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fc-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.fc-modal-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.fc-modal-controls { margin-left: auto; display: flex; gap: 6px; }
.fc-zoom-btn, .fc-close-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--paper-dim);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.fc-zoom-btn:hover, .fc-close-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.fc-modal-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  cursor: grab;
}
.fc-modal-content.fc-dragging { cursor: grabbing; }
.fc-modal-content svg {
  position: absolute;
  transform-origin: 0 0;
  transition: none;
  pointer-events: none;
}

/* ── Progress bar ── */
.analysis-progress { margin: 8px 0; }
.progress-bar-track {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 12px 0 8px;
}
.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 1.8s ease;
}
.progress-bar-fill.shimmer {
  background-image: linear-gradient(90deg, var(--accent) 0%, #e8d992 50%, var(--accent) 100%);
  background-size: 200% 100%;
  animation: barShimmer 1.5s ease-in-out infinite;
}
@keyframes barShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════
   SENTIMENT PANEL
   ══════════════════════════════════════════ */
.sentiment-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
}
.sentiment-summary { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 8px 0 16px; }
.sentiment-gauge-row { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.sentiment-gauge { flex: 1 1 200px; }
.gauge-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px; }
.gauge-track { height: 18px; border-radius: 9px; background: rgba(255,255,255,.06); overflow: hidden; }
.gauge-fill { height: 100%; border-radius: 9px; width: 0%; transition: width .8s cubic-bezier(.4,0,.2,1); background: linear-gradient(90deg, #ef4444 0%, #f59e0b 40%, #22c55e 80%); }
.gauge-value { font-size: 22px; font-weight: 700; margin-top: 6px; color: #fff; }
.platform-bars { display: flex; flex-direction: column; gap: 10px; flex: 0 0 auto; }
.platform-bar { display: flex; align-items: center; gap: 10px; }
.platform-icon { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); min-width: 62px; }
.platform-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: capitalize; border: 1px solid transparent; }
.platform-badge.positive { background: rgba(34,197,94,.12); color: #4ade80; border-color: rgba(34,197,94,.2); }
.platform-badge.neutral  { background: rgba(245,158,11,.12); color: #fbbf24; border-color: rgba(245,158,11,.2); }
.platform-badge.negative { background: rgba(239,68,68,.12); color: #f87171; border-color: rgba(239,68,68,.2); }
.platform-badge.unknown  { background: rgba(255,255,255,.06); color: var(--muted); border-color: rgba(255,255,255,.1); }

.sentiment-list-box { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.sent-list-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 8px; }
.sentiment-positives .sent-list-label { color: #4ade80; }
.sentiment-concerns .sent-list-label  { color: #f87171; }
.sentiment-list-box ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.sentiment-list-box li { font-size: 13px; color: #ccc; padding-left: 14px; position: relative; line-height: 1.5; }
.sentiment-positives li::before { content: '+'; position: absolute; left: 0; color: #4ade80; font-weight: 700; }
.sentiment-concerns li::before  { content: '!'; position: absolute; left: 0; color: #f87171; font-weight: 700; }

.notable-comments { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.notable-comments:empty { display: none; }
.notable-comments .nc-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 2px; }
.nc-card { display: flex; gap: 10px; padding: 12px 14px; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px; align-items: flex-start; }
.nc-source { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 6px; flex-shrink: 0; margin-top: 2px; }
.nc-source.reddit  { background: rgba(255,69,0,.15); color: #ff6b35; }
.nc-source.twitter { background: rgba(29,155,240,.15); color: #1d9bf0; }
.nc-text { font-size: 13px; color: #bbb; line-height: 1.5; flex: 1; }
.nc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.nc-dot.positive { background: #4ade80; }
.nc-dot.neutral  { background: #fbbf24; }
.nc-dot.negative { background: #f87171; }

/* ══════════════════════════════════════════
   RADAR SCORECARD
   ══════════════════════════════════════════ */
.radar-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px 28px; text-align: center; }
.radar-card canvas { display: block; margin: 12px auto 0; max-width: 100%; }
.radar-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 20px; margin-top: 14px; }
.radar-legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.radar-legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.radar-legend-val { font-weight: 700; color: #fff; }

/* ══════════════════════════════════════════
   ASK THE AI CHAT
   ══════════════════════════════════════════ */
.chat-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px 28px; margin-top: 16px; }
.chat-messages { max-height: 360px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; margin: 14px 0; padding-right: 4px; }
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 2px; }
.chat-bubble { max-width: 85%; padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.6; word-break: break-word; white-space: pre-wrap; }
.chat-bubble.assistant { background: rgba(255,255,255,.06); border: 1px solid var(--border); color: #ccc; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-bubble.user { background: var(--accent); color: #000; align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
.chat-bubble.typing { color: var(--muted); font-style: italic; }
.chat-input-row { display: flex; gap: 8px; }
.chat-input-row input { flex: 1; background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; font-size: 13px; color: #fff; outline: none; font-family: inherit; transition: border-color .2s; }
.chat-input-row input:focus { border-color: var(--accent); }
.chat-input-row input::placeholder { color: var(--muted); }
#chat-send { background: var(--accent); color: #000; border: none; border-radius: 10px; padding: 10px 18px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; transition: opacity .2s; flex-shrink: 0; }
#chat-send:hover { opacity: .85; }
#chat-send:disabled { opacity: .4; cursor: not-allowed; }

/* ══════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════ */
.how-section { background: rgba(255,255,255,0.01); }

#galaxy-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.how-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0 32px;
}

.how-col { display: flex; flex-direction: column; gap: 16px; }

.how-diag-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  cursor: default;
}

.how-diag-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(200,181,96,0.3);
  transform: translateY(-3px);
}

.how-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  opacity: 0.65;
  display: block;
  margin-bottom: 18px;
}

.how-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 10px;
  line-height: 1.3;
}

.how-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--paper);
  opacity: 0.5;
  line-height: 1.65;
}

.how-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-center-ring {
  width: 220px;
  min-height: 200px;
  background: rgba(14,14,12,0.85);
  border: 1px solid rgba(200,181,96,0.35);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 20px;
  box-shadow:
    0 0 0 6px rgba(200,181,96,0.05),
    0 0 40px rgba(200,181,96,0.12),
    0 24px 60px rgba(0,0,0,0.6);
  position: relative;
  z-index: 2;
}

.how-center-logo {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(200,181,96,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-center-name {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--accent);
  opacity: 0.8;
  text-transform: uppercase;
  text-align: center;
}

.how-center-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.how-center-pills span {
  display: block;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.55;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  transition: opacity 0.2s, border-color 0.2s;
}

.how-center-pills span:hover {
  opacity: 1;
  border-color: rgba(200,181,96,0.35);
}

.how-line {
  position: absolute;
  top: 50%;
  height: 1px;
  width: 32px;
  border-top: 1px dashed rgba(200,181,96,0.35);
  z-index: 1;
}

.how-line--left  { right: 100%; }
.how-line--right { left: 100%; }

/* ══════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════ */
#prism-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.feat-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feat-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feat-left-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--paper-dim);
  line-height: 1.7;
}

.feat-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-swap-container {
  position: relative;
  width: 420px;
  height: 280px;
  perspective: 900px;
}

.card {
  position: absolute;
  top: 50%; left: 50%;
  width: 420px;
  height: 280px;
  border-radius: var(--r-lg);
  will-change: transform;
  cursor: pointer;
}

.feat-swap-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-hi);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  transition: border-color 0.25s;
}

.feat-swap-card:hover { border-color: rgba(200,181,96,0.3); }

.feat-swap-card .feat-icon { font-size: 28px; }

.feat-swap-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--paper);
}

.feat-swap-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--paper);
  opacity: 0.55;
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  margin: 0 16px 16px;
  border-radius: 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--paper);
  opacity: 0.4;
  text-transform: uppercase;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1080px) {
  .report-layout { grid-template-columns: 1fr; }
  .report-sidebar { position: static; }
  .analyse-section .section-inner { max-width: 720px; }
}

@media (max-width: 960px) {
  .hero { flex-direction: column; padding: 120px 24px 60px; gap: 48px; }
  .hero-right { flex: unset; width: 100%; }
  .report-card { max-width: 480px; }
  .how-diagram { grid-template-columns: 1fr; gap: 24px; }
  .how-line { display: none; }
  .how-center { order: -1; }
  .how-center-ring { width: 100%; max-width: 340px; }
  .feat-layout { grid-template-columns: 1fr; }
  .card-swap-container, .card { width: 100%; max-width: 420px; }
  .scenario-cards { grid-template-columns: 1fr; }
  .rev-sliders { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { padding: 16px 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding: 80px 20px; }
  .two-col { grid-template-columns: 1fr; }
  .swot-grid { grid-template-columns: 1fr; }
  .search-wrap { flex-direction: column; }
  .search-btn { padding: 16px; width: 100%; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .hero, .section, .analyse-section, .footer { margin-left: 8px; margin-right: 8px; }
  .fc-modal-box { width: 96vw; height: 90vh; border-radius: 10px; }
  .sentiment-gauge-row { flex-direction: column; }
}




