/* ══════════════════════════════════════════════════
   IDEIO — styles.css
   ══════════════════════════════════════════════════ */

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

:root {
  --bg:        #0f172a;
  --bg-card:   #1e293b;
  --bg-card2:  #243347;
  --border:    #334155;
  --border-md: #475569;

  --txt:       #cbd5e1;
  --txt-2:     #94a3b8;
  --txt-3:     #64748b;

  --accent:    #6366f1;
  --accent-h:  #4f46e5;
  --accent-glow: rgba(99,102,241,.25);

  --green:     #22c55e;
  --green-dim: rgba(34,197,94,.15);
  --yellow:    #f59e0b;
  --yellow-dim:rgba(245,158,11,.15);
  --red:       #f87171;
  --red-dim:   rgba(248,113,113,.12);

  --radius:    12px;
  --radius-lg: 18px;
  --shadow:    0 4px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.6);

  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: var(--txt);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Screens ── */
.screen { display: none; }
.screen.active { display: block; }

/* ── Container ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
}
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px var(--accent-glow);
}
.btn-primary:disabled {
  opacity: .38;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 11px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--txt-2);
  border: 1px solid var(--border-md);
  border-radius: 9px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--txt); }

.btn-nav {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.btn-nav:hover { background: var(--accent-h); }

.btn-back {
  background: transparent;
  color: var(--txt-2);
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  transition: color .15s;
}
.btn-back:hover { color: var(--txt); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  background: rgba(15,23,42,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,.4);
}
.logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--txt);
  text-decoration: none;
  text-shadow: 0 0 16px rgba(99,102,241,.45);
  animation: ideioLogoGlow 3.4s ease-in-out infinite;
}

/* Subtle always-on glow for the IDEIO wordmark, on every page. */
@keyframes ideioLogoGlow {
  0%, 100% { text-shadow: 0 0 8px rgba(99,102,241,.30); }
  50%      { text-shadow: 0 0 20px rgba(99,102,241,.75), 0 0 34px rgba(99,102,241,.35); }
}
@media (prefers-reduced-motion: reduce) {
  .logo, .nav-logo { animation: none; text-shadow: 0 0 14px rgba(99,102,241,.5); }
}
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-link {
  color: var(--txt-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 200ms ease;
}
.nav-link:hover { color: var(--txt); }
.nav-link:hover::after { width: 100%; }


/* ══════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════ */
.hero {
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(108,99,255,.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,.1);
  border: 1px solid rgba(108,99,255,.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #a5a0ff;
  margin-bottom: 24px;
}
.pill-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
}

h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--txt);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--txt-2);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-footnote {
  font-size: 13px;
  color: var(--txt-3);
}

/* Mockup */
.hero-visual { display: flex; justify-content: center; }

.mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 360px;
}

.mockup-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at 50% 40%, rgba(108,99,255,.18) 0%, transparent 70%);
  pointer-events: none;
}

.mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card2);
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.topbar-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--txt-3);
  margin-left: 8px;
}

.mockup-content { padding: 16px; }

.mockup-eyebrow {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: .02em;
}

.m-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 6px;
}
.m-card--1 { border-color: rgba(108,99,255,.3); }
.m-card--2 { opacity: .85; }
.m-card--3 { opacity: .65; }

.m-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.m-num { font-size: 10px; color: var(--txt-3); font-weight: 700; }
.m-name { font-size: 14px; font-weight: 700; color: var(--txt); margin-bottom: 2px; }
.m-liner { font-size: 11px; color: var(--txt-2); margin-bottom: 8px; }
.m-tag {
  font-size: 10px;
  color: var(--accent);
  background: rgba(108,99,255,.12);
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: auto;
}

.m-match {
  font-size: 11px;
  font-weight: 700;
  border-radius: 5px;
  padding: 2px 7px;
}
.m-match--high { background: var(--green-dim); color: var(--green); }
.m-match--mid  { background: var(--yellow-dim); color: var(--yellow); }
.m-match--low  { background: rgba(255,255,255,.06); color: var(--txt-3); }

.m-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.m-chip {
  font-size: 10px;
  background: rgba(255,255,255,.05);
  border-radius: 4px;
  padding: 2px 7px;
  color: var(--txt-3);
}
.m-chip--skill { background: rgba(108,99,255,.1); color: #a5a0ff; }
.m-chip--budget { background: rgba(34,197,94,.08); color: var(--green); }


/* ══════════════════════════════════════════════════
   SECTION SHARED
   ══════════════════════════════════════════════════ */
.sec-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.sec-h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 52px;
}

/* Scroll reveal — expanded system */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal       { transform: translateY(24px); }
.reveal-left  { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(0.92); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1;
  transform: none;
}


/* ══════════════════════════════════════════════════
   BENEFITS
   ══════════════════════════════════════════════════ */
.benefits {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .2s, transform .2s ease, box-shadow .2s ease;
}
.benefit-item:hover {
  border-color: var(--border-md);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}

.b-icon {
  width: 36px; height: 36px;
  background: rgba(108,99,255,.12);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
  transition: transform .2s ease;
}
.benefit-item:hover .b-icon { transform: rotate(5deg) scale(1.1); }
.benefit-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--txt);
}
.benefit-item p { font-size: 14px; color: var(--txt-2); line-height: 1.65; }


/* ══════════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════════ */
.how-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.step-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--border-md);
  letter-spacing: -.04em;
  margin-bottom: 12px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--txt-2); line-height: 1.65; margin-bottom: 16px; }

.step-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.step-tags span {
  font-size: 12px;
  background: rgba(108,99,255,.1);
  color: #a5a0ff;
  border-radius: 5px;
  padding: 3px 9px;
}

.match-bars { display: flex; flex-direction: column; gap: 7px; }
.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card2);
  border-radius: 6px;
  padding: 7px 10px;
}
.bar-fill {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #9b94ff);
  border-radius: 100px;
}
.bar-row span { font-size: 11px; font-weight: 600; color: var(--txt-3); margin-left: auto; }

.step-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(108,99,255,.12);
  color: #a5a0ff;
  border: 1px solid rgba(108,99,255,.25);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.step-btn:hover { background: rgba(108,99,255,.2); border-color: rgba(108,99,255,.4); }

.step-arrow {
  padding-top: 56px;
  color: var(--border-md);
  flex-shrink: 0;
  align-self: flex-start;
}


/* ══════════════════════════════════════════════════
   WHAT YOU GET
   ══════════════════════════════════════════════════ */
