/*
 * TOWA AI - Website Report
 * Dedicated styles for /report.
 *
 * The V7.2 compatibility layer intentionally contains only broad fallback
 * rules. Keep it as the base, then restore the report-specific presentation
 * below so the report page does not depend on generic selectors.
 */
@import url("/css/pages/legacy-page-compat.css");

:root {
    --report-ink: #102842;
    --report-ink-strong: #071e37;
    --report-muted: #61758c;
    --report-soft: #f5f9fe;
    --report-soft-blue: #edf5ff;
    --report-line: #dbe7f3;
    --report-blue: #1769ff;
    --report-blue-dark: #0b4fd3;
    --report-cyan: #16b9d8;
    --report-green: #1da66d;
    --report-orange: #ee8c36;
    --report-red: #e15b64;
    --report-violet: #725ee8;
    --report-radius-xl: 30px;
    --report-radius-lg: 24px;
    --report-radius-md: 18px;
    --report-shadow: 0 24px 70px rgba(17, 52, 91, .12);
    --report-shadow-soft: 0 14px 38px rgba(17, 52, 91, .08);
}

.website-report-page {
    position: relative;
    overflow: clip;
    color: var(--report-ink);
    background: #fff;
}

.website-report-page *,
.website-report-page *::before,
.website-report-page *::after {
    box-sizing: border-box;
}

.website-report-page button,
.website-report-page input,
.website-report-page a {
    -webkit-tap-highlight-color: transparent;
}

.website-report-page [hidden] {
    display: none !important;
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.report-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(5rem, 8vw, 7.8rem) 0 clamp(4.7rem, 7vw, 7rem);
    color: #fff;
    background:
        radial-gradient(circle at 78% 15%, rgba(65, 152, 255, .38), transparent 25rem),
        radial-gradient(circle at 16% 86%, rgba(31, 209, 225, .20), transparent 29rem),
        linear-gradient(132deg, #06182a 0%, #0a2e58 48%, #0d55a7 100%);
}

.report-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.30), transparent);
}

.report-hero__grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: .22;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), transparent 94%);
}

.report-hero__orb {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.report-hero__orb--one {
    width: clamp(280px, 34vw, 520px);
    aspect-ratio: 1;
    top: -190px;
    right: -90px;
    background: radial-gradient(circle at 35% 35%, rgba(123, 202, 255, .28), rgba(23, 105, 255, .04) 62%, transparent 70%);
}

.report-hero__orb--two {
    width: clamp(220px, 28vw, 430px);
    aspect-ratio: 1;
    bottom: -190px;
    left: -100px;
    background: radial-gradient(circle at 50% 50%, rgba(22, 185, 216, .22), transparent 68%);
}

.report-badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1.35rem;
    padding: .55rem .78rem;
    border: 1px solid rgba(144, 208, 255, .30);
    border-radius: 999px;
    color: #dcefff;
    background: rgba(8, 39, 73, .54);
    box-shadow: inset 0 1px rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .13em;
}

.report-badge small {
    padding-left: .55rem;
    border-left: 1px solid rgba(255,255,255,.18);
    color: rgba(235,247,255,.76);
    font-size: .68rem;
    font-weight: 650;
    letter-spacing: .02em;
}

.report-badge__pulse {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #56efc0;
    box-shadow: 0 0 0 0 rgba(86,239,192,.45);
    animation: report-live-pulse 1.9s ease-out infinite;
}

@keyframes report-live-pulse {
    70% { box-shadow: 0 0 0 9px rgba(86,239,192,0); }
    100% { box-shadow: 0 0 0 0 rgba(86,239,192,0); }
}

.report-hero__title {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.35rem, 5.15vw, 4.75rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.report-hero__title span {
    color: #9eeaff;
    background: linear-gradient(90deg, #b6efff 0%, #7fd9ff 38%, #c6dcff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.report-hero__lead {
    max-width: 760px;
    margin: 1.55rem 0 0;
    color: rgba(239, 247, 255, .79);
    font-size: clamp(.98rem, 1.35vw, 1.08rem);
    line-height: 1.95;
}

.report-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    margin-top: 1.75rem;
}

.report-hero__proof span {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    color: rgba(243,250,255,.88);
    font-size: .82rem;
    font-weight: 750;
}

.report-hero__proof i {
    color: #70efc9;
    font-size: 1rem;
}

/* Hero preview card -------------------------------------------------- */
.report-preview {
    position: relative;
    overflow: hidden;
    padding: 1.15rem;
    border: 1px solid rgba(180, 220, 255, .24) !important;
    border-radius: 26px !important;
    color: #f4fbff;
    background:
        linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.055)),
        rgba(4, 30, 58, .66) !important;
    box-shadow: 0 28px 80px rgba(0, 12, 33, .32) !important;
    backdrop-filter: blur(18px);
}

