/*
 * Homepage styles - templates/homepage.php
 *
 * Enqueued conditionally from functions.php when the current request
 * matches the "CompetitorWatch Homepage" page template (or the front page).
 */

/* ──────────────────────────────────────────────
   Hero - centered editorial layout with live feed ticker
   ────────────────────────────────────────────── */

.heroSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.1rem;
    padding-top: clamp(3rem, 8vw, 7rem) !important;
    padding-bottom: clamp(2rem, 4vw, 4rem) !important;
    position: relative;
}

.heroEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 1rem 0.5rem 0.85rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--clrBorder);
    border-radius: var(--radiusPill);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--clrInk70);
    letter-spacing: -0.005em;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-variant-numeric: tabular-nums;
}
.heroEyebrow strong {
    color: var(--clrInk);
    font-weight: 700;
}

.pulseDot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--clrAccent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.22);
    animation: livePulse 2.4s var(--ease) infinite;
    flex: none;
}
@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.22); }
    50%      { box-shadow: 0 0 0 7px rgba(249, 115, 22, 0.04); }
}

.heroSection h1 {
    font-size: clamp(2.75rem, 7.5vw, 6rem);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.038em;
    max-width: 18ch;
    margin: 0.35rem auto 0;
}

.heroLead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.55;
    color: var(--clrInk70);
    max-width: 56ch;
    margin: 0.35rem auto 0;
}

.heroActions {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.6rem;
}

.heroMeta {
    font-size: 0.82rem;
    color: var(--clrMuted);
    letter-spacing: 0.02em;
    margin-top: 0.2rem;
}
.heroMeta span { color: var(--clrInk40); margin: 0 0.55em; }

/* ──────────────────────────────────────────────
   Hero live feed ticker
   ────────────────────────────────────────────── */

.liveFeed {
    align-self: stretch;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-block: 1.15rem;
    overflow: hidden;
    position: relative;
    border-top: 1px dashed var(--clrBorder);
    border-bottom: 1px dashed var(--clrBorder);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.liveFeed::before {
    content: attr(data-label);
    position: absolute;
    top: 50%;
    left: clamp(0.75rem, 2vw, 2rem);
    transform: translateY(-50%);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clrMuted);
    z-index: 2;
    padding: 0.35rem 0.6rem;
    background: var(--clrPaper);
    border-radius: 4px;
    pointer-events: none;
}

.liveFeedTrack {
    display: flex;
    gap: 0.85rem;
    width: max-content;
    padding: 0.2rem 0;
    /* Horizontal scroll is driven by Motion (inc/js/theme.min.js).
       Without JS the track stays static, clipped by the overflow mask. */
}

.feedItem {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 1.1rem 0.6rem 0.95rem;
    background: var(--clrSurface);
    border: 1px solid var(--clrBorder);
    border-radius: var(--radiusPill);
    font-size: 0.83rem;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.feedItem:hover {
    transform: translateY(-2px);
    border-color: var(--clrBorderStrong);
    box-shadow: var(--shadowCard);
}
.feedItem::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--feedDot, var(--clrMuted));
    flex: none;
}

.feedItemCritical { --feedDot: var(--clrAccent); }
.feedItemWatch    { --feedDot: var(--clrPrimary); }
.feedItemNotable  { --feedDot: #10B981; }

.feedCompany {
    font-weight: 700;
    color: var(--clrInk);
    letter-spacing: -0.01em;
}
.feedChange { color: var(--clrInk70); }
.feedTime {
    color: var(--clrMuted);
    font-size: 0.73rem;
    font-variant-numeric: tabular-nums;
    padding-left: 0.55rem;
    border-left: 1px solid var(--clrBorder);
}

/* ──────────────────────────────────────────────
   Stats strip
   ────────────────────────────────────────────── */

.statsSection { padding-block: clamp(3rem, 6vw, 5rem) !important; }

.statsList {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 3.5vw, 3rem);
    padding: clamp(2.5rem, 5vw, 3.75rem) 0;
    border-top: 1px solid var(--clrBorder);
    border-bottom: 1px solid var(--clrBorder);
}
.statsList > div {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.75rem;
}
.statsList dd {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.045em;
    color: var(--clrInk);
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
}
.statValue { color: var(--clrInk); }
.statsList > div:nth-child(2) .statValue { color: var(--clrPrimary); }
.statsList > div:nth-child(3) .statValue { color: var(--clrAccent); }
.statUnit {
    font-size: 0.35em;
    font-weight: 500;
    color: var(--clrMuted);
    margin-left: 0.18em;
    letter-spacing: 0;
}
.statsList dt {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--clrMuted);
    max-width: 24ch;
    line-height: 1.45;
}