.wyg-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.wyg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.wyg-card {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.wyg-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.wyg-top-left { display: flex; align-items: center; gap: 10px; }
.wyg-num { font-size: 28px; font-weight: 800; color: var(--border-md); }
.wyg-match-badge {
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 10px;
}
.wyg-match--high { background: var(--green-dim); color: var(--green); }

.wyg-industry {
  font-size: 12px;
  color: var(--accent);
  background: rgba(108,99,255,.1);
  border-radius: 5px;
  padding: 3px 9px;
}
.wyg-name { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.wyg-liner { font-size: 14px; color: var(--txt-2); margin-bottom: 16px; }

.wyg-problem {
  background: var(--bg-card2);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  margin-bottom: 18px;
}
.wyg-prob-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.wyg-problem p { font-size: 13px; color: var(--txt-2); line-height: 1.6; }

.wyg-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.wyg-meta-col { display: flex; flex-direction: column; gap: 3px; }
.wyg-key { font-size: 11px; color: var(--txt-3); }
.wyg-val { font-size: 14px; font-weight: 600; color: var(--txt); }

.wyg-examples { font-size: 13px; color: var(--txt-3); }
.wyg-ex-label { color: var(--txt-2); font-weight: 500; }

/* Checklist */
.wyg-checklist { padding: 8px 0; }
.wyg-check-title { font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.wyg-checklist ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.wyg-checklist li { display: flex; gap: 12px; align-items: flex-start; }
.chk {
  width: 20px; height: 20px;
  min-width: 20px;
  background: var(--green-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-top: 1px;
}
.wyg-checklist li div { display: flex; flex-direction: column; gap: 2px; }
.wyg-checklist li strong { font-size: 14px; font-weight: 600; color: var(--txt); }
.wyg-checklist li span { font-size: 13px; color: var(--txt-2); }


/* ══════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════ */
.cta-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(108,99,255,.12), rgba(108,99,255,.04));
  border: 1px solid rgba(108,99,255,.2);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.cta-copy h2 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.cta-copy p { font-size: 16px; color: var(--txt-2); }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-footnote--dark { font-size: 13px; color: var(--txt-3); }


/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo { font-size: 15px; font-weight: 800; }
.footer-mid { font-size: 13px; color: var(--txt-3); }
.footer-copy { font-size: 13px; color: var(--txt-3); }


/* ══════════════════════════════════════════════════
   ONBOARDING
   ══════════════════════════════════════════════════ */
.ob-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.ob-progress-track {
  height: 3px;
  background: var(--border);
  border-radius: 100px;
  margin-bottom: 10px;
  overflow: hidden;
}
.ob-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width .35s cubic-bezier(.4,0,.2,1);
}
.ob-counter {
  font-size: 12px;
  color: var(--txt-3);
  margin-bottom: 48px;
}

/* Questions */
.question { display: none; }
.question.active { display: block; }

.q-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.q-sub { font-size: 15px; color: var(--txt-2); margin-bottom: 32px; }

/* Option buttons (Q1–Q4) */
.opts { display: flex; flex-direction: column; gap: 10px; }

.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  cursor: pointer;
  text-align: left;
  color: var(--txt);
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
  width: 100%;
  will-change: transform;
  transform: translateZ(0);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.opt:hover {
  border-color: var(--border-md);
  background: var(--bg-card2);
}
.opt.selected {
  border-color: var(--accent);
  background: rgba(108,99,255,.08);
}
.opt:active { transform: scale(.99); }

.opt-icon {
  width: 36px; height: 36px;
  min-width: 36px;
  background: rgba(255,255,255,.05);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--txt-2);
  transition: background .15s, color .15s;
}
.opt.selected .opt-icon { background: rgba(108,99,255,.15); color: var(--accent); }

.opt-body { display: flex; flex-direction: column; gap: 3px; }
.opt-label { font-size: 15px; font-weight: 600; color: var(--txt); }
.opt-desc  { font-size: 13px; color: var(--txt-2); }

/* Q5 tile grid */
.opts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.opt-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 10px;
  cursor: pointer;
  color: #ffffff;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
  width: 100%;
  text-align: center;
  will-change: transform;
  transform: translateZ(0);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.opt-tile:active { transform: scale(.97); }
.opt-tile:hover { border-color: var(--border-md); background: var(--bg-card2); }
.opt-tile.selected { border-color: var(--accent); background: rgba(108,99,255,.08); }

.tile-icon { font-size: 22px; }
.opt-tile .opt-label { font-size: 12px; font-weight: 600; color: #ffffff; }
.opt-tile.selected .opt-label { color: #ffffff; }

.btn-submit { width: 100%; justify-content: center; font-size: 16px; padding: 16px; border-radius: 11px; }


/* ══════════════════════════════════════════════════
   RESULTS
   ══════════════════════════════════════════════════ */
.results-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.results-hd {
  text-align: center;
  margin-bottom: 40px;
}
.results-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--accent);
  background: rgba(108,99,255,.1);
  border: 1px solid rgba(108,99,255,.2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.results-hd h2 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.results-hd p  { font-size: 15px; color: var(--txt-2); }

/* Ideas grid */
.ideas-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.idea-card {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.idea-card:hover {
  border-color: rgba(108,99,255,.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}

.idea-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.idea-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--txt-3);
  min-width: 24px;
}
.idea-name { font-size: 22px; font-weight: 800; color: var(--txt); }

.idea-match {
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 10px;
}
.idea-match--high { background: var(--green-dim); color: var(--green); }
.idea-match--mid  { background: var(--yellow-dim); color: var(--yellow); }
.idea-match--low  { background: var(--red-dim); color: var(--red); }

.idea-market {
  margin-left: auto;
  font-size: 12px;
  color: var(--txt-3);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
}
.idea-market--large  { color: var(--green);  border-color: rgba(34,197,94,.3);  background: rgba(34,197,94,.08); }
.idea-market--medium { color: var(--yellow); border-color: rgba(245,158,11,.3); background: rgba(245,158,11,.08); }
.idea-market--small  { color: var(--txt-3);  border-color: var(--border); }

.idea-liner { font-size: 15px; color: var(--txt-2); margin-bottom: 12px; }
.idea-problem {
  font-size: 14px;
  color: var(--txt-2);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.idea-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 18px; }

.idea-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.meta-field { display: flex; flex-direction: column; gap: 4px; }
.meta-label { font-size: 11px; color: var(--txt-3); text-transform: uppercase; letter-spacing: .06em; }
.meta-value { font-size: 14px; font-weight: 600; color: var(--txt); }

.idea-examples { font-size: 13px; color: var(--txt-3); }
.idea-examples strong { color: var(--txt-2); }

#btn-restart { display: block; margin: 0 auto; }


/* ══════════════════════════════════════════════════
   EMAIL MODAL
   ══════════════════════════════════════════════════ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.active {
  display: flex;
  animation: modalBackdropIn 200ms ease both;
}
.modal.active .modal-content {
  animation: modalContentIn 250ms cubic-bezier(0.16, 1, 0.3, 1) 50ms both;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: scale(1); }
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-content h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--txt);
}
.modal-sub {
  font-size: 14px;
  color: var(--txt-2);
  line-height: 1.6;
  margin-top: -4px;
}

.modal-field { display: flex; flex-direction: column; gap: 6px; }

.modal-field input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: var(--txt);
  outline: none;
  transition: border-color .15s;
}
.modal-field input[type="email"]:focus { border-color: var(--accent); }
.modal-field input[type="email"]::placeholder { color: var(--txt-3); }

.modal-error {
  font-size: 13px;
  color: var(--red);
  font-weight: 500;
  display: none;
}

.modal-submit {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 15px;
  border-radius: 11px;
}

.modal-privacy {
  font-size: 12px;
  color: var(--txt-3);
  text-align: center;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .mockup-wrap { max-width: 440px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; gap: 12px; }
  .step-arrow { display: none; }
  .wyg-grid { grid-template-columns: 1fr; }
  .idea-meta { grid-template-columns: repeat(2, 1fr); }
  .opts-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; }
}

@media (max-width: 600px) {
  .nav { padding: 0 16px; }
  .container { padding: 0 16px; }
  .hero { padding: 60px 0 48px; }
  .benefits, .how-section, .wyg-section, .cta-section { padding: 64px 0; }
  .cta-inner { padding: 32px 24px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; text-align: center; }
  .idea-card { padding: 20px; }
  .idea-meta { grid-template-columns: 1fr 1fr; }
  .opts-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-link { display: none; }
}


/* ══════════════════════════════════════════════════
   PRICING PAGE
   ══════════════════════════════════════════════════ */

.nav-link--active { color: var(--txt) !important; }

/* Header */
.pricing-header {
  padding: 80px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-header::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(108,99,255,.12) 0%, transparent 70%);
  pointer-events: none;
}
.pricing-header-inner { position: relative; }
.pricing-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.pricing-sub {
  font-size: 17px;
  color: var(--txt-2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Cards section */
.pricing-cards-section { padding-bottom: 20px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 820px;
  margin: 0 auto;
}

/* Base card */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.pricing-card:hover { border-color: rgba(255,255,255,.18); }

/* PRO card */
.pricing-card--pro {
  border: 2px solid var(--accent);
  box-shadow: 0 0 48px rgba(108,99,255,.2), 0 8px 32px rgba(0,0,0,.4);
  background: linear-gradient(160deg, rgba(108,99,255,.06) 0%, var(--bg-card) 60%);
  padding-top: 52px;
}
.pricing-card--pro:hover { box-shadow: 0 0 64px rgba(108,99,255,.3), 0 12px 40px rgba(0,0,0,.5); }

/* (master card removed — 2-tier system) */

/* Most Popular badge */
.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 0 0 9px 9px;
  white-space: nowrap;
}

/* Tier label */
.pricing-tier-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 16px;
}
.pricing-card--pro .pricing-tier-label     { color: var(--accent); }
/* master tier label removed */

/* Price */
.pricing-price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--txt);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-currency {
  font-size: 20px;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
}
.pricing-price-note {
  font-size: 12px;
  color: var(--txt-3);
  margin-bottom: 12px;
}
.pricing-desc {
  font-size: 15px;
  font-weight: 600;
  color: var(--txt-2);
  margin-bottom: 22px;
}

.pricing-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 22px; }

