/* ==========================================================================
   Website Audit — page-scoped styles
   All rules prefixed .wsa- and live under .wsa-page so they cannot leak.
   Palette: brand RED (#ec2024) + LinkedIn BLUE (#0a66c2), SOLID colours only
   (no gradient fills) to match the Triple Minds homepage. Neutral near-black
   darks; green/amber used only as functional status colours.
   ========================================================================== */

:root {
    --wsa-red:         #ec2024;
    --wsa-red-hover:   #ff2c30;
    --wsa-red-soft:    #ff6b6e;
    --wsa-red-deep:    #b81a1d;
    --wsa-red-faint:   rgba(236, 32, 36, 0.10);

    --wsa-blue:        #0a66c2;   /* LinkedIn blue */
    --wsa-blue-hover:  #0959aa;
    --wsa-blue-soft:   #6ca6e8;   /* lighter — for text/icons on dark bg */
    --wsa-blue-deep:   #074a8f;
    --wsa-blue-faint:  rgba(10, 102, 194, 0.10);
    --wsa-blue-line:   rgba(10, 102, 194, 0.40);

    --wsa-emerald:     #34c759;   /* status: pass */
    --wsa-emerald-soft:#5fd97e;
    --wsa-amber:       #f59e0b;   /* status: warning */
    --wsa-amber-soft:  #fbbf24;

    --wsa-ink:         #0c1018;
    --wsa-ink-2:       rgba(12, 16, 24, 0.66);
    --wsa-ink-3:       rgba(12, 16, 24, 0.5);

    --wsa-bg:          #0a0a0d;   /* hero / dark base */
    --wsa-bg-alt:      #101014;   /* dark sections */
    --wsa-card:        #17181e;   /* elevated dark panels */
    --wsa-card-hi:     #1d1e25;
    --wsa-border:      rgba(255, 255, 255, 0.08);
    --wsa-border-2:    rgba(255, 255, 255, 0.14);
    --wsa-text:        #ffffff;
    --wsa-muted:       rgba(255, 255, 255, 0.66);
    --wsa-muted-2:     rgba(255, 255, 255, 0.5);
}

.wsa-page { background: #fff; color: var(--wsa-ink); font-family: inherit; overflow-x: hidden; }
/* Soften inline emphasis across the page (was inheriting ~700 → felt heavy). */
.wsa-page strong, .wsa-page b { font-weight: 600; }
.wsa-page .bg-section-black { background: var(--wsa-bg-alt); }

.wsa-page .container {
    max-width: 1320px !important;
    padding-left: 32px !important; padding-right: 32px !important;
    margin-left: auto !important; margin-right: auto !important;
}
@media (max-width: 991px) { .wsa-page .container { padding-left: 24px !important; padding-right: 24px !important; } }
@media (max-width: 575px) { .wsa-page .container { padding-left: 18px !important; padding-right: 18px !important; } }

.wsa-section { padding: 84px 0; position: relative; }
@media (max-width: 991px) { .wsa-section { padding: 62px 0; } }
@media (max-width: 575px) { .wsa-section { padding: 48px 0; } }

/* ---------- Typography ---------- */
.wsa-h2 {
    font-size: clamp(27px, 3.3vw, 43px);
    line-height: 1.16;
    letter-spacing: -0.018em;
    color: var(--wsa-ink);
    font-weight: 700;
    margin: 0;
}
.wsa-h2--light { color: #fff; }
.wsa-lead { font-size: 18px; line-height: 1.65; color: var(--wsa-ink-2); max-width: 780px; }
.wsa-lead--light { color: var(--wsa-muted); }
.wsa-lead.mx-auto { margin-left: auto; margin-right: auto; }

.wsa-text-accent { color: var(--wsa-red); }
.wsa-c-red   { color: var(--wsa-red-soft); }
.wsa-c-amber { color: var(--wsa-amber-soft); }
.wsa-c-blue  { color: var(--wsa-blue-soft); }

/* ---------- Eyebrow ---------- */
.wsa-eyebrow {
    font-size: 12.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.16em;
    color: var(--wsa-blue);
    padding: 6px 14px;
    border: 1px solid rgba(10, 102, 194, 0.30);
    border-radius: 999px;
    background: var(--wsa-blue-faint);
}
.wsa-eyebrow--on-dark {
    color: var(--wsa-blue-soft);
    background: rgba(10, 102, 194, 0.14);
    border-color: var(--wsa-blue-line);
}
.wsa-eyebrow__dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--wsa-blue);
    box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.18);
    animation: wsa-pulse 2.4s ease-in-out infinite;
    flex: 0 0 auto;
}
.wsa-eyebrow--on-dark .wsa-eyebrow__dot { background: var(--wsa-blue-soft); }