/* ──────────────────────────────────────────────
   How it works - step list
   ────────────────────────────────────────────── */

.stepList {
    border-top: 1px solid var(--clrBorder);
}
.stepList li {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.6fr);
    gap: clamp(1rem, 3vw, 3rem);
    align-items: baseline;
    padding: 2.1rem 0;
    border-bottom: 1px solid var(--clrBorder);
    transition: background 300ms var(--ease);
}
.stepList li:hover { background: rgba(79, 70, 229, 0.025); }
.stepIndex {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--clrMuted);
    font-variant-numeric: tabular-nums;
}
.stepList h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.025em;
}
.stepList p {
    color: var(--clrInk70);
    max-width: 48ch;
    font-size: 1.0625rem;
    line-height: 1.55;
}

/* ──────────────────────────────────────────────
   Feature grid
   ────────────────────────────────────────────── */

.featureGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.featureCard {
    background: var(--clrSurface);
    border: 1px solid var(--clrBorder);
    border-radius: var(--radiusLg);
    padding: 2rem 1.75rem 2.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}
.featureCard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadowCard);
    border-color: var(--clrBorderStrong);
}
.featureIcon {
    width: 46px;
    height: 46px;
    padding: 11px;
    background: var(--clrPrimarySoft);
    color: var(--clrPrimary);
    border-radius: 14px;
    margin-bottom: 0.4rem;
}
.featureCard:nth-child(2) .featureIcon,
.featureCard:nth-child(5) .featureIcon {
    background: var(--clrAccentSoft);
    color: var(--clrAccent);
}
.featureCard h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}
.featureCard p {
    font-size: 0.93rem;
    color: var(--clrInk70);
    line-height: 1.6;
}

/* ──────────────────────────────────────────────
   Showcase figure
   ────────────────────────────────────────────── */

.showcaseFigure {
    border-radius: var(--radiusLg);
    overflow: hidden;
    border: 1px solid var(--clrBorder);
    background: var(--clrSurface);
    box-shadow: var(--shadowCard);
}
.showcaseFigure img {
    width: 100%;
    height: auto;
}
.showcaseFigure figcaption {
    padding: 1.1rem 1.75rem;
    font-size: 0.85rem;
    color: var(--clrMuted);
    border-top: 1px solid var(--clrBorder);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.showcaseFigure figcaption::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clrPrimary);
}

/* ──────────────────────────────────────────────
   Pricing
   ────────────────────────────────────────────── */

.pricingSection .sectionHeader {
    text-align: center;
    margin-inline: auto;
}
.pricingSection .sectionHeader .sectionLabel { justify-content: center; }
.pricingSection .sectionHeader .sectionLead { margin-inline: auto; }

.pricingGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Team card variant - lighter, "contact us" feel */
.priceCardTeam {
    background: var(--clrPaper);
    border-style: dashed;
}
.priceValueSmall {
    font-size: 2.4rem !important;
    letter-spacing: -0.025em !important;
}

/* Ghost variant of primaryButton used on the Team card */
.primaryButtonGhost {
    background: transparent !important;
    color: var(--clrInk) !important;
    border: 1px solid var(--clrInk) !important;
    box-shadow: none !important;
}
.primaryButtonGhost:hover {
    background: var(--clrInk) !important;
    color: #fff !important;
}
.primaryButtonGhost::after {
    content: "→" !important;
}
.priceCard {
    background: var(--clrSurface);
    border: 1px solid var(--clrBorder);
    border-radius: var(--radiusLg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    position: relative;
}
.priceCardFeatured {
    background: var(--clrInk);
    color: #fff;
    border-color: var(--clrInk);
    box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.4);
}
.priceBadge {
    position: absolute;
    top: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clrAccent);
    color: #fff;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.45rem 1.05rem;
    border-radius: var(--radiusPill);
    white-space: nowrap;
}
.priceCard > header {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.priceCard h3 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.priceLead {
    font-size: 0.92rem;
    color: var(--clrInk70);
    line-height: 1.5;
    max-width: 32ch;
}
.priceCardFeatured .priceLead { color: rgba(255, 255, 255, 0.7); }

.priceAmount {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    font-variant-numeric: tabular-nums;
    padding-top: 0.25rem;
}
.priceCurrency {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--clrInk70);
    margin-right: 0.15rem;
}
.priceCardFeatured .priceCurrency { color: rgba(255, 255, 255, 0.7); }
.priceValue {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.pricePeriod {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clrMuted);
    margin-left: 0.35rem;
}
.priceCardFeatured .pricePeriod { color: rgba(255, 255, 255, 0.55); }