/* Feature list */
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
  min-height: 200px;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--txt-2);
  line-height: 1.45;
}
.pricing-feature strong { color: var(--txt); font-weight: 600; }
.pricing-feature--more  { color: var(--txt-3); font-size: 13px; padding-left: 26px; font-style: italic; }

.feat-chk {
  width: 16px; height: 16px;
  min-width: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  background: var(--green-dim);
  color: var(--green);
}
.pricing-card--pro .feat-chk     { background: rgba(108,99,255,.15); color: var(--accent); }
/* master feat-chk removed */

/* CTA Buttons */
.btn-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
  border: none;
  text-decoration: none;
}
.btn-pricing:active { transform: scale(.99); }

.btn-pricing--starter {
  background: transparent;
  color: var(--txt);
  border: 1.5px solid var(--border-md);
}
.btn-pricing--starter:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); }

.btn-pricing--pro {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid transparent;
}
.btn-pricing--pro:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

/* btn-pricing--master removed — 2-tier system */

/* Trust section */
.trust-section {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 60px;
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--txt-2);
  padding: 0 36px;
}

/* ══════════════════════════════════════════════════
   BUTTON VARIANTS (app-wide)
   ══════════════════════════════════════════════════ */

.btn-full { width: 100%; justify-content: center; }
.btn-sm   { padding: 8px 16px; font-size: 13px; }
.btn-xs   { padding: 6px 12px; font-size: 12px; }

.btn-danger {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(248,113,113,.25);
  border-radius: 9px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.btn-danger:hover { background: rgba(248,113,113,.22); }

/* ══════════════════════════════════════════════════
   AUTH PAGE
   ══════════════════════════════════════════════════ */

.auth-wrap {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

.auth-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--txt);
  margin-bottom: 4px;
  text-align: center;
}

.auth-sub {
  text-align: center;
  color: var(--txt-3);
  font-size: 14px;
  margin-bottom: 28px;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-card2);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 28px;
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--txt-3);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.auth-tab.active {
  background: var(--bg-card);
  color: var(--txt);
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.auth-error {
  color: var(--red);
  font-size: 13px;
  display: none;
  margin: -8px 0 0;
}

.auth-success {
  color: var(--green);
  font-size: 13px;
  display: none;
  margin: -8px 0 0;
}

.auth-hint {
  text-align: center;
  font-size: 13px;
  color: var(--txt-3);
}

.auth-link {
  color: var(--accent);
  text-decoration: none;
}
.auth-link:hover { text-decoration: underline; }

.auth-desc {
  font-size: 14px;
  color: var(--txt-2);
  margin-bottom: 4px;
}

/* ── Form fields (shared) ── */
.field-group { display: flex; flex-direction: column; gap: 6px; }

.field-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--txt-2);
}

.field-input {
  background: var(--bg-card2);
  border: 1px solid var(--border-md);
  border-radius: 9px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--txt);
  outline: none;
  transition: border-color .15s;
  width: 100%;
  font-family: inherit;
}
.field-input:focus { border-color: var(--accent); }
.field-input::placeholder { color: var(--txt-3); }

.notes-input { resize: vertical; min-height: 80px; }

/* ══════════════════════════════════════════════════
   APP NAV (authenticated pages)
   ══════════════════════════════════════════════════ */

.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

.nav-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--txt);
  text-decoration: none;
  margin-right: auto;
  text-shadow: 0 0 16px rgba(99,102,241,.45);
  animation: ideioLogoGlow 3.4s ease-in-out infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px;
}

.nav-link--active {
  color: var(--txt) !important;
  background: var(--bg-card2);
  border-radius: 8px;
  padding: 6px 12px;
}

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

/* Plan badges */
.nav-plan-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 3px 9px;
}

.badge-starter {
  background: var(--bg-card2);
  color: var(--txt-3);
  border: 1px solid var(--border-md);
}

.badge-pro {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(108,99,255,.3);
}

/* badge-master removed — 2-tier system */

/* ══════════════════════════════════════════════════
   APP MAIN / SHARED PAGE LAYOUT
   ══════════════════════════════════════════════════ */

.app-main {
  padding-top: 48px;
  padding-bottom: 80px;
  min-height: calc(100vh - 64px);
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
  flex-wrap: wrap;
}

.page-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 4px;
}

.page-sub {
  font-size: 15px;
  color: var(--txt-2);
}

/* ══════════════════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════════════════ */

.dash-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.dash-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 4px;
}

.dash-sub {
  font-size: 15px;
  color: var(--txt-2);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--txt);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--txt-3);
}

/* Limit bar (Starter) */
.limit-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 36px;
}

.limit-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.limit-label { font-size: 14px; color: var(--txt-2); }

.limit-track {
  height: 5px;
  background: var(--bg-card2);
  border-radius: 99px;
  overflow: hidden;
}

.limit-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width .4s ease;
}

.limit-fill--warn { background: var(--yellow); }
.limit-fill--full { background: var(--red); }

/* Dashboard sections */
.dash-section { margin-top: 44px; }

.dash-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dash-section-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.dash-see-all {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
}
.dash-see-all:hover { text-decoration: underline; }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dash-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px;
  color: var(--txt-3);
  font-size: 14px;
  background: var(--bg-card);
  border: 1px dashed var(--border-md);
  border-radius: var(--radius);
}

.dash-idea-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .15s;
}
.dash-idea-card:hover { border-color: var(--border-md); }

.dic-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.dic-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
  line-height: 1.3;
}

.dic-match {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.dic-liner {
  font-size: 13px;
  color: var(--txt-2);
  line-height: 1.5;
  flex: 1;
}

.dic-actions { margin-top: 4px; }

.dic-status {
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
  text-transform: capitalize;
}

.status-exploring  { background: var(--yellow-dim); color: var(--yellow); }
.status-validating { background: rgba(59,130,246,.12); color: #60a5fa; }
.status-building   { background: var(--accent-glow); color: var(--accent); }
.status-launched   { background: var(--green-dim); color: var(--green); }
.status-paused     { background: var(--bg-card2); color: var(--txt-3); }

.dic-progress-row {
  display: flex;
  gap: 12px;
}

.dic-meta {
  font-size: 12px;
  color: var(--txt-3);
}

/* ══════════════════════════════════════════════════
   IDEAS PAGE — upgrade wall
   ══════════════════════════════════════════════════ */

.upgrade-wall {
  text-align: center;
  padding: 80px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.uw-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.uw-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}

.uw-sub {
  font-size: 15px;
  color: var(--txt-2);
  margin-bottom: 28px;
  line-height: 1.6;
}

.uw-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════
   IDEAS PAGE — results extras
   ══════════════════════════════════════════════════ */

.results-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.idea-card-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════
   PROGRESS PAGE
   ══════════════════════════════════════════════════ */

.prog-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--txt-2);
}

.prog-empty-icon {
  font-size: 44px;
  margin-bottom: 16px;
}

.prog-empty h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 8px;
}

.prog-empty p {
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.prog-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color .15s;
}
.prog-card:hover { border-color: var(--border-md); }

.prog-card-main {
  flex: 1;
  min-width: 0;
}

.prog-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.prog-idea-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--txt);
}

.prog-status {
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 8px;
  text-transform: capitalize;
}

.prog-milestones {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.prog-mile {
  font-size: 12px;
  color: var(--txt-3);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
}

.prog-mile.mile--done {
  color: var(--green);
  background: var(--green-dim);
  border-color: rgba(34,197,94,.2);
}

/* Progress detail modal */
.modal-content--lg {
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--txt-3);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.modal-close:hover { color: var(--txt); background: var(--bg-card2); }

.modal-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-right: 32px;
}

.detail-section { margin-bottom: 24px; }

.detail-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 10px;
}

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

.status-pill {
  background: var(--bg-card2);
  border: 1px solid var(--border-md);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--txt-2);
  cursor: pointer;
  transition: all .15s;
}