.report-preview::before {
    content: "";
    position: absolute;
    inset: -50% auto auto 52%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(55, 161, 255, .17);
    filter: blur(35px);
    pointer-events: none;
}

.report-preview__top {
    position: relative;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding-bottom: .95rem;
    border-bottom: 1px solid rgba(255,255,255,.11);
    color: rgba(229,243,255,.67);
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .11em;
}

.report-preview__top > span:nth-child(2) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.report-preview__top strong {
    margin-left: auto;
    padding: .24rem .46rem;
    border: 1px solid rgba(82, 239, 192, .30);
    border-radius: 999px;
    color: #72f0c8;
    background: rgba(82, 239, 192, .08);
    font-size: .6rem;
    letter-spacing: .08em;
}

.report-preview__dots {
    display: inline-flex;
    gap: .25rem;
}

.report-preview__dots i {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6e96be;
}

.report-preview__dots i:first-child { background: #ff7b7b; }
.report-preview__dots i:nth-child(2) { background: #ffd16f; }
.report-preview__dots i:nth-child(3) { background: #66e1ad; }

.report-preview__score {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 0 1.1rem;
}

.report-preview__score small {
    display: block;
    margin-bottom: .25rem;
    color: rgba(224,240,254,.60);
    font-size: .68rem;
    font-weight: 750;
}

.report-preview__score h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 850;
    line-height: 1.35;
}

.report-preview__ring {
    display: grid;
    place-items: center;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
    border-radius: 50%;
    background: conic-gradient(#5addff 0 68%, rgba(255,255,255,.12) 68% 100%);
    box-shadow: 0 0 32px rgba(53, 184, 255, .16);
}

.report-preview__ring::before {
    content: "";
    grid-area: 1 / 1;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #0a2d51;
}

.report-preview__ring strong,
.report-preview__ring small {
    position: relative;
    z-index: 1;
    grid-area: 1 / 1;
}

.report-preview__ring strong {
    transform: translateY(-5px);
    font-size: 1.45rem;
    line-height: 1;
}

.report-preview__ring small {
    transform: translateY(15px);
    color: rgba(222,241,255,.58);
    font-size: .6rem;
}

.report-preview__bars {
    display: grid;
    gap: .72rem;
    padding: .95rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(0, 18, 38, .20);
}

.report-preview__bars > div {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) 56px;
    align-items: center;
    gap: .55rem;
    font-size: .66rem;
}

.report-preview__bars span {
    color: rgba(235,247,255,.82);
    font-weight: 750;
}

.report-preview__bars i {
    overflow: hidden;
    height: 6px;
    border-radius: 99px;
    background: rgba(255,255,255,.10);
}

.report-preview__bars b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #45b9ff, #63e4ef);
}

.report-preview__bars em {
    color: #8edcff;
    font-style: normal;
    text-align: right;
}

.report-preview__plan {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: .85rem;
    padding: .85rem .95rem;
    border: 1px solid rgba(129, 211, 255, .16);
    border-radius: 15px;
    background: linear-gradient(120deg, rgba(24,106,255,.16), rgba(22,185,216,.08));
}

.report-preview__plan > i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    color: #97e9ff;
    background: rgba(75, 171, 255, .14);
    font-size: 1.05rem;
}

.report-preview__plan span {
    display: grid;
    gap: .15rem;
}

.report-preview__plan strong {
    color: #fff;
    font-size: .78rem;
}

.report-preview__plan small {
    color: rgba(226,241,252,.60);
    font-size: .66rem;
}

/* ------------------------------------------------------------------
   Entry form
   ------------------------------------------------------------------ */
