/* Quality Control module page — loaded only with quality-control.html */

.qc-hero,
.qc-page,
.qc-hero h1,
.qc-hero p,
.qc-hero a,
.qc-hero span,
.qc-page h2,
.qc-page h3,
.qc-page h4,
.qc-page p,
.qc-page li,
.qc-page span,
.qc-page a,
.qc-page strong,
.qc-page button {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
}

.qc-hero {
    position: relative;
    overflow: hidden;
    text-align: left;
    padding: 148px 0 72px;
    background: #ffffff;
}

.qc-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 48% 52% at 78% 42%, rgba(147, 197, 253, 0.28), transparent 70%),
        radial-gradient(ellipse 36% 40% at 92% 70%, rgba(255, 178, 120, 0.22), transparent 72%),
        radial-gradient(ellipse 30% 34% at 62% 18%, rgba(196, 181, 253, 0.16), transparent 70%),
        #ffffff;
}

.qc-hero .container,
.qc-hero .qc-hero-grid {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.qc-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 36px 48px;
    align-items: center;
    width: 100%;
}

.qc-hero-copy {
    min-width: 0;
    max-width: min(38rem, 100%);
}

.qc-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    background-image:
        linear-gradient(90deg, #ffe8d6 0%, #ffffff 48%, #dceeff 100%),
        linear-gradient(90deg, #ffb07a 0%, #9ec9f5 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: #ff6500;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.qc-hero-copy h1 {
    text-align: left;
    font-size: clamp(2.55rem, 4.6vw, 3.75rem);
    margin: 0 0 28px;
    letter-spacing: -0.045em;
    line-height: 1.08;
    color: #0f1b33;
    font-weight: 800;
}

.qc-hero-copy h1 span {
    background: none;
    -webkit-text-fill-color: initial;
    color: #ff6500;
}

.qc-hero-benefits {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 12px;
    max-width: 34rem;
}

.qc-hero-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 600;
    color: #334155;
}

.qc-hero-benefits i {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 101, 0, 0.12);
    color: #ff6500;
    font-size: 0.95rem;
    font-weight: 700;
}

.qc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.qc-hero-actions .btn {
    animation: qcPillIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(0.4s + (var(--d, 0) * 0.12s));
}

.qc-hero-actions .btn i {
    font-size: 1.2rem;
    margin-left: 4px;
}

.qc-hero-visual {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
    animation-delay: 0.12s;
}

.qc-hero-desktop-compose {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: grid;
    place-items: center;
}

.qc-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    z-index: 0;
}

.qc-hero-glow-a {
    width: 280px;
    height: 280px;
    right: 8%;
    top: 6%;
    background: rgba(125, 211, 252, 0.35);
}

.qc-hero-glow-b {
    width: 220px;
    height: 220px;
    right: 18%;
    bottom: 4%;
    background: rgba(253, 186, 116, 0.28);
}

.qc-hero-laptop {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    margin-right: 28px;
}

.qc-hero-laptop-screen {
    border: 10px solid #1f2937;
    border-bottom-width: 12px;
    border-radius: 16px 16px 8px 8px;
    overflow: hidden;
    background: #eef2f7;
    box-shadow: 0 28px 60px rgba(15, 27, 51, 0.18);
}

.qc-hero-laptop-screen img {
    display: block;
    width: 100%;
    height: auto;
}

.qc-hero-laptop-screen {
    aspect-ratio: 16 / 10;
}

.qc-hero-laptop-base {
    height: 14px;
    margin: 0 auto;
    width: 108%;
    margin-left: -4%;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(180deg, #cbd5e1, #94a3b8);
    box-shadow: 0 10px 18px rgba(15, 27, 51, 0.12);
}

.qc-hero-phone {
    position: absolute;
    z-index: 2;
    right: 2%;
    bottom: 8%;
    width: 158px;
    border-radius: 28px;
    padding: 10px 8px 12px;
    background: #111827;
    box-shadow: 0 22px 40px rgba(15, 27, 51, 0.28);
    transform: rotate(-8deg);
}

.qc-hero-phone-notch {
    width: 56px;
    height: 8px;
    border-radius: 999px;
    background: #374151;
    margin: 0 auto 8px;
}

.qc-hero-phone-screen {
    background: linear-gradient(180deg, #fff7ed, #ffffff 40%);
    border-radius: 20px;
    padding: 18px 12px 16px;
    text-align: center;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qc-hero-phone-kicker {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ea580c;
}

.qc-hero-phone-screen strong {
    font-size: 0.98rem;
    line-height: 1.25;
    color: #0f1b33;
}

.qc-hero-phone-gift {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #ffedd5;
    color: #ea580c;
    font-size: 1.6rem;
    margin: 4px 0;
}

.qc-hero-phone-cta {
    display: inline-flex;
    margin-top: 4px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ff6500;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.qc-hero-float {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 27, 51, 0.08);
    box-shadow: 0 14px 30px rgba(15, 27, 51, 0.12);
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f1b33;
    white-space: nowrap;
}

.qc-hero-float-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1rem;
}

.qc-hero-float-icon.is-blue {
    background: #dbeafe;
    color: #2563eb;
}

.qc-hero-float-icon.is-green {
    background: #dcfce7;
    color: #16a34a;
}

.qc-hero-float-top {
    top: 10%;
    right: 0;
    animation: qcFloat 4.5s ease-in-out infinite;
}

.qc-hero-float-bottom {
    left: 4%;
    bottom: 12%;
    animation: qcFloat 5s ease-in-out infinite 0.6s;
}

@keyframes qcFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.qc-hero .btn:focus-visible,
.qc-page .btn:focus-visible,
.qc-step:focus-visible {
    outline: 3px solid #312e81;
    outline-offset: 3px;
}

.qc-feature-card[id] {
    scroll-margin-top: 104px;
}

.qc-tab-visual {
    min-width: 0;
    max-width: 100%;
}

.qc-shot-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 18px 12px 28px;
}

.qc-shot-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
}

.qc-shot-glow-a {
    width: 220px;
    height: 220px;
    right: 6%;
    top: 4%;
    background: rgba(125, 211, 252, 0.38);
}

.qc-shot-glow-b {
    width: 180px;
    height: 180px;
    left: 8%;
    bottom: 8%;
    background: rgba(253, 186, 116, 0.32);
}

.qc-shot-device {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
    transform-origin: center center;
    transition: transform 0.45s ease;
}

.qc-tab-panel.is-active .qc-shot-device {
    animation: qcShotDeviceIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes qcShotDeviceIn {
    from {
        opacity: 0;
        transform: perspective(900px) rotateY(-8deg) rotateX(4deg) translate3d(24px, 12px, 0);
    }
    to {
        opacity: 1;
        transform: perspective(900px) rotateY(-4deg) rotateX(2deg) translate3d(0, 0, 0);
    }
}

.qc-shot-bezel {
    border: 10px solid #1f2937;
    border-bottom-width: 12px;
    border-radius: 16px 16px 8px 8px;
    overflow: hidden;
    background: #0f172a;
    box-shadow:
        0 28px 60px rgba(15, 27, 51, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.qc-shot-frame {
    position: relative;
    overflow: hidden;
    background: #eef2f7;
    aspect-ratio: 16 / 10;
    min-height: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.qc-shot-frame::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6500, #7c6cf0 55%, #00d2ff);
    z-index: 2;
}

.qc-shot-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    background: #eef2f7;
}

.qc-shot-base {
    height: 12px;
    width: 106%;
    margin: 0 auto 0 -3%;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(180deg, #cbd5e1, #94a3b8);
    box-shadow: 0 10px 18px rgba(15, 27, 51, 0.14);
}

.qc-shot-float {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 27, 51, 0.08);
    box-shadow: 0 14px 30px rgba(15, 27, 51, 0.14);
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f1b33;
    white-space: nowrap;
    animation: qcFloat 4.8s ease-in-out infinite;
}

.qc-shot-float-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
}

.qc-shot-float-icon.is-blue {
    background: #dbeafe;
    color: #2563eb;
}

.qc-shot-float-icon.is-green {
    background: #dcfce7;
    color: #16a34a;
}

.qc-shot-float-icon.is-orange {
    background: #ffedd5;
    color: #ea580c;
}

.qc-shot-float-top {
    top: 8%;
    right: 0;
}

.qc-shot-float-bottom {
    left: 0;
    bottom: 10%;
    animation-delay: 0.55s;
}

.qc-page {
    padding: 28px 0 90px;
    background:
        radial-gradient(ellipse 55% 30% at 0% 8%, rgba(255, 101, 0, 0.08), transparent 55%),
        radial-gradient(ellipse 45% 28% at 100% 0%, rgba(99, 102, 241, 0.1), transparent 50%),
        linear-gradient(180deg, #f4f6fb 0%, #eef2f8 100%);
}

.qc-page > .container {
    max-width: 1360px;
}

.qc-block {
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(8, 13, 32, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

.qc-platform {
    padding: 44px 36px 40px;
    overflow: hidden;
}

.qc-block .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 28px;
}

.qc-block .section-header h2 {
    display: block;
    max-width: 100%;
    width: 100%;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.22;
    letter-spacing: -0.03em;
    margin: 0;
    padding-top: 0;
}

.qc-block .section-header > p:not(.qc-flow-badge):not(.qc-hero-badge) {
    color: var(--text-muted);
    max-width: 640px;
    margin: 14px auto 0;
}

.qc-platform .qc-flow-badge.qc-hero-badge {
    margin: 0 auto 12px;
    padding: 8px 16px;
    color: #ff6500;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.qc-platform .section-header h2 {
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
    line-height: 1.25;
    margin: 0 0 0.35rem;
    letter-spacing: -0.025em;
}

.qc-platform .section-header h2::after {
    bottom: -8px;
    width: 48px;
    height: 3px;
}

.qc-explore-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px auto 0;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 101, 0, 0.12), rgba(99, 102, 241, 0.1));
    border: 1px dashed rgba(255, 101, 0, 0.35);
    color: #9a3412;
    font-size: 0.92rem;
    font-weight: 700;
    animation: qcHintPulse 2.4s ease-in-out infinite;
}