.status-pill.active,
.status-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.counter-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.counter-btn {
  width: 32px;
  height: 32px;
  background: var(--bg-card2);
  border: 1px solid var(--border-md);
  border-radius: 8px;
  color: var(--txt);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.counter-btn:hover { border-color: var(--accent); color: var(--accent); }

.counter-val {
  font-size: 24px;
  font-weight: 700;
  min-width: 32px;
  text-align: center;
}

.counter-hint {
  font-size: 13px;
  color: var(--txt-3);
}

.milestone-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.milestone-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--txt-2);
  cursor: pointer;
}

.milestone-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 12px;
}

/* ══════════════════════════════════════════════════
   SETTINGS PAGE
   ══════════════════════════════════════════════════ */

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
}

.settings-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
}

.settings-card--danger {
  border-color: rgba(248,113,113,.2);
  background: rgba(248,113,113,.04);
}

.settings-section-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--txt);
}

.settings-title--danger { color: var(--red); }

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.settings-row:last-child { border-bottom: none; }

.settings-row-label {
  font-size: 13px;
  color: var(--txt-3);
  white-space: nowrap;
}

.settings-row-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--txt);
  text-align: right;
  word-break: break-all;
}

.settings-actions {
  margin-top: 16px;
}

.settings-danger-desc {
  font-size: 13px;
  color: var(--txt-3);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — app pages
   ══════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-grid  { grid-template-columns: repeat(2, 1fr); }
  .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .auth-card { padding: 28px 20px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-grid  { grid-template-columns: 1fr; }
  .nav-links  { display: none; }
  .nav-right  { gap: 6px; }
  .page-head  { flex-direction: column; }
  .prog-card  { flex-direction: column; align-items: flex-start; }
  .modal-content--lg { padding: 24px 16px; }
  .status-pills { gap: 4px; }
}
.trust-icon { font-size: 18px; }
.trust-sep {
  width: 1px;
  height: 20px;
  background: var(--border-md);
}

/* Comparison table */
.compare-section { padding: 80px 0 60px; }
.compare-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  padding: 13px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare-feature-col { text-align: left; color: var(--txt-2); }

.compare-table thead th {
  font-size: 13px;
  font-weight: 700;
  color: var(--txt);
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border-md);
  line-height: 1.5;
}
.compare-table thead th:first-child { border-radius: var(--radius) 0 0 0; text-align: left; }
.compare-table thead th:last-child  { border-radius: 0 var(--radius) 0 0; }

.compare-th--pro {
  background: rgba(108,99,255,.12) !important;
  border-left: 1px solid rgba(108,99,255,.3);
  border-right: 1px solid rgba(108,99,255,.3);
  color: #a5a0ff !important;
}
.compare-col--pro {
  background: rgba(108,99,255,.05);
  border-left: 1px solid rgba(108,99,255,.15);
  border-right: 1px solid rgba(108,99,255,.15);
}

.compare-price {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--txt-3);
  margin-top: 2px;
}
.compare-th--pro .compare-price { color: rgba(165,160,255,.7); }

.compare-section-row {
  text-align: left !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--txt-3);
  background: var(--bg-card2);
  padding: 10px 20px !important;
}

.cmp-yes { color: var(--green); font-size: 15px; font-weight: 700; }
.cmp-no  { color: var(--txt-3); font-size: 15px; }

.compare-table tfoot td {
  padding: 20px 12px;
  border-top: 1px solid var(--border-md);
  border-bottom: none;
}

/* FAQ */
.faq-section {
  padding: 80px 20px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.faq-container {
  max-width: 1200px;
  margin: 0 auto;
}
.faq-header { text-align: center; margin-bottom: 60px; }
.faq-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
/* Pricing page FAQ items */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--border-md); }
.faq-q {
  font-size: 15px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 10px;
  line-height: 1.4;
}
.faq-a { font-size: 14px; color: var(--txt-2); line-height: 1.7; }
/* Landing page FAQ cards */
.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
}
.faq-card:hover {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.05);
  transform: translateY(-4px);
}
.faq-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
}
.faq-card p {
  font-size: 15px;
  color: var(--txt);
  margin: 0;
  line-height: 1.6;
}
.faq-card p strong { color: #fff; }

/* ── Pricing responsive ── */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 760px;
    margin: 0 auto;
  }
  .pricing-grid .pricing-card--pro { grid-column: auto; }
  .bll-grid .pricing-card--pro { grid-column: auto; }
  .pricing-features  { min-height: unset; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-section { padding: 40px 20px; }
  .faq-header h2 { font-size: 28px; }
  .trust-row { gap: 16px; }
  .trust-sep { display: none; }
  .trust-badge { padding: 0 0; }
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .pricing-card--starter { order: 2; }
  .pricing-card--pro     { order: 1; grid-column: auto; }
  /* pricing-card--master order removed */
  .pricing-title { font-size: 36px; }
  .pricing-header { padding: 56px 0 40px; }
  .compare-table { font-size: 13px; }
  .compare-table th,
  .compare-table td { padding: 10px 12px; }
}

/* ══════════════════════════════════════════════════
   QUIZ — ob-header / ob-foot / grid modifiers
   ══════════════════════════════════════════════════ */
.ob-header {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 24px 0;
}
.ob-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}
.opts-grid--1     { grid-template-columns: 1fr; }
.opts-grid--2     { grid-template-columns: repeat(2, 1fr); }
.opts-grid--tiles { grid-template-columns: repeat(4, 1fr); }

/* ══════════════════════════════════════════════════
   MATCH BAR + REASONS
   ══════════════════════════════════════════════════ */
.match-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}
.match-bar {
  flex: 1;
  height: 6px;
  background: var(--border-md);
  border-radius: 100px;
  overflow: hidden;
}
.match-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width .7s cubic-bezier(.4,0,.2,1);
}
.match-bar-fill--high { background: var(--green); }
.match-bar-fill--mid  { background: var(--yellow); }
.match-bar-fill--low  { background: var(--red); }
.match-bar-pct {
  font-size: 13px;
  font-weight: 700;
  min-width: 52px;
  text-align: right;
}

.match-reasons {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}
.match-reason {
  font-size: 13px;
  color: var(--txt-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.match-reason::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.rc-foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════
   IDEA DETAIL PAGE
   ══════════════════════════════════════════════════ */
.detail-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--txt-2);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color .15s;
}
.detail-back:hover { color: var(--txt); }

.detail-hero { margin-bottom: 40px; }

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.detail-badge {
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-card2);
  border: 1px solid var(--border-md);
  border-radius: 6px;
  padding: 4px 10px;
  color: var(--txt-2);
}

.detail-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
.detail-liner {
  font-size: 17px;
  color: var(--txt-2);
  line-height: 1.55;
  margin-bottom: 20px;
}

.detail-section { margin-bottom: 36px; }
.detail-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--txt-3);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.detail-problem {
  font-size: 16px;
  line-height: 1.65;
  color: var(--txt-2);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  font-style: italic;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.detail-grid-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.detail-grid-label {
  font-size: 11px;
  color: var(--txt-3);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.detail-grid-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--txt);
}

.detail-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-skill {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: 8px;
  color: var(--txt);
}

.detail-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-example {
  font-size: 13px;
  color: var(--txt-2);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
}

.detail-cta {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .opts-grid--2     { grid-template-columns: 1fr; }
  .opts-grid--tiles { grid-template-columns: repeat(2, 1fr); }
  .detail-grid      { grid-template-columns: repeat(2, 1fr); }
  .detail-cta       { flex-direction: column; }
  .detail-cta .btn-primary,
  .detail-cta .btn-ghost { justify-content: center; }
}

/* ════════════════════════════════════════════════════
   IDEA DETAIL PAGE  (id-* classes)
   ════════════════════════════════════════════════════ */

.id-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 80px;
}

.id-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--txt-3);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color .15s;
}
.id-back:hover { color: var(--txt); }

/* ── Hero ── */
.id-hero {
  margin-bottom: 48px;
}
.id-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.id-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  color: var(--txt-2);
}
.id-tag--match { border-width: 1px; }
.id-tag--high  { color: var(--green);  border-color: var(--green);  background: color-mix(in srgb, var(--green)  12%, transparent); }
.id-tag--mid   { color: var(--yellow); border-color: var(--yellow); background: color-mix(in srgb, var(--yellow) 12%, transparent); }
.id-tag--low   { color: var(--red);    border-color: var(--red);    background: color-mix(in srgb, var(--red)    12%, transparent); }

