@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --navy: #0b1230; --navy-2: #121c4a; --blue: #2747d8; --blue-2: #3d63f5; --accent: #5b6cff; --cyan: #38d6ff;
  --ink: #0f1729; --muted: #5d6785; --line: #e4e8f3; --bg: #f5f7fc; --card: #fff;
  --good: #16b67a; --warn: #f2a516; --bad: #ef4466;
  --r: 14px; --shadow: 0 1px 2px rgba(15,23,41,.06), 0 8px 24px rgba(15,23,41,.06);
  --display: 'Plus Jakarta Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.02em; margin: 0; }
button, input, select, textarea { font: inherit; }
img { display: block; }

/* ---------- buttons & inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 11px 18px; font-weight: 600; cursor: pointer; text-decoration: none; transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 6px 18px rgba(39,71,216,.35), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { box-shadow: 0 8px 26px rgba(39,71,216,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--ink); background: #fff; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.input, select.input, textarea.input { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); outline: none; transition: border .12s, box-shadow .12s; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91,108,255,.15); }
textarea.input { resize: vertical; min-height: 90px; }
label.lbl { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }

/* ---------- marketing ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 50% 110%, #4b74ff 0%, transparent 60%), linear-gradient(180deg, #0a1233 0%, #13256e 45%, #2747d8 100%); padding-bottom: 90px; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000 30%, transparent 95%); pointer-events: none; }
.hero .glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(56,214,255,.35), transparent 65%); top: -160px; right: -120px; filter: blur(20px); pointer-events: none; }
.nav { position: relative; z-index: 2; display: flex; align-items: center; gap: 28px; max-width: 1200px; margin: 0 auto; padding: 22px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; text-decoration: none; }
.brand .mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--cyan), var(--accent)); box-shadow: 0 6px 18px rgba(91,108,255,.45); }
.nav .links { display: flex; gap: 26px; margin-left: auto; }
.nav .links a { text-decoration: none; opacity: .85; font-weight: 600; font-size: 15px; }
.nav .links a:hover { opacity: 1; }
.nav .actions { display: flex; gap: 10px; }
.hero-inner { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; text-align: center; padding: 70px 24px 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 99px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: 14px; font-weight: 600; }
.pill .dot { background: var(--good); color: #fff; padding: 3px 10px; border-radius: 99px; font-size: 12px; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 800; line-height: 1.02; margin: 26px 0 18px; }
.hero h1 .grad { background: linear-gradient(90deg, #8fe9ff, #b6c2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: 19px; opacity: .85; max-width: 640px; margin: 0 auto; line-height: 1.55; }
.hero .cta { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.idea-box { max-width: 720px; margin: 46px auto 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 10px; backdrop-filter: blur(12px); display: flex; gap: 8px; }
.idea-box input { flex: 1; background: transparent; border: 0; color: #fff; padding: 12px 14px; font-size: 17px; outline: none; }
.idea-box input::placeholder { color: rgba(255,255,255,.6); }
.chips { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; font-size: 14px; }
.chips button { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 99px; padding: 5px 12px; cursor: pointer; }
.chips button:hover { background: rgba(255,255,255,.18); }
.idea-result { max-width: 900px; margin: 26px auto 0; text-align: left; }

.section { max-width: 1200px; margin: 0 auto; padding: 100px 24px; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 54px; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; line-height: 1.1; }
.section-head p { color: var(--muted); font-size: 18px; line-height: 1.6; margin-top: 14px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(39,71,216,.12); }
.feature .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #eef1ff, #e2f8ff); color: var(--blue); margin-bottom: 16px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); line-height: 1.6; margin: 0; font-size: 15px; }
.feature .tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: #eef1ff; color: var(--blue); margin-left: 6px; vertical-align: middle; }
.stage { display: flex; align-items: center; gap: 14px; margin: 46px 0 18px; }
.stage h3 { font-size: 22px; }
.stage .num { width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.stage p { color: var(--muted); margin: 0; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price.hot { background: linear-gradient(180deg, #13256e, #2747d8); color: #fff; border: 0; transform: scale(1.03); box-shadow: 0 24px 60px rgba(39,71,216,.35); }
.price .name { font-family: var(--display); font-weight: 800; font-size: 20px; }
.price .amt { font-family: var(--display); font-weight: 800; font-size: 46px; margin: 14px 0 4px; }
.price .amt small { font-size: 16px; opacity: .6; font-weight: 600; }
.price .desc { opacity: .7; margin-bottom: 20px; }
.price ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.price li { display: flex; gap: 10px; font-size: 15px; }
.price li::before { content: '✓'; color: var(--good); font-weight: 800; }
.price.hot li::before { color: #8fe9ff; }
.badge-pop { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.18); margin-bottom: 10px; }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-family: var(--display); font-size: 17px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); line-height: 1.65; margin: 12px 0 0; }
.final { margin: 0 24px 80px; border-radius: 28px; text-align: center; padding: 80px 24px; }
.final h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; max-width: 760px; margin: 0 auto 16px; }
footer.foot { border-top: 1px solid var(--line); padding: 30px 24px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- app shell ---------- */
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: linear-gradient(180deg, #0a1233, #13256e); color: #fff; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.side .brand { padding: 4px 8px 18px; }
.side .grp { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; opacity: .5; font-weight: 700; margin: 18px 10px 6px; }
.side a.item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 500; opacity: .8; }
.side a.item:hover { background: rgba(255,255,255,.08); opacity: 1; }
.side a.item.on { background: rgba(255,255,255,.14); opacity: 1; font-weight: 600; }
.side a.item .lock { margin-left: auto; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 5px; background: rgba(255,255,255,.14); }
.side a.item .count { margin-left: auto; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: var(--bad); }
.side .me { margin-top: auto; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 13px; }
.side .me .plan { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 800; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; background: linear-gradient(90deg, var(--cyan), var(--accent)); }
.main { padding: 30px 38px 60px; min-width: 0; }
.page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: 30px; font-weight: 800; }
.page-head p { color: var(--muted); margin: 6px 0 0; }
.page-head .right { margin-left: auto; display: flex; gap: 8px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.card h3 { font-size: 16px; margin-bottom: 12px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.stat .k { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat .v { font-family: var(--display); font-size: 26px; font-weight: 800; margin-top: 4px; }
.stat .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.up { color: var(--good); } .down { color: var(--bad); }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.ico { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #e8ecf7; flex-shrink: 0; }
.ico.lg { width: 88px; height: 88px; border-radius: 18px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #eef1ff; color: var(--blue); }
.tag.good { background: #e3f8ef; color: #0d8a5b; } .tag.warn { background: #fff4dd; color: #a86e00; } .tag.bad { background: #ffe6ec; color: #c02149; }
.bar { height: 8px; border-radius: 99px; background: #eef1f8; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--accent)); border-radius: 99px; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: 8px; }
.paywall { text-align: center; padding: 60px 24px; border-radius: 20px; color: #fff; background: radial-gradient(600px 300px at 50% 120%, #4b74ff, transparent), linear-gradient(180deg, #0a1233, #2747d8); }
.paywall h2 { font-size: 28px; margin-bottom: 10px; }
.paywall p { opacity: .85; max-width: 480px; margin: 0 auto 22px; line-height: 1.6; }
.spark { width: 100%; height: 220px; }
.toast { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 32px); text-align: center; background: #16a34a; border: 1px solid rgba(255,255,255,.35); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 300; font-weight: 600; font-size: 15px; }
.toast.err { background: var(--bad); }
.loading { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 30px 0; }
.loading::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.md { line-height: 1.6; font-size: 14px; }
.md h1, .md h2, .md h3 { font-size: 16px; margin: 14px 0 6px; }
.md pre { background: #0b1230; color: #e5e9ff; padding: 14px; border-radius: 12px; overflow-x: auto; font-size: 13px; }
.md code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.md :not(pre) > code { background: #eef1ff; padding: 1px 5px; border-radius: 5px; }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kanban .col { background: #eef1f8; border-radius: 14px; padding: 12px; min-height: 200px; }
.kanban .col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 2px 4px 10px; }
.kanban .t { background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; box-shadow: var(--shadow); font-size: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.thumbs img { width: 100%; border-radius: 10px; aspect-ratio: 16/9; object-fit: cover; background: #e8ecf7; }
.modal-bg { position: fixed; inset: 0; background: rgba(10,18,51,.55); display: grid; place-items: center; z-index: 50; padding: 20px; backdrop-filter: blur(4px); }
.modal { background: #fff; border-radius: 20px; padding: 28px; width: 100%; max-width: 420px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 20px 16px; box-sizing: border-box; }
.auth-page .modal { position: relative; z-index: 1; color: var(--ink); }
.auth-page .modal a:not(.brand):not(.btn-google) { color: #3b5bfd; font-weight: 600; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 16px; border: 1px solid #d5dae6; border-radius: 12px; background: #fff; color: #1f2430; font-weight: 600; font-size: 15px; text-decoration: none; }
.btn-google:hover { background: #f5f7fb; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0 6px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: #e3e7f0; }
.tabs { display: flex; gap: 4px; background: #eef1f8; padding: 4px; border-radius: 12px; margin-bottom: 18px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 8px; border-radius: 9px; font-weight: 600; color: var(--muted); cursor: pointer; }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.menu-btn { display: none; }

@media (max-width: 980px) {
  .features, .pricing, .g3, .g4 { grid-template-columns: 1fr 1fr; }
  .price.hot { transform: none; }
  .nav .links { display: none; }
}
@media (max-width: 760px) {
  .features, .pricing, .g2, .g3, .kanban { grid-template-columns: 1fr; } .g4 { grid-template-columns: 1fr 1fr; gap: 10px; } .stat .v { font-size: 22px; }
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 40; width: 260px; transform: translateX(-100%); transition: transform .2s; }
  .side.open { transform: none; }
  .main { padding: 20px 16px 50px; }
  .menu-btn { display: inline-flex; }
  .idea-box { flex-direction: column; }
}

/* ---------- v2 additions ---------- */
.pricing.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
.side .upsell { margin: 18px 4px 12px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(56,214,255,.22), rgba(91,108,255,.3)); border: 1px solid rgba(255,255,255,.15); font-size: 13px; }
.side .upsell p { margin: 4px 0 10px; opacity: .8; line-height: 1.45; }
.side .upsell + .me { margin-top: 0; }
.report .card h3 { font-size: 16px; }
@media (max-width: 760px) { .pricing.two { grid-template-columns: 1fr; } }
.side .upsell { margin-top: auto; }
.grid > * { min-width: 0; } .report .tbl td { word-break: break-word; }
.hero .card, .hero .card h2, .hero .card h3 { color: var(--ink); }
.hero .report > h3, .hero .report > p.muted { color: #fff; opacity: .9; }
.legal h3 { margin: 28px 0 8px; font-size: 19px; } .legal p { color: var(--muted); line-height: 1.7; } .legal ul { color: var(--muted); line-height: 1.7; padding-left: 20px; margin: 8px 0; } .legal li { margin: 4px 0; } .legal li b, .legal p b { color: var(--ink); } .legal a { color: var(--brand, #3b5bfd); }

/* ---------- v3: verdicts, launch chart, sidebar footer ---------- */
.idea-result { position: relative; z-index: 1; max-width: 1100px; padding: 0 24px; }
.center { text-align: center; }
.clip { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.big { font-family: var(--display); font-size: 26px; font-weight: 800; }
.features.four { grid-template-columns: repeat(4, 1fr); }
h3.sec { font-size: 18px; margin: 26px 0 12px; }
.hero .report > h3.sec { color: #fff; }

/* sidebar footer: email on its own line, plan + log out below */
.side .me { display: grid; gap: 10px; }
.side .me .email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .85; }
.side .me .me-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.side .me .plan { margin-top: 0; }
.side .me .plan.free { background: rgba(255,255,255,.18); }

.decision { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 8px; color: #fff; flex-shrink: 0; }
.decision::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7; }
.decision.bad { background: var(--bad); } .decision.warn { background: var(--warn); color: #3b2600; } .decision.good { background: var(--good); }

.verdict-card { border-width: 1px; border-left-width: 6px; padding: 26px; }
.verdict-card.bad { border-left-color: var(--bad); background: linear-gradient(180deg, #fff6f8, #fff 60%); }
.verdict-card.warn { border-left-color: var(--warn); background: linear-gradient(180deg, #fffaf0, #fff 60%); }
.verdict-card.good { border-left-color: var(--good); background: linear-gradient(180deg, #f1fcf7, #fff 60%); }
.verdict-card h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.verdict-card p.lead { font-size: 17px; line-height: 1.55; margin: 8px 0 0; color: #2c3550; max-width: 640px; }
.verdict-top { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.odds { width: 250px; flex-shrink: 0; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.odds .k { font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.4; }
.odds .v { font-family: var(--display); font-size: 40px; font-weight: 800; margin: 4px 0; }
.verdict-card.bad .odds .v { color: var(--bad); } .verdict-card.warn .odds .v { color: #c98500; } .verdict-card.good .odds .v { color: var(--good); }
.odds .s { font-size: 12px; color: var(--muted); line-height: 1.45; }
ul.facts, ul.advice { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
ul.facts li, ul.advice li { position: relative; padding-left: 20px; line-height: 1.55; font-size: 15px; }
ul.facts li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
ul.advice { margin-top: 0; } ul.advice li { font-size: 14px; }
ul.advice li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.launch-chart { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding-top: 6px; }
.lc-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; min-width: 0; }
.lc-bar { flex: 1; width: 100%; max-width: 46px; display: flex; flex-direction: column-reverse; border-radius: 8px 8px 3px 3px; overflow: hidden; background: #f3f5fb; }
.lc-bar i { display: block; width: 100%; }
.lc-bar i.dead, .key.dead { background: #d7dcea; } .lc-bar i.alive, .key.alive { background: #9fb2ff; } .lc-bar i.hit, .key.hit { background: var(--good); }
.lc-n { font-size: 12px; font-weight: 700; margin-top: 6px; } .lc-l { font-size: 11px; color: var(--muted); }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

.kv { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 0; border-bottom: 1px solid #f0f2f8; font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv > span { color: var(--muted); flex-shrink: 0; } .kv > b { text-align: right; font-weight: 600; min-width: 0; }
.kv.top { align-items: flex-start; } .kv.top > span { width: 110px; } .kv.top > b { text-align: left; flex: 1; font-weight: 500; line-height: 1.5; }
.passes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.passes span { font-size: 12px; padding: 4px 8px; border-radius: 8px; background: #f3f5fb; color: var(--muted); }
.passes b { color: var(--ink); }
.ico.sm { width: 28px; height: 28px; border-radius: 7px; }
.card.angle, .card.idea { display: flex; flex-direction: column; }
.card.idea .row:last-child, .card.angle .row:last-child { margin-top: auto; }
@media (max-width: 980px) { .features.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .features.four { grid-template-columns: 1fr; } .odds { width: 100%; } }

/* ---------- topbar: brand left, links centred, actions right ---------- */
.topbar { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 1280px; margin: 0 auto; padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar .brand .mark { border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); box-shadow: none; }
.topbar .links { display: flex; gap: 34px; justify-self: center; }
.topbar .links a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 16px; opacity: .9; }
.topbar .links a:hover { opacity: 1; }
.topbar .links span { display: inline-grid; }
.topbar .actions { display: flex; gap: 10px; justify-self: end; }
.topbar .actions span { display: inline-grid; }
.topbar .btn-glass { background: rgba(255,255,255,.06); }
@media (max-width: 860px) { .topbar { grid-template-columns: 1fr auto; } .topbar .links { display: none; } }

/* ---------- landing: stars, trusted row, grid ---------- */
body.landing { background-color: #f7f9fd; background-image: linear-gradient(#e6ebf5 1px, transparent 1px), linear-gradient(90deg, #e6ebf5 1px, transparent 1px); background-size: 56px 56px; }
body.landing footer.foot { background: #fff; }
.stars { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.stars i { position: absolute; border-radius: 50%; background: #fff; opacity: .2; animation: twinkle 3s ease-in-out infinite; }
.stars i.sparkle { width: 12px; height: 12px; border-radius: 0; background: none; }
.stars i.sparkle::before, .stars i.sparkle::after { content: ''; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 2px; transform: translate(-50%, -50%); }
.stars i.sparkle::before { width: 2px; height: 12px; } .stars i.sparkle::after { width: 12px; height: 2px; }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.8); } 50% { opacity: .9; transform: scale(1.1); } }
.trusted { display: inline-flex; align-items: center; gap: 14px; font-size: 17px; }
.trusted b { font-weight: 800; }
.avatars { display: flex; }
.avatars span { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255,255,255,.55); background: #2c4ab8; margin-left: -10px; display: grid; }
.avatars span:first-child { margin-left: 0; }
.avatars svg { width: 100%; height: 100%; }
.final .btn span { display: inline-grid; }
.avatars span { background: linear-gradient(180deg, #3a5bd9, #1d2f86); }
.avatars img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.55) translateY(7%); }
.avatars span { width: 48px; height: 48px; }
/* launch outcomes */
.oc-sum { font-size: 15px; line-height: 1.5; margin: -4px 0 14px; color: #2c3550; }
.oc-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid #f0f2f8; }
.oc-n { font-family: var(--display); font-weight: 800; font-size: 24px; width: 44px; text-align: center; }
.oc-n.hit { color: var(--good); } .oc-n.alive { color: #5b6cff; } .oc-n.dead { color: #8b93ab; }
.oc-label { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.oc-bar { height: 10px; border-radius: 99px; background: #f0f2f8; overflow: hidden; }
.oc-bar i { display: block; height: 100%; border-radius: 99px; }
.oc-bar i.hit { background: var(--good); } .oc-bar i.alive { background: #9fb2ff; } .oc-bar i.dead { background: #c4cada; }
.oc-pct { width: 42px; text-align: right; font-size: 13px; color: var(--muted); font-weight: 600; }

/* idea generator */
a.feature { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.idea-list { display: grid; gap: 18px; }
.idea-deep { padding: 24px; }
.idea-head { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.idea-num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--cyan), var(--accent)); flex-shrink: 0; }
.idea-deep h2 { font-size: 24px; font-weight: 800; }
.idea-deep .lead { color: #2c3550; margin: 6px 0 0; line-height: 1.5; }
.idea-deep h4 { font-size: 14px; margin: 0 0 8px; }
.odds.sm { width: 170px; padding: 12px 14px; }
.odds.sm .v { font-size: 30px; color: var(--accent); }
.mini-stats { margin-top: 18px; padding: 14px; border-radius: 12px; background: #f6f8fd; }
.mini-stats .k { font-size: 12px; color: var(--muted); font-weight: 600; }
.mini-stats .v { font-family: var(--display); font-size: 20px; font-weight: 800; margin-top: 2px; }
.mini-stats .s { font-size: 12px; color: var(--muted); }
.seed-card { padding: 14px 18px; }
a.gen-card { text-decoration: none; color: inherit; transition: transform .12s, box-shadow .12s; }
a.gen-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(39,71,216,.12); }

/* hero fills the first screen */
body.landing header.hero { min-height: 100vh; min-height: 100svh; padding-bottom: 120px; }

/* ---------- feedback widget ---------- */
.fb-root { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fb-root [hidden] { display: none !important; }
.fb-launcher { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: 0 8px 28px rgba(15,23,41,.18); order: 2; }
.fb-launcher:hover { background: #f5f7fc; }
.fb-panel { order: 1; width: 340px; max-width: calc(100vw - 40px); max-height: calc(100vh - 100px); overflow-y: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 24px 60px rgba(15,23,41,.25); display: grid; gap: 8px; }
.fb-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.fb-head b { font-family: var(--display); font-size: 17px; }
.fb-head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.fb-x { border: 0; background: #f0f2f8; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; color: var(--muted); }
.fb-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fb-kinds button { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 4px; font-weight: 600; font-size: 13px; cursor: pointer; color: var(--muted); }
.fb-kinds button.on { border-color: var(--accent); background: #eef1ff; color: var(--blue); }
.fb-l { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.fb-panel textarea, .fb-panel select, .fb-panel input[type=email] { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 14px; outline: none; resize: vertical; }
.fb-panel textarea:focus, .fb-panel select:focus, .fb-panel input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,108,255,.15); }
.fb-check { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 4px; }
.fb-what summary { font-size: 12px; color: var(--accent); cursor: pointer; }
.fb-what p { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fb-send { margin-top: 8px; width: 100%; }
.fb-done { text-align: center; padding: 26px 0; }
.fb-done b { font-family: var(--display); font-size: 20px; }
.fb-done p { color: var(--muted); margin: 4px 0 0; }
@media (max-width: 760px) { .fb-launcher span { display: none; } .fb-launcher { width: 46px; padding: 0; justify-content: center; } }
.inbox-item { display: grid; gap: 6px; }
.inbox-item .meta { font-size: 12px; color: var(--muted); }
.inbox-item.done { opacity: .55; }

/* ---------- Admin stats ---------- */
.st-bars { display: flex; align-items: flex-end; gap: 4px; height: 140px; margin-bottom: 8px; }
.st-bars > div { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.st-bars i { display: block; width: 100%; background: linear-gradient(180deg, #6f86ff, #3b5bfd); border-radius: 4px 4px 0 0; }
.st-bars > div:hover i { background: #2747d8; }

/* Phones: drop the Likes and Updated columns from the competitor table so it fits */
@media (max-width: 560px) {
  .report .tbl th:nth-child(4), .report .tbl td:nth-child(4), .report .tbl th:nth-child(5), .report .tbl td:nth-child(5) { display: none; }
  .report .tbl td, .report .tbl th { padding: 8px 6px; }
}

/* Idea generator cards: let the text take the row, and put the odds box underneath on phones */
.idea-head .grow { flex: 1 1 260px; min-width: 0; }
@media (max-width: 560px) {
  .idea-deep { padding: 18px; }
  .idea-deep h2 { font-size: 21px; }
  .odds.sm { width: 100%; }
  .idea-head { gap: 12px; }
}

/* ---------- Pro checkout pop-up ---------- */
.pay-modal { position: fixed; inset: 0; z-index: 200; background: rgba(10,18,51,.55); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.pay-box { background: #fff; border-radius: 16px; width: 100%; max-width: 480px; padding: 22px; box-shadow: 0 24px 60px rgba(10,18,51,.35); max-height: calc(100vh - 32px); overflow-y: auto; }
.pay-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.pay-head b { font-family: var(--display); font-size: 20px; }
.pay-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
#checkout-form { min-height: 120px; }