.report-form-section {
    position: relative;
    padding: clamp(4.6rem, 7vw, 6.6rem) 0;
    background:
        radial-gradient(circle at 12% 5%, rgba(23,105,255,.07), transparent 24rem),
        linear-gradient(180deg, #f7faff 0%, #f3f8fd 100%) !important;
}

.report-section-heading {
    max-width: 830px;
    margin: 0 auto clamp(1.9rem, 4vw, 2.8rem);
}

.report-section-heading > p,
.report-result-header > div > p,
.report-block-heading > span,
.report-consult-cta > div > p {
    margin: 0 0 .55rem;
    color: var(--report-blue);
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .15em;
}

.report-section-heading h2 {
    margin: 0;
    color: var(--report-ink-strong);
    font-size: clamp(1.9rem, 4vw, 3.15rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -.035em;
}

.report-section-heading > span {
    display: block;
    margin-top: .9rem;
    color: var(--report-muted);
    line-height: 1.8;
}

.report-form-shell {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--report-line) !important;
    border-radius: var(--report-radius-xl) !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: var(--report-shadow) !important;
}

.report-form {
    display: grid;
    gap: 1.45rem;
}

.report-url-field {
    position: static;
}

.report-url-field > label,
.report-detail-fields label {
    display: flex;
    align-items: center;
    gap: .48rem;
    margin-bottom: .55rem;
    color: #284661;
    font-size: .82rem;
    font-weight: 850;
}

.report-url-field label strong,
.report-detail-fields label strong {
    padding: .15rem .38rem;
    border-radius: 999px;
    color: #c43e48;
    background: #fff0f1;
    font-size: .62rem;
    font-weight: 850;
}

/* Reset broad legacy rule: .report-url-input is a wrapper, not an input. */
.report-url-input {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 1px solid #c9d9e9;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(19, 58, 99, .05);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.report-url-input:focus-within {
    border-color: #69a0ff;
    box-shadow: 0 0 0 4px rgba(23,105,255,.09), 0 8px 24px rgba(19,58,99,.07);
}

.report-url-input > i {
    position: absolute;
    left: 1rem;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    color: #7890a8;
    pointer-events: none;
}

.report-url-input input {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: .88rem 1rem .88rem 2.75rem;
    border: 0;
    border-radius: 16px 0 0 16px;
    color: var(--report-ink);
    background: transparent;
    outline: 0;
    font-size: .95rem;
}

.report-url-input input::placeholder,
.report-detail-fields input::placeholder {
    color: #9aabbd;
}

.report-url-input button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-width: 190px;
    margin: 5px;
    padding: .75rem 1rem;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--report-blue), #2d86f5);
    box-shadow: 0 10px 26px rgba(23,105,255,.22);
    font-size: .85rem;
    font-weight: 850;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.report-url-input button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(23,105,255,.28);
    filter: saturate(1.08);
}

.report-url-input button:disabled {
    cursor: progress;
    opacity: .62;
}

.report-field-help {
    display: flex;
    gap: .38rem;
    align-items: flex-start;
    margin: .55rem 0 0;
    color: #7a8da2;
    font-size: .72rem;
    line-height: 1.6;
}

.report-field-help i {
    margin-top: .08rem;
    color: var(--report-green);
}

.report-contact-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding-top: .2rem;
}

.report-contact-heading > span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #264761;
    font-size: .84rem;
    font-weight: 850;
}

.report-contact-heading > span i { color: var(--report-blue); }

.report-contact-heading small {
    padding: .2rem .48rem;
    border-radius: 999px;
    color: #7a8ea3;
    background: #f2f6fa;
    font-size: .65rem;
    font-weight: 750;
}

.report-detail-fields {
    padding: 1.05rem;
    border: 1px solid #e3ebf4;
    border-radius: 18px;
    background: #f9fbfe;
}

.report-detail-fields input {
    width: 100%;
    min-height: 49px;
    padding: .7rem .82rem;
    border: 1px solid #cad9e9;
    border-radius: 12px;
    color: var(--report-ink);
    background: #fff;
    outline: 0;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.report-detail-fields input:focus {
    border-color: #6da2f8;
    box-shadow: 0 0 0 3px rgba(23,105,255,.09);
}

.report-detail-fields .col-12 > small {
    display: block;
    margin-top: .4rem;
    color: #8394a6;
    font-size: .7rem;
}

.report-form-consent {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .8rem .9rem;
    border: 1px solid #dfe9f3;
    border-radius: 13px;
    color: #62768d;
    background: #f8fbfe;
    font-size: .7rem;
    line-height: 1.7;
}

.report-form-consent i {
    margin-top: .08rem;
    color: #538bd2;
}

.report-form-error {
    padding: .8rem .95rem;
    border: 1px solid #f0c9cc;
    border-radius: 13px;
    color: #a43740;
    background: #fff4f5;
    font-size: .8rem;
    font-weight: 700;
}

.report-analysis-notes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
    width: min(1080px, 100%);
    margin: 1.3rem auto 0;
}

.report-analysis-notes article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: .65rem;
    padding: 1rem;
    border: 1px solid #e0eaf4;
    border-radius: 17px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 8px 24px rgba(20,58,98,.04);
}

.report-analysis-notes article > i {
    display: grid;
    grid-row: 1 / span 2;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: var(--report-blue);
    background: var(--report-soft-blue);
}

.report-analysis-notes strong {
    color: #284961;
    font-size: .78rem;
}

.report-analysis-notes span {
    margin-top: .18rem;
    color: #7a8da1;
    font-size: .66rem;
    line-height: 1.55;
}

/* ------------------------------------------------------------------
   Processing
   ------------------------------------------------------------------ */