.id-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: var(--txt);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.id-liner {
  font-size: 17px;
  color: var(--txt-2);
  line-height: 1.6;
  margin-bottom: 20px;
}

.id-match-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.id-match-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-card2);
  border-radius: 8px;
  overflow: hidden;
}
.id-match-fill {
  height: 100%;
  border-radius: 8px;
  transition: width .6s ease;
}
.id-match-fill--high { background: var(--green); }
.id-match-fill--mid  { background: var(--yellow); }
.id-match-fill--low  { background: var(--red); }
.id-match-pct {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.id-reasons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.id-reason {
  font-size: 13px;
  color: var(--txt-2);
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* ── Sections ── */
.id-section {
  margin-bottom: 48px;
}
.id-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.id-section-icon {
  font-size: 20px;
  line-height: 1;
}
.id-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--txt);
  margin: 0;
}

/* ── Problem ── */
.id-problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.id-problem-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--txt-2);
  margin: 0;
}

/* ── Requirements grid ── */
.id-req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.id-req-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.id-req-icon {
  font-size: 22px;
  margin-bottom: 4px;
}
.id-req-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.id-req-val {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0;
}
.id-req-val--plain {
  font-size: 17px;
  font-weight: 700;
  color: var(--txt);
  display: block;
}
.id-req-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(108,99,255,.12);
  color: var(--accent);
  border-radius: 6px;
}
.id-req-desc {
  font-size: 13px;
  color: var(--txt-3);
  line-height: 1.5;
}

/* ── Timeline ── */
.id-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.id-tl-item {
  display: flex;
  gap: 20px;
}
.id-tl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 44px;
}
.id-tl-dot {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 2px solid var(--border-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.id-tl-line {
  flex: 1;
  width: 2px;
  background: var(--border);
  margin: 4px 0;
  min-height: 20px;
}
.id-tl-body {
  padding-bottom: 32px;
  flex: 1;
  padding-top: 8px;
}
.id-tl-phase {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.id-tl-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 12px;
}
.id-tl-tasks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.id-tl-task {
  font-size: 14px;
  color: var(--txt-2);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.id-tl-task::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--txt-3);
  font-size: 12px;
}

/* ── Market ── */
.id-market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.id-market-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.id-market-icon {
  font-size: 20px;
  margin-bottom: 8px;
}
.id-market-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 8px;
}
.id-market-val {
  font-size: 17px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 4px;
}
.id-market-sub {
  font-size: 12px;
  color: var(--txt-3);
  line-height: 1.4;
}
.id-market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.id-market-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--txt-2);
}

/* ── Competitors ── */
.id-comp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.id-comp-tag {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: 8px;
  color: var(--txt-2);
}
.id-edge-box {
  background: rgba(108,99,255,.06);
  border: 1px solid rgba(108,99,255,.25);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.id-edge-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.id-edge-text {
  font-size: 14px;
  color: var(--txt-2);
  line-height: 1.65;
  margin: 0;
}

/* ── Validation checklist ── */
.id-steps-sub {
  font-size: 13px;
  color: var(--txt-3);
  margin-bottom: 16px;
  margin-top: -10px;
}
.id-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.id-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  user-select: none;
}
.id-step:hover { border-color: var(--border-md); }
.id-step--done {
  background: rgba(34,197,94,.06);
  border-color: rgba(34,197,94,.3);
}
.id-step-box {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-md);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
  background: var(--bg);
  transition: border-color .15s, background .15s;
}
.id-step--done .id-step-box {
  border-color: var(--green);
  background: rgba(34,197,94,.15);
}
.id-step-text {
  font-size: 14px;
  color: var(--txt-2);
  line-height: 1.5;
  flex: 1;
}
.id-step--done .id-step-text {
  color: var(--txt-3);
  text-decoration: line-through;
  text-decoration-color: var(--txt-3);
}

/* ── CTA ── */
.id-cta {
  display: flex;
  gap: 12px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.id-save-msg {
  margin-top: 14px;
  font-size: 14px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}
.id-save-msg a { color: var(--accent); text-decoration: none; }
.id-save-msg a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 700px) {
  .id-req-grid    { grid-template-columns: 1fr; }
  .id-market-grid { grid-template-columns: 1fr; }
  .id-tl-left     { width: 36px; }
  .id-tl-dot      { width: 36px; height: 36px; font-size: 15px; }
  .id-cta         { flex-direction: column; }
  .id-cta .btn-primary,
  .id-cta .btn-ghost { justify-content: center; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .id-req-grid    { grid-template-columns: 1fr 1fr; }
  .id-market-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════
   BILLING PAGE — bll-* + pricing-card extensions
   ══════════════════════════════════════════════════ */

/* ── Hero ── */
.bll-hero {
  text-align: center;
  padding: 52px 0 40px;
}
.bll-hero-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--txt);
  margin-bottom: 12px;
}
.bll-hero-sub {
  font-size: 16px;
  color: var(--txt-2);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* ── Monthly/Annual toggle ── */
.bll-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}
.bll-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--txt-2);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.bll-toggle-btn.active {
  background: var(--accent);
  color: #fff;
}
.bll-toggle-btn:not(.active):hover { color: var(--txt); }
.bll-toggle-save {
  font-size: 11px;
  font-weight: 700;
  background: rgba(34,197,94,.18);
  color: var(--green);
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: .03em;
}

/* ── 4-column billing grid ── */
.bll-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 820px;
  margin: 0 auto;
}

/* ── Card color variants missing from pricing page ── */
.pricing-card--default { /* Starter — no extra styling needed */ }

/* pricing-card--basic removed — 2-tier system */

.pricing-card--current {
  border-color: var(--green) !important;
  box-shadow: 0 0 32px rgba(34,197,94,.12);
  padding-top: 52px;
}

/* ── Current Plan badge ── */
.pricing-badge--current {
  background: var(--green);
}

/* basic tier label removed — 2-tier system */

/* ── Price row ── */
.bll-price-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 4px;
}
.bll-price-meta {
  display: flex;
  flex-direction: column;
  padding-bottom: 6px;
  gap: 2px;
}
.bll-per-month {
  font-size: 13px;
  color: var(--txt-3);
  font-weight: 500;
}
.bll-annual-note {
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* ── Feature checkmark colour variants ── */
.feat-chk--default  { background: var(--green-dim); color: var(--green); }
.feat-chk--pro      { background: rgba(108,99,255,.15); color: var(--accent); }
.feat-chk--off {
  background: rgba(255,255,255,.05);
  color: var(--txt-3);
}

/* ── Missing features ── */
.pricing-feature--missing { opacity: .4; }

/* ── CTA button variants ── */
.btn-pricing--default {
  background: transparent;
  color: var(--txt);
  border: 1.5px solid var(--border-md);
}
.btn-pricing--default:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); }

/* btn-pricing--basic removed — 2-tier system */

.btn-pricing--current {
  opacity: .5;
  cursor: not-allowed !important;
}
.btn-pricing--current:hover { transform: none !important; box-shadow: none !important; }
.btn-pricing:disabled { cursor: not-allowed; }

/* ── Trust row ── */
.bll-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px 0 60px;
  flex-wrap: wrap;
}
.bll-trust-item {
  font-size: 13px;
  color: var(--txt-3);
  font-weight: 500;
}
.bll-trust-sep { color: var(--border-md); }

/* ── FAQ ── */
.bll-faq-section {
  max-width: 680px;
  margin: 0 auto 80px;
}
.bll-faq-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--txt);
  margin-bottom: 24px;
  text-align: center;
}
.bll-faq-list { display: flex; flex-direction: column; gap: 8px; }
.bll-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s;
}
.bll-faq-item.open { border-color: var(--border-md); }
.bll-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--txt);
  text-align: left;
  transition: color .15s;
}
.bll-faq-q:hover { color: var(--accent); }
.bll-faq-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--txt-3);
  flex-shrink: 0;
  line-height: 1;
  transition: color .15s;
}
.bll-faq-item.open .bll-faq-icon { color: var(--accent); }
.bll-faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 14px;
  color: var(--txt-2);
  line-height: 1.65;
  transition: max-height .28s ease, padding .28s ease;
}
.bll-faq-item.open .bll-faq-a {
  max-height: 200px;
  padding: 0 20px 18px;
}

