/* thankQ Cue, Events and Merchandise pages */

/* Nav: more items, so collapse to the menu button earlier */
.nav a.nav-cue:not(.btn) { color: var(--blue); }
.nav a.nav-cue::before { content: "✦"; margin-right: 6px; color: var(--amber-700); font-size: .8em; }
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: 2px; }
  .nav ul.open { display: flex; }
  .nav a:not(.btn) { display: block; padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* Cue avatar (the dog) */
.cue-dog { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fde6cf; font-size: 1.5rem; line-height: 1; flex: none; }
.cue-dog.lg { width: 64px; height: 64px; font-size: 2.2rem; }
.cue-dog.sm { width: 34px; height: 34px; font-size: 1.15rem; }

/* Dark Cue hero */
.cue-hero { background:
  radial-gradient(800px 480px at 85% 10%, rgba(106,92,240,.45), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(36,67,196,.55), transparent 60%),
  linear-gradient(160deg, #0b1636 0%, #13245e 100%); color: #c9d3f2; padding: clamp(56px, 8vw, 104px) 0; overflow: hidden; }
.cue-hero h1, .cue-hero h2, .cue-hero h3 { color: #fff; }
.cue-hero h1 em, .cue-band h2 em { font-style: normal; background: linear-gradient(100deg, #ffd56f, #ffb347); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cue-hero .lead { color: #b8c4ea; }
.cue-hero .eyebrow, .cue-band .eyebrow { color: var(--amber); }
.cue-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .cue-hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.cue-points { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 10px; }
.cue-points li { padding-left: 28px; position: relative; color: #dbe2fb; }
.cue-points li::before { content: "✦"; position: absolute; left: 0; color: var(--amber); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-dark:hover { border-color: #fff; }
.hero-actions.left { justify-content: flex-start; }

/* Cue chat recreation (matches the app's Assistant page) */
.chat { background: #fff; color: #1f2a44; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid #d8e0f2; font-size: .93rem; line-height: 1.55; text-align: left; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chat-head strong { color: var(--ink); display: block; line-height: 1.25; font-size: 1rem; }
.chat-head small { color: var(--muted); font-size: .8rem; }
.chat-head .tools { margin-left: auto; display: flex; gap: 14px; font-size: .8rem; color: var(--blue); white-space: nowrap; }
@media (max-width: 560px) { .chat-head .tools { display: none; } }
.chat-body { padding: 16px; display: grid; gap: 14px; }
.q { justify-self: end; max-width: 86%; background: #2a63e8; color: #fff; padding: 10px 16px; border-radius: 16px; font-weight: 500; }
.a { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.a-bubble { background: #f3f6fd; border: 1px solid #e1e7f5; border-radius: 16px; padding: 12px 16px; min-width: 0; }
.a-bubble p { margin: 0 0 8px; }
.a-bubble p:last-child { margin-bottom: 0; }
.a-bubble ul, .a-bubble ol { margin: 4px 0 8px; padding-left: 20px; }
.a-bubble li { margin: 3px 0; }
.a-bubble b { color: var(--ink); }
.a-bubble .link { color: #2a63e8; font-weight: 600; }
.a-bubble table { border-collapse: collapse; margin: 6px 0 4px; font-size: .86rem; background: #fff; }
.a-bubble th, .a-bubble td { border: 1px solid #d9e0ef; padding: 5px 10px; text-align: left; font-variant-numeric: tabular-nums; }
.a-bubble th { font-weight: 700; color: var(--ink); }
.a-meta { display: flex; justify-content: space-between; font-size: .76rem; color: #7a849c; margin-top: 8px; }
.inline-btn { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid #2a63e8; color: #2a63e8; border-radius: 999px; padding: 1px 12px; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.inline-btn::before { content: "▶"; font-size: .62rem; }
.action-card { margin-top: 8px; border: 1.5px solid #c9d6f3; background: #fff; border-radius: 12px; padding: 10px 14px; display: grid; gap: 6px; }
.action-card .k { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.action-card .v { color: var(--ink); font-weight: 600; }
.action-card .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn { font-size: .8rem; font-weight: 700; border-radius: 999px; padding: 4px 12px; border: 1.5px solid var(--blue); color: var(--blue); background: #fff; }
.chip-btn.solid { background: var(--blue); color: #fff; }
.chat-input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); color: #8a93aa; font-size: .9rem; }
.chat-input span:first-child { flex: 1; border: 1px solid #d9e0ef; border-radius: 12px; padding: 10px 14px; }
.chat-input .round { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #d9e0ef; flex: none; }
.chat-input .round.send { background: #b9c9f3; color: #fff; border: 0; }
.chat-caption { font-size: .85rem; color: var(--muted); margin-top: 12px; text-align: center; }
.cue-hero .chat-caption { color: #9fb0dc; }

/* Showcase: question list beside chat */
.showcase { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: start; }
.showcase + .showcase { margin-top: clamp(64px, 8vw, 104px); }
.showcase.reverse > :first-child { order: 2; }
@media (max-width: 960px) { .showcase { grid-template-columns: 1fr; gap: 28px; } .showcase.reverse > :first-child { order: 0; } }
.showcase .chat { position: relative; }

/* Prospect-to-gift journey */
.journey { counter-reset: j; display: grid; gap: clamp(56px, 7vw, 96px); }
.journey-step { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.journey-step:nth-child(even) > :first-child { order: 2; }
@media (max-width: 960px) { .journey-step { grid-template-columns: 1fr; gap: 28px; } .journey-step:nth-child(even) > :first-child { order: 0; } }
.step-num { counter-increment: j; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: var(--amber); font-weight: 800; margin-bottom: 16px; }
.step-num::before { content: counter(j); }

/* Cue band (home page) */
.cue-band { background:
  radial-gradient(700px 420px at 90% 0%, rgba(106,92,240,.45), transparent 60%),
  linear-gradient(160deg, #0b1636 0%, #142a74 100%); color: #c9d3f2; border-radius: 32px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; overflow: hidden; }
.cue-band h2 { color: #fff; }
.cue-band .lead { color: #b8c4ea; }
@media (max-width: 960px) { .cue-band { grid-template-columns: 1fr; } }

/* Workflow stages strip */
.stages { display: flex; flex-wrap: wrap; gap: 4px; margin: 18px 0 0; padding: 0; list-style: none; }
.stages li { padding: 8px 18px 8px 22px; background: var(--bg-tint); color: var(--blue); font-weight: 700; font-size: .84rem; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%); }
.stages li:first-child { padding-left: 16px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
.stages li.on { background: var(--blue); color: #fff; }

/* Seating map illustration */
.seatmap { background: #fff; border: 1px solid #d8e0f2; border-radius: 18px; box-shadow: var(--shadow); padding: 20px; }
.seatmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seatmap .tbl { border: 1.5px solid #cfd9f1; border-radius: 12px; padding: 10px; }
.seatmap .tbl.full { border-color: #9ad7bf; background: #f2fbf7; }
.seatmap .tbl b { display: block; font-size: .8rem; color: var(--ink); margin-bottom: 8px; }
.seatmap .tbl b span { color: var(--muted); font-weight: 500; }
.seatmap .seats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.seatmap .seats i { aspect-ratio: 1; border-radius: 6px; border: 1.5px dashed #cdd6ea; }
.seatmap .seats i.p { background: #12a376; border: 0; }
.seatmap .seats i.u { background: #2443c4; border: 0; }
.seatmap-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-top: 14px; }
.seatmap-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 6px; }
@media (max-width: 520px) { .seatmap-grid { grid-template-columns: repeat(2, 1fr); } }

/* Income streams */
.streams { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .streams { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .streams { grid-template-columns: 1fr; } }
.stream { border-radius: var(--radius); padding: 22px; background: #fff; border: 1px solid var(--line); }
.stream code { display: inline-block; margin-top: 10px; font-size: .8rem; background: var(--bg-tint); color: var(--blue); padding: 3px 8px; border-radius: 6px; }
.stream h3 { margin-bottom: 4px; }
.stream p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Order / product mock */
.panel-mock { background: #fff; border: 1px solid #d8e0f2; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; font-size: .9rem; }
.panel-mock .pm-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #f7f9ff; font-weight: 700; color: var(--ink); }
.panel-mock .pm-head small { color: var(--muted); font-weight: 500; }
.panel-mock .pm-body { padding: 14px 18px; }
.panel-mock table { width: 100%; border-collapse: collapse; }
.panel-mock th, .panel-mock td { padding: 9px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.panel-mock th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.panel-mock td.num, .panel-mock th.num { text-align: right; font-variant-numeric: tabular-nums; }
.panel-mock .low { color: #b4461b; font-weight: 700; }
.panel-mock .pm-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; font-weight: 700; color: var(--ink); background: #fafbff; flex-wrap: wrap; }
.panel-mock .ok { color: #0a7a57; }
.table-wrap { overflow-x: auto; }

.pill-new { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--amber); color: var(--ink); padding: 3px 9px; border-radius: 999px; margin-left: 8px; vertical-align: 3px; }
.feature-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .feature-links { grid-template-columns: 1fr; } }
.feature-link { display: block; text-decoration: none; color: inherit; }
.feature-link h3 { color: var(--ink); }
.feature-link .link-arrow { display: inline-block; margin-top: 14px; color: var(--blue); }

/* Alternating rows: keep the chat in the wider column */
.showcase.reverse { grid-template-columns: 1.35fr 1fr; }
.journey-step:nth-child(even) { grid-template-columns: 1.25fr 1fr; }
@media (max-width: 960px) { .showcase.reverse, .journey-step:nth-child(even) { grid-template-columns: 1fr; } }

/* Real Cue screenshots */
.cue-shot { border-radius: 16px; border: 1px solid #d8e0f2; box-shadow: var(--shadow-lg); background: #fff; width: 100%; }
.cue-hero .cue-shot, .cue-band .cue-shot { border-color: rgba(255,255,255,.25); }

/* Cue's real avatar in the example conversations */
.cue-dog { font-size: 0; background: #fde6cf url("/assets/img/cue/cue-avatar.png") center / cover no-repeat; }

/* Small Cue avatar */
.cue-dog.xs { width: 26px; height: 26px; }

/* Home hero: the "Meet thankQ Cue" pill, made to stand out */
.pill.pill-cue { position: relative; gap: 10px; padding: 6px 18px 6px 6px; font-size: .98rem; font-weight: 700; color: #fff; border: 0;
  background: linear-gradient(100deg, #1c34a0 0%, #2443c4 45%, #6a5cf0 100%);
  box-shadow: 0 10px 30px -8px rgba(80, 70, 220, .65), 0 0 0 4px rgba(106, 92, 240, .14);
  transition: transform .15s ease, box-shadow .15s ease; animation: cue-glow 2.8s ease-in-out infinite; }
.pill.pill-cue b { background: var(--amber); color: var(--ink); }
.pill.pill-cue .cue-dog { box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.pill.pill-cue .pill-arrow { transition: transform .15s ease; }
.pill.pill-cue:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(80, 70, 220, .8), 0 0 0 6px rgba(106, 92, 240, .18); }
.pill.pill-cue:hover .pill-arrow { transform: translateX(3px); }
.pill.pill-cue::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%) -150% 0 / 60% 100% no-repeat;
  animation: cue-shine 3.6s ease-in-out infinite; }
@keyframes cue-glow { 50% { box-shadow: 0 12px 34px -8px rgba(80, 70, 220, .8), 0 0 0 7px rgba(106, 92, 240, .12); } }
@keyframes cue-shine { 0%, 55% { background-position: -150% 0; } 100% { background-position: 250% 0; } }
@media (max-width: 600px) { .pill.pill-cue { font-size: .88rem; } }
@media (prefers-reduced-motion: reduce) { .pill.pill-cue, .pill.pill-cue::after { animation: none; } }

/* Quick tour: the Cue tab */
.tour-tabs button.tab-cue { display: inline-flex; align-items: center; gap: 8px; padding-left: 8px; border-color: #f3c766; background: #fff8e6; }
.tour-tabs button.tab-cue[aria-selected="true"] { background: linear-gradient(100deg, #1c34a0, #6a5cf0); border-color: transparent; color: #fff; }
@media (max-width: 520px) { .pill.pill-cue .pill-extra { display: none; } }

/* Header: Support sign in */
.nav-support { margin-left: 8px; }
.nav-support .btn { gap: 6px; }
.nav-support + .nav-cta { margin-left: 6px; }
@media (max-width: 1240px) {
  .nav-support { margin: 8px 0 0; }
  .nav-support .btn { width: 100%; justify-content: center; }
  .nav-support + .nav-cta { margin-left: 0; }
}
@media (min-width: 1241px) and (max-width: 1320px) { .nav a:not(.btn) { padding: 8px 10px; } }

/* Keep every menu item on one line */
.nav a { white-space: nowrap; }
@media (min-width: 1241px) { .nav ul { gap: 2px; } .nav a:not(.btn) { padding: 8px 11px; font-size: .94rem; } }