.report-processing {
    position: relative;
    padding: clamp(4.5rem, 7vw, 6.5rem) 0;
    background: linear-gradient(180deg, #f2f8ff, #f8fbfe);
}

.report-processing__card {
    width: min(820px, 100%);
    margin: 0 auto;
    padding: clamp(1.6rem, 4vw, 2.8rem);
    border: 1px solid var(--report-line);
    border-radius: var(--report-radius-xl);
    text-align: center;
    background: #fff;
    box-shadow: var(--report-shadow);
}

.report-processing__visual {
    display: grid;
    place-items: center;
    height: 132px;
    margin-bottom: .6rem;
}

.report-processing__scanner {
    position: relative;
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    border: 1px solid #cfe0f3;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 28%, #e8f4ff 72%);
    box-shadow: 0 15px 38px rgba(23,105,255,.13), inset 0 0 30px rgba(61,159,255,.08);
}

.report-processing__scanner::before,
.report-processing__scanner::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(23,105,255,.18);
    border-radius: 50%;
    animation: report-scanner-wave 2.2s ease-out infinite;
}

.report-processing__scanner::before { inset: -12px; }
.report-processing__scanner::after { inset: -26px; animation-delay: .6s; }

.report-processing__scanner > i {
    position: relative;
    z-index: 2;
    color: var(--report-blue);
    font-size: 2.25rem;
}

.report-processing__scanner > span {
    position: absolute;
    z-index: 1;
    width: 76px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, #37bdf0, transparent);
    box-shadow: 0 0 12px rgba(55,189,240,.65);
    animation: report-scan-line 1.7s ease-in-out infinite alternate;
}

@keyframes report-scanner-wave {
    0% { transform: scale(.82); opacity: .75; }
    100% { transform: scale(1.18); opacity: 0; }
}

@keyframes report-scan-line {
    from { transform: translateY(-28px); }
    to { transform: translateY(28px); }
}

.report-processing__kicker {
    margin: .5rem 0;
    color: var(--report-blue);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .16em;
}

.report-processing h2 {
    margin: 0;
    color: var(--report-ink-strong);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 900;
    line-height: 1.3;
}

.report-processing h2 + p {
    max-width: 650px;
    margin: .8rem auto 1.5rem;
    color: var(--report-muted);
    font-size: .86rem;
    line-height: 1.75;
}

.report-processing__bar {
    position: relative;
    overflow: hidden;
    width: min(620px, 100%);
    height: 9px;
    margin: 0 auto;
    border-radius: 99px;
    background: #e5edf6;
}

/* Override the legacy pseudo-progress bar; the JS controls the real span. */
.report-processing__bar::after { display: none !important; }

.report-processing__bar > span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--report-blue), var(--report-cyan));
    box-shadow: 0 0 18px rgba(23,105,255,.25);
    transition: width .5s ease;
}

.report-processing__time {
    margin-top: .65rem;
    color: #73869a;
    font-size: .7rem;
    font-variant-numeric: tabular-nums;
}

.report-processing__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .4rem;
    margin-top: 1.5rem;
}

.report-processing__steps span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 36px;
    padding: .4rem .45rem;
    border: 1px solid #e2eaf2;
    border-radius: 999px;
    color: #8192a4;
    background: #f8fafc;
    font-size: .67rem;
    font-weight: 750;
}

.report-processing__steps span > i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #bdc9d5;
}

.report-processing__steps span.is-active {
    border-color: #c7dafd;
    color: #1b65d3;
    background: #eff5ff;
}

.report-processing__steps span.is-active > i {
    background: var(--report-blue);
    box-shadow: 0 0 0 4px rgba(23,105,255,.10);
}

.report-processing__steps span.is-done {
    border-color: #ccebdd;
    color: #25885e;
    background: #effaf5;
}

.report-processing__steps span.is-done > i { background: var(--report-green); }

/* ------------------------------------------------------------------
   Results
   ------------------------------------------------------------------ */
.report-results {
    padding: clamp(4.4rem, 7vw, 6.7rem) 0;
    background:
        radial-gradient(circle at 92% 10%, rgba(23,105,255,.055), transparent 22rem),
        #f7f9fc;
}

.report-result-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.report-result-header h2 {
    margin: 0;
    color: var(--report-ink-strong);
    font-size: clamp(1.75rem, 3.7vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.03em;
}

.report-result-header h2 > span { color: var(--report-blue); }

.report-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem .9rem;
    margin-top: .8rem;
    color: #74879a;
    font-size: .73rem;
}

.report-result-meta span:first-child {
    overflow-wrap: anywhere;
}

.report-result-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .55rem;
}