/* ── Toast notification ── */
.bll-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card2);
  border: 1px solid var(--border-md);
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--txt);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
  z-index: 9999;
}
.bll-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .bll-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .bll-grid .pricing-card--pro { grid-column: auto; }
}
@media (max-width: 560px) {
  .bll-grid { grid-template-columns: 1fr; }
  .bll-hero { padding: 32px 0 28px; }
  .bll-toggle-btn { padding: 9px 14px; }
  .bll-trust { flex-direction: column; gap: 6px; }
  .bll-trust-sep { display: none; }
}

/* ── Dashboard: Feature Cards ── */
.feat-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color .15s;
}

.feat-card--on {
  background: var(--bg-card);
  border-color: rgba(34,197,94,.25);
}

.feat-card--off {
  background: rgba(255,255,255,.02);
  opacity: .75;
}

.feat-card-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.feat-card-body { flex: 1; min-width: 0; }

.feat-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 2px;
}

.feat-card-desc {
  font-size: 13px;
  color: var(--txt-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feat-badge {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  text-decoration: none;
}

.feat-badge--on {
  background: var(--green-dim);
  color: var(--green);
}

.feat-badge--lock {
  background: rgba(255,255,255,.06);
  color: var(--txt-3);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}

.feat-badge--lock:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Dashboard: Support label ── */
.dash-support-label {
  font-size: 13px;
  color: var(--txt-3);
}

/* ── Limit fill states ── */
.limit-fill--warn { background: var(--yellow) !important; }
.limit-fill--full { background: var(--red) !important; }

@media (max-width: 600px) {
  .feat-card-desc { display: none; }
}

/* ══════════════════════════════════════════════════
   COMMUNITY SECTION (Landing Page)
   ══════════════════════════════════════════════════ */

.community-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-card) 100%);
  border-top: 1px solid var(--border);
}

.community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.community-heading {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--txt);
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.community-sub {
  font-size: 16px;
  color: var(--txt-2);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ec4899;
  background: rgba(236,72,153,.1);
  border: 1px solid rgba(236,72,153,.25);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.cs-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ec4899;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}

.community-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.community-note {
  font-size: 13px;
  color: var(--txt-3);
}

.community-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.community-feat {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color .15s;
}
.community-feat:hover { border-color: var(--border-md); }

.community-feat-icon {
  font-size: 20px;
  width: 44px;
  height: 44px;
  background: var(--bg-card2);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.community-feat-body { flex: 1; }

.community-feat-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 2px;
}

.community-feat-desc {
  font-size: 13px;
  color: var(--txt-3);
}

.community-feat-soon {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--txt-3);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 7px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .community-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ══════════════════════════════════════════════════
   COMMUNITY MODAL
   ══════════════════════════════════════════════════ */

.comm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.comm-overlay.active {
  display: flex;
  animation: modalIn .22s ease;
}

.comm-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 32px 80px rgba(0,0,0,.7);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comm-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--txt-3);
  font-size: 18px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color .15s, background .15s;
  line-height: 1;
}
.comm-close:hover { color: var(--txt); background: var(--bg-card2); }

.comm-modal-icon {
  font-size: 40px;
  text-align: center;
}

.comm-modal-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--txt);
  letter-spacing: -.02em;
  text-align: center;
  margin-top: -4px;
}

.comm-modal-desc {
  font-size: 15px;
  color: var(--txt-2);
  text-align: center;
  line-height: 1.65;
  margin-top: -4px;
}

.comm-modal-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.comm-modal-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--txt-2);
}

.comm-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comm-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: var(--txt);
  outline: none;
  transition: border-color .15s;
}
.comm-input:focus { border-color: #ec4899; }
.comm-input::placeholder { color: var(--txt-3); }

.comm-submit {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 15px;
  border-radius: 11px;
  background: #ec4899 !important;
  border: none;
}
.comm-submit:hover { background: #db2777 !important; }

.comm-privacy {
  font-size: 12px;
  color: var(--txt-3);
  text-align: center;
  margin-top: -4px;
}

.comm-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 16px 0;
}
.comm-success-icon { font-size: 48px; }
.comm-success-title { font-size: 20px; font-weight: 700; color: var(--txt); }
.comm-success-desc { font-size: 14px; color: var(--txt-2); line-height: 1.6; }

/* Community Dashboard Card */
.community-dash-card {
  background: linear-gradient(135deg, rgba(236,72,153,.07) 0%, rgba(99,102,241,.07) 100%);
  border: 1px solid rgba(236,72,153,.22);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.comm-dash-left { flex: 1; min-width: 220px; }

.comm-dash-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ec4899;
  background: rgba(236,72,153,.1);
  border: 1px solid rgba(236,72,153,.2);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.comm-dash-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 6px;
}

.comm-dash-desc {
  font-size: 14px;
  color: var(--txt-2);
  line-height: 1.55;
  margin-bottom: 14px;
}

.comm-dash-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.comm-dash-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--txt-3);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
}

.comm-dash-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.comm-dash-join-note {
  font-size: 12px;
  color: var(--txt-3);
  text-align: right;
}

.btn-community {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ec4899;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.btn-community:hover { background: #db2777; transform: translateY(-1px); }

@media (max-width: 640px) {
  .community-dash-card { flex-direction: column; align-items: flex-start; }
  .comm-dash-right { align-items: flex-start; width: 100%; }
  .btn-community { width: 100%; justify-content: center; }
  .comm-modal { padding: 32px 24px; }
  .comm-modal-feats { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════
   COMMUNITY SECTION — 4-CARD GRID (NEW)
   ══════════════════════════════════════════════════ */

.community-header {
  text-align: center;
  margin-bottom: 56px;
}
.community-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--txt);
  margin-bottom: 12px;
}
.community-header p {
  font-size: 17px;
  color: var(--txt-2);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.community-grid .community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  transition: border-color .2s, background .2s, transform .2s;
}
.community-grid .community-card:hover {
  border-color: var(--accent);
  background: rgba(99,102,241,.05);
  transform: translateY(-4px);
}
.card-icon {
  font-size: 44px;
  margin-bottom: 14px;
  display: block;
}
.community-grid .community-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 8px;
}
.community-grid .community-card p {
  font-size: 14px;
  color: var(--txt-2);
  margin: 0;
}

.community-cta {
  text-align: center;
}

/* ══════════════════════════════════════════════════
   COMMUNITY FOUNDER CARD (idea-card style)
   ══════════════════════════════════════════════════ */
.community-card-wrap {
  max-width: 580px;
  margin: 0 auto;
}

.community-founder-card {
  /* inherits all .idea-card styles */
}

.community-card-header {
  margin-bottom: 16px;
}

.community-card-icon {
  font-size: 32px;
  line-height: 1;
}

.community-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--txt);
  margin-bottom: 8px;
}

.community-card-subtitle {
  font-size: 15px;
  color: var(--txt-2);
  line-height: 1.6;
  margin-bottom: 24px;
}

.idea-benefits h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
}

.idea-benefits ul {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.idea-benefits li {
  font-size: 14px;
  color: var(--txt);
  padding: 8px 0 8px 24px;
  position: relative;
  line-height: 1.5;
}

.idea-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.community-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
}

.btn-community-invite {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}

/* ══════════════════════════════════════════════════
   DASHBOARD COMMUNITY CARD (NEW)
   ══════════════════════════════════════════════════ */

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 32px;
}
.dashboard-card.community-card {
  background: linear-gradient(135deg, rgba(99,102,241,.1) 0%, rgba(236,72,153,.05) 100%);
  border: 2px solid var(--accent);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.card-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--txt);
  margin: 0;
}
.badge {
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.card-content > p {
  font-size: 14px;
  color: var(--txt-2);
  margin-bottom: 12px;
}
.community-features {
  background: rgba(99,102,241,.08);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--txt);
  line-height: 2;
  margin: 0;
}
.card-footer {
  margin-top: 20px;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* ══════════════════════════════════════════════════
   COMMUNITY MODAL — NEW DESIGN
   ══════════════════════════════════════════════════ */

.modal-community {
  align-items: center;
  justify-content: center;
}
.modal-community .modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn .22s ease;
}
.modal-community .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--txt-2);
  font-size: 22px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.modal-community .modal-close:hover {
  color: var(--txt);
  background: var(--bg-card2);
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}
.modal-icon {
  font-size: 44px;
  margin-bottom: 14px;
  display: block;
}
.modal-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--txt);
  margin: 0;
}