.priceSpecs {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--clrBorder);
}
.priceSpecs > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--clrBorder);
    font-size: 0.92rem;
}
.priceSpecs > div:last-child { border-bottom: 0; }
.priceSpecs dt {
    color: var(--clrInk70);
    font-weight: 400;
}
.priceSpecs dd {
    font-weight: 600;
    letter-spacing: -0.005em;
}
.priceCardFeatured .priceSpecs,
.priceCardFeatured .priceSpecs > div {
    border-color: rgba(255, 255, 255, 0.14);
}
.priceCardFeatured .priceSpecs dt { color: rgba(255, 255, 255, 0.65); }
.priceCardFeatured .primaryButton {
    background: #fff;
    color: var(--clrInk);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 12px 24px -12px rgba(0, 0, 0, 0.4);
}
.priceCardFeatured .primaryButton:hover {
    background: var(--clrPrimarySoft);
    color: var(--clrPrimary);
}

.pricingNote {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.92rem;
    color: var(--clrMuted);
}
.pricingNote a {
    color: var(--clrPrimary);
    text-decoration: none;
    font-weight: 600;
}
.pricingNote a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ──────────────────────────────────────────────
   Checkout modal (email capture for logged-out users)
   ────────────────────────────────────────────── */
.cwCheckoutModal {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    display: grid;
    place-items: center;
    z-index: 1000;
    padding: 1rem;
}
.cwCheckoutModal[hidden] { display: none; }
.cwCheckoutModalInner {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.75rem 1.5rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.25);
}
.cwCheckoutClose {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: 0;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--clrMuted);
    cursor: pointer;
    padding: 4px 10px;
}
.cwCheckoutClose:hover { color: #111827; }
.cwCheckoutModalInner h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #111827;
}
.cwCheckoutLead {
    margin: 0 0 1.25rem 0;
    font-size: 0.92rem;
    color: var(--clrMuted);
    line-height: 1.5;
}
.cwCheckoutModalInner label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.4rem;
}
.cwCheckoutModalInner input[type="email"] {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}
.cwCheckoutModalInner input[type="email"]:focus {
    outline: 2px solid var(--clrPrimary);
    outline-offset: 1px;
    border-color: var(--clrPrimary);
}
.cwCheckoutError {
    color: #b91c1c;
    font-size: 0.85rem;
    margin: 0.5rem 0 0.5rem;
}
.cwCheckoutModalInner button[type="submit"] { margin-top: 1rem; }
.cwCheckoutTrust {
    margin: 0.9rem 0 0 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--clrMuted);
}

/* ──────────────────────────────────────────────
   Testimonial
   ────────────────────────────────────────────── */

.testimonialSection { text-align: center; }

.testimonialFigure {
    margin: 0 auto;
    max-width: 780px;
}
.testimonialFigure blockquote {
    font-size: clamp(1.375rem, 3vw, 2rem);
    line-height: 1.38;
    font-weight: 500;
    letter-spacing: -0.022em;
    color: var(--clrInk);
    position: relative;
    padding: 0 1rem;
}
.testimonialFigure blockquote p { position: relative; }
.testimonialFigure blockquote p::before {
    content: "\201C";
    font-size: 4rem;
    line-height: 0;
    color: var(--clrAccent);
    font-weight: 800;
    position: absolute;
    left: -2.5rem;
    top: 1.2rem;
    opacity: 0.8;
}
.testimonialFigure figcaption {
    margin-top: 2.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}