.report-result-actions button {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    min-height: 42px;
    padding: .58rem .78rem;
    border: 1px solid #cfdae6;
    border-radius: 999px;
    color: #3d566f;
    background: #fff;
    box-shadow: 0 7px 20px rgba(23,53,86,.04);
    font-size: .72rem;
    font-weight: 800;
    transition: transform .18s ease, border-color .18s ease, color .18s ease;
}

.report-result-actions button:hover {
    transform: translateY(-1px);
    border-color: #8eb7f1;
    color: var(--report-blue-dark);
}

.report-score-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.report-overall-card,
.report-metric-card,
.report-block {
    border: 1px solid var(--report-line) !important;
    border-radius: var(--report-radius-lg) !important;
    background: #fff !important;
    box-shadow: var(--report-shadow-soft) !important;
}

.report-overall-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 220px;
    padding: clamp(1.2rem, 3vw, 1.8rem);
}

.report-score-ring {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 138px;
    height: 138px;
    flex: 0 0 138px;
    margin: 0;
    border-radius: 50%;
    background: conic-gradient(var(--report-blue) calc(var(--score, 0) * 3.6deg), #e7edf5 0);
    box-shadow: inset 0 0 0 1px rgba(23,105,255,.04), 0 12px 30px rgba(23,105,255,.10);
}

.report-score-ring::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px #eef2f6;
}

.report-score-ring strong,
.report-score-ring small {
    grid-area: 1 / 1;
}

.report-score-ring strong {
    transform: translateY(-7px);
    color: var(--report-ink-strong);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.report-score-ring small {
    transform: translateY(23px);
    color: #8b9bad;
    font-size: .67rem;
    font-weight: 750;
}

.report-overall-card > div:last-child > span {
    color: #7d8fa1;
    font-size: .71rem;
    font-weight: 800;
}

.report-overall-card h3 {
    margin: .28rem 0 .45rem;
    color: #153c66;
    font-size: 1.35rem;
    font-weight: 900;
}

.report-overall-card p {
    margin: 0;
    color: #687c91;
    font-size: .78rem;
    line-height: 1.7;
}

.report-metric-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .95rem 1.1rem;
    min-height: 220px;
    padding: clamp(1.2rem, 3vw, 1.7rem);
}

.report-metric {
    align-self: center;
}

.report-metric__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: .45rem;
    color: #60758a;
    font-size: .74rem;
    font-weight: 750;
}

.report-metric__head strong {
    color: #153b64;
    font-size: .88rem;
    font-variant-numeric: tabular-nums;
}

.report-metric__bar {
    overflow: hidden;
    height: 7px;
    border-radius: 99px;
    background: #e8eef5;
}

.report-metric__bar > i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--report-blue), var(--report-cyan));
}

/* Result blocks ------------------------------------------------------ */
.report-block {
    margin-top: 1rem;
    padding: clamp(1.25rem, 3.3vw, 2rem);
}

.report-block-heading {
    max-width: 870px;
    margin-bottom: 1.25rem;
}

.report-block-heading > span {
    display: block;
    margin-bottom: .45rem;
}

.report-block-heading h2 {
    margin: 0;
    color: var(--report-ink-strong);
    font-size: clamp(1.35rem, 2.8vw, 2.05rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.report-block-heading p {
    margin: .55rem 0 0;
    color: #728599;
    font-size: .77rem;
    line-height: 1.7;
}

.report-strength-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.report-strength-item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .78rem .85rem;
    border: 1px solid #dceee6;
    border-radius: 14px;
    color: #3a6253;
    background: #f4fbf8;
    font-size: .78rem;
    line-height: 1.6;
}

.report-strength-item i {
    margin-top: .05rem;
    color: var(--report-green);
    font-size: 1rem;
}

.report-findings-list {
    display: grid;
    gap: .75rem;
}

.report-finding {
    --finding-accent: var(--report-orange);
    --finding-soft: #fff8ef;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: .9rem;
    padding: 1rem;
    border: 1px solid #e2e9f0;
    border-left: 4px solid var(--finding-accent);
    border-radius: 16px;
    background: #fff;
}

.report-finding--high {
    --finding-accent: var(--report-red);
    --finding-soft: #fff2f3;
}

.report-finding--medium {
    --finding-accent: var(--report-orange);
    --finding-soft: #fff7ed;
}

.report-finding--opportunity {
    --finding-accent: var(--report-blue);
    --finding-soft: #eef5ff;
}

.report-finding__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    color: var(--finding-accent);
    background: var(--finding-soft);
    font-size: 1.1rem;
}

.report-finding__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin-bottom: .28rem;
}

.report-finding__category,
.report-finding__priority {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: .18rem .42rem;
    border-radius: 999px;
    font-size: .61rem;
    font-weight: 850;
}