.modal-description {
  font-size: 15px;
  color: var(--txt-2);
  line-height: 1.6;
  margin-bottom: 28px;
}

.community-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.benefit {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(99,102,241,.08);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  align-items: flex-start;
}
.benefit-icon {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1.2;
}
.benefit h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--txt);
  margin: 0 0 3px;
}
.benefit p {
  font-size: 13px;
  color: var(--txt-2);
  margin: 0;
}

.modal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.stat {
  text-align: center;
  padding: 14px;
  background: rgba(99,102,241,.08);
  border-radius: 8px;
}
.stat-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 11px;
  color: var(--txt-3);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.modal-footer {
  display: flex;
  gap: 10px;
}
.modal-footer .btn {
  flex: 1;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  transition: all .15s;
}
.btn-secondary {
  background: transparent;
  color: var(--txt-2);
  border: 1px solid var(--border-md) !important;
}
.btn-secondary:hover {
  border-color: var(--accent) !important;
  color: var(--txt);
  background: rgba(99,102,241,.08);
}
.btn-large {
  padding: 15px 28px !important;
  font-size: 15px !important;
}

/* Pricing page community link */
.link-secondary {
  display: inline-block;
  color: var(--txt-2);
  text-decoration: none;
  font-size: 15px;
  margin-top: 14px;
  transition: color .15s;
}
.link-secondary:hover { color: var(--accent); }

@media (max-width: 768px) {
  .community-grid { grid-template-columns: 1fr; }
  .modal-community .modal-content { padding: 28px 20px; }
  .modal-stats { grid-template-columns: 1fr; }
  .modal-footer { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════
   Results page — idea-card additions (View Details / Start / Favorite)
   ═══════════════════════════════════════════════════════════ */

.ic-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  align-items: stretch;
  flex-wrap: wrap;
}

.ic-details-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  color: var(--txt-2);
  border: 1.5px solid var(--border-md);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, color .15s;
  text-decoration: none;
}
.ic-details-link:hover { border-color: var(--accent); color: var(--txt); }
.ic-details-link:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 10px; }

.ic-start {
  flex: 2 1 170px;
  min-width: 170px;
  cursor: pointer;
}