.testimonialFigure figcaption img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    margin-bottom: 0.55rem;
    border: 2px solid var(--clrSurface);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}
.testimonialFigure cite {
    font-style: normal;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.005em;
}
.testimonialFigure figcaption span {
    font-size: 0.82rem;
    color: var(--clrMuted);
}

/* ──────────────────────────────────────────────
   FAQ
   ────────────────────────────────────────────── */

.faqSection details {
    border-bottom: 1px solid var(--clrBorder);
    padding: 1.75rem 0;
}
.faqSection details:first-of-type {
    border-top: 1px solid var(--clrBorder);
}
.faqSection summary {
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    letter-spacing: -0.013em;
    color: var(--clrInk);
}
.faqSection summary::-webkit-details-marker { display: none; }
.faqSection summary::after {
    content: "";
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--clrPrimarySoft);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F46E5' stroke-width='2.5' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 12px 12px;
    transition: transform 320ms var(--ease), background-color 200ms var(--ease);
}
.faqSection details[open] summary::after { transform: rotate(45deg); }
.faqSection details p {
    margin-top: 1rem;
    color: var(--clrInk70);
    max-width: 68ch;
    font-size: 1rem;
    line-height: 1.7;
}
.faqSection details p em {
    color: var(--clrAccent);
    font-style: italic;
}

/* ──────────────────────────────────────────────
   Final CTA
   ────────────────────────────────────────────── */

.ctaSection {
    text-align: center;
    background: var(--clrInk);
    color: #fff;
    max-width: 1200px;
    border-radius: var(--radiusXl);
    margin: clamp(3rem, 6vw, 6rem) auto;
    padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3rem) !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.ctaSection::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 50% 50% at 85% 15%, rgba(249, 115, 22, 0.32), transparent 55%),
        radial-gradient(ellipse 50% 60% at 15% 85%, rgba(79, 70, 229, 0.38), transparent 55%);
}
.ctaSection::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse at center, black, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}
.ctaSection h2 {
    font-size: clamp(2rem, 4.8vw, 3.6rem);
    max-width: 22ch;
    margin: 0 auto 1.25rem;
    letter-spacing: -0.035em;
    line-height: 1.04;
}
.ctaSection p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 46ch;
    margin: 32px auto 0;
    font-size: 1.05rem;
}
.ctaActions { margin-top: 2.25rem; }
.ctaSection .primaryButton {
    background: #fff;
    color: var(--clrInk);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 24px 48px -16px rgba(0, 0, 0, 0.5);
}
.ctaSection .primaryButton:hover {
    background: var(--clrAccent);
    color: #fff;
}

/* ──────────────────────────────────────────────
   Motion on load
   ────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
    .heroSection > * {
        opacity: 0;
        transform: translateY(14px);
        animation: rise 900ms var(--ease) forwards;
    }
    .heroSection .heroEyebrow   { animation-delay: 40ms; }
    .heroSection h1             { animation-delay: 140ms; }
    .heroSection .heroLead      { animation-delay: 260ms; }
    .heroSection .heroActions   { animation-delay: 380ms; }
    .heroSection .heroMeta      { animation-delay: 460ms; }
    .heroSection .liveFeed      { animation-delay: 560ms; }
}
@keyframes rise {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .liveFeedTrack {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ──────────────────────────────────────────────
   Responsive - homepage
   ────────────────────────────────────────────── */