.report-finding__category {
    color: #506b83;
    background: #f0f4f8;
}

.report-finding__priority {
    color: var(--finding-accent);
    background: var(--finding-soft);
}

.report-finding h3 {
    margin: 0;
    color: #1a3b5c;
    font-size: .98rem;
    font-weight: 850;
    line-height: 1.45;
}

.report-finding__body > p {
    margin: .38rem 0 0;
    color: #6d8195;
    font-size: .75rem;
    line-height: 1.65;
}

.report-finding__recommendation {
    padding: .65rem .72rem;
    border-radius: 11px;
    color: #445f79 !important;
    background: #f7fafc;
}

.report-finding__recommendation strong { color: #1e5595; }

/* Development plans ------------------------------------------------- */
.report-plan-block {
    overflow: hidden;
    border-color: #183b64 !important;
    color: #fff;
    background:
        radial-gradient(circle at 85% 10%, rgba(62,152,255,.22), transparent 24rem),
        linear-gradient(135deg, #081d34, #0b355f 58%, #0c4784) !important;
    box-shadow: 0 24px 70px rgba(6, 29, 55, .18) !important;
}

.report-block-heading--light > span { color: #78dfff; }
.report-block-heading--light h2 { color: #fff; }
.report-block-heading--light p { color: rgba(229,241,251,.68); }

.report-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.report-plan-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1rem;
    border: 1px solid rgba(177, 219, 255, .18);
    border-radius: 17px;
    background: rgba(255,255,255,.075);
    box-shadow: inset 0 1px rgba(255,255,255,.06);
    backdrop-filter: blur(7px);
}

.report-plan-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .72rem;
}

.report-plan-card__label,
.report-plan-card__priority {
    display: inline-flex;
    padding: .2rem .42rem;
    border-radius: 999px;
    font-size: .6rem;
    font-weight: 850;
    letter-spacing: .05em;
}

.report-plan-card__label {
    color: #91e9ff;
    background: rgba(70,186,255,.13);
}

.report-plan-card__priority {
    color: #94f0c9;
    background: rgba(91,220,165,.11);
}

.report-plan-card h3 {
    margin: 0;
    color: #fff;
    font-size: .98rem;
    font-weight: 850;
    line-height: 1.45;
}

.report-plan-card > p {
    margin: .5rem 0 .65rem;
    color: rgba(227,240,250,.68);
    font-size: .72rem;
    line-height: 1.65;
}

.report-plan-card ul,
.report-roadmap-item ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.report-plan-card li {
    position: relative;
    margin-top: .42rem;
    padding-left: .8rem;
    color: rgba(240,248,255,.82);
    font-size: .69rem;
    line-height: 1.55;
}

.report-plan-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #6addf0;
}

.report-plan-card__effect {
    margin-top: auto;
    padding-top: .75rem;
    color: #a8ebff;
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.55;
}

/* Roadmap ------------------------------------------------------------ */
.report-roadmap {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.report-roadmap::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, #c9daf0, #7eadf0, #c9daf0);
}

.report-roadmap-item {
    position: relative;
    padding-top: 1rem;
}

.report-roadmap-item::before {
    content: "";
    position: relative;
    z-index: 2;
    display: block;
    width: 13px;
    height: 13px;
    margin: 0 auto .8rem;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--report-blue);
    box-shadow: 0 0 0 3px rgba(23,105,255,.16);
}

.report-roadmap-item article {
    min-height: 170px;
    padding: .9rem;
    border: 1px solid #e0e8f1;
    border-radius: 15px;
    background: #f9fbfd;
}

.report-roadmap-item article > span {
    display: block;
    margin-bottom: .3rem;
    color: var(--report-blue);
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.report-roadmap-item h3 {
    margin: 0 0 .55rem;
    color: #1b3d60;
    font-size: .9rem;
    font-weight: 850;
}

.report-roadmap-item li {
    position: relative;
    margin-top: .32rem;
    padding-left: .72rem;
    color: #6b7f93;
    font-size: .69rem;
    line-height: 1.5;
}

.report-roadmap-item li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #8aa7c5;
}

/* Consultation CTA -------------------------------------------------- */
.report-consult-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    margin-top: 1rem;
    padding: clamp(1.3rem, 3vw, 2rem);
    border: 1px solid #cfe1f8;
    border-radius: var(--report-radius-lg);
    background: linear-gradient(125deg, #eef6ff, #f7fbff 52%, #edf9fb);
    box-shadow: var(--report-shadow-soft);
}

.report-consult-cta h2 {
    margin: 0;
    color: #102f52;
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    font-weight: 900;
    line-height: 1.3;
}

.report-consult-cta > div > span {
    display: block;
    margin-top: .45rem;
    color: #657b90;
    font-size: .76rem;
    line-height: 1.7;
}

