/*
 * Niche quiz landing (/coach/discover-your-coaching-niche), Nov 2026 rebuild.
 * Markup: resources/views/livewire/frontend/niche-assessment/flow.blade.php (intro phase, .nqz).
 * Uses the tokens and buttons from coach-apply.css (.cap-page, .cap-btn, .cap-kicker).
 */
.nqz { display: grid; gap: 24px; color: var(--ink); font-family: var(--sans); }
.nqz *, .nqz *::before, .nqz *::after { box-sizing: border-box; }
.nqz h1, .nqz h2, .nqz h3, .nqz p { margin: 0; }
.nqz h1, .nqz h2, .nqz h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: -0.005em; }
.nqz h2 { font-size: 36px; line-height: 1.18; }
.nqz h3 { font-size: 21px; line-height: 1.3; }
.nqz p { font-size: 16px; line-height: 1.75; color: var(--muted); }
.nqz .nqz-muted { margin-top: 12px; }
.nqz .nqz-small { font-size: 14px; }
.nqz-small a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.nqz-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; background: var(--grad-soft); border-radius: 40px; padding: 60px 56px; position: relative; overflow: hidden; }
.nqz-hero::after { content: ""; position: absolute; right: -90px; bottom: -110px; width: 320px; height: 320px; border-radius: 50%; background: var(--grad); opacity: .18; filter: blur(30px); pointer-events: none; }
.nqz-hero__copy { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; }
.nqz-hero__copy .cap-kicker { margin-bottom: 0; }
.nqz h1 { font-size: 56px; line-height: 1.06; }
.nqz .nqz-hero__lead { font-size: 17px; color: #4f4741; max-width: 560px; }
.nqz-hero__actions { margin-top: 8px; }
.nqz-stats { display: flex; gap: 10px; margin: 6px 0 0; padding: 0; flex-wrap: wrap; }
.nqz-stats > div { background: rgba(255, 255, 255, .7); border: 1px solid rgba(234, 223, 210, .9); border-radius: 18px; padding: 10px 16px; display: flex; align-items: baseline; gap: 8px; }
.nqz-stats dt { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); line-height: 1; }
.nqz-stats dd { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Quiz preview */
.nqz-hero__preview { position: relative; z-index: 1; min-height: 320px; display: grid; place-items: center; }
.nqz-mock { position: relative; z-index: 2; width: min(420px, 100%); background: #fff; border-radius: 28px; padding: 28px 28px 30px; box-shadow: 0 30px 60px rgba(29, 26, 23, .14); }
.nqz-mock--back { position: absolute; z-index: 1; width: min(380px, 88%); height: 70%; transform: rotate(-5deg) translate(-24px, 18px); background: rgba(255, 255, 255, .55); box-shadow: none; padding: 0; }
.nqz-mock__bar { display: flex; justify-content: space-between; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.nqz-mock__progress { height: 8px; border-radius: 999px; background: var(--cream-2); margin: 10px 0 22px; overflow: hidden; }
.nqz-mock__progress span { display: block; height: 100%; border-radius: 999px; background: var(--grad); }
.nqz .nqz-mock__hint { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.nqz .nqz-mock__statement { margin-top: 10px; font-family: var(--serif); font-size: 23px; line-height: 1.35; color: var(--ink); }
.nqz-mock__likert { display: flex; justify-content: space-between; gap: 8px; margin-top: 22px; }
.nqz-mock__dot { flex: 1; height: 44px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream); }
.nqz-mock__dot.is-selected { background: var(--grad); border-color: transparent; box-shadow: 0 8px 18px rgba(231, 154, 179, .35); }

/* Blocks */
.nqz-block { background: #fff; border: 1px solid var(--line); border-radius: 36px; padding: 52px 56px; }
.nqz-block--tint { background: var(--grad-soft); border: 0; }
.nqz-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.nqz-text { display: grid; gap: 14px; }
.nqz .nqz-text p { font-size: 16.5px; }
.nqz-head { max-width: 720px; margin-bottom: 28px; }
.nqz .nqz-head p { margin-top: 12px; }
.nqz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nqz-steps li { list-style: none; margin: 0; background: var(--cream); border: 1px solid var(--line); border-radius: 26px; padding: 26px 24px; display: grid; gap: 12px; align-content: start; }
.nqz-steps li::before, .nqz-steps li::marker { content: none; }
.nqz .nqz-steps p { font-size: 15px; }
.nqz .nqz-note { margin-top: 20px; font-size: 15px; }
.nqz-areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nqz-areas li { list-style: none; margin: 0; padding: 10px 18px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink); }
.nqz-areas li::before, .nqz-areas li::marker { content: none !important; display: none !important; }
.nqz-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nqz-types article { background: #fff; border-radius: 24px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.nqz .nqz-types p { font-size: 15px; }

/* FAQ */
.nqz-faq__list { display: grid; gap: 10px; }
.nqz-q { background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: 0; }
.nqz-q[open] { background: #fff; box-shadow: 0 10px 24px rgba(29, 26, 23, .05); }
.nqz-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 16px; font-weight: 600; color: var(--ink); }
.nqz-q summary::-webkit-details-marker { display: none; }
.nqz-q__icon { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line); flex: none; position: relative; transition: transform 200ms ease; }
.nqz-q__icon::before, .nqz-q__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.nqz-q__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.nqz-q[open] .nqz-q__icon { transform: rotate(45deg); background: var(--grad); border-color: transparent; }
.nqz .nqz-q p { padding: 0 22px 20px; font-size: 15px; }

/* Closing */
.nqz-close { background: var(--ink); border-radius: 36px; padding: 64px 48px; text-align: center; display: grid; gap: 14px; justify-items: center; position: relative; overflow: hidden; }
.nqz-close::after { content: ""; position: absolute; left: -80px; top: -100px; width: 300px; height: 300px; border-radius: 50%; background: var(--grad); opacity: .22; filter: blur(40px); pointer-events: none; }
.nqz .nqz-close h2 { color: #fff; font-size: 42px; position: relative; z-index: 1; }
.nqz .nqz-close p { color: rgba(255, 255, 255, .78); max-width: 560px; position: relative; z-index: 1; }
.nqz-close .nqz-hero__actions { position: relative; z-index: 1; }
.nqz .nqz-close .nqz-small, .nqz .nqz-close .nqz-small a { color: #fff !important; }
.nqz .nqz-close .nqz-small { color: rgba(255, 255, 255, .72) !important; }

/* Page around it */
.am-niche-assessment--landing.cap-page .am-coach-apply__shell { padding-top: 16px !important; }

@media (max-width: 991.98px) {
    .nqz-hero, .nqz-split { grid-template-columns: 1fr; gap: 28px; }
    .nqz h1 { font-size: 42px; }
    .nqz-steps, .nqz-types { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
    .nqz { gap: 16px; }
    .nqz-hero { padding: 32px 20px 36px; border-radius: 30px; }
    .nqz h1 { font-size: 34px; }
    .nqz h2, .nqz .nqz-close h2 { font-size: 27px; }
    .nqz-hero__preview { min-height: 0; }
    .nqz-mock--back { display: none; }
    .nqz-mock { padding: 22px 20px; }
    .nqz .nqz-mock__statement { font-size: 19px; }
    .nqz-hero__actions, .nqz-hero__actions .cap-btn { width: 100%; }
    .nqz-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px; }
    .nqz-stats > div { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px; }
    .nqz-block { padding: 30px 20px; border-radius: 28px; }
    .nqz-steps, .nqz-types { grid-template-columns: 1fr; }
    .nqz-close { padding: 44px 20px; border-radius: 28px; }
}