.ic-fav {
  flex: 1 1 140px;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: transparent;
  color: var(--txt, #cbd5e1);
  border: 1.5px solid var(--border-md, #475569);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
  user-select: none;
}
.ic-fav:hover    { border-color: var(--pink, #ec4899); color: var(--pink, #ec4899); }
.ic-fav:active   { transform: scale(.98); }
.ic-fav:disabled { opacity: .6; cursor: wait; }
.ic-fav:focus    { outline: 2px solid var(--pink, #ec4899); outline-offset: 2px; }

.ic-fav--on {
  background: rgba(236, 72, 153, .12);
  border-color: var(--pink, #ec4899);
  color: var(--pink, #ec4899);
}
.ic-fav--on:hover { background: rgba(236, 72, 153, .18); }

.ic-fav-icon  { font-size: 16px; line-height: 1; transition: transform .15s ease; }
.ic-fav--on .ic-fav-icon { transform: scale(1.1); }

.ic-fav-label { white-space: nowrap; }

.ic-fav-count {
  font-size: 11px;
  font-weight: 500;
  color: var(--txt-3, #64748b);
  margin-left: auto;
  padding-left: 8px;
  border-left: 1px solid var(--border, #334155);
  white-space: nowrap;
}
.ic-fav--on .ic-fav-count { color: var(--pink, #ec4899); border-left-color: rgba(236, 72, 153, .35); }

/* Suppress the old footer-View-Details button styling if any old markup leaks through */
.rc-foot { display: none; }

/* ═══════════════════════════════════════════════════════════
   Detail modal — 5-tab layout
   ═══════════════════════════════════════════════════════════ */

.modal-detail .modal-content--lg {
  max-width: 880px;
  width: calc(100% - 32px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
}

.modal-detail .modal-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 40px 18px 0;
  color: var(--txt, #f1f5f9);
  letter-spacing: -.01em;
}

.dm-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border, #334155);
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.dm-tab {
  background: transparent;
  border: none;
  color: var(--txt-2, #94a3b8);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease;
}
.dm-tab:hover  { color: var(--txt, #cbd5e1); }
.dm-tab:focus  { outline: none; color: var(--accent, #818cf8); }

.dm-tab--active {
  color: var(--accent, #818cf8);
  border-bottom-color: var(--accent, #818cf8);
}

.dm-body  { overflow-y: auto; padding-right: 4px; flex: 1; min-height: 0; }
.dm-panel { display: none; }
.dm-panel--active { display: block; animation: dm-fade .18s ease-out; }

@keyframes dm-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dm-section + .dm-section { margin-top: 24px; }

.dm-h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--txt-2, #94a3b8);
  margin: 0 0 10px;
}

.dm-p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--txt, #cbd5e1);
}
.dm-p--muted { color: var(--txt-2, #94a3b8); font-size: 13.5px; }

.dm-bullets, .dm-ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dm-bullets li {
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  line-height: 1.55;
  color: var(--txt, #cbd5e1);
}
.dm-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green, #10b981);
  font-weight: 700;
}

.dm-ol li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--txt, #cbd5e1);
}
.dm-step-num {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(99, 102, 241, .18);
  color: var(--accent, #818cf8);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dm-market {
  background: var(--bg-card2, #1e293b);
  border: 1px solid var(--border, #334155);
  border-radius: 10px;
  padding: 14px 16px;
}
.dm-market-val { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.dm-market-sub { font-size: 13px; color: var(--txt-2, #94a3b8); }

.dm-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.dm-metric {
  background: var(--bg-card2, #1e293b);
  border: 1px solid var(--border, #334155);
  border-radius: 10px;
  padding: 12px 14px;
}
.dm-metric-val   { font-size: 18px; font-weight: 800; color: var(--accent, #818cf8); margin-bottom: 2px; }
.dm-metric-label { font-size: 11.5px; color: var(--txt-2, #94a3b8); text-transform: uppercase; letter-spacing: .05em; }

.dm-timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.dm-timeline-cell {
  background: var(--bg-card2, #1e293b);
  border: 1px solid var(--border, #334155);
  border-radius: 10px;
  padding: 12px 14px;
}
.dm-timeline-key {
  font-size: 11.5px;
  color: var(--accent, #818cf8);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}
.dm-timeline-val { font-size: 13.5px; color: var(--txt, #cbd5e1); line-height: 1.5; }

.dm-phases { display: flex; flex-direction: column; gap: 14px; }
.dm-phase {
  background: var(--bg-card2, #1e293b);
  border: 1px solid var(--border, #334155);
  border-radius: 10px;
  padding: 14px 16px;
}
.dm-phase-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.dm-phase-num {
  font-size: 11.5px;
  font-weight: 700;
  background: var(--accent, #818cf8);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.dm-phase-title { font-size: 14.5px; font-weight: 700; color: var(--txt, #f1f5f9); }
.dm-phase-tasks {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dm-phase-tasks li { font-size: 13.5px; color: var(--txt, #cbd5e1); line-height: 1.5; }

.dm-tools {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.dm-tool {
  background: var(--bg-card2, #1e293b);
  border: 1px solid var(--border, #334155);
  border-radius: 10px;
  padding: 12px 14px;
}
.dm-tool-name    { font-size: 14px; font-weight: 700; color: var(--txt, #f1f5f9); margin-bottom: 3px; }
.dm-tool-purpose { font-size: 12.5px; color: var(--txt-2, #94a3b8); line-height: 1.45; margin-bottom: 4px; }
.dm-tool-cost    { font-size: 11.5px; color: var(--accent, #818cf8); font-weight: 600; }

.dm-cost-table { width: 100%; border-collapse: collapse; }
.dm-cost-table td {
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--txt, #cbd5e1);
  border-bottom: 1px solid var(--border, #334155);
}
.dm-cost-val { text-align: right; color: var(--txt-2, #94a3b8); }
.dm-cost-total td { border-bottom: none; padding-top: 12px; }
.dm-cost-total .dm-cost-val { color: var(--accent, #818cf8); }

.dm-variants { display: flex; flex-direction: column; gap: 12px; }
.dm-variant {
  display: flex;
  gap: 12px;
  background: var(--bg-card2, #1e293b);
  border: 1px solid var(--border, #334155);
  border-radius: 10px;
  padding: 14px 16px;
}
.dm-variant-num {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(99, 102, 241, .18);
  color: var(--accent, #818cf8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}
.dm-variant-name { font-size: 14.5px; font-weight: 700; color: var(--txt, #f1f5f9); margin-bottom: 2px; }
.dm-variant-icp  { font-size: 12px; color: var(--txt-2, #94a3b8); margin-bottom: 6px; }
.dm-variant-desc { font-size: 13.5px; color: var(--txt, #cbd5e1); line-height: 1.5; margin: 0; }

.dm-comps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.dm-comp {
  background: var(--bg-card2, #1e293b);
  border: 1px solid var(--border, #334155);
  border-radius: 10px;
  padding: 12px 14px;
}
.dm-comp-name { font-size: 14px; font-weight: 700; color: var(--txt, #f1f5f9); margin-bottom: 4px; }
.dm-comp-pos  { font-size: 12.5px; color: var(--txt-2, #94a3b8); line-height: 1.45; }

/* ═══════════════════════════════════════════════════════════
   Results page — toast
   ═══════════════════════════════════════════════════════════ */
.rc-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: var(--bg-card2, #1e293b);
  color: var(--txt, #f1f5f9);
  border: 1px solid var(--border-md, #475569);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .25s ease;
  z-index: 9999;
}
.rc-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .ic-actions   { flex-direction: column; }
  .ic-start, .ic-fav, .ic-details-link { width: 100%; flex: none; }
  .dm-timeline-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════
   ANIMATIONS — Hero Section
   ══════════════════════════════════════════════════ */

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroPillIn {
  from { opacity: 0; transform: translateX(-16px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes heroMockupIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50%      { opacity: 0.8; transform: scale(1.05); }
}
@keyframes heroCardIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { transform: translateX(0); }
}

.hero-copy h1          { animation: heroFadeUp 600ms ease-out 0ms both; }
.hero-copy .hero-sub   { animation: heroFadeUp 600ms ease-out 150ms both; }
.hero-copy .hero-cta-row { animation: heroFadeUp 600ms ease-out 300ms both; }
.hero-pill             { animation: heroPillIn 400ms ease-out 400ms both; }
.mockup-wrap           { animation: heroMockupIn 700ms ease-out 500ms both, heroFloat 3s ease-in-out 1200ms infinite; }
.mockup-glow           { animation: heroGlowPulse 4s ease-in-out 0ms infinite; }
.m-card--1             { animation: heroCardIn 400ms ease-out 800ms both; }
.m-card--2             { animation: heroCardIn 400ms ease-out 1000ms both; }
.m-card--3             { animation: heroCardIn 400ms ease-out 1200ms both; }

/* ══════════════════════════════════════════════════
   ANIMATIONS — Modal (open & close)
   ══════════════════════════════════════════════════ */

@keyframes modalBackdropIn {
  from { opacity: 0; }
}
@keyframes modalContentIn {
  from { opacity: 0; transform: scale(0.95); }
}
@keyframes modalBackdropOut {
  to { opacity: 0; }
}
@keyframes modalContentOut {
  to { opacity: 0; transform: scale(0.95); }
}

.modal.modal-closing {
  display: flex !important;
  animation: modalBackdropOut 200ms ease forwards;
}
.modal.modal-closing .modal-content {
  animation: modalContentOut 200ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ══════════════════════════════════════════════════
   ANIMATIONS — Quiz Transitions
   ══════════════════════════════════════════════════ */

@keyframes questionExitLeft {
  to { opacity: 0; transform: translateX(-30px); }
}
@keyframes questionExitRight {
  to { opacity: 0; transform: translateX(30px); }
}
@keyframes questionEnterRight {
  from { opacity: 0; transform: translateX(30px); }
}
@keyframes questionEnterLeft {
  from { opacity: 0; transform: translateX(-30px); }
}
@keyframes optFadeIn {
  from { opacity: 0; transform: translateY(8px); }
}
@keyframes optPulseAnim {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}

.question.q-exit-left {
  display: block !important;
  animation: questionExitLeft 350ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
  will-change: transform, opacity;
}
.question.q-exit-right {
  display: block !important;
  animation: questionExitRight 350ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
  will-change: transform, opacity;
}
.question.q-enter-right {
  animation: questionEnterRight 350ms cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}
.question.q-enter-left {
  animation: questionEnterLeft 350ms cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

.opt-animated {
  animation: optFadeIn 250ms ease-out both;
}
.opt.opt-pulse {
  animation: optPulseAnim 200ms ease both;
}

/* ══════════════════════════════════════════════════
   ANIMATIONS — Results Cards
   ══════════════════════════════════════════════════ */

@keyframes resultCardEnter {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
}
.result-card-enter {
  animation: resultCardEnter 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ══════════════════════════════════════════════════
   ANIMATIONS — Step Arrow Draw
   ══════════════════════════════════════════════════ */

.step-arrow svg path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  transition: stroke-dashoffset 600ms cubic-bezier(0.16, 1, 0.3, 1) 300ms;
}
.step-arrow.arrow-visible svg path { stroke-dashoffset: 0; }

/* ══════════════════════════════════════════════════
   ANIMATIONS — CTA Attention Pulse
   ══════════════════════════════════════════════════ */

@keyframes ctaPulseAnim {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108,99,255,0); }
  50%       { box-shadow: 0 0 0 10px rgba(108,99,255,0.18); }
}
.hero-cta-pulse {
  animation: ctaPulseAnim 3s ease-in-out 0s 3;
}

/* ══════════════════════════════════════════════════
   REDUCED MOTION — override all animations
   ══════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-copy h1, .hero-copy .hero-sub, .hero-copy .hero-cta-row,
  .hero-pill, .mockup-wrap, .mockup-glow,
  .m-card--1, .m-card--2, .m-card--3 {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .m-card--2 { opacity: .85 !important; }
  .m-card--3 { opacity: .65 !important; }
  .step-arrow svg path { transition: none !important; stroke-dashoffset: 0 !important; }
}

/* ── Mobile: leaner animations ── */
@media (max-width: 600px) {
  .hero-copy h1, .hero-copy .hero-sub, .hero-copy .hero-cta-row {
    animation-duration: 400ms !important;
  }
  .mockup-wrap {
    animation: heroMockupIn 400ms ease-out 200ms both;
  }
  .m-card--1 { animation-delay: 500ms !important; }
  .m-card--2 { animation-delay: 600ms !important; }
  .m-card--3 { animation-delay: 700ms !important; }
}

/* ══════════════════════════════════════════════════
   AUTH GATE MODAL (after-quiz sign-up gate)
   ══════════════════════════════════════════════════ */
.auth-gate-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.85);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.auth-gate-overlay.active { opacity: 1; pointer-events: auto; }
.auth-gate {
  background: #111118;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 400px; width: 100%;
  text-align: center;
  transform: translateY(12px) scale(.98);
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.auth-gate-overlay.active .auth-gate { transform: translateY(0) scale(1); }
.auth-gate-icon { font-size: 32px; margin-bottom: 14px; }
.auth-gate h2 { color: #f0f0f5; font-size: 24px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.02em; }
.auth-gate p { color: #9898aa; font-size: 14px; line-height: 1.5; margin: 0 0 24px; }
.auth-gate .ag-primary {
  display: block; width: 100%; padding: 14px;
  background: #6c63ff; color: #fff; border: none; border-radius: 12px;
  font-size: 16px; font-weight: 700; cursor: pointer; margin-bottom: 12px;
  text-decoration: none; transition: background .2s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.auth-gate .ag-primary:hover { background: #5a52e8; }
.auth-gate .ag-secondary {
  display: block; width: 100%; padding: 14px;
  background: transparent; color: #f0f0f5;
  border: 1px solid rgba(255,255,255,.15); border-radius: 12px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: border-color .2s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.auth-gate .ag-secondary:hover { border-color: #6c63ff; }
.auth-gate .ag-foot { color: #6a6a7a; font-size: 12px; margin: 18px 0 0; }