.report-consult-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .55rem;
    flex: 0 0 auto;
}

.report-consult-primary,
.report-consult-secondary,
.report-ai-narrator__actions button,
.report-ai-narrator__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    padding: .65rem .85rem;
    border-radius: 999px;
    font-size: .73rem;
    font-weight: 850;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.report-consult-primary {
    border: 1px solid transparent;
    color: #fff;
    background: linear-gradient(135deg, var(--report-blue), #3389ef);
    box-shadow: 0 11px 26px rgba(23,105,255,.22);
}

.report-consult-secondary {
    border: 1px solid #bcd0e6;
    color: #365a7e;
    background: #fff;
}

.report-consult-primary:hover,
.report-consult-secondary:hover {
    transform: translateY(-1px);
}

.report-disclaimer {
    max-width: 1050px;
    margin: 1rem auto 0;
    color: #8494a4;
    font-size: .66rem;
    line-height: 1.65;
}

/* ------------------------------------------------------------------
   AI narrator
   ------------------------------------------------------------------ */
.report-ai-narrator {
    position: fixed;
    right: clamp(.8rem, 2vw, 1.5rem);
    bottom: clamp(.8rem, 2vw, 1.5rem);
    z-index: 1085;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    width: min(560px, calc(100vw - 1.6rem));
    overflow: hidden;
    border: 1px solid rgba(179, 215, 245, .46);
    border-radius: 23px;
    color: #fff;
    background: linear-gradient(135deg, rgba(5,28,53,.98), rgba(8,53,94,.98));
    box-shadow: 0 26px 75px rgba(3, 18, 36, .34);
    backdrop-filter: blur(16px);
}

.report-ai-narrator__close {
    position: absolute;
    top: .55rem;
    right: .55rem;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    color: rgba(239,248,255,.78);
    background: rgba(0,0,0,.14);
}

.report-ai-narrator__media {
    position: relative;
    min-height: 194px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 35%, rgba(61,165,255,.22), transparent 55%),
        rgba(255,255,255,.045);
}

.report-ai-narrator__poster,
.report-ai-narrator__animated-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.report-ai-narrator__animated-image:not([src]) { display: none; }

.report-ai-narrator__live {
    position: absolute;
    top: .55rem;
    left: .55rem;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .25rem .42rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: #e7f6ff;
    background: rgba(2,20,38,.54);
    backdrop-filter: blur(6px);
    font-size: .54rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.report-ai-narrator__live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #57ecb9;
}

.report-ai-narrator__wave {
    position: absolute;
    left: 50%;
    bottom: .55rem;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
    transform: translateX(-50%);
    opacity: .25;
}

.report-ai-narrator.is-speaking .report-ai-narrator__wave { opacity: 1; }

.report-ai-narrator__wave i {
    display: block;
    width: 3px;
    height: 6px;
    border-radius: 99px;
    background: #75e7ff;
}

.report-ai-narrator.is-speaking .report-ai-narrator__wave i {
    animation: report-audio-wave .7s ease-in-out infinite alternate;
}

.report-ai-narrator.is-speaking .report-ai-narrator__wave i:nth-child(2),
.report-ai-narrator.is-speaking .report-ai-narrator__wave i:nth-child(4) { animation-delay: .17s; }
.report-ai-narrator.is-speaking .report-ai-narrator__wave i:nth-child(3) { animation-delay: .34s; }

@keyframes report-audio-wave {
    from { height: 5px; }
    to { height: 18px; }
}

.report-ai-narrator__body {
    min-width: 0;
    padding: 1rem 2.7rem 1rem 1rem;
}

.report-ai-narrator__body > span {
    color: #83dcf5;
    font-size: .58rem;
    font-weight: 850;
    letter-spacing: .04em;
}

.report-ai-narrator__body > strong {
    display: block;
    margin-top: .18rem;
    color: #fff;
    font-size: .9rem;
}

.report-ai-narrator__body > p {
    display: -webkit-box;
    overflow: hidden;
    margin: .48rem 0 .55rem;
    color: rgba(231,242,251,.72);
    font-size: .68rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.report-ai-narrator__status {
    display: block;
    margin-bottom: .5rem;
    color: #a9dff1;
    font-size: .61rem;
    line-height: 1.5;
}

.report-ai-narrator__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .42rem;
}

.report-ai-narrator__actions button,
.report-ai-narrator__actions a {
    min-height: 36px;
    padding: .45rem .65rem;
    border: 1px solid rgba(255,255,255,.17);
    color: #fff;
    background: rgba(255,255,255,.075);
    font-size: .62rem;
}