.qc-explore-hint i {
    font-size: 1.15rem;
    color: #ff6500;
}

@keyframes qcHintPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(255, 101, 0, 0.15); }
    50% { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 101, 0, 0.12); }
}

/* Numbered journey steps */
.qc-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 20px;
    padding: 4px 4px 8px;
}

.qc-step {
    appearance: none;
    position: relative;
    border: 1px solid rgba(15, 27, 51, 0.08);
    background: #ffffff;
    border-radius: 20px;
    padding: 14px 14px 16px;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 0;
    height: 100%;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.qc-step:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 101, 0, 0.22);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.qc-step.is-active {
    background: linear-gradient(160deg, #fff7ed 0%, #ffffff 55%, #eef2ff 100%);
    border-color: rgba(255, 101, 0, 0.45);
    box-shadow:
        0 18px 36px rgba(255, 101, 0, 0.14),
        0 0 0 3px rgba(255, 101, 0, 0.08);
}

.qc-step.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -11px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-right: 1px solid rgba(255, 101, 0, 0.45);
    border-bottom: 1px solid rgba(255, 101, 0, 0.45);
    transform: translateX(-50%) rotate(45deg);
    z-index: 2;
}

.qc-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.qc-step-num {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.qc-step.is-active .qc-step-num {
    color: #ff6500;
}

.qc-step-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff7ed;
    color: #ff6500;
    font-size: 1.2rem;
    flex: 0 0 auto;
}