/* ---------- Severity badges ---------- */
.wsa-sev {
    display: inline-flex; align-items: center;
    padding: 4px 9px;
    font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    border-radius: 4px;
    font-family: ui-monospace, 'SF Mono', Consolas, monospace;
    white-space: nowrap;
}
.wsa-sev--crit { background: rgba(236, 32, 36, 0.16); color: #ff8587; border: 1px solid rgba(236, 32, 36, 0.5); }
.wsa-sev--high { background: rgba(245, 158, 11, 0.16); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.5); }
.wsa-sev--med  { background: rgba(10, 102, 194, 0.16); color: #8fc0f2; border: 1px solid rgba(10, 102, 194, 0.5); }

/* ---------- Buttons ---------- */
.wsa-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    font-size: 15px; font-weight: 700;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
    line-height: 1;
    text-decoration: none;
}
.wsa-btn--xl { padding: 17px 32px; font-size: 16.5px; }
.wsa-btn--primary {
    background: var(--wsa-red);
    color: #fff;
    box-shadow: 0 12px 26px -12px rgba(236, 32, 36, 0.5);
}
.wsa-btn--primary:hover {
    background: var(--wsa-red-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -12px rgba(236, 32, 36, 0.6);
}
.wsa-btn--whatsapp {
    background: #25D366; color: #fff; border-color: #25D366;
    box-shadow: 0 12px 26px -12px rgba(37, 211, 102, 0.5);
}
.wsa-btn--whatsapp:hover { background: #1da851; border-color: #1da851; color: #fff; transform: translateY(-2px); }
.wsa-btn--ghost { background: transparent; color: var(--wsa-text); border-color: rgba(255, 255, 255, 0.22); }
.wsa-btn--ghost:hover { border-color: var(--wsa-blue-soft); color: var(--wsa-blue-soft); transform: translateY(-2px); }
.wsa-btn__arrow { transition: transform .22s ease; display: inline-block; }
.wsa-btn:hover .wsa-btn__arrow { transform: translateX(4px); }

/* Ghost buttons sitting on light sections need dark text */
.wsa-define .wsa-btn--ghost, .wsa-process .wsa-btn--ghost, .wsa-report .wsa-btn--ghost,
.wsa-technical .wsa-btn--ghost, .wsa-specialised .wsa-btn--ghost, .wsa-why .wsa-btn--ghost,
.wsa-leadform .wsa-btn--ghost {
    color: var(--wsa-ink); border-color: rgba(12, 16, 24, 0.18);
}
.wsa-define .wsa-btn--ghost:hover, .wsa-process .wsa-btn--ghost:hover, .wsa-report .wsa-btn--ghost:hover,
.wsa-technical .wsa-btn--ghost:hover, .wsa-specialised .wsa-btn--ghost:hover, .wsa-why .wsa-btn--ghost:hover,
.wsa-leadform .wsa-btn--ghost:hover {
    color: var(--wsa-blue); border-color: var(--wsa-blue);
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.wsa-hero {
    background: var(--wsa-bg); color: var(--wsa-text);
    padding: 84px 0 112px;
    isolation: isolate;
    position: relative; overflow: hidden;
}
@media (max-width: 991px) { .wsa-hero { padding: 52px 0 78px; } }
.wsa-hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 62px 62px;
    -webkit-mask-image: radial-gradient(ellipse at 60% 0%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse at 60% 0%, #000 30%, transparent 75%);
    z-index: -1;
}
/* Soft ambient glows = blurred SOLID discs (no gradient fill). */
.wsa-hero__glow {
    position: absolute; width: 600px; height: 600px;
    border-radius: 50%; filter: blur(130px); opacity: 0.45; z-index: -1;
    animation: wsa-float 13s ease-in-out infinite;
}
.wsa-hero__glow--red  { background: rgba(236, 32, 36, 0.22); top: -210px; right: -120px; }
.wsa-hero__glow--blue { background: rgba(10, 102, 194, 0.24); bottom: -260px; left: -160px; animation-delay: -6.5s; }
.wsa-hero__scanline { display: none; }

.wsa-hero__title {
    font-size: clamp(30px, 4.6vw, 56px);
    line-height: 1.1; letter-spacing: -0.022em; font-weight: 800; color: #fff;
}
.wsa-hero__lead { font-size: 18px; line-height: 1.66; color: var(--wsa-muted); max-width: 640px; }
.wsa-hero__lead--small { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.56); max-width: 620px; }
.wsa-hero__lead strong, .wsa-hero__lead--small strong { color: #fff; }
.wsa-hero__stats { color: var(--wsa-muted); }
.wsa-hero__stats li { display: flex; flex-direction: column; gap: 4px; }
.wsa-hero__stats strong { font-size: 32px; font-weight: 700; line-height: 1; color: var(--wsa-red); }
.wsa-hero__stats span { font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; }

/* ---------- Scanner widget ---------- */
.wsa-scanner {
    background: var(--wsa-card);
    border: 1px solid var(--wsa-blue-line);
    border-radius: 18px; overflow: hidden;
    box-shadow: 0 30px 60px -28px rgba(10, 102, 194, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.wsa-scanner__head {
    display: flex; align-items: center; gap: 8px;
    padding: 13px 18px; border-bottom: 1px solid var(--wsa-border); background: rgba(255, 255, 255, 0.02);
}
.wsa-scanner__dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); flex: 0 0 auto; }
.wsa-scanner__dot--red   { background: #ff5a5d; }
.wsa-scanner__dot--amber { background: #fbbf24; }
.wsa-scanner__dot--green { background: #5fd97e; animation: wsa-blink 1.7s ease-in-out infinite; }
.wsa-scanner__label { margin-left: 8px; font-family: ui-monospace, monospace; font-size: 11.5px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.03em; }

.wsa-scanner__score { display: flex; align-items: center; gap: 20px; padding: 22px 20px 16px; }
.wsa-gauge { position: relative; width: 104px; height: 104px; flex: 0 0 auto; }
.wsa-gauge svg { transform: rotate(-90deg); }
.wsa-gauge__track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 9; }
.wsa-gauge__fill {
    fill: none; stroke: var(--wsa-amber); stroke-width: 9; stroke-linecap: round;
    stroke-dasharray: 326.7; stroke-dashoffset: 326.7;
    animation: wsa-gauge-fill 1.6s cubic-bezier(.22,1,.36,1) .25s forwards;
}
.wsa-gauge__num {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 27px; font-weight: 700; color: #fff;
}
.wsa-gauge__num small { font-size: 12px; color: var(--wsa-muted-2); font-weight: 600; margin-left: 1px; }
.wsa-scanner__verdict { display: flex; flex-direction: column; gap: 3px; }
.wsa-scanner__verdict-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--wsa-muted-2); }
.wsa-scanner__verdict-val { font-size: 21px; font-weight: 700; color: var(--wsa-amber-soft); }
.wsa-scanner__verdict-sub { font-size: 12.5px; color: var(--wsa-muted); }

.wsa-scanner__bars { padding: 6px 20px 16px; display: flex; flex-direction: column; gap: 11px; }
.wsa-bar { display: grid; grid-template-columns: 96px 1fr 26px; align-items: center; gap: 12px; }
.wsa-bar__k { font-size: 12px; color: var(--wsa-muted); }
.wsa-bar__track { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.wsa-bar__fill { display: block; height: 100%; width: 0; border-radius: 999px; animation: wsa-bar-grow 1.3s cubic-bezier(.22,1,.36,1) .35s forwards; }
.wsa-bar__fill--red   { background: var(--wsa-red); }
.wsa-bar__fill--amber { background: var(--wsa-amber); }
.wsa-bar__fill--blue  { background: var(--wsa-blue); }
.wsa-bar__v { font-size: 12px; font-weight: 700; color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.wsa-scanner__foot {
    display: flex; flex-wrap: wrap; gap: 16px; padding: 13px 20px;
    border-top: 1px solid var(--wsa-border); background: rgba(255, 255, 255, 0.02);
    font-size: 12.5px; color: var(--wsa-muted);
}
.wsa-scanner__foot strong { font-weight: 700; }

/* Lighthouse scorecard body (hero scanner) */
.wsa-scanner__lh { padding: 16px 20px 20px; }
.wsa-scanner__lh-label { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wsa-blue-soft); margin: 0 0 14px; }
.wsa-scanner__lh-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wsa-emerald); box-shadow: 0 0 8px rgba(52, 199, 89, 0.7); flex: 0 0 auto; }
.wsa-scanner__lh-issues { border-top: 1px solid var(--wsa-border); padding-top: 12px; }
.wsa-scanner__lh-issues .wsa-issue { font-size: 12.5px; padding: 5px 0; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.wsa-trust { background: var(--wsa-bg); border-top: 1px solid var(--wsa-border); padding: 30px 0; }
.wsa-trust__inner { text-align: center; }
.wsa-trust__label { font-size: 13px; letter-spacing: 0.04em; color: var(--wsa-muted-2); margin: 0 0 18px; }
.wsa-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wsa-trust__item {
    display: flex; align-items: center; gap: 12px; text-align: left;
    padding: 14px 16px; border: 1px solid var(--wsa-border); border-radius: 12px;
    background: rgba(255, 255, 255, 0.02); text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.wsa-trust__item:hover { transform: translateY(-3px); border-color: var(--wsa-blue-line); background: rgba(10, 102, 194, 0.08); }
.wsa-trust__mono {
    width: 40px; height: 40px; flex: 0 0 auto; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-family: ui-monospace, monospace; font-weight: 700; font-size: 14px; color: #fff;
    background: var(--wsa-blue);
}
.wsa-trust__text { display: flex; flex-direction: column; }
.wsa-trust__name { font-size: 14.5px; font-weight: 700; color: #fff; }
.wsa-trust__meta { font-size: 12px; color: var(--wsa-blue-soft); }

/* ==========================================================================
   2. DEFINITION
   ========================================================================== */
.wsa-define__answer { font-size: 17px; line-height: 1.74; color: var(--wsa-ink-2); margin-bottom: 18px; }
.wsa-define__answer:last-child { margin-bottom: 0; }
.wsa-define__answer strong { color: var(--wsa-ink); }
.wsa-define__answer a { color: var(--wsa-blue); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(10, 102, 194, 0.35); }
.wsa-define__answer a:hover { color: var(--wsa-red); border-color: var(--wsa-red); }

/* ==========================================================================
   3. AUDIT TYPE TILES
   ========================================================================== */
.wsa-tile {
    position: relative; height: 100%;
    padding: 26px 22px 24px;
    background: var(--wsa-card);
    border: 1px solid var(--wsa-border); border-radius: 16px;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.wsa-tile:hover { transform: translateY(-6px); border-color: var(--wsa-blue-line); box-shadow: 0 24px 46px -26px rgba(10, 102, 194, 0.55); }
.wsa-tile__num {
    position: absolute; top: 18px; right: 20px;
    font-family: ui-monospace, monospace; font-size: 13px; font-weight: 700;
    color: rgba(255, 255, 255, 0.22);
}
.wsa-tile__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; border-radius: 13px; margin-bottom: 16px;
    color: var(--wsa-blue-soft);
    background: rgba(10, 102, 194, 0.12); border: 1px solid rgba(10, 102, 194, 0.28);
    transition: transform .25s ease, color .25s ease, background .25s ease, border-color .25s ease;
}
.wsa-tile:hover .wsa-tile__icon {
    transform: translateY(-2px) scale(1.06); color: #fff;
    background: var(--wsa-blue); border-color: transparent;
}
.wsa-tile__title { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 9px; line-height: 1.25; }
.wsa-tile__body { font-size: 13.5px; line-height: 1.6; color: var(--wsa-muted); margin: 0 0 14px; }
.wsa-tile__pts { display: flex; flex-direction: column; gap: 7px; }
.wsa-tile__pts li {
    position: relative; padding-left: 18px;
    font-size: 12.5px; line-height: 1.45; color: var(--wsa-muted-2);
}
.wsa-tile__pts li::before {
    content: ""; position: absolute; left: 0; top: 6px;
    width: 8px; height: 8px; border-radius: 2px; background: var(--wsa-blue);
}

/* ==========================================================================
   4. PROCESS
   ========================================================================== */
.wsa-process-list { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.wsa-process-item {
    display: flex; gap: 22px; align-items: flex-start;
    padding: 22px 24px;
    background: #fff; border: 1px solid rgba(12, 16, 24, 0.08); border-radius: 16px;
    box-shadow: 0 1px 2px rgba(12, 16, 24, 0.04);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.wsa-process-item:hover { transform: translateX(5px); border-color: var(--wsa-blue-line); box-shadow: 0 16px 34px -24px rgba(10, 102, 194, 0.4); }
.wsa-process-item__num {
    flex: 0 0 auto; font-family: ui-monospace, monospace;
    font-size: 19px; font-weight: 700; color: #fff;
    width: 50px; height: 50px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    background: var(--wsa-blue);
    box-shadow: 0 10px 22px -12px rgba(10, 102, 194, 0.6);
}
.wsa-process-item__title { font-size: 18px; font-weight: 700; color: var(--wsa-ink); }
.wsa-process-item__time {
    font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--wsa-blue); padding: 4px 11px; border-radius: 999px; background: var(--wsa-blue-faint);
}
.wsa-process-item__text { font-size: 14.5px; line-height: 1.62; color: var(--wsa-ink-2); }

/* ==========================================================================
   5. CHECKLIST + PDF
   ========================================================================== */
.wsa-checklist__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wsa-checklist__cat {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 13px 15px; border: 1px solid var(--wsa-border); border-radius: 11px;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color .2s ease, background .2s ease;
}
.wsa-checklist__cat:hover { border-color: var(--wsa-blue-line); background: rgba(10, 102, 194, 0.08); }
.wsa-checklist__cat-name { font-size: 13.5px; font-weight: 600; color: #fff; }
.wsa-checklist__cat-count { font-size: 12px; font-weight: 700; color: var(--wsa-blue-soft); flex: 0 0 auto; }

.wsa-checklist__paper {
    background: var(--wsa-card);
    border: 1px solid var(--wsa-border-2); border-radius: 16px; overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.wsa-checklist__paper-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-bottom: 1px solid var(--wsa-border);
}
.wsa-checklist__paper-title { font-weight: 700; color: #fff; font-size: 15px; }
.wsa-checklist__paper-badge {
    font-family: ui-monospace, monospace; font-size: 11px; font-weight: 700;
    color: var(--wsa-blue-soft); padding: 4px 10px; border-radius: 6px;
    background: rgba(10, 102, 194, 0.14); border: 1px solid var(--wsa-blue-line);
}
.wsa-checklist__rows { padding: 8px 6px; }
.wsa-checklist__rows li {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; font-size: 13.5px; color: var(--wsa-muted);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.wsa-checklist__rows li:last-child { border-bottom: 0; }
.wsa-check { width: 18px; height: 18px; border-radius: 5px; flex: 0 0 auto; position: relative; border: 1.5px solid; }
.is-done .wsa-check { border-color: var(--wsa-emerald); background: rgba(52, 199, 89, 0.16); }
.is-done .wsa-check::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid var(--wsa-emerald-soft); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.is-warn .wsa-check { border-color: var(--wsa-amber); background: rgba(245, 158, 11, 0.16); }
.is-warn .wsa-check::after { content: "!"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--wsa-amber-soft); }
.is-fail .wsa-check { border-color: var(--wsa-red); background: rgba(236, 32, 36, 0.16); }
.is-fail .wsa-check::after { content: "\00d7"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--wsa-red-soft); }
.is-fail { color: rgba(255, 255, 255, 0.82); }
.wsa-checklist__paper-foot {
    display: flex; gap: 18px; padding: 14px 18px; border-top: 1px solid var(--wsa-border);
    font-size: 12px; color: var(--wsa-muted-2);
}
.wsa-checklist__paper-foot span { display: inline-flex; align-items: center; gap: 7px; }
.wsa-dot { width: 9px; height: 9px; border-radius: 50%; }
.wsa-dot--green { background: var(--wsa-emerald); }
.wsa-dot--amber { background: var(--wsa-amber); }
.wsa-dot--red   { background: var(--wsa-red); }

/* ==========================================================================
   INLINE CTA BAND
   ========================================================================== */
.wsa-inline-cta-band { padding: 26px 0; background: #fff; }
.wsa-inline-cta-card {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 30px 36px; border-radius: 20px; position: relative; overflow: hidden;
    background: var(--wsa-card);
    border: 1px solid var(--wsa-border-2);
}
.wsa-inline-cta-card__title { font-size: clamp(19px, 2vw, 24px); font-weight: 700; color: #fff; margin: 0 0 6px; line-height: 1.25; }
.wsa-inline-cta-card__sub { font-size: 14.5px; color: var(--wsa-muted); max-width: 640px; }
.wsa-inline-cta-card .wsa-btn { flex: 0 0 auto; }

/* ==========================================================================
   6. SAMPLE REPORT
   ========================================================================== */
.wsa-report__card {
    max-width: 1000px; margin: 0 auto;
    background: var(--wsa-card);
    border: 1px solid var(--wsa-border-2); border-radius: 18px; overflow: hidden;
    box-shadow: 0 30px 70px -38px rgba(12, 16, 24, 0.5);
}
.wsa-report__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--wsa-border); background: rgba(255, 255, 255, 0.02); }
.wsa-report__bar-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.wsa-report__bar-dot:nth-child(1) { background: #ff5a5d; }
.wsa-report__bar-dot:nth-child(2) { background: #fbbf24; }
.wsa-report__bar-dot:nth-child(3) { background: #5fd97e; }
.wsa-report__bar-title { margin-left: 8px; font-family: ui-monospace, monospace; font-size: 12.5px; color: var(--wsa-muted); }
.wsa-report__rows { display: flex; flex-direction: column; }
.wsa-report__row {
    display: grid; grid-template-columns: 2.4fr 1fr 1.1fr 0.7fr 1fr; gap: 14px; align-items: center;
    padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background .18s ease;
}
.wsa-report__row:hover:not(.wsa-report__row--head) { background: rgba(10, 102, 194, 0.07); }
.wsa-report__row--head { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--wsa-muted-2); background: rgba(255, 255, 255, 0.02); }
.wsa-report__issue { font-size: 14px; font-weight: 600; color: #fff; }
.wsa-report__area { font-size: 13px; color: var(--wsa-muted); }
.wsa-report__effort { font-size: 13px; font-family: ui-monospace, monospace; color: var(--wsa-blue-soft); }
.wsa-report__impact { font-size: 13px; font-weight: 700; color: var(--wsa-emerald-soft); }
.wsa-report__legend { padding: 16px 20px; font-size: 13.5px; line-height: 1.6; color: var(--wsa-muted); border-top: 1px solid var(--wsa-border); background: rgba(10, 102, 194, 0.06); }

/* ==========================================================================
   7. CHECKER / COMPARE + TOOLS
   ========================================================================== */
.wsa-compare-grid { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.wsa-compare-row {
    display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 12px; align-items: stretch;
}
.wsa-compare-row__k {
    display: flex; align-items: center; font-size: 14px; font-weight: 700; color: #fff;
    padding: 16px 18px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--wsa-border); border-radius: 12px;
}
.wsa-compare-row__before, .wsa-compare-row__after {
    position: relative; padding: 16px 18px; border-radius: 12px; font-size: 13.5px; line-height: 1.5;
    border: 1px solid var(--wsa-border);
}
.wsa-compare-row__before { background: rgba(236, 32, 36, 0.08); color: var(--wsa-muted); border-color: rgba(236, 32, 36, 0.22); }
.wsa-compare-row__after  { background: rgba(10, 102, 194, 0.10); color: #eaf2fb; border-color: var(--wsa-blue-line); }
.wsa-compare-row__before span, .wsa-compare-row__after span {
    display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; margin-bottom: 5px;
}
.wsa-compare-row__before span { color: var(--wsa-red-soft); }
.wsa-compare-row__after span { color: var(--wsa-blue-soft); }

.wsa-toolstrip { max-width: 1000px; margin: 34px auto 0; text-align: center; }
.wsa-toolstrip__label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--wsa-muted-2); margin-bottom: 16px; }
.wsa-toolstrip__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.wsa-tool-chip {
    font-size: 13px; font-weight: 600; color: var(--wsa-muted); padding: 8px 16px;
    border: 1px solid var(--wsa-border); border-radius: 999px; background: rgba(255, 255, 255, 0.03);
    transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease;
}
.wsa-tool-chip:hover { transform: translateY(-2px); color: #fff; border-color: var(--wsa-blue-line); background: rgba(10, 102, 194, 0.12); }

/* ==========================================================================
   8. TECHNICAL DEEP-DIVE
   ========================================================================== */
.wsa-tech-card {
    height: 100%; padding: 24px 22px;
    background: #fff; border: 1px solid rgba(12, 16, 24, 0.09); border-radius: 16px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.wsa-tech-card:hover { transform: translateY(-5px); border-color: var(--wsa-blue-line); box-shadow: 0 20px 42px -28px rgba(10, 102, 194, 0.45); }
.wsa-tech-card__bullet {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 11px; margin-bottom: 15px; color: #fff;
    background: var(--wsa-blue); box-shadow: 0 10px 22px -12px rgba(10, 102, 194, 0.6);
}
.wsa-tech-card__title { font-size: 16.5px; font-weight: 700; color: var(--wsa-ink); margin: 0 0 8px; }
.wsa-tech-card__body { font-size: 14px; line-height: 1.62; color: var(--wsa-ink-2); }

/* ==========================================================================
   9. PLATFORMS
   ========================================================================== */
.wsa-platform-card {
    height: 100%; padding: 28px 24px;
    background: var(--wsa-card);
    border: 1px solid var(--wsa-border); border-radius: 16px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.wsa-platform-card:hover { transform: translateY(-6px); border-color: var(--wsa-blue-line); box-shadow: 0 24px 48px -28px rgba(10, 102, 194, 0.5); }
.wsa-platform-card__title { font-size: 19px; font-weight: 700; color: #fff; margin: 0 0 12px; }
.wsa-platform-card__body { font-size: 14px; line-height: 1.64; color: var(--wsa-muted); margin: 0 0 18px; }
.wsa-platform-card__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wsa-platform-chip {
    font-size: 12px; font-weight: 600; color: var(--wsa-blue-soft);
    padding: 6px 12px; border-radius: 8px; background: rgba(10, 102, 194, 0.12); border: 1px solid rgba(10, 102, 194, 0.26);
}

/* ==========================================================================
   10. SPECIALISED (traffic loss + ADA)
   ========================================================================== */
.wsa-spec-card {
    position: relative; height: 100%; padding: 32px 30px;
    background: var(--wsa-card);
    border: 1px solid var(--wsa-border-2); border-radius: 18px; overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.wsa-spec-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.wsa-spec-card--red::before  { background: var(--wsa-red); }
.wsa-spec-card--blue::before { background: var(--wsa-blue); }
.wsa-spec-card:hover { transform: translateY(-5px); box-shadow: 0 28px 56px -32px rgba(0, 0, 0, 0.6); }
.wsa-spec-card__tag {
    display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
    padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.wsa-spec-card__tag--red  { color: var(--wsa-red-soft); background: rgba(236, 32, 36, 0.14); border: 1px solid rgba(236, 32, 36, 0.4); }
.wsa-spec-card__tag--blue { color: var(--wsa-blue-soft); background: rgba(10, 102, 194, 0.14); border: 1px solid var(--wsa-blue-line); }
.wsa-spec-card__title { font-size: 23px; font-weight: 700; color: #fff; margin: 0 0 14px; }
.wsa-spec-card__body { font-size: 14.5px; line-height: 1.68; color: var(--wsa-muted); margin: 0 0 18px; }
.wsa-spec-card__list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; }
.wsa-spec-card__list li { position: relative; padding-left: 22px; font-size: 13px; color: rgba(255, 255, 255, 0.8); line-height: 1.4; }
.wsa-spec-card__list li::before {
    content: ""; position: absolute; left: 0; top: 4px; width: 13px; height: 13px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1.5px var(--wsa-blue);
}
.wsa-spec-card--red .wsa-spec-card__list li::before { box-shadow: inset 0 0 0 1.5px var(--wsa-red); }

/* ==========================================================================
   11. WHY US
   ========================================================================== */
.wsa-why-card {
    display: flex; gap: 16px; height: 100%; padding: 24px;
    background: #fff; border: 1px solid rgba(12, 16, 24, 0.09); border-radius: 16px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.wsa-why-card:hover { transform: translateY(-4px); border-color: var(--wsa-blue-line); box-shadow: 0 18px 40px -26px rgba(10, 102, 194, 0.4); }
.wsa-why-card__bullet {
    flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; color: #fff;
    display: flex; align-items: center; justify-content: center;
    background: var(--wsa-blue); box-shadow: 0 10px 22px -12px rgba(10, 102, 194, 0.6);
}
.wsa-why-card__title { font-size: 16.5px; font-weight: 700; color: var(--wsa-ink); margin: 0 0 7px; }
.wsa-why-card__body { font-size: 14px; line-height: 1.6; color: var(--wsa-ink-2); }

/* ==========================================================================
   12. PRICING
   ========================================================================== */
.wsa-price-card {
    position: relative; height: 100%; display: flex; flex-direction: column;
    padding: 30px 26px;
    background: var(--wsa-card);
    border: 1px solid var(--wsa-border); border-radius: 18px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.wsa-price-card:hover { transform: translateY(-6px); border-color: var(--wsa-blue-line); box-shadow: 0 26px 52px -30px rgba(10, 102, 194, 0.45); }
.wsa-price-card--featured {
    border: 1.5px solid var(--wsa-blue);
    background: var(--wsa-card-hi);
    box-shadow: 0 26px 56px -32px rgba(10, 102, 194, 0.55);
}
.wsa-price-card__badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap;
    color: #fff; padding: 6px 16px; border-radius: 999px; background: var(--wsa-red);
    box-shadow: 0 10px 22px -10px rgba(236, 32, 36, 0.6);
}
.wsa-price-card__head h3 { font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 7px; }
.wsa-price-card__head p { font-size: 13.5px; line-height: 1.5; color: var(--wsa-muted); margin: 0 0 18px; }
.wsa-price-card__price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--wsa-border); }
.wsa-price-card__amount { font-size: 33px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.wsa-price-card--featured .wsa-price-card__amount { color: var(--wsa-red); }
.wsa-price-card__per { font-size: 12.5px; color: var(--wsa-muted-2); }
.wsa-price-card__list { display: flex; flex-direction: column; gap: 11px; margin: 0 0 24px; flex: 1 1 auto; }
.wsa-price-card__list li { position: relative; padding-left: 26px; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.82); }
.wsa-price-card__list li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
    background: rgba(10, 102, 194, 0.16);
}
.wsa-price-card__list li::after {
    content: ""; position: absolute; left: 5px; top: 6px; width: 4px; height: 7px;
    border: solid var(--wsa-blue-soft); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ==========================================================================
   13. LEAD FORM
   ========================================================================== */
.wsa-leadform__card {
    padding: 44px; border-radius: 24px; position: relative; overflow: hidden;
    background: var(--wsa-card);
    border: 1px solid var(--wsa-border-2);
}
.wsa-leadform__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; color: #fff; margin: 0 0 12px; line-height: 1.22; }
.wsa-leadform__sub { font-size: 15px; line-height: 1.62; color: var(--wsa-muted); margin: 0 0 20px; }
.wsa-leadform__list { display: flex; flex-direction: column; gap: 11px; }
.wsa-leadform__list li { position: relative; padding-left: 26px; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); }
.wsa-leadform__list li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%;
    background: rgba(10, 102, 194, 0.18);
}
.wsa-leadform__list li::after {
    content: ""; position: absolute; left: 5px; top: 5px; width: 4px; height: 8px;
    border: solid var(--wsa-blue-soft); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.wsa-leadform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.wsa-leadform__field { display: flex; flex-direction: column; }
.wsa-leadform__label { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.85); margin-bottom: 7px; }
.wsa-leadform__label small { color: var(--wsa-muted-2); font-weight: 400; }
.wsa-leadform__input, .wsa-leadform__textarea {
    width: 100%; padding: 13px 15px; font-size: 14.5px; color: #fff;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--wsa-border-2); border-radius: 11px;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.wsa-leadform__input::placeholder, .wsa-leadform__textarea::placeholder { color: rgba(255, 255, 255, 0.34); }
.wsa-leadform__input:focus, .wsa-leadform__textarea:focus {
    outline: none; border-color: var(--wsa-blue);
    background: rgba(10, 102, 194, 0.08); box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.18);
}
.wsa-leadform__textarea { min-height: 118px; resize: vertical; }
.wsa-leadform__country { font-size: 11.5px; color: var(--wsa-blue-soft); margin-top: 5px; }
.wsa-leadform .tm-input-wrap { position: relative; }
.wsa-leadform .error-message { display: block; font-size: 12px; color: var(--wsa-red-soft); margin-top: 5px; min-height: 14px; }
.wsa-leadform__nda { display: flex; align-items: center; gap: 10px; margin: 4px 0 18px; font-size: 13.5px; color: rgba(255, 255, 255, 0.8); cursor: pointer; }
.wsa-leadform__nda input { width: 17px; height: 17px; accent-color: var(--wsa-blue); }
.wsa-leadform__legal { font-size: 12px; line-height: 1.55; color: var(--wsa-muted-2); margin: 14px 0 0; }
.wsa-leadform__legal a { color: var(--wsa-blue-soft); text-decoration: underline; }

/* ==========================================================================
   14. FAQ
   ========================================================================== */
.wsa-faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.wsa-faq-item {
    border: 1px solid var(--wsa-border); border-radius: 14px; overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color .2s ease, background .2s ease;
}
.wsa-faq-item[open] { border-color: var(--wsa-blue-line); background: rgba(10, 102, 194, 0.07); }
.wsa-faq-item__q {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 19px 22px; cursor: pointer; list-style: none;
    font-size: 16px; font-weight: 700; color: #fff;
}
.wsa-faq-item__q::-webkit-details-marker { display: none; }
.wsa-faq-item__icon { position: relative; flex: 0 0 auto; width: 20px; height: 20px; }
.wsa-faq-item__icon::before, .wsa-faq-item__icon::after {
    content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: var(--wsa-blue-soft); border-radius: 2px;
}
.wsa-faq-item__icon::before { width: 13px; height: 2.2px; }
.wsa-faq-item__icon::after { width: 2.2px; height: 13px; transition: transform .25s ease, opacity .25s ease; }
.wsa-faq-item[open] .wsa-faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.wsa-faq-item__a { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.68; color: var(--wsa-muted); }
.wsa-faq-item[open] .wsa-faq-item__a { animation: wsa-faq-open .3s ease; }

/* ==========================================================================
   15. FINAL CTA
   ========================================================================== */
.wsa-final-cta { position: relative; padding: 96px 0; text-align: center; overflow: hidden; background: var(--wsa-bg); isolation: isolate; }
.wsa-final-cta__overlay {
    position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.wsa-final-cta__inner { position: relative; z-index: 1; }
.wsa-final-cta__title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; color: #fff; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 18px; }
.wsa-final-cta__sub { font-size: 17px; line-height: 1.62; color: var(--wsa-muted); max-width: 660px; margin: 0 auto 30px; }

/* ==========================================================================
   STICKY MOBILE CTA
   ========================================================================== */
.wsa-sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(10, 10, 13, 0.92); backdrop-filter: blur(12px); border-top: 1px solid var(--wsa-border);
}
.wsa-sticky-cta__btn { flex: 1 1 0; text-align: center; padding: 13px 14px; border-radius: 11px; font-size: 14.5px; font-weight: 700; text-decoration: none; }
.wsa-sticky-cta__btn--whatsapp { background: rgba(37, 211, 102, 0.16); color: #4ade80; border: 1px solid rgba(37, 211, 102, 0.4); }
.wsa-sticky-cta__btn--primary { background: var(--wsa-red); color: #fff; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.wsa-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--wsa-delay, 0ms); }
.wsa-reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .wsa-reveal { opacity: 1; transform: none; transition: none; }
    .wsa-hero__glow, .wsa-scanner__dot--green, .wsa-eyebrow__dot,
    .wsa-gauge__fill, .wsa-bar__fill { animation: none !important; }
    .wsa-gauge__fill { stroke-dashoffset: 137; }
    .wsa-bar__fill { width: var(--w); }
}

/* ==========================================================================
   KEYFRAMES
   ========================================================================== */
@keyframes wsa-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.18); } 50% { box-shadow: 0 0 0 8px rgba(10, 102, 194, 0); } }
@keyframes wsa-blink { 0%, 60%, 100% { opacity: 1; } 80% { opacity: 0.4; } }
@keyframes wsa-float { 0%, 100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-30px) translateX(20px); } }
@keyframes wsa-gauge-fill { from { stroke-dashoffset: 326.7; } to { stroke-dashoffset: 137; } }
@keyframes wsa-bar-grow { from { width: 0; } to { width: var(--w); } }
@keyframes wsa-faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199px) {
    .wsa-report__row { grid-template-columns: 2.2fr 1fr 1.1fr 0.7fr 1fr; }
}
@media (max-width: 991px) {
    .wsa-scanner { margin-top: 28px; max-width: 480px; }
    .wsa-trust__grid { grid-template-columns: 1fr 1fr; }
    .wsa-compare-row { grid-template-columns: 1fr; gap: 8px; }
    .wsa-compare-row__k { border-radius: 12px 12px 0 0; }
    .wsa-process-item:hover { transform: translateY(-4px); }
}
@media (max-width: 767px) {
    .wsa-leadform__card { padding: 26px 20px; }
    .wsa-leadform__grid { grid-template-columns: 1fr; gap: 14px; }
    .wsa-checklist__cats { grid-template-columns: 1fr; }
    .wsa-spec-card__list { grid-template-columns: 1fr; }
    .wsa-inline-cta-card { padding: 24px; }
    .wsa-inline-cta-card .wsa-btn { width: 100%; }
    /* Report rows become stacked cards */
    .wsa-report__row--head { display: none; }
    .wsa-report__row { grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 16px 18px; position: relative; }
    .wsa-report__issue { grid-column: 1 / -1; }
    .wsa-report__area::before { content: "Area: "; color: var(--wsa-muted-2); }
    .wsa-report__effort::before { content: "Effort: "; color: var(--wsa-muted-2); }
    .wsa-report__impact { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
    .wsa-trust__grid { grid-template-columns: 1fr; }
    .wsa-process-item { flex-direction: column; gap: 14px; padding: 20px; }
    .wsa-hero__stats { gap: 22px !important; }
    .wsa-spec-card { padding: 26px 22px; }
}

/* ==========================================================================
   FREE AI AUDIT TOOL  (input bar + live audit modal + lead popup)
   ========================================================================== */
.wsa-tool__bar {
    display: flex; align-items: center; gap: 10px;
    max-width: 760px; margin: 8px auto 0;
    padding: 8px 8px 8px 18px;
    background: #fff; border: 1.5px solid rgba(12, 16, 24, 0.14); border-radius: 16px;
    box-shadow: 0 18px 44px -26px rgba(12, 16, 24, 0.28);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.wsa-tool__bar:focus-within { border-color: var(--wsa-blue); box-shadow: 0 18px 44px -24px rgba(10, 102, 194, 0.35); }
.wsa-tool__icon { flex: 0 0 auto; color: var(--wsa-blue); display: inline-flex; }
.wsa-tool__input {
    flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
    font-size: 16px; color: var(--wsa-ink); padding: 12px 4px;
}
.wsa-tool__input::placeholder { color: rgba(12, 16, 24, 0.4); }
.wsa-tool__btn { flex: 0 0 auto; white-space: nowrap; }
.wsa-tool__err { display: block; min-height: 20px; text-align: center; margin: 12px 0 0; font-size: 13.5px; color: var(--wsa-red); font-weight: 600; }
.wsa-tool__badges {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0;
}
.wsa-tool__badges li {
    font-size: 12.5px; font-weight: 600; color: var(--wsa-ink-2);
    padding: 7px 14px; border: 1px solid rgba(12, 16, 24, 0.12); border-radius: 999px; background: #fff;
    position: relative; padding-left: 28px;
}
.wsa-tool__badges li::before {
    content: ""; position: absolute; left: 12px; top: 50%; width: 5px; height: 9px;
    border: solid var(--wsa-blue); border-width: 0 2px 2px 0; transform: translateY(-65%) rotate(45deg);
}

/* ---------- Audit modal ---------- */
body.wsa-modal-open { overflow: hidden; }
.wsa-audit-modal, .wsa-lead-pop { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; }
.wsa-audit-modal { z-index: 1050; }
.wsa-audit-modal[hidden], .wsa-lead-pop[hidden] { display: none; }
.wsa-audit-modal__backdrop, .wsa-lead-pop__backdrop {
    position: absolute; inset: 0; background: rgba(5, 6, 10, 0.72); backdrop-filter: blur(6px);
}
.wsa-audit-modal__panel {
    position: relative; width: 100%; max-width: 660px; max-height: 90vh; overflow-y: auto;
    background: var(--wsa-card); color: var(--wsa-text);
    border: 1px solid var(--wsa-border-2); border-radius: 20px; padding: 28px;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
    animation: wsa-pop-in .3s cubic-bezier(.22,1,.36,1);
}
.wsa-audit-modal__close, .wsa-lead-pop__close {
    position: absolute; top: 14px; right: 16px; z-index: 2;
    width: 32px; height: 32px; border-radius: 8px; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.7);
    font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, color .2s ease;
}
.wsa-audit-modal__close:hover, .wsa-lead-pop__close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.wsa-audit-modal__head { display: flex; align-items: flex-start; gap: 16px; padding-right: 36px; margin-bottom: 18px; }
.wsa-audit-modal__spinner {
    flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; position: relative;
    border: 3px solid rgba(255, 255, 255, 0.12); border-top-color: var(--wsa-blue);
    animation: wsa-spin .8s linear infinite;
}
.wsa-audit-modal__spinner.is-done { animation: none; border-color: var(--wsa-emerald); }
.wsa-audit-modal__spinner.is-done::after { content: ""; position: absolute; left: 13px; top: 8px; width: 6px; height: 12px; border: solid var(--wsa-emerald-soft); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.wsa-audit-modal__spinner.is-error { animation: none; border-color: var(--wsa-red); }
.wsa-audit-modal__spinner.is-error::after { content: "!"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--wsa-red-soft); }
.wsa-audit-modal__title { font-size: 19px; font-weight: 700; color: #fff; margin: 2px 0 4px; }
.wsa-audit-modal__sub { font-size: 13.5px; line-height: 1.5; color: var(--wsa-muted); margin: 0; }

.wsa-audit-modal__progress { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.wsa-audit-bar { flex: 1 1 auto; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.wsa-audit-bar__fill { display: block; height: 100%; width: 0; background: var(--wsa-blue); border-radius: 999px; transition: width .5s ease; }
.wsa-audit-count { flex: 0 0 auto; font-family: ui-monospace, monospace; font-size: 12px; color: var(--wsa-muted-2); white-space: nowrap; }

.wsa-audit-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 0; }
.wsa-audit-check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--wsa-muted-2); transition: color .2s ease; }
.wsa-audit-check__ic { flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.18); position: relative; }
.wsa-audit-check.is-active { color: #fff; }
.wsa-audit-check.is-active .wsa-audit-check__ic { border-color: var(--wsa-blue); border-top-color: transparent; animation: wsa-spin .7s linear infinite; }
.wsa-audit-check.is-done { color: rgba(255, 255, 255, 0.82); }
.wsa-audit-check.is-done .wsa-audit-check__ic { border-color: var(--wsa-emerald); background: rgba(52, 199, 89, 0.15); animation: none; }
.wsa-audit-check.is-done .wsa-audit-check__ic::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 7px; border: solid var(--wsa-emerald-soft); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- results ---------- */
.wsa-audit-results { margin-top: 22px; border-top: 1px solid var(--wsa-border); padding-top: 22px; }
.wsa-audit-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.wsa-score { text-align: center; padding: 16px 8px; border-radius: 14px; border: 1px solid var(--wsa-border); background: rgba(255, 255, 255, 0.03); }
.wsa-score__n { display: block; font-size: 30px; font-weight: 800; line-height: 1; color: #fff; }
.wsa-score__l { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--wsa-muted-2); margin-top: 7px; }
.wsa-score.is-good { border-color: rgba(52, 199, 89, 0.45); background: rgba(52, 199, 89, 0.08); }
.wsa-score.is-good .wsa-score__n { color: var(--wsa-emerald-soft); }
.wsa-score.is-mid { border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.08); }
.wsa-score.is-mid .wsa-score__n { color: var(--wsa-amber-soft); }
.wsa-score.is-bad { border-color: rgba(236, 32, 36, 0.45); background: rgba(236, 32, 36, 0.08); }
.wsa-score.is-bad .wsa-score__n { color: var(--wsa-red-soft); }

.wsa-vitals { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.wsa-vital { display: flex; align-items: baseline; gap: 7px; padding: 8px 13px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--wsa-border); }
.wsa-vital__k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--wsa-muted-2); }
.wsa-vital__v { font-size: 13.5px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }

.wsa-audit-issues__h { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 10px; }
.wsa-issue { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.82); line-height: 1.4; }
.wsa-issue__dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; background: var(--wsa-muted-2); }
.wsa-issue__dot.is-bad { background: var(--wsa-red); } .wsa-issue__dot.is-mid { background: var(--wsa-amber); } .wsa-issue__dot.is-good { background: var(--wsa-emerald); }
.wsa-audit-issues__more { font-size: 12.5px; color: var(--wsa-blue-soft); margin: 8px 0 0; font-weight: 600; }
.wsa-audit-issues__none { font-size: 13.5px; line-height: 1.6; color: var(--wsa-muted); margin: 0; }

.wsa-audit-note {
    margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-size: 13.5px; line-height: 1.6;
    color: #eaf2fb; background: rgba(10, 102, 194, 0.1); border: 1px solid var(--wsa-blue-line);
}
.wsa-audit-note.is-ok { color: #e3f7ea; background: rgba(52, 199, 89, 0.1); border-color: rgba(52, 199, 89, 0.4); }
.wsa-linkbtn { border: 0; background: none; padding: 0; cursor: pointer; color: var(--wsa-blue-soft); font: inherit; font-weight: 700; text-decoration: underline; }
.wsa-linkbtn:hover { color: #fff; }

/* ---------- lead popup ---------- */
.wsa-lead-pop { z-index: 1060; }
.wsa-lead-pop__card {
    position: relative; width: 100%; max-width: 430px;
    background: var(--wsa-card); color: var(--wsa-text);
    border: 1px solid var(--wsa-border-2); border-radius: 20px; padding: 30px 28px;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
    animation: wsa-pop-in .3s cubic-bezier(.22,1,.36,1);
}
.wsa-lead-step[hidden] { display: none; }
.wsa-lead-step h4 { font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 8px; padding-right: 24px; }
.wsa-lead-step p { font-size: 14px; line-height: 1.6; color: var(--wsa-muted); margin: 0 0 18px; }
.wsa-lead-field { margin-bottom: 6px; }
.wsa-lead-field input {
    width: 100%; padding: 13px 15px; font-size: 15px; color: #fff;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--wsa-border-2); border-radius: 11px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.wsa-lead-field input::placeholder { color: rgba(255, 255, 255, 0.34); }
.wsa-lead-field input:focus { outline: 0; border-color: var(--wsa-blue); background: rgba(10, 102, 194, 0.08); box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.18); }
.wsa-lead-err { display: block; min-height: 18px; font-size: 12px; color: var(--wsa-red-soft); margin: 4px 0 10px; }
.wsa-lead-step .wsa-btn { margin-top: 4px; }
.wsa-lead-fine { font-size: 11.5px; color: var(--wsa-muted-2); text-align: center; margin: 12px 0 0; }
.wsa-lead-skip { display: block; width: 100%; margin-top: 12px; border: 0; background: none; cursor: pointer; color: var(--wsa-muted); font: inherit; font-size: 13px; text-decoration: underline; }
.wsa-lead-skip:hover { color: #fff; }
.wsa-lead-step[data-step="done"] { text-align: center; }
.wsa-lead-done-ic {
    display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
    border-radius: 50%; background: rgba(52, 199, 89, 0.14); border: 1.5px solid var(--wsa-emerald);
    color: var(--wsa-emerald-soft); font-size: 26px; font-weight: 800; margin: 0 auto 16px;
}

@keyframes wsa-spin { to { transform: rotate(360deg); } }
@keyframes wsa-pop-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
    .wsa-audit-modal__panel, .wsa-lead-pop__card { animation: none; }
    .wsa-audit-modal__spinner, .wsa-audit-check.is-active .wsa-audit-check__ic { animation: none; }
}

@media (max-width: 575px) {
    .wsa-tool__bar { flex-direction: column; align-items: stretch; gap: 8px; padding: 14px; border-radius: 16px; }
    .wsa-tool__icon { display: none; }
    .wsa-tool__input { padding: 10px 4px; text-align: center; }
    .wsa-tool__btn { width: 100%; }
    .wsa-audit-modal__panel, .wsa-lead-pop__card { padding: 22px 18px; }
    .wsa-audit-checks { grid-template-columns: 1fr; }
    .wsa-audit-scores { grid-template-columns: 1fr 1fr; }
}