.report-ai-narrator__actions button {
    border-color: rgba(83,190,255,.30);
    background: rgba(23,105,255,.28);
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 1199.98px) {
    .report-preview { max-width: 620px; margin-inline: auto; }
    .report-analysis-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .report-hero { padding-top: 4.3rem; }
    .report-score-grid { grid-template-columns: 1fr; }
    .report-plan-grid { grid-template-columns: 1fr; }
    .report-consult-cta { align-items: flex-start; flex-direction: column; }
    .report-consult-cta__buttons { justify-content: flex-start; }
}

@media (max-width: 767.98px) {
    .report-hero__title { font-size: clamp(2.1rem, 9.6vw, 3.25rem); }
    .report-badge { border-radius: 16px; }
    .report-badge small {
        flex-basis: 100%;
        padding: .4rem 0 0 1rem;
        border: 0;
    }
    .report-url-input { grid-template-columns: 1fr; padding: 0; }
    .report-url-input input { min-height: 54px; border-radius: 16px 16px 0 0; }
    .report-url-input button {
        width: calc(100% - 10px);
        min-width: 0;
        min-height: 46px;
        margin-top: 0;
    }
    .report-strength-list { grid-template-columns: 1fr; }
    .report-roadmap { grid-template-columns: 1fr; }
    .report-roadmap::before {
        top: 18px;
        bottom: 18px;
        left: 7px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, #c9daf0, #7eadf0, #c9daf0);
    }
    .report-roadmap-item { padding: 0 0 0 1.55rem; }
    .report-roadmap-item::before {
        position: absolute;
        left: 1px;
        top: 15px;
        margin: 0;
    }
    .report-result-header { align-items: flex-start; flex-direction: column; }
    .report-result-actions { justify-content: flex-start; }
    .report-ai-narrator {
        grid-template-columns: 104px minmax(0, 1fr);
    }
    .report-ai-narrator__media { min-height: 178px; }
}

@media (max-width: 575.98px) {
    .report-hero { padding: 3.8rem 0 4rem; }
    .report-preview { padding: .9rem; border-radius: 21px !important; }
    .report-preview__score { align-items: flex-start; }
    .report-preview__bars > div { grid-template-columns: 74px minmax(0, 1fr); }
    .report-preview__bars em { display: none; }
    .report-form-section,
    .report-processing,
    .report-results { padding-block: 3.7rem; }
    .report-form-shell,
    .report-processing__card { border-radius: 22px !important; }
    .report-analysis-notes { grid-template-columns: 1fr; }
    .report-processing__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-overall-card { align-items: flex-start; flex-direction: column; }
    .report-metric-card { grid-template-columns: 1fr; }
    .report-finding { grid-template-columns: 1fr; }
    .report-consult-cta__buttons { width: 100%; }
    .report-consult-primary,
    .report-consult-secondary { width: 100%; }
    .report-ai-narrator {
        grid-template-columns: 82px minmax(0, 1fr);
        border-radius: 18px;
    }
    .report-ai-narrator__media { min-height: 168px; }
    .report-ai-narrator__body { padding: .85rem 2.4rem .85rem .75rem; }
    .report-ai-narrator__body > p { -webkit-line-clamp: 2; }
    .report-ai-narrator__actions { display: grid; }
}

/* ------------------------------------------------------------------
   Print/PDF
   ------------------------------------------------------------------ */
@media print {
    body { background: #fff !important; }
    .tai-header,
    .tai-mobile-menu,
    footer,
    .report-hero,
    .report-form-section,
    .report-processing,
    .report-result-actions,
    .report-ai-narrator,
    .report-consult-cta__buttons,
    [class*="ai-chat"] {
        display: none !important;
    }
    .report-results {
        display: block !important;
        padding: 0 !important;
        background: #fff !important;
    }
    .report-results .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }
    .report-score-grid,
    .report-plan-grid,
    .report-roadmap {
        break-inside: avoid;
    }
    .report-overall-card,
    .report-metric-card,
    .report-block,
    .report-consult-cta {
        box-shadow: none !important;
        break-inside: avoid;
    }
    .report-plan-block {
        color: #0e2945 !important;
        background: #f4f8fc !important;
        border-color: #cddae7 !important;
    }
    .report-block-heading--light h2,
    .report-plan-card h3 { color: #102842 !important; }
    .report-block-heading--light p,
    .report-plan-card > p,
    .report-plan-card li { color: #536b82 !important; }
    .report-plan-card {
        border-color: #d8e3ed !important;
        background: #fff !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .report-badge__pulse,
    .report-processing__scanner::before,
    .report-processing__scanner::after,
    .report-processing__scanner > span,
    .report-ai-narrator__wave i {
        animation: none !important;
    }

    .report-processing__bar > span {
        transition: none;
    }
}