@media (max-width: 960px) {
    .heroSection h1 { max-width: 20ch; }

    .statsList { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

    .stepList li {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        padding: 1.75rem 0;
    }

    .pricingGrid { grid-template-columns: 1fr; }
}
@media (max-width: 1040px) and (min-width: 521px) {
    .pricingGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .priceCardTeam { grid-column: 1 / -1; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 520px) {
    .statsList { grid-template-columns: 1fr; padding: 2rem 0; }
    .testimonialFigure blockquote p::before { display: none; }
}

/* ──────────────────────────────────────────────
   Showcase dashboard mockup (rendered in-page instead of a screenshot)
   ────────────────────────────────────────────── */
.showcaseMockup {
    background: #fff;
    border: 1px solid var(--clrBorder);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(17, 24, 39, 0.18);
    max-width: 1100px;
    margin: 0 auto;
    font-variant-numeric: tabular-nums;
}
.showcaseMockupChrome {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.9rem;
    background: #F4F3FB;
    border-bottom: 1px solid var(--clrBorder);
}
.showcaseMockupChrome > span {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #d1d5db;
}
.showcaseMockupChrome > span:nth-child(1) { background: #ff5f56; }
.showcaseMockupChrome > span:nth-child(2) { background: #ffbd2e; }
.showcaseMockupChrome > span:nth-child(3) { background: #27c93f; }
.showcaseMockupUrl {
    width: auto;
    height: auto;
    background: #fff !important;
    border-radius: 6px;
    padding: 0.25rem 0.75rem;
    margin-left: 1rem;
    font-size: 0.78rem;
    color: #6b7280;
    font-family: ui-monospace, "SF Mono", monospace;
    border: 1px solid var(--clrBorder);
}
.showcaseMockupBody {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 380px;
}
.showcaseMockupSide {
    padding: 1.1rem 1rem;
    border-right: 1px solid var(--clrBorder);
    background: #fafafb;
}
.showcaseMockupCompetitor {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.25rem 0 0.85rem;
    border-bottom: 1px solid var(--clrBorder);
    margin-bottom: 0.85rem;
}
.showcaseMockupAvatar {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #4F46E5;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.95rem;
}
.showcaseMockupCompetitor strong { display: block; font-size: 0.92rem; color: #111827; }
.showcaseMockupCompetitor small  { display: block; font-size: 0.76rem; color: #6b7280; }
.showcaseMockupNav { list-style: none; padding: 0; margin: 0; }
.showcaseMockupNav li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.85rem;
    color: #4b5563;
    border-radius: 6px;
}
.showcaseMockupNav li span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    flex: none;
}
.showcaseMockupNav li.isActive { background: rgba(79, 70, 229, 0.08); color: #111827; font-weight: 600; }
.showcaseMockupNav li.hasError span { background: #ef4444; }
.showcaseMockupMain { padding: 1.4rem 1.6rem; }
.showcaseMockupHeading h3 {
    margin: 0.4rem 0 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    letter-spacing: -0.015em;
}
.showcaseMockupSeverity {
    display: inline-block;
    padding: 3px 10px;
    background: #FFEDD5;
    color: #C2410C;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.showcaseMockupMeta {
    display: flex;
    gap: 1.2rem;
    font-size: 0.78rem;
    color: #6b7280;
    margin-bottom: 1rem;
}
.showcaseMockupDiff {
    background: #fafafb;
    border: 1px solid var(--clrBorder);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-family: ui-monospace, "SF Mono", monospace;
    font-size: 0.85rem;
    margin-bottom: 1.1rem;
}
.showcaseMockupDiffRow { display: flex; gap: 0.5rem; padding: 2px 0; }
.showcaseMockupDiffRow span { font-weight: 700; width: 1em; }
.showcaseMockupDiffRemoved { color: #b91c1c; background: #fef2f2; margin: 0 -0.55rem; padding-left: 0.55rem; padding-right: 0.55rem; }
.showcaseMockupDiffAdded   { color: #065f46; background: #ecfdf5; margin: 0 -0.55rem; padding-left: 0.55rem; padding-right: 0.55rem; }
.showcaseMockupInsight {
    border-left: 3px solid #4F46E5;
    padding: 0.85rem 1.05rem;
    background: rgba(79, 70, 229, 0.04);
    border-radius: 0 10px 10px 0;
}
.showcaseMockupInsightLabel {
    margin: 0 0 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #4F46E5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.showcaseMockupInsightBody {
    margin: 0 0 0.6rem;
    color: #374151;
    font-size: 0.92rem;
    line-height: 1.5;
}
.showcaseMockupInsightAction {
    margin: 0;
    font-size: 0.88rem;
    color: #111827;
    line-height: 1.5;
}
@media (max-width: 760px) {
    .showcaseMockupBody { grid-template-columns: 1fr; }
    .showcaseMockupSide { border-right: 0; border-bottom: 1px solid var(--clrBorder); }
    .showcaseMockupNav { display: flex; gap: 0.35rem; overflow-x: auto; }
    .showcaseMockupNav li { white-space: nowrap; }
    .showcaseMockupMain { padding: 1.1rem; }
}