.qc-step.is-active .qc-step-icon {
    background: linear-gradient(135deg, #ff6500, #ff8a3d);
    color: #fff;
    box-shadow: 0 10px 18px rgba(255, 101, 0, 0.28);
}

.qc-step-text {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.qc-step-text strong {
    font-size: 1rem;
    color: #0f1b33;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.qc-step-text small {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.qc-stage {
    position: relative;
    margin-top: 8px;
    padding: 18px;
    border-radius: 28px;
    background:
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(255, 101, 0, 0.08), transparent 55%),
        radial-gradient(ellipse 50% 45% at 0% 100%, rgba(99, 102, 241, 0.08), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
    border: 1px solid rgba(15, 27, 51, 0.07);
    box-shadow:
        0 24px 50px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.qc-stage-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 0 6px;
}

.qc-stage-progress {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f1b33;
    letter-spacing: -0.01em;
}

.qc-stage-cue {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff6500;
    font-size: 0.82rem;
    font-weight: 700;
}

.qc-stage-cue i {
    font-size: 1.1rem;
}

.qc-tab-panels {
    display: grid;
}

.qc-tab-panel {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    gap: 28px;
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 8px 6px 6px;
    overflow: hidden;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateZ(0);
    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.45s linear;
}

.qc-tab-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.qc-tab-panel.is-active .qc-tab-kicker,
.qc-tab-panel.is-active .qc-tab-copy > h3,
.qc-tab-panel.is-active .qc-benefit,
.qc-tab-panel.is-active .qc-status-chips {
    animation: qcTabCopyIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.qc-tab-panel.is-active .qc-tab-kicker {
    animation-delay: 0.04s;
}

.qc-tab-panel.is-active .qc-tab-copy > h3 {
    animation-delay: 0.1s;
}

.qc-tab-panel.is-active .qc-benefit:nth-child(1) {
    animation-delay: 0.18s;
}

.qc-tab-panel.is-active .qc-benefit:nth-child(2) {
    animation-delay: 0.26s;
}

.qc-tab-panel.is-active .qc-benefit:nth-child(3) {
    animation-delay: 0.34s;
}

.qc-tab-panel.is-active .qc-status-chips {
    animation-delay: 0.42s;
}

.qc-tab-panel.is-active .qc-tab-visual {
    animation: qcTabVisualIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

@keyframes qcTabCopyIn {
    0% {
        opacity: 0;
        transform: translate3d(-28px, 0, 0);
    }
    55% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes qcTabVisualIn {
    0% {
        opacity: 0;
        transform: translate3d(36px, 0, 0) scale(0.985);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.qc-tab-copy {
    min-width: 0;
}

.qc-tab-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 101, 0, 0.1);
    border: 1px solid rgba(255, 101, 0, 0.16);
}

.qc-tab-copy h3 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    color: var(--secondary);
    letter-spacing: -0.035em;
    line-height: 1.22;
    margin: 0 0 24px;
    max-width: 18ch;
}

.qc-benefit-cols {
    display: grid;
    gap: 12px;
}

.qc-benefit {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px 14px 14px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(8, 13, 32, 0.05);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.qc-benefit:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 101, 0, 0.18);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.qc-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, rgba(255, 101, 0, 0.14), rgba(124, 108, 240, 0.1));
    color: var(--primary);
    font-size: 1.35rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.qc-benefit h4 {
    color: var(--secondary);
    font-size: 1.02rem;
    margin: 2px 0 6px;
    letter-spacing: -0.02em;
}

.qc-benefit p {
    color: #5c677a;
    line-height: 1.55;
    font-size: 0.94rem;
    margin: 0;
}

.qc-status-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.qc-status-chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.88rem;
    background: var(--white);
    border: 1px solid rgba(8, 13, 32, 0.05);
    box-shadow: var(--shadow-sm);
}

.qc-status-chips .is-ok { color: #0f7a4a; }
.qc-status-chips .is-read { color: #1d4ed8; }
.qc-status-chips .is-bad { color: #b45309; }

/* Feature cards */
.qc-features {
    position: relative;
    overflow: hidden;
}

.qc-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.qc-feature-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
    border: 1px solid rgba(49, 46, 129, 0.07);
    border-radius: 22px;
    padding: 22px 18px 20px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.qc-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6500, #7c6cf0 55%, #00d2ff);
    opacity: 0.85;
}

.qc-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 101, 0, 0.22);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.qc-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: #fff7ed;
    color: var(--primary);
    font-size: 1.4rem;
    box-shadow: 0 8px 18px rgba(255, 101, 0, 0.12);
}

.qc-feature-icon .bxl-whatsapp {
    color: #25D366;
}

.qc-feature-body {
    min-width: 0;
}

.qc-feature-card h3 {
    color: var(--secondary);
    font-size: 1.08rem;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.qc-feature-card p {
    color: #5c677a;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.qc-close {
    margin-top: 48px;
    padding: 40px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px 40px;
    border-radius: 28px;
    background:
        radial-gradient(ellipse 70% 120% at 100% 0%, rgba(255, 101, 0, 0.18), transparent 55%),
        linear-gradient(135deg, #0c1228 0%, #161f3c 55%, #1a2448 100%);
    color: #fff;
    box-shadow: 0 22px 48px rgba(12, 18, 40, 0.28);
}

.qc-close-copy {
    max-width: 36rem;
    text-align: left;
}

.qc-close-eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffb27a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.qc-close h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.qc-close-copy > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.02rem;
    line-height: 1.65;
}

.qc-close .btn-primary {
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(255, 101, 0, 0.35);
}

.qc-hero-anim {
    animation: qcHeroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes qcHeroIn {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes qcPillIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.qc-mobile-nav {
    display: none;
}

.qc-module-page .qc-carousel-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 4px;
}

.qc-module-page .qc-stage-cue {
    display: none;
}

.qc-module-page .qc-tab-panel.is-active {
    animation: qcCarouselSlide 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes qcCarouselSlide {
    from {
        opacity: 0;
        transform: translate3d(14px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 900px) {
    .qc-platform {
        padding: 22px 12px 18px;
    }

    .qc-platform .section-header {
        margin-bottom: 16px;
    }

    .qc-platform .section-header h2 {
        font-size: 1.35rem;
    }

    .qc-platform .section-header > p:not(.qc-flow-badge):not(.qc-hero-badge) {
        font-size: 0.9rem;
        margin-top: 10px;
    }

    /* Compact pill tabs — swipeable, not full cards */
    .qc-steps {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 4px;
        margin: 0 0 12px;
        padding: 2px 2px 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .qc-steps::-webkit-scrollbar {
        display: none;
    }

    .qc-step {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 9px 12px 9px 10px;
        border-radius: 999px;
        transform: none;
        box-shadow: none;
        scroll-snap-align: start;
    }

    .qc-step:hover {
        transform: none;
    }

    .qc-step.is-active {
        background: linear-gradient(160deg, #e8f7f4 0%, #ffffff 60%);
        border-color: rgba(14, 124, 107, 0.55);
        box-shadow: 0 8px 18px rgba(14, 124, 107, 0.16);
    }

    .qc-step:not(.is-active) {
        opacity: 0.72;
    }

    .qc-step.is-active::after {
        display: none;
    }

    .qc-step-top {
        display: flex;
        align-items: center;
        gap: 0;
    }

    .qc-step-num {
        display: none;
    }

    .qc-step-icon {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        font-size: 1rem;
    }

    .qc-step-text {
        gap: 0;
    }

    .qc-step-text strong {
        font-size: 0.88rem;
        white-space: nowrap;
    }

    .qc-step-text small {
        display: none;
    }

    .qc-stage {
        margin-top: 0;
        padding: 12px;
        border-radius: 18px;
    }

    .qc-stage-head {
        margin-bottom: 10px;
        padding: 0 2px;
    }

    .qc-stage-progress {
        font-size: 0.82rem;
    }

    .qc-stage-cue {
        display: none;
    }

    /* Image first, then short text */
    .qc-tab-panel {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .qc-tab-panel.is-active {
        animation: qcCarouselSlide 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    @keyframes qcCarouselSlide {
        from {
            opacity: 0;
            transform: translate3d(18px, 0, 0);
        }
        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }

    .qc-carousel-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 14px;
        padding-top: 4px;
    }

    .qc-carousel-dots {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .qc-carousel-dot {
        appearance: none;
        width: 9px;
        height: 9px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: #cbd5e1;
        cursor: pointer;
        transition: width 0.25s ease, background 0.25s ease;
    }

    .qc-carousel-dot.is-active {
        width: 26px;
        background: linear-gradient(90deg, #0e7c6b, #14b8a6);
    }

    .qc-carousel-hint {
        margin: 0;
        font-size: 0.72rem;
        font-weight: 700;
        color: #64748b;
        text-align: center;
    }

    .qc-tab-visual {
        order: 1;
    }

    .qc-tab-copy {
        order: 2;
    }

    .qc-shot-stage {
        min-height: 0;
        padding: 10px 4px 18px;
    }

    .qc-shot-device {
        width: 100%;
        transform: none;
    }

    .qc-tab-panel.is-active .qc-shot-device {
        animation: none;
        transform: none;
    }

    .qc-shot-bezel {
        border-width: 7px;
        border-bottom-width: 9px;
        border-radius: 12px 12px 6px 6px;
    }

    .qc-shot-base {
        height: 9px;
        width: 104%;
        margin-left: -2%;
    }

    .qc-shot-float {
        font-size: 0.68rem;
        padding: 7px 9px;
        gap: 6px;
        border-radius: 12px;
    }

    .qc-shot-float-icon {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
    }

    .qc-shot-float-top {
        top: 2%;
        right: -2px;
    }

    .qc-shot-float-bottom {
        left: -2px;
        bottom: 2%;
    }

    .qc-tab-kicker {
        display: none;
    }

    .qc-tab-copy h3 {
        font-size: 1.15rem;
        line-height: 1.3;
        margin: 0 0 12px;
        max-width: none;
    }

    /* 2–3 checklist bullets under the image */
    .qc-benefit-cols {
        gap: 10px;
    }

    .qc-benefit {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 0;
        border: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .qc-benefit:hover {
        transform: none;
        border-color: transparent;
        box-shadow: none;
    }

    .qc-benefit:nth-child(n + 4) {
        display: none;
    }

    .qc-benefit-icon {
        width: 22px;
        height: 22px;
        margin-top: 1px;
        border-radius: 50%;
        background: rgba(255, 101, 0, 0.12);
        color: #ff6500;
        font-size: 0.78rem;
        font-weight: 800;
        box-shadow: none;
    }

    .qc-benefit-icon i {
        display: none;
    }

    .qc-benefit-icon::after {
        content: "✓";
        line-height: 1;
    }

    .qc-benefit h4 {
        font-size: 0.92rem;
        font-weight: 600;
        margin: 0;
        line-height: 1.4;
        color: #334155;
    }

    .qc-benefit p {
        display: none;
    }

    .qc-status-chips {
        display: none;
    }

    .qc-mobile-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 12px;
    }

    .qc-mobile-nav-btn {
        appearance: none;
        border: 1px solid rgba(15, 27, 51, 0.1);
        background: #ffffff;
        color: #0f1b33;
        border-radius: 12px;
        min-height: 42px;
        padding: 8px 12px;
        font: inherit;
        font-size: 0.86rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
    }

    .qc-mobile-nav-btn.is-next {
        background: linear-gradient(135deg, #ff6500, #ff8a3d);
        border-color: transparent;
        color: #ffffff;
    }

    .qc-mobile-nav-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .qc-mobile-nav-btn i {
        font-size: 1.15rem;
    }
}

@media (max-width: 992px) {
    .qc-close {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 32px 28px;
    }

    .qc-close-copy {
        max-width: none;
        text-align: center;
    }

    .qc-close .btn-primary {
        width: auto;
        align-self: center;
        justify-content: center;
        padding: 12px 24px;
        font-size: 1rem;
    }

    .qc-hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .qc-tab-panel {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    @media (max-width: 900px) {
        .qc-tab-panel {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
    }

    .qc-feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .qc-platform {
        padding: 28px 16px 24px;
    }

    .qc-features .qc-feature-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .qc-features .qc-feature-card {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px 14px;
        align-items: start;
        padding: 14px 14px;
        border-radius: 16px;
        background: #ffffff;
    }

    .qc-features .qc-feature-card::before {
        width: 3px;
        height: auto;
        inset: 10px auto 10px 0;
        border-radius: 999px;
        background: linear-gradient(180deg, #ff6500, #7c6cf0);
    }

    .qc-features .qc-feature-card:hover {
        transform: none;
    }

    .qc-features .qc-feature-icon {
        width: 42px;
        height: 42px;
        margin: 0;
        border-radius: 12px;
        font-size: 1.2rem;
    }

    .qc-features .qc-feature-card h3 {
        font-size: 0.98rem;
        margin-bottom: 4px;
    }

    .qc-features .qc-feature-card p {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .qc-stage {
        padding: 14px 12px 12px;
        border-radius: 22px;
    }

    .qc-stage-head {
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

    .qc-tab-copy h3 {
        max-width: none;
    }

    .qc-hero {
        text-align: center;
        padding: 120px 0 40px;
        overflow-x: clip;
    }

    .qc-hero-copy {
        max-width: 40rem;
        margin: 0 auto;
        padding: 0 4px;
    }

    .qc-hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .qc-hero-copy h1 {
        text-align: center;
        font-size: clamp(2rem, 7vw, 2.75rem);
        margin-bottom: 22px;
    }

    .qc-hero-benefits {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
        text-align: left;
        max-width: 28rem;
    }

    .qc-hero-actions {
        justify-content: center;
        margin-bottom: 8px;
    }

    /* Same floating composition as desktop, scaled to fit the phone screen */
    .qc-hero-visual {
        --qc-compose-w: 560px;
        --qc-compose-h: 440px;
        --qc-compose-scale: 0.72;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        height: calc(var(--qc-compose-h) * var(--qc-compose-scale) + 8px);
        margin: 8px auto 0;
        padding: 0;
        overflow: hidden;
    }

    .qc-hero-desktop-compose {
        display: grid;
        place-items: center;
        position: relative;
        width: var(--qc-compose-w);
        min-height: var(--qc-compose-h);
        flex: 0 0 var(--qc-compose-w);
        transform: scale(var(--qc-compose-scale));
        transform-origin: top center;
    }

    .qc-block {
        padding: 24px 16px;
    }

    .qc-status-chips {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .qc-explore-hint {
        font-size: 0.84rem;
        padding: 9px 12px;
        width: 100%;
        max-width: 22rem;
    }

    .qc-stage-progress {
        font-size: 0.84rem;
    }

    .qc-hero {
        padding: 112px 0 32px;
    }

    .qc-hero-copy h1 {
        font-size: 1.9rem;
        line-height: 1.15;
    }

    .qc-hero-benefits {
        gap: 10px;
        max-width: 100%;
    }

    .qc-hero-benefits li {
        font-size: 0.95rem;
    }

    .qc-hero-actions .btn {
        width: auto;
        justify-content: center;
        white-space: nowrap;
        min-height: 0;
        padding: 11px 20px;
        font-size: 0.95rem;
        gap: 6px;
    }

    .qc-hero-visual {
        --qc-compose-scale: 0.62;
        max-width: 100%;
    }

    .qc-tab-panel {
        padding: 18px 14px;
        gap: 18px;
    }

    .qc-tab-copy h3 {
        font-size: 1.35rem;
    }

    .qc-shot-frame {
        border-radius: 16px;
    }

    .qc-close {
        margin-top: 32px;
        padding: 28px 20px;
        flex-direction: column;
        text-align: center;
    }

    .qc-close-copy {
        max-width: none;
        text-align: center;
    }

    .qc-close .btn-primary {
        width: auto;
        align-self: center;
        justify-content: center;
        padding: 12px 22px;
        font-size: 0.95rem;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qc-tab-panel.is-active {
        animation: none;
    }

    .qc-hero-anim,
    .qc-hero-actions .btn,
    .qc-hero-float-top,
    .qc-hero-float-bottom,
    .qc-shot-float,
    .qc-tab-panel.is-active .qc-shot-device,
    .qc-explore-hint,
    .qc-tab-panel,
    .qc-tab-panel.is-active .qc-tab-kicker,
    .qc-tab-panel.is-active .qc-tab-copy > h3,
    .qc-tab-panel.is-active .qc-benefit,
    .qc-tab-panel.is-active .qc-status-chips,
    .qc-tab-panel.is-active .qc-tab-visual {
        animation: none;
        transition: none;
    }

    .qc-benefit:hover,
    .qc-step:hover {
        transform: none;
    }
}

@media (max-width: 400px) {
    .qc-hero-visual {
        --qc-compose-scale: 0.54;
    }
}

/* In-frame product UI (no QC PNGs yet) */
.qc-shot-frame .qc-screen-mock,
.qc-hero-laptop-screen .qc-screen-mock {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 12px 14px 14px;
    background: #f4f7fb;
    box-sizing: border-box;
    font-size: 0.72rem;
    font-weight: 600;
    color: #12203a;
}

.qc-ui-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #080d20;
    color: #fff;
    font-size: 0.68rem;
}

.qc-ui-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.qc-ui-kpi {
    padding: 8px;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.qc-ui-kpi b {
    display: block;
    font-size: 1rem;
    color: #053aad;
}

.qc-ui-kpi span {
    font-size: 0.58rem;
    color: #64748b;
    text-transform: uppercase;
}

.qc-ui-row {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff;
}

.qc-ui-row .tag {
    width: 32px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e8eefc;
    color: #053aad;
    font-weight: 800;
    font-size: 0.68rem;
}

.qc-ui-row.is-bad {
    background: #fdecea;
}

.qc-ui-row.is-bad .val {
    color: #b42318;
    font-weight: 800;
}

.qc-ui-row small {
    display: block;
    font-size: 0.62rem;
    color: #64748b;
    font-weight: 600;
}

.qc-ui-pill {
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 800;
    white-space: nowrap;
}

.qc-ui-pill.run { background: #e8eefc; color: #053aad; }
.qc-ui-pill.ok { background: #e7f6ee; color: #0f7a4a; }
.qc-ui-pill.bad { background: #fdecea; color: #b42318; }

.qc-hero-phone-screen .qc-phone-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    color: #12203a;
}

.qc-hero-phone-screen .qc-phone-row.is-bad {
    background: #fdecea;
    color: #b42318;
}

/* —— QC module theme (SOP-inspired; distinct from CRM) —— */
.qc-module-page,
.qc-module-page .qc-hero,
.qc-module-page .qc-page,
.qc-module-page .qc-hero h1,
.qc-module-page .qc-page h2,
.qc-module-page .qc-page h3,
.qc-module-page .qc-page p,
.qc-module-page button {
    font-family: Inter, system-ui, sans-serif;
}

.qc-module-page {
    background: #eef1f6;
}

.qc-module-page .qc-hero {
    padding: 148px 0 64px;
    background: #ffffff;
    color: inherit;
}

.qc-module-page .qc-hero-bg {
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 101, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 210, 255, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse 48% 52% at 78% 42%, rgba(147, 197, 253, 0.28), transparent 70%),
        radial-gradient(ellipse 36% 40% at 92% 70%, rgba(255, 178, 120, 0.22), transparent 72%),
        radial-gradient(ellipse 30% 34% at 62% 18%, rgba(196, 181, 253, 0.16), transparent 70%),
        #ffffff;
}

.qc-module-page .qc-hero-kicker {
    margin: 0 0 12px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0e7c6b;
}

.qc-module-page .qc-hero-copy h1 {
    color: #0f1b33;
    max-width: none;
    font-size: clamp(2.55rem, 4.6vw, 3.75rem);
    margin-bottom: 28px;
}

.qc-module-page .qc-hero-copy h1 span {
    color: #ff6500;
}

.qc-module-page .qc-hero-lead {
    margin: 0 0 24px;
    max-width: 38rem;
    font-size: 1.12rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
}

.qc-module-page .qc-hero-benefits {
    display: grid;
    margin: 0 0 28px;
    max-width: 36rem;
}

.qc-module-page .qc-hero-benefits li {
    color: #334155;
    font-weight: 600;
}

.qc-module-page .qc-hero-benefits i {
    background: rgba(255, 101, 0, 0.12);
    color: #ff6500;
}

.qc-module-page .qc-hero-actions .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Key features — semicircle fan */
.qc-keys-section {
    position: relative;
    padding: 72px 0 36px;
    overflow: visible;
    background:
        radial-gradient(ellipse 55% 50% at 50% 78%, rgba(59, 130, 246, 0.1), transparent 70%),
        radial-gradient(circle at 8% 20%, rgba(20, 184, 166, 0.12) 0%, transparent 38%),
        radial-gradient(circle at 92% 24%, rgba(255, 101, 0, 0.1) 0%, transparent 36%),
        linear-gradient(180deg, #f8fbff 0%, #eef3f9 100%);
}

.qc-fan-head {
    max-width: 38rem;
    margin: 0 auto 6px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.qc-fan-kicker {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0e7c6b;
}

.qc-fan-head h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #080d20;
}

.qc-fan-head p {
    margin: 0;
    color: #5c6678;
    font-size: 1.05rem;
    line-height: 1.55;
}

.qc-fan {
    width: min(100%, 820px);
    margin: 20px auto 0;
    padding-top: 12px;
    overflow: visible;
}

.qc-fan-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1000 / 608;
    overflow: visible;
}

.qc-keys-section .container {
    overflow: visible;
}

.qc-fan-glow {
    position: absolute;
    left: 50%;
    bottom: 4%;
    width: 62%;
    aspect-ratio: 2.2 / 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.22), transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}

.qc-fan-svg {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    overflow: visible;
}

.qc-fan-seg {
    opacity: 0;
    transform-origin: 500px 500px;
    transform: scale(0.88);
}

.qc-fan.is-on .qc-fan-seg {
    animation: qcFanSegIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.07s * var(--i));
}

.qc-fan-seg > path:first-child {
    stroke: rgba(255, 255, 255, 0.45);
    stroke-width: 1.5;
}

.qc-fan-inner {
    opacity: 0.55;
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 1;
}

.qc-fan-num {
    fill: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.04em;
    dominant-baseline: middle;
    paint-order: stroke fill;
    stroke: rgba(8, 13, 32, 0.18);
    stroke-width: 3px;
    pointer-events: none;
}

.qc-fan-lead path {
    fill: none;
    stroke: rgba(71, 85, 105, 0.55);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
}

.qc-fan-dot {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(0.3);
}

.qc-fan-dot--tip {
    fill: #0f172a;
    stroke: #fff;
    stroke-width: 2;
}

.qc-fan-dot--end {
    fill: #64748b;
}

.qc-fan.is-on .qc-fan-lead path {
    animation: qcFanLeadIn 0.55s ease forwards;
    animation-delay: calc(0.4s + (0.06s * var(--i)));
}

.qc-fan.is-on .qc-fan-dot {
    animation: qcFanDotIn 0.35s ease forwards;
    animation-delay: calc(0.62s + (0.06s * var(--i)));
}

.qc-fan-hub {
    position: absolute;
    left: 50%;
    top: calc(548 / 608 * 100%);
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    width: clamp(148px, 26%, 240px);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #14b8a6, #3b82f6, #ff6500) border-box;
    border: 3px solid transparent;
    box-shadow:
        0 16px 36px rgba(15, 55, 110, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    text-align: center;
    color: #0f172a;
}

.qc-fan-hub-icon {
    display: grid;
    place-items: center;
    width: clamp(40px, 6.5%, 56px);
    height: clamp(40px, 6.5%, 56px);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(20, 184, 166, 0.16), rgba(59, 130, 246, 0.16));
    color: #0e7c6b;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.qc-fan-hub strong {
    font-size: clamp(0.68rem, 1.25vw, 0.86rem);
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.15;
    max-width: 10ch;
}

.qc-fan-labels {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.qc-fan-labels li {
    position: absolute;
    left: var(--x);
    top: var(--y);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
}

.qc-fan-labels .is-left {
    transform: translate(calc(-100% - 8px), -50%);
}

.qc-fan-labels .is-right {
    transform: translate(8px, -50%);
}

.qc-fan-labels .is-center {
    transform: translate(-50%, -50%);
}

.qc-fan.is-on .qc-fan-labels .is-left {
    animation: qcFanLabelInLeft 0.45s ease forwards;
    animation-delay: calc(0.55s + (0.06s * var(--i)));
}

.qc-fan.is-on .qc-fan-labels .is-right {
    animation: qcFanLabelInRight 0.45s ease forwards;
    animation-delay: calc(0.55s + (0.06s * var(--i)));
}

.qc-fan.is-on .qc-fan-labels .is-center {
    animation: qcFanLabelInCenter 0.45s ease forwards;
    animation-delay: calc(0.55s + (0.06s * var(--i)));
}

.qc-fan-labels span {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 55, 110, 0.09);
    box-shadow: 0 6px 16px rgba(15, 55, 110, 0.08);
    color: #12253f;
    font-size: clamp(0.74rem, 1.15vw, 0.86rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.qc-fan-mobile {
    display: none;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    gap: 10px;
}

.qc-fan-mobile li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(15, 55, 110, 0.08);
    box-shadow: 0 8px 18px rgba(15, 55, 110, 0.05);
}

.qc-fan-mobile b {
    display: grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(145deg, #14b8a6, #1d4ed8);
    color: #fff;
    font-size: 0.75rem;
}

.qc-fan-mobile span {
    font-weight: 700;
    color: #12253f;
}

@keyframes qcFanSegIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes qcFanLeadIn {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes qcFanDotIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes qcFanLabelInLeft {
    from {
        opacity: 0;
        transform: translate(calc(-100% - 16px), -50%);
    }
    to {
        opacity: 1;
        transform: translate(calc(-100% - 8px), -50%);
    }
}

@keyframes qcFanLabelInRight {
    from {
        opacity: 0;
        transform: translate(16px, -50%);
    }
    to {
        opacity: 1;
        transform: translate(8px, -50%);
    }
}

@keyframes qcFanLabelInCenter {
    from {
        opacity: 0;
        transform: translate(-50%, -65%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .qc-fan-seg,
    .qc-fan-labels li,
    .qc-fan-lead path,
    .qc-fan-dot {
        opacity: 1 !important;
        animation: none !important;
        stroke-dashoffset: 0 !important;
        transform: none !important;
    }

    .qc-fan-labels .is-left {
        transform: translate(calc(-100% - 8px), -50%) !important;
    }

    .qc-fan-labels .is-right {
        transform: translate(8px, -50%) !important;
    }

    .qc-fan-labels .is-center {
        transform: translate(-50%, -50%) !important;
    }
}

@media (max-width: 900px) {
    .qc-keys-section {
        padding: 48px 12px 28px;
        overflow-x: clip;
    }

    .qc-keys-section .container {
        padding-left: 0;
        padding-right: 0;
        overflow: visible;
    }

    .qc-fan-head {
        margin-bottom: 10px;
        padding: 0 8px;
    }

    .qc-fan-mobile {
        display: none;
    }

    /* Same fan as desktop, scaled so side callouts stay inside the phone */
    .qc-fan {
        --qc-fan-scale: 0.78;
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 8px auto 0;
        padding-top: 4px;
        overflow: visible;
    }

    .qc-fan-stage {
        width: 100%;
        transform: scale(var(--qc-fan-scale));
        transform-origin: top center;
        /* reclaim layout space left by the visual scale */
        margin-bottom: calc((var(--qc-fan-scale) - 1) * 60.8%);
    }

    .qc-fan-num {
        font-size: 15px;
        stroke-width: 2px;
    }

    .qc-fan-hub {
        width: clamp(110px, 26%, 160px);
        top: calc(548 / 608 * 100%);
        transform: translate(-50%, -50%);
        gap: 4px;
    }

    .qc-fan-hub-icon {
        width: 32px;
        height: 32px;
        font-size: 1.05rem;
    }

    .qc-fan-hub strong {
        font-size: 0.58rem;
        letter-spacing: 0.05em;
    }

    .qc-fan-labels .is-left {
        transform: translate(calc(-100% - 2px), -50%);
    }

    .qc-fan-labels .is-right {
        transform: translate(2px, -50%);
    }

    .qc-fan.is-on .qc-fan-labels .is-left {
        animation-name: qcFanLabelInLeftMobile;
    }

    .qc-fan.is-on .qc-fan-labels .is-right {
        animation-name: qcFanLabelInRightMobile;
    }

    @keyframes qcFanLabelInLeftMobile {
        from {
            opacity: 0;
            transform: translate(calc(-100% - 10px), -50%);
        }
        to {
            opacity: 1;
            transform: translate(calc(-100% - 2px), -50%);
        }
    }

    @keyframes qcFanLabelInRightMobile {
        from {
            opacity: 0;
            transform: translate(10px, -50%);
        }
        to {
            opacity: 1;
            transform: translate(2px, -50%);
        }
    }

    .qc-fan-labels span {
        padding: 5px 8px;
        font-size: 0.6rem;
        box-shadow: 0 4px 12px rgba(15, 55, 110, 0.08);
    }
}

@media (max-width: 600px) {
    .qc-fan {
        --qc-fan-scale: 0.72;
    }

    .qc-fan-labels span {
        padding: 4px 7px;
        font-size: 0.54rem;
    }
}

@media (max-width: 480px) {
    .qc-keys-section {
        padding: 40px 8px 24px;
    }

    .qc-fan {
        --qc-fan-scale: 0.66;
        padding-top: 2px;
    }

    .qc-fan-labels span {
        padding: 3px 6px;
        font-size: 0.5rem;
        letter-spacing: 0;
    }

    .qc-fan-hub {
        width: clamp(96px, 28%, 136px);
        top: calc(548 / 608 * 100%);
        transform: translate(-50%, -50%);
        gap: 3px;
    }

    .qc-fan-hub-icon {
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
    }

    .qc-fan-hub strong {
        font-size: 0.52rem;
    }

    .qc-fan-num {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .qc-fan {
        --qc-fan-scale: 0.6;
    }
}

.qc-module-page .qc-hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 100%;
    max-width: 620px;
    min-height: auto;
}

.qc-hero-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 101, 0, 0.16);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.qc-hero-ring-1 {
    width: min(92%, 420px);
    aspect-ratio: 1;
}

.qc-hero-ring-2 {
    width: min(108%, 520px);
    aspect-ratio: 1;
    border-color: rgba(0, 194, 255, 0.14);
}

.qc-hero-visual .qc-live-card {
    position: relative;
    z-index: 2;
    margin: 0;
    max-width: 100%;
}

/* Hero live card (like SOP live-card) */
.qc-live-card {
    background: #fff;
    color: #1c2433;
    border-radius: 28px;
    padding: 22px;
    margin: 0;
    list-style: none;
    box-shadow:
        0 24px 56px rgba(8, 13, 32, 0.12),
        0 0 0 1px rgba(8, 13, 32, 0.04),
        0 0 0 5px rgba(14, 124, 107, 0.14);
    max-width: 440px;
    width: 100%;
    justify-self: end;
}

.qc-live-progress {
    height: 8px;
    margin: 0 0 16px;
    border-radius: 999px;
    background: #eef1f6;
    overflow: hidden;
}

.qc-live-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0e7c6b, #ff6500);
}

.qc-live-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.qc-live-top p {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.qc-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.qc-live-pill--run {
    background: #e8eefc;
    color: #1a4f8b;
}

.qc-live-title {
    margin: 8px 0 14px;
    font-size: 1.35rem;
    color: #080d20;
}

.qc-live-tests {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.qc-live-test {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f4f6f8;
    font-weight: 700;
    font-size: 0.9rem;
}

.qc-live-test b {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    margin-right: 8px;
    padding: 0 6px;
    border-radius: 8px;
    background: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    color: #1a4f8b;
}

.qc-live-test em {
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 800;
    color: #5c6678;
}

.qc-live-test.is-done {
    background: #e7f6ee;
}

.qc-live-test.is-done em {
    color: #157a45;
}

.qc-live-test.is-now {
    display: block;
    background: #fff4ec;
    box-shadow: inset 0 0 0 2px #c4453a;
}

.qc-live-test-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.qc-live-test.is-now em {
    color: #c2410c;
}

.qc-live-test.is-lock em {
    color: #8b93a3;
}

.qc-spec-band {
    position: relative;
    height: 10px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f7b2aa 0%, #b7ebc9 22%, #b7ebc9 78%, #f7b2aa 100%);
}

.qc-spec-band b {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: 0;
    border-radius: 50%;
    background: #c4453a;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #c4453a;
    transform: translate(-50%, -50%);
}

.qc-spec-read {
    margin: 8px 0 0;
    font-size: 0.82rem;
    font-weight: 800;
}

.qc-spec-read .is-bad {
    color: #c4453a;
}

.qc-live-note {
    margin: 14px 0 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #3d4a63;
}

/* Hero reports card — landscape */
.qc-module-page .qc-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.qc-reports-card.qc-live-card {
    max-width: min(100%, 620px);
    padding: 18px 20px 16px;
}

@media (min-width: 901px) {
    .qc-module-page .qc-reports-card.qc-live-card {
        max-width: 100%;
    }
}

.qc-reports-head {
    margin-bottom: 12px;
}

.qc-reports-card .qc-reports-title {
    margin: 6px 0 0;
    font-size: 1.22rem;
    line-height: 1.25;
}

.qc-reports-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.qc-reports-card .qc-reports-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #080d20;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.qc-reports-card .qc-reports-route span:last-child {
    color: #94a3b8;
    font-weight: 700;
}

.qc-reports-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.qc-reports-kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 10px 8px;
    border-radius: 12px;
    background: #f4f6f8;
    text-align: center;
}

.qc-reports-kpi b {
    display: block;
    font-size: 1rem;
    line-height: 1.15;
    color: #053aad;
}

.qc-reports-kpi span {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    white-space: nowrap;
}

.qc-reports-kpi.is-good b {
    color: #157a45;
}

.qc-reports-kpi.is-warn b {
    color: #c2410c;
}

.qc-reports-chart {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 10px 12px 8px;
    border-radius: 14px;
    background: #f4f6f8;
    border: 1px solid rgba(14, 124, 107, 0.12);
}

.qc-reports-chart svg {
    display: block;
    width: 100%;
    height: 52px;
}

.qc-reports-card .qc-reports-note {
    margin: 10px 0 0;
    font-size: 0.82rem;
    line-height: 1.4;
}

/* Page & platform — lab tones */
.qc-module-page .qc-page {
    background: #eef1f6;
}

.qc-module-page .qc-section-kicker {
    display: inline-block;
    margin: 0 auto 12px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0e7c6b;
}

.qc-module-page .qc-flow-badge.qc-hero-badge {
    display: none;
}

.qc-module-page .qc-platform {
    border-radius: 28px;
    border-color: rgba(14, 124, 107, 0.1);
}

.qc-module-page .qc-step:nth-child(1) .qc-step-icon { background: #e8f7f4; color: #0e7c6b; }
.qc-module-page .qc-step:nth-child(2) .qc-step-icon { background: #e8eefc; color: #1a4f8b; }
.qc-module-page .qc-step:nth-child(3) .qc-step-icon { background: #fff4ec; color: #c2410c; }
.qc-module-page .qc-step:nth-child(4) .qc-step-icon { background: #eef6ff; color: #2563eb; }
.qc-module-page .qc-step:nth-child(5) .qc-step-icon { background: #f3e8ff; color: #6d28d9; }

.qc-module-page .qc-step.is-active {
    background: linear-gradient(160deg, #e8f7f4 0%, #ffffff 55%, #eef6ff 100%);
    border-color: rgba(14, 124, 107, 0.45);
    box-shadow:
        0 18px 36px rgba(14, 124, 107, 0.12),
        0 0 0 3px rgba(14, 124, 107, 0.08);
}

.qc-module-page .qc-step.is-active::after {
    border-color: rgba(14, 124, 107, 0.45);
}

.qc-module-page .qc-step.is-active .qc-step-num {
    color: #0e7c6b;
}

.qc-module-page .qc-step.is-active .qc-step-icon {
    background: linear-gradient(135deg, #0e7c6b, #14b8a6);
    color: #fff;
    box-shadow: 0 10px 18px rgba(14, 124, 107, 0.28);
}

.qc-module-page .qc-stage {
    border-radius: 24px;
    background:
        radial-gradient(ellipse 55% 45% at 100% 0%, rgba(14, 124, 107, 0.06), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
    border-color: rgba(14, 124, 107, 0.12);
}

.qc-module-page .qc-stage-cue {
    color: #0e7c6b;
}

.qc-module-page .qc-tab-kicker {
    background: rgba(14, 124, 107, 0.1);
    border-color: rgba(14, 124, 107, 0.18);
    color: #0e7c6b;
}

.qc-module-page .qc-benefit-icon {
    background: linear-gradient(145deg, rgba(14, 124, 107, 0.14), rgba(26, 79, 139, 0.1));
    color: #0e7c6b;
}

/* Flat product preview (no CRM laptop) */
.qc-module-page .qc-shot-stage {
    min-height: 280px;
    padding: 12px 8px 20px;
}

.qc-module-page .qc-shot-glow-a {
    background: rgba(14, 124, 107, 0.25);
}

.qc-module-page .qc-shot-glow-b {
    background: rgba(26, 79, 139, 0.2);
}

.qc-module-page .qc-shot-device {
    width: 100%;
    max-width: 480px;
    transform: none !important;
    animation: none !important;
}

.qc-module-page .qc-tab-panel.is-active .qc-shot-device {
    animation: none !important;
}

.qc-module-page .qc-shot-bezel {
    border: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow:
        0 24px 56px rgba(8, 13, 32, 0.1),
        0 0 0 4px rgba(14, 124, 107, 0.12);
}

.qc-module-page .qc-shot-frame::before {
    background: linear-gradient(90deg, #0e7c6b, #1a4f8b 55%, #ff6500);
}

.qc-module-page .qc-shot-base {
    display: none;
}

.qc-module-page .qc-shot-float {
    border-color: rgba(14, 124, 107, 0.12);
    font-size: 0.74rem;
}

.qc-module-page .qc-shot-float-icon.is-teal {
    background: #ccfbf1;
    color: #0e7c6b;
}

.qc-module-page .qc-ui-bar {
    background: #101b35;
}

.qc-module-page .qc-ui-row .tag {
    background: #e0f2f1;
    color: #0e7c6b;
}

/* Feature grid */
.qc-module-page .qc-feature-card::before {
    background: linear-gradient(90deg, #0e7c6b, #1a4f8b 55%, #ff6500);
}

.qc-module-page .qc-feature-icon {
    background: #e8f7f4;
    color: #0e7c6b;
    box-shadow: 0 8px 18px rgba(14, 124, 107, 0.12);
}

.qc-module-page .qc-feature-card:hover {
    border-color: rgba(14, 124, 107, 0.25);
}

/* Manual QC vs Octopus MES — liquid glass problem/solution */
.qc-module-page .qc-block.qc-contrast {
    position: relative;
    overflow: visible;
    margin-bottom: 40px;
    padding: 28px 22px 32px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 32px;
    background:
        radial-gradient(ellipse 70% 80% at 12% 20%, rgba(255, 178, 160, 0.28), transparent 55%),
        radial-gradient(ellipse 65% 75% at 88% 78%, rgba(110, 231, 183, 0.26), transparent 55%),
        radial-gradient(ellipse 50% 60% at 50% 0%, rgba(147, 197, 253, 0.2), transparent 60%),
        rgba(255, 255, 255, 0.28);
    box-shadow:
        0 24px 56px rgba(8, 13, 32, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.qc-module-page .qc-contrast .section-header {
    margin-bottom: 28px;
    text-align: center;
}

.qc-module-page .qc-contrast .section-header h2 {
    max-width: 28ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.55rem, 2.8vw, 2.15rem);
    line-height: 1.3;
    color: #080d20;
    text-transform: none;
    letter-spacing: -0.02em;
}

.qc-module-page .qc-contrast .section-header h2 span {
    color: #ff6500;
}

.qc-module-page .qc-contrast .section-header p {
    max-width: 36rem;
    margin: 12px auto 0;
    color: #5c6678;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* SOP-style problem / solution pairs — liquid glass */
.qc-fixes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.qc-fixes article {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 18px 40px rgba(8, 13, 32, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

.qc-fix-problem,
.qc-fix-solution {
    padding: 22px 22px 24px;
}

.qc-fix-problem {
    background: linear-gradient(165deg, rgba(255, 241, 238, 0.55) 0%, rgba(255, 210, 203, 0.42) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.qc-fix-solution {
    background: linear-gradient(165deg, rgba(237, 251, 243, 0.55) 0%, rgba(183, 235, 201, 0.42) 100%);
}

.qc-fix-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 14px;
    color: #fff;
    font-size: 1.45rem;
}

.qc-fix-problem .qc-fix-ico {
    background: #c4453a;
    box-shadow: 0 8px 16px rgba(196, 69, 58, 0.35);
}

.qc-fix-solution .qc-fix-ico {
    background: #12824a;
    box-shadow: 0 8px 16px rgba(18, 130, 74, 0.35);
}

.qc-fix-problem span,
.qc-fix-solution span {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.qc-fix-problem span {
    color: #c4453a;
}

.qc-fix-solution span {
    color: #12824a;
}

.qc-fix-problem h3,
.qc-fix-solution h3 {
    margin: 12px 0 0;
    font-size: 1.15rem;
    color: #080d20;
}

.qc-fix-problem p,
.qc-fix-solution p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #3d4a63;
}

.qc-fix-mini,
.qc-fix-chip,
.qc-fix-paper,
.qc-fix-live {
    margin: 0 0 4px;
}

.qc-fix-mini {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 6px;
}

.qc-fix-mini li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.86rem;
    font-weight: 700;
    color: #1a2744;
}

.qc-fix-mini li em {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 800;
}

.qc-fix-mini li.is-miss {
    color: #c4453a;
}

.qc-fix-mini li.is-miss em {
    text-decoration: line-through;
}

.qc-fix-mini li.is-ok em {
    color: #12824a;
}

.qc-fix-mini li.is-now {
    box-shadow: inset 0 0 0 2px #ff6500;
}

.qc-fix-mini li.is-now em {
    color: #c2410c;
}

.qc-fix-chip,
.qc-fix-paper,
.qc-fix-live {
    display: grid;
    gap: 6px;
    padding: 14px 14px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 8px 20px rgba(8, 13, 32, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px) saturate(1.25);
    -webkit-backdrop-filter: blur(12px) saturate(1.25);
}

.qc-fix-chip strong {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: #c4453a;
    line-height: 1.15;
}

.qc-fix-chip em,
.qc-fix-paper em,
.qc-fix-live em {
    font-style: normal;
    font-weight: 800;
    font-size: 0.8rem;
    color: #5c6678;
}

.qc-fix-chip.is-good {
    gap: 10px;
}

.qc-fix-chip.is-good strong {
    color: #12824a;
    font-size: 1.05rem;
}

.qc-fix-vbar {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: rgba(18, 130, 74, 0.15);
    overflow: hidden;
}

.qc-fix-vbar b {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #14b8a6, #12824a);
}

.qc-fix-paper,
.qc-fix-live {
    gap: 8px;
}

.qc-fix-paper b,
.qc-fix-live b {
    font-size: 1.05rem;
    color: #080d20;
}

.qc-fix-paper {
    box-shadow: inset 0 0 0 1px rgba(196, 69, 58, 0.35);
}

.qc-fix-live {
    box-shadow: inset 0 0 0 2px #12824a;
}

.qc-fix-paper em {
    color: #c4453a;
}

.qc-fix-live em {
    color: #12824a;
}

.qc-fix-join {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: rgba(8, 13, 32, 0.82);
    color: #ff8a3d;
    font-size: 1.35rem;
    transform: translate(-50%, -50%);
    box-shadow:
        0 10px 22px rgba(8, 13, 32, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 980px) {
    /* Cards stack; each card keeps Manual | MES side by side */
    .qc-fixes {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .qc-fixes article {
        grid-template-columns: 1fr 1fr;
    }

    .qc-fix-join {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
        transform: translate(-50%, -50%);
    }

    .qc-fix-problem,
    .qc-fix-solution {
        padding: 14px 12px 16px;
    }

    .qc-fix-problem span,
    .qc-fix-solution span {
        font-size: 0.62rem;
        letter-spacing: 0.08em;
        margin-bottom: 6px;
    }

    .qc-fix-problem h3,
    .qc-fix-solution h3 {
        margin-top: 8px;
        font-size: 0.88rem;
        line-height: 1.25;
    }

    .qc-fix-chip,
    .qc-fix-paper,
    .qc-fix-live {
        padding: 10px 10px 9px;
        border-radius: 12px;
        gap: 4px;
    }

    .qc-fix-chip strong {
        font-size: 1rem;
    }

    .qc-fix-chip.is-good strong {
        font-size: 0.86rem;
    }

    .qc-fix-chip em,
    .qc-fix-paper em,
    .qc-fix-live em {
        font-size: 0.68rem;
    }

    .qc-fix-paper b,
    .qc-fix-live b {
        font-size: 0.88rem;
    }

    .qc-fix-mini {
        gap: 4px;
    }

    .qc-fix-mini li {
        padding: 6px 8px;
        font-size: 0.72rem;
        border-radius: 8px;
        gap: 6px;
    }

    .qc-fix-mini li em {
        font-size: 0.62rem;
    }

    .qc-fix-vbar {
        height: 6px;
    }
}

@media (max-width: 480px) {
    .qc-module-page .qc-block.qc-contrast {
        padding: 20px 12px 22px;
        border-radius: 22px;
    }

    .qc-fix-problem,
    .qc-fix-solution {
        padding: 12px 8px 14px;
    }

    .qc-fix-problem h3,
    .qc-fix-solution h3 {
        font-size: 0.78rem;
    }

    .qc-fix-join {
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
        border-width: 2px;
    }

    .qc-fix-chip strong {
        font-size: 0.9rem;
    }

    .qc-fix-chip.is-good strong {
        font-size: 0.78rem;
    }
}

.qc-diff {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 4px auto 0;
}

.qc-diff-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px) minmax(0, 1fr);
    align-items: center;
    gap: 0 28px;
    min-height: 520px;
}

.qc-diff-core {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
}

.qc-diff-glow {
    position: absolute;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.55;
    pointer-events: none;
}

.qc-diff-glow--left {
    left: 8%;
    background: rgba(168, 200, 58, 0.45);
}

.qc-diff-glow--right {
    right: 8%;
    background: rgba(255, 143, 92, 0.4);
}

.qc-diff-orb {
    position: relative;
    z-index: 3;
    width: min(100%, 360px);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 7px solid #fff;
    box-shadow:
        0 28px 56px rgba(8, 13, 32, 0.14),
        0 0 0 1px rgba(8, 13, 32, 0.04);
}

.qc-diff-orb::after {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.55);
    z-index: 2;
    pointer-events: none;
}

.qc-diff-half {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    opacity: 0;
}

.qc-diff-half b {
    position: relative;
    z-index: 1;
    max-width: 100%;
    font-size: clamp(1.2rem, 2.1vw, 1.7rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
}

.qc-diff-half--left {
    left: 0;
    padding: 0 44px 0 18px;
    background: linear-gradient(160deg, #d4e86a 0%, #a8c83a 52%, #7fa81f 100%);
    transform: translateX(-28%);
}

.qc-diff-half--right {
    right: 0;
    padding: 0 18px 0 44px;
    background: linear-gradient(200deg, #ffc09a 0%, #ff8f5c 48%, #ff6500 100%);
    transform: translateX(28%);
}

.qc-diff-vs {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: #101b35;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 24px rgba(8, 13, 32, 0.28);
    opacity: 0;
}

.qc-diff-lines {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(700px, 68%);
    height: 520px;
    margin: -260px 0 0 -350px;
    pointer-events: none;
    overflow: visible;
    z-index: 2;
}

.qc-diff-line-group--left .qc-diff-line {
    stroke: #8fb428;
}

.qc-diff-line-group--right .qc-diff-line {
    stroke: #ff6500;
}

.qc-diff-line {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    opacity: 0.9;
}

.qc-diff-labels {
    position: relative;
    z-index: 4;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    height: 520px;
    align-content: space-between;
    padding-block: 10px;
}

.qc-diff-labels li {
    opacity: 0;
    transform: translateY(10px);
}

.qc-diff-label {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    min-width: 11.5rem;
}

.qc-diff-label em {
    margin: 0;
    font-style: normal;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a2744;
    line-height: 1.25;
}

.qc-diff-rail {
    position: relative;
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
}

.qc-diff-rail::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.qc-diff-labels--left {
    justify-items: end;
    padding-right: 6px;
}

.qc-diff-labels--left li {
    transform: translateX(-16px);
}

.qc-diff-labels--left .qc-diff-label {
    align-items: flex-end;
    text-align: right;
}

.qc-diff-labels--left .qc-diff-rail {
    background: #8fb428;
}

.qc-diff-labels--left .qc-diff-rail::after {
    left: 0;
    transform: translate(-50%, -50%);
    background: #8fb428;
}

.qc-diff-labels--right {
    justify-items: start;
    padding-left: 6px;
}

.qc-diff-labels--right li {
    transform: translateX(16px);
}

.qc-diff-labels--right .qc-diff-label {
    align-items: flex-start;
    text-align: left;
}

.qc-diff-labels--right .qc-diff-rail {
    background: #ff6500;
}

.qc-diff-labels--right .qc-diff-rail::after {
    right: 0;
    transform: translate(50%, -50%);
    background: #ff6500;
}

.qc-diff.is-on .qc-diff-half--left {
    animation: qcDiffHalfIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.qc-diff.is-on .qc-diff-half--right {
    animation: qcDiffHalfIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.qc-diff.is-on .qc-diff-vs {
    animation: qcDiffVsIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.qc-diff.is-on .qc-diff-line {
    animation: qcDiffLineDraw 0.75s ease forwards;
}

.qc-diff.is-on .qc-diff-line-group--left .qc-diff-line:nth-child(1),
.qc-diff.is-on .qc-diff-line-group--right .qc-diff-line:nth-child(1) { animation-delay: 0.34s; }
.qc-diff.is-on .qc-diff-line-group--left .qc-diff-line:nth-child(2),
.qc-diff.is-on .qc-diff-line-group--right .qc-diff-line:nth-child(2) { animation-delay: 0.4s; }
.qc-diff.is-on .qc-diff-line-group--left .qc-diff-line:nth-child(3),
.qc-diff.is-on .qc-diff-line-group--right .qc-diff-line:nth-child(3) { animation-delay: 0.46s; }
.qc-diff.is-on .qc-diff-line-group--left .qc-diff-line:nth-child(4),
.qc-diff.is-on .qc-diff-line-group--right .qc-diff-line:nth-child(4) { animation-delay: 0.52s; }
.qc-diff.is-on .qc-diff-line-group--left .qc-diff-line:nth-child(5),
.qc-diff.is-on .qc-diff-line-group--right .qc-diff-line:nth-child(5) { animation-delay: 0.58s; }

.qc-diff.is-on .qc-diff-labels li {
    animation: qcDiffLabelIn 0.5s ease forwards;
    animation-delay: calc(0.6s + (var(--i) * 0.08s));
}

@keyframes qcDiffHalfIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes qcDiffVsIn {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes qcDiffLineDraw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes qcDiffLabelIn {
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .qc-diff-half,
    .qc-diff-line,
    .qc-diff-vs,
    .qc-diff-labels li {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        stroke-dashoffset: 0 !important;
    }

    .qc-diff-vs {
        transform: translate(-50%, -50%) !important;
    }
}

/* Phone/tablet: keep laptop Manual vs MES layout, just scale to fit */
@media (max-width: 980px) {
    .qc-module-page .qc-block.qc-contrast {
        overflow-x: clip;
        padding-left: 0;
        padding-right: 0;
    }

    .qc-diff {
        --qc-diff-base: 860px;
        --qc-diff-scale: min(1, calc((100vw - 28px) / var(--qc-diff-base)));
        width: 100%;
        max-width: 100%;
        overflow: visible;
        display: flex;
        justify-content: center;
    }

    .qc-diff-stage {
        flex: 0 0 var(--qc-diff-base);
        width: var(--qc-diff-base);
        max-width: none;
        grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) minmax(0, 1fr);
        gap: 0 18px;
        min-height: 480px;
        transform: scale(var(--qc-diff-scale));
        transform-origin: top center;
        margin-bottom: calc((var(--qc-diff-scale) - 1) * 480px);
    }

    .qc-diff-lines {
        display: block;
        width: min(640px, 72%);
        height: 480px;
        margin: -240px 0 0 -320px;
    }

    .qc-diff-orb {
        width: min(100%, 300px);
    }

    .qc-diff-labels {
        height: 480px;
        gap: 0;
        padding-block: 8px;
    }

    .qc-diff-label {
        min-width: 9.5rem;
    }

    .qc-diff-label em {
        font-size: 0.78rem;
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }

    .qc-diff-half b {
        font-size: 1.15rem;
    }

    .qc-diff-vs {
        width: 42px;
        height: 42px;
        font-size: 0.68rem;
    }
}

@media (max-width: 600px) {
    .qc-diff {
        --qc-diff-base: 820px;
    }

    .qc-diff-stage {
        min-height: 460px;
        margin-bottom: calc((var(--qc-diff-scale) - 1) * 460px);
    }

    .qc-diff-labels {
        height: 460px;
    }

    .qc-diff-orb {
        width: min(100%, 280px);
    }
}

/* Functionalities — reports, QR, email, etc. */
.qc-module-page .qc-block.qc-funcs {
    padding: 36px 28px 40px;
    background:
        radial-gradient(ellipse 55% 70% at 8% 0%, rgba(14, 124, 107, 0.1), transparent 55%),
        radial-gradient(ellipse 50% 60% at 92% 100%, rgba(255, 101, 0, 0.1), transparent 55%),
        rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 20px 48px rgba(8, 13, 32, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px) saturate(1.25);
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
}

.qc-func-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.qc-func-card {
    padding: 22px 20px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 12px 28px rgba(8, 13, 32, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qc-func-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 36px rgba(8, 13, 32, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.qc-func-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(14, 124, 107, 0.14), rgba(255, 101, 0, 0.12));
    color: #0e7c6b;
    font-size: 1.4rem;
}

.qc-func-card:nth-child(2) .qc-func-icon,
.qc-func-card:nth-child(6) .qc-func-icon {
    color: #1a4f8b;
    background: linear-gradient(145deg, rgba(26, 79, 139, 0.14), rgba(59, 130, 246, 0.12));
}

.qc-func-card:nth-child(3) .qc-func-icon,
.qc-func-card:nth-child(4) .qc-func-icon {
    color: #c2410c;
    background: linear-gradient(145deg, rgba(255, 101, 0, 0.16), rgba(251, 146, 60, 0.12));
}

.qc-func-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    color: #080d20;
    letter-spacing: -0.01em;
}

.qc-func-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #3d4a63;
}

@media (max-width: 1100px) {
    .qc-func-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .qc-func-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .qc-module-page .qc-block.qc-funcs {
        padding: 28px 16px 30px;
    }

    .qc-func-card {
        padding: 18px 16px 16px;
        border-radius: 16px;
    }

    .qc-func-card h3 {
        font-size: 1rem;
    }

    .qc-func-card p {
        font-size: 0.86rem;
    }
}

@media (max-width: 480px) {
    .qc-func-grid {
        grid-template-columns: 1fr;
    }
}

/* Close band */
.qc-module-page .qc-close {
    background:
        radial-gradient(ellipse 70% 120% at 100% 0%, rgba(14, 124, 107, 0.28), transparent 55%),
        linear-gradient(135deg, #0a1628 0%, #122a4a 55%, #0e7c6b 120%);
}

.qc-module-page .qc-close-eyebrow {
    color: #5eead4;
}

.qc-module-page .qc-mobile-nav-btn.is-next {
    background: linear-gradient(135deg, #0e7c6b, #14b8a6);
}

@media (max-width: 992px) {
    .qc-module-page .qc-hero {
        text-align: center;
        padding: 110px 0 40px;
        overflow-x: clip;
    }

    .qc-module-page .qc-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        max-width: 100%;
    }

    /* Reset desktop compose scaling — reports card must fit the phone width */
    .qc-module-page .qc-hero-visual {
        --qc-compose-w: auto;
        --qc-compose-h: auto;
        --qc-compose-scale: 1;
        order: 0;
        display: block;
        justify-self: stretch;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        height: auto;
        margin: 8px auto 0;
        padding: 0;
        overflow: visible;
    }

    .qc-module-page .qc-hero-ring {
        display: none;
    }

    .qc-module-page .qc-reports-card.qc-live-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 14px 14px 12px;
        border-radius: 20px;
        box-sizing: border-box;
        box-shadow:
            0 16px 36px rgba(8, 13, 32, 0.1),
            0 0 0 1px rgba(8, 13, 32, 0.04),
            0 0 0 3px rgba(14, 124, 107, 0.12);
    }

    .qc-module-page .qc-reports-card .qc-reports-route {
        margin-bottom: 10px;
        padding: 7px 10px;
        font-size: 0.62rem;
        gap: 6px;
    }

    .qc-module-page .qc-reports-card .qc-reports-route span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 48%;
    }

    .qc-module-page .qc-reports-card .qc-live-top {
        gap: 8px;
        flex-wrap: wrap;
    }

    .qc-module-page .qc-reports-card .qc-reports-title {
        font-size: 1.05rem;
    }

    .qc-module-page .qc-reports-kpis {
        gap: 6px;
    }

    .qc-module-page .qc-reports-kpi {
        padding: 8px 4px;
        border-radius: 10px;
    }

    .qc-module-page .qc-reports-kpi b {
        font-size: 0.92rem;
    }

    .qc-module-page .qc-reports-kpi span {
        font-size: 0.56rem;
        letter-spacing: 0.04em;
    }

    .qc-module-page .qc-reports-chart {
        padding: 8px 10px 6px;
        border-radius: 12px;
    }

    .qc-module-page .qc-reports-chart svg {
        height: 44px;
    }

    .qc-module-page .qc-reports-card .qc-reports-note {
        margin-top: 8px;
        font-size: 0.76rem;
        line-height: 1.35;
    }

    .qc-module-page .qc-hero-copy {
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        text-align: center;
    }

    .qc-module-page .qc-hero-copy h1 {
        max-width: none;
        font-size: clamp(1.85rem, 7.5vw, 2.4rem);
        margin-bottom: 18px;
        text-align: center;
    }

    .qc-module-page .qc-hero-kicker {
        text-align: center;
    }

    .qc-module-page .qc-hero-actions {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .qc-module-page .qc-hero {
        padding: 100px 0 32px;
    }

    .qc-module-page .qc-reports-card.qc-live-card {
        padding: 12px 12px 10px;
        border-radius: 16px;
    }

    .qc-module-page .qc-reports-card .qc-reports-route span:last-child {
        display: none;
    }

    .qc-module-page .qc-hero-actions .btn {
        width: 100%;
        max-width: 20rem;
    }
}

/* Phone: flow preview — full-width card, no overlapping floats */
@media (max-width: 900px) {
    .qc-module-page .qc-platform {
        overflow-x: hidden;
    }

    .qc-module-page .qc-stage {
        overflow-x: hidden;
        padding: 12px 10px 14px;
    }

    .qc-module-page .qc-tab-panels {
        overflow: hidden;
        width: 100%;
    }

    .qc-module-page .qc-tab-visual {
        width: 100%;
        max-width: 100%;
    }

    .qc-module-page .qc-shot-stage {
        min-height: 0;
        padding: 4px 0 10px;
        display: block;
    }

    .qc-module-page .qc-shot-glow {
        display: none;
    }

    .qc-module-page .qc-shot-float {
        display: none;
    }

    .qc-module-page .qc-shot-device {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .qc-module-page .qc-shot-bezel {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: 18px;
        box-shadow:
            0 14px 32px rgba(8, 13, 32, 0.08),
            0 0 0 1px rgba(14, 124, 107, 0.14);
    }

    .qc-module-page .qc-shot-frame {
        aspect-ratio: auto;
        min-height: 0;
    }

    .qc-module-page .qc-shot-frame .qc-screen-mock {
        min-height: 210px;
        height: auto;
        padding: 14px 12px 16px;
        font-size: 0.8rem;
        gap: 10px;
    }

    .qc-module-page .qc-ui-bar {
        font-size: 0.72rem;
        padding: 10px 12px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .qc-module-page .qc-ui-row {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 8px;
        padding: 10px 12px;
        font-size: 0.78rem;
    }

    .qc-module-page .qc-ui-row .tag {
        width: 38px;
        height: 32px;
    }

    .qc-module-page .qc-ui-row small {
        font-size: 0.68rem;
        word-break: break-word;
    }

    .qc-module-page .qc-ui-pill {
        font-size: 0.62rem;
        padding: 4px 8px;
    }

    .qc-module-page .qc-benefit-icon {
        background: rgba(14, 124, 107, 0.12);
        color: #0e7c6b;
    }

    .qc-module-page .qc-stage-head {
        margin-bottom: 12px;
    }

    .qc-module-page .qc-stage-progress {
        font-size: 0.8rem;
        line-height: 1.35;
    }
}

@media (max-width: 480px) {
    .qc-module-page .qc-shot-frame .qc-screen-mock {
        min-height: 190px;
        padding: 12px 10px 14px;
    }

    .qc-module-page .qc-ui-row {
        grid-template-columns: 36px minmax(0, 1fr);
        grid-template-rows: auto auto;
    }

    .qc-module-page .qc-ui-row > .qc-ui-pill,
    .qc-module-page .qc-ui-row > span:last-child:not(.tag):not(small) {
        grid-column: 2;
        justify-self: start;
        margin-top: 2px;
    }

    .qc-module-page .qc-ui-kpis {
        gap: 6px;
    }

    .qc-module-page .qc-ui-kpi b {
        font-size: 0.95rem;
    }

    .qc-module-page .qc-steps {
        margin-bottom: 10px;
    }

    .qc-module-page .qc-tab-copy h3 {
        font-size: 1.08rem;
    }
}
