/* Batch & Material Traceability — compact product page (Dip Log pattern) */

:root {
    --tr-ink: #071018;
    --tr-ink-soft: #13202c;
    --tr-paper: #f3f6f8;
    --tr-snow: #ffffff;
    --tr-muted: #5b6b78;
    --tr-line: rgba(7, 16, 24, 0.08);
    --tr-cyan: #1aa7c4;
    --tr-cyan-deep: #0e7a92;
    --tr-orange: #ff6500;
    --tr-warn: #d97706;
    --tr-ok: #0d9488;
    --tr-display: "Plus Jakarta Sans", Inter, sans-serif;
    --tr-body: "Plus Jakarta Sans", Inter, sans-serif;
}

.tr-body {
    overflow-x: clip;
}

.tr-hero,
.tr-page,
.tr-compare,
.tr-round,
.tr-close,
.tr-hero h1,
.tr-hero p,
.tr-hero a,
.tr-hero span,
.tr-hero li,
.tr-hero strong,
.tr-page h2,
.tr-page h3,
.tr-page p,
.tr-page li,
.tr-page span,
.tr-page a,
.tr-page strong,
.tr-close h2 {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
}

/* ——— Hero (CRM-matched content styling) ——— */
.tr-hero {
    position: relative;
    overflow: hidden;
    text-align: left;
    padding: 148px 0 72px;
    background: #ffffff;
    color: #0f1b33;
}

.tr-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(125, 211, 252, 0.16), transparent 70%),
        #ffffff;
}

.tr-hero .container,
.tr-hero .tr-hero-grid {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.tr-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 36px 48px;
    align-items: center;
    width: 100%;
}

.tr-hero-copy {
    min-width: 0;
    max-width: min(38rem, 100%);
}

.tr-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-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tr-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;
    overflow-wrap: break-word;
    min-width: 0;
}

.tr-hero-copy h1 span {
    background: none;
    -webkit-text-fill-color: initial;
    color: #ff6500;
}

.tr-hero-benefits {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 12px;
    max-width: 34rem;
}

.tr-hero-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 600;
    color: #334155;
}

.tr-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;
}

.tr-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tr-hero-actions .btn {
    animation: trPillIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(0.4s + (var(--d, 0) * 0.12s));
}

.tr-hero-actions .btn i {
    font-size: 1.2rem;
    margin-left: 4px;
}

.tr-hero .btn:focus-visible,
.tr-close .btn:focus-visible {
    outline: 3px solid #0369a1;
    outline-offset: 3px;
}

.tr-hero-visual {
    position: relative;
    min-width: 0;
    min-height: 420px;
    display: grid;
    place-items: center;
    animation-delay: 0.12s;
    overflow: visible;
}

.tr-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    z-index: 0;
    pointer-events: none;
}

.tr-hero-glow-a {
    width: 280px;
    height: 280px;
    right: 8%;
    top: 6%;
    background: rgba(125, 211, 252, 0.35);
}

.tr-hero-glow-b {
    width: 220px;
    height: 220px;
    right: 18%;
    bottom: 4%;
    background: rgba(253, 186, 116, 0.28);
}

.tr-hero-stage {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(100%, 540px);
    margin: 0 auto;
    padding: 18px 12px 28px;
}

.tr-hero-photo {
    position: relative;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
    box-shadow:
        0 28px 60px rgba(15, 27, 51, 0.2),
        0 0 0 1px rgba(15, 27, 51, 0.08);
    aspect-ratio: 16 / 11;
}

.tr-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 28%;
}

.tr-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 16, 24, 0.05) 0%, transparent 42%, rgba(7, 16, 24, 0.45) 100%),
        linear-gradient(90deg, rgba(7, 16, 24, 0.12) 0%, transparent 28%);
    pointer-events: none;
}

.tr-hero-photo-caption {
    position: absolute;
    z-index: 1;
    right: 14px;
    bottom: 14px;
    left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #0f1b33;
    font-size: 0.72rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(7, 16, 24, 0.16);
}

.tr-hero-photo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

.tr-hero-card {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    max-width: none;
    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.14);
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f1b33;
    white-space: nowrap;
    animation: trFloat 4.8s ease-in-out infinite;
}

.tr-hero-card-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    flex: 0 0 auto;
    color: inherit;
}

.tr-hero-card-icon i {
    font-size: 1rem;
    line-height: 1;
}

.tr-hero-card-icon.is-orange {
    background: #ffedd5;
    color: #ea580c;
}

.tr-hero-card-icon.is-blue {
    background: #dbeafe;
    color: #2563eb;
}

.tr-hero-card > span:last-child {
    display: inline;
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f1b33;
}

.tr-hero-card-top {
    top: 6px;
    right: 0;
}

.tr-hero-card-bottom {
    left: 0;
    bottom: 8px;
    animation-delay: 0.55s;
}

.tr-hero-anim {
    animation: trHeroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes trFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes trHeroIn {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes trPillIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ——— Compare board ——— */
/* ——— Page body (CRM-matched shell) ——— */
.tr-page {
    padding: 28px 0 90px;
    background:
        radial-gradient(ellipse 55% 30% at 0% 8%, rgba(14, 165, 233, 0.08), transparent 55%),
        radial-gradient(ellipse 45% 28% at 100% 0%, rgba(255, 101, 0, 0.08), transparent 50%),
        linear-gradient(180deg, #f4f6fb 0%, #eef2f8 100%);
}

.tr-page > .container {
    max-width: 1360px;
}

.tr-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);
}

/* ——— Features: 2-up cards with text + compact visuals ——— */
.tr-features {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 70% at 0% 0%, rgba(255, 101, 0, 0.1), transparent 55%),
        radial-gradient(ellipse 45% 60% at 100% 100%, rgba(14, 122, 146, 0.1), transparent 55%),
        rgba(255, 255, 255, 0.92);
}

.tr-feat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tr-feat {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(150px, 0.95fr);
    gap: 16px;
    align-items: stretch;
    min-height: 100%;
    padding: 20px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid rgba(8, 13, 32, 0.06);
    box-shadow:
        0 18px 40px rgba(8, 13, 32, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.tr-feat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent, #ff6500), color-mix(in srgb, var(--accent, #ff6500) 40%, white));
}

.tr-feat:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--accent, #ff6500) 35%, transparent);
    box-shadow:
        0 28px 56px rgba(8, 13, 32, 0.12),
        0 0 0 1px color-mix(in srgb, var(--accent, #ff6500) 18%, transparent);
}

.tr-feat-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tr-feat-num {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: color-mix(in srgb, var(--accent, #ff6500) 75%, #0f1b33);
}

.tr-feat h3 {
    margin: 0 0 8px;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #080d20;
    line-height: 1.25;
}

.tr-feat p {
    margin: 0 0 14px;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #5b6b78;
}

.tr-feat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
}

.tr-feat-tags span {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 27, 51, 0.04);
    border: 1px solid rgba(15, 27, 51, 0.06);
    color: #334155;
    font-size: 0.7rem;
    font-weight: 700;
}

.tr-feat-viz {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 168px;
    padding: 12px;
    border-radius: 18px;
    background:
        radial-gradient(ellipse 70% 60% at 80% 15%, color-mix(in srgb, var(--accent, #ff6500) 28%, transparent), transparent 60%),
        linear-gradient(160deg, #0b1522 0%, #12263a 60%, #0e3a42 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.tr-viz {
    width: 100%;
}

.tr-viz-scan {
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
}

.tr-viz-scan-frame {
    position: relative;
    width: 108px;
    height: 108px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.tr-viz-scan-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #ff6500;
}

.tr-viz-scan-corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.tr-viz-scan-corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.tr-viz-scan-corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.tr-viz-scan-corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

.tr-viz-scan-beam {
    position: absolute;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5eead4, transparent);
    box-shadow: 0 0 12px rgba(94, 234, 212, 0.8);
    animation: trScanBeam 2.2s ease-in-out infinite;
}

@keyframes trScanBeam {
    0%, 100% { top: 18%; opacity: 0.4; }
    50% { top: 78%; opacity: 1; }
}

.tr-viz-qr {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    width: 54px;
    height: 54px;
    padding: 6px;
    border-radius: 8px;
    background: #fff;
}

.tr-viz-qr span {
    border-radius: 2px;
    background: #0f1b33;
}

.tr-viz-qr span:nth-child(5) { background: #ff6500; }
.tr-viz-qr span:nth-child(2),
.tr-viz-qr span:nth-child(4),
.tr-viz-qr span:nth-child(6),
.tr-viz-qr span:nth-child(8) { opacity: 0.35; }

.tr-viz-scan-meta span {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 101, 0, 0.18);
    color: #fdba74;
    font-size: 0.7rem;
    font-weight: 700;
}

.tr-viz-dossier,
.tr-viz-qc,
.tr-viz-wh {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    padding: 12px;
    color: #0f1b33;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.tr-viz-dossier header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(15, 27, 51, 0.08);
}

.tr-viz-dossier header b {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
}

.tr-viz-dossier header span {
    font-size: 0.68rem;
    font-weight: 800;
    color: #0e7a92;
}

.tr-viz-sec {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 8px;
    margin-bottom: 5px;
    border-radius: 9px;
    background: #f1f5f9;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
}

.tr-viz-sec i { color: #94a3b8; font-size: 0.9rem; }

.tr-viz-sec.is-on {
    background: linear-gradient(90deg, rgba(14, 122, 146, 0.12), rgba(14, 122, 146, 0.05));
    color: #0f1b33;
    box-shadow: inset 2px 0 0 #0e7a92;
}

.tr-viz-sec.is-on i { color: #0e7a92; }

.tr-viz-qc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 800;
}

.tr-viz-qc-head .is-pass {
    padding: 3px 8px;
    border-radius: 999px;
    background: #dcfce7;
    color: #12824a;
    font-size: 0.65rem;
}

.tr-viz-qc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 8px;
}

.tr-viz-qc-grid div {
    padding: 8px 4px;
    border-radius: 10px;
    background: #f1f5f9;
    text-align: center;
}

.tr-viz-qc-grid em {
    display: block;
    margin-bottom: 3px;
    font-style: normal;
    font-size: 0.62rem;
    font-weight: 700;
    color: #64748b;
}

.tr-viz-qc-grid b {
    font-size: 0.82rem;
    color: #12824a;
}

.tr-viz-qc-grid .is-final {
    background: linear-gradient(160deg, #edfbf3, #bbf7d0);
}

.tr-viz-lots {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tr-viz-lots span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 0.62rem;
    font-weight: 750;
}

.tr-viz-lots .is-hot {
    background: #ffedd5;
    color: #c2410c;
}

.tr-viz-wh-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.tr-viz-wh-top strong { font-size: 0.75rem; }

.tr-viz-wh-top span {
    padding: 3px 8px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.62rem;
    font-weight: 800;
}

.tr-viz-bar {
    display: grid;
    grid-template-columns: 0.7fr 1.2fr auto;
    gap: 6px;
    align-items: center;
    margin-bottom: 7px;
    font-size: 0.68rem;
    font-weight: 700;
}

.tr-viz-bar > div {
    height: 7px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.tr-viz-bar > div i {
    display: block;
    height: 100%;
    width: var(--w, 0%);
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.tr-viz-bar.is-mid > div i { background: linear-gradient(90deg, #fb923c, #f97316); }
.tr-viz-bar.is-off { color: #b91c1c; }
.tr-viz-bar.is-off > div i { background: #ef4444; }
.tr-viz-bar b { font-size: 0.65rem; color: #475569; }
.tr-viz-bar.is-off b { color: #b91c1c; }

.tr-viz-jump { width: 100%; }
.tr-viz-jump-btns {
    display: grid;
    gap: 7px;
}

.tr-viz-jump-btns span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 800;
}

.tr-viz-jump-btns span:nth-child(1) { color: #99f6e4; }
.tr-viz-jump-btns span:nth-child(2) { color: #fdba74; }
.tr-viz-jump-btns span:nth-child(3) { color: #bfdbfe; }
.tr-viz-jump-btns i { font-size: 1rem; }

.tr-viz-print { display: grid; place-items: center; }

.tr-viz-sheet {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    color: #0f1b33;
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.22),
        8px 8px 0 rgba(109, 40, 217, 0.18);
    transform: rotate(-2deg);
}

.tr-viz-sheet-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

.tr-viz-sheet-top b { font-size: 0.78rem; }

.tr-viz-mini-qr {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background:
        linear-gradient(90deg, #0f1b33 25%, transparent 25%) 0 0 / 7px 7px,
        linear-gradient(#0f1b33 25%, transparent 25%) 0 0 / 7px 7px,
        #fff;
    box-shadow: inset 0 0 0 1.5px #0f1b33;
}

.tr-viz-sheet-lines {
    display: grid;
    gap: 6px;
    margin-bottom: 8px;
}

.tr-viz-sheet-lines span {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: #e2e8f0;
}

.tr-viz-sheet-lines span:nth-child(1) { width: 88%; }
.tr-viz-sheet-lines span:nth-child(2) { width: 72%; }
.tr-viz-sheet-lines span:nth-child(3) { width: 60%; }

.tr-viz-sheet em {
    font-style: normal;
    font-size: 0.65rem;
    font-weight: 700;
    color: #6d28d9;
}

.tr-feat-grid.is-in .tr-feat {
    animation: trFeatIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--i, 0) * 0.08s);
}

@keyframes trFeatIn {
    from { opacity: 0; transform: translateY(22px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ——— Problem / solution ——— */
.tr-fixes {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 50% 55% at 8% 20%, rgba(196, 69, 58, 0.07), transparent 60%),
        radial-gradient(ellipse 50% 55% at 92% 80%, rgba(18, 130, 74, 0.08), transparent 60%),
        rgba(255, 255, 255, 0.92);
}

.tr-fixes-head {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 36px;
}

.tr-fixes-head .tr-hero-badge {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 14px;
}

.tr-fixes-head h2 {
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 3.2vw, 2.35rem);
    letter-spacing: -0.035em;
    line-height: 1.18;
    color: var(--tr-ink);
}

.tr-fixes-head h2 span {
    color: #ff6500;
}

.tr-fixes-head > p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--tr-muted);
}

.tr-fixes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.tr-fix {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 22px 48px rgba(8, 13, 32, 0.1),
        0 0 0 1px rgba(8, 13, 32, 0.04);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.tr-fix:hover {
    transform: translateY(-4px);
    box-shadow:
        0 28px 56px rgba(8, 13, 32, 0.14),
        0 0 0 1px rgba(8, 13, 32, 0.05);
}

.tr-problem,
.tr-solution {
    display: flex;
    flex-direction: column;
    padding: 24px 20px 22px;
    min-height: 100%;
}

.tr-problem {
    background: #fff5f5;
}

.tr-solution {
    background: #f0fdf9;
}

.tr-fix-join {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 3px solid #fff;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #122033, #080d20);
    color: #ff8a3d;
    font-size: 1.35rem;
    transform: translate(-50%, -50%);
    box-shadow:
        0 12px 28px rgba(8, 13, 32, 0.35),
        0 0 0 6px rgba(8, 13, 32, 0.06);
}

.tr-fix-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.tr-fix-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 14px;
    background: #fff;
    color: #64748b;
    font-size: 1.35rem;
    border: 1px solid rgba(15, 27, 51, 0.1);
}

.tr-problem .tr-fix-ico,
.tr-solution .tr-fix-ico {
    background: #fff;
    color: #64748b;
    box-shadow: none;
}

.tr-fix-head > span {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tr-problem .tr-fix-head > span,
.tr-solution .tr-fix-head > span {
    color: #64748b;
}

.tr-fix-rows {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    gap: 7px;
    flex: 1;
    align-content: start;
}

.tr-fix-rows li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    font-weight: 800;
    color: #080d20;
    box-shadow: 0 4px 12px rgba(8, 13, 32, 0.04);
}

.tr-fix-rows em {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.tr-fix-rows .is-miss {
    color: #9f2d24;
}

.tr-fix-rows .is-miss em {
    color: #c4453a;
}

.tr-fix-rows .is-ok em {
    color: #12824a;
}

.tr-fix-rows .is-now {
    box-shadow: inset 0 0 0 2px #ff6500, 0 4px 12px rgba(8, 13, 32, 0.04);
}

.tr-fix-rows .is-now em {
    color: #c2410c;
}

.tr-problem h3,
.tr-solution h3 {
    margin: 0 0 6px;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #080d20;
    line-height: 1.25;
}

.tr-problem p,
.tr-solution p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4b5563;
}

/* ——— Round section ——— */
.tr-round-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 40px 48px;
    align-items: center;
}

.tr-round-grid-flip {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}


.tr-round-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(1.55rem, 2.8vw, 2.1rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--tr-ink);
    overflow-wrap: break-word;
    min-width: 0;
}

.tr-round-copy > p {
    margin: 0 0 22px;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--tr-muted);
}

.tr-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.tr-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.98rem;
    font-weight: 600;
    color: #243447;
    line-height: 1.4;
}

.tr-points i {
    flex: 0 0 auto;
    margin-top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 167, 196, 0.14);
    color: var(--tr-cyan-deep);
    font-size: 0.9rem;
}

.tr-round-panel {
    position: relative;
    background:
        radial-gradient(ellipse 70% 50% at 100% 0%, rgba(26, 167, 196, 0.22), transparent 55%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(255, 101, 0, 0.16), transparent 55%),
        linear-gradient(165deg, #0c1a24 0%, #102433 100%);
    border-radius: 24px;
    padding: 20px 18px 16px;
    color: var(--tr-snow);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 28px 60px rgba(7, 16, 24, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.tr-wh-panel {
    background:
        radial-gradient(ellipse 70% 50% at 0% 0%, rgba(18, 130, 74, 0.28), transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 100%, rgba(255, 101, 0, 0.14), transparent 55%),
        linear-gradient(165deg, #122018 0%, #163028 100%) !important;
}

.tr-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tr-panel-top strong {
    font-size: 0.92rem;
    font-weight: 800;
}

.tr-panel-top span {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.tr-panel-row {
    display: grid;
    grid-template-columns: 0.7fr 1fr 1.1fr 0.9fr;
    gap: 8px;
    align-items: center;
    padding: 12px 11px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.25s ease, transform 0.25s ease;
}

.tr-panel-row:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(2px);
}

.tr-panel-row.is-warn {
    background: rgba(217, 119, 6, 0.18);
    box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.28);
}

.tr-panel-row .id {
    color: #7dd3fc;
    font-weight: 800;
}

.tr-panel-row .grade {
    color: rgba(255, 255, 255, 0.55);
}

.tr-panel-row .in {
    color: rgba(255, 255, 255, 0.78);
}

.tr-panel-row .out {
    text-align: right;
    color: #5eead4;
    font-weight: 800;
}

.tr-panel-row.is-warn .out {
    color: #fdba74;
}

.tr-panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    padding-top: 10px;
}

.tr-panel-foot > span:first-child {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

.tr-panel-btn {
    display: inline-flex;
    padding: 9px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--tr-orange), #ff8a3d);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(255, 101, 0, 0.35);
}

/* ——— Close (CRM-style horizontal band) ——— */
.tr-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(14, 124, 107, 0.28), transparent 55%),
        linear-gradient(135deg, #0a1628 0%, #122a4a 55%, #0e7c6b 120%);
    color: #fff;
    box-shadow: 0 22px 48px rgba(12, 18, 40, 0.28);
}

.tr-close-copy {
    max-width: 36rem;
    text-align: left;
}

.tr-close h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.35rem, 2.3vw, 1.75rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.tr-close-copy > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    line-height: 1.55;
}

.tr-close .btn-primary {
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(255, 101, 0, 0.35);
}

.tr-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.tr-reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* ——— Responsive ——— */
@media (max-width: 980px) {
    .tr-hero {
        padding: 120px 0 56px;
    }

    .tr-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .tr-hero {
        text-align: center;
    }

    .tr-hero-copy {
        max-width: 40rem;
        margin: 0 auto;
        padding: 0 4px;
    }

    .tr-hero-badge {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.06em;
    }

    .tr-hero-copy h1 {
        text-align: center;
        font-size: clamp(2rem, 7vw, 2.75rem);
        margin-bottom: 22px;
    }

    .tr-hero-benefits {
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .tr-hero-actions {
        justify-content: center;
    }

    .tr-hero-visual {
        min-height: 0;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        overflow: visible;
    }

    .tr-hero-glow {
        display: none;
    }

    .tr-hero-stage {
        max-width: 100%;
        padding: 12px 4px 18px;
    }

    .tr-hero-card {
        display: inline-flex;
        max-width: min(190px, 58%);
        padding: 8px 10px;
        gap: 8px;
        font-size: 0.74rem;
        white-space: normal;
        line-height: 1.25;
    }

    .tr-hero-card-icon {
        width: 26px;
        height: 26px;
        border-radius: 8px;
        font-size: 0.88rem;
    }

    .tr-hero-card-icon i {
        font-size: 0.88rem;
    }

    .tr-hero-card > span:last-child {
        font-size: 0.74rem;
    }

    .tr-hero-card-top {
        top: 0;
        right: 0;
    }

    .tr-hero-card-bottom {
        left: 0;
        right: auto;
        top: auto;
        bottom: 0;
    }

    .tr-hero-photo {
        width: 100%;
        border-radius: 20px;
        aspect-ratio: 4 / 3;
    }

    .tr-hero-photo img {
        object-position: 55% 22%;
    }

    .tr-hero-photo-caption {
        left: auto;
        right: 12px;
        bottom: 12px;
        transform: none;
        max-width: min(58%, 200px);
        justify-content: flex-start;
        white-space: nowrap;
        line-height: 1.3;
        z-index: 3;
    }
}

@media (max-width: 900px) {
    .tr-page {
        padding: 20px 0 72px;
    }

    .tr-block {
        padding: 28px 16px;
        border-radius: 24px;
    }

    .tr-feat-grid {
        grid-template-columns: 1fr;
    }

    .tr-feat {
        grid-template-columns: minmax(0, 1.1fr) minmax(140px, 0.9fr);
    }

    .tr-close {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 32px 28px;
        margin-top: 28px;
    }

    .tr-close-copy {
        max-width: none;
        text-align: center;
    }

    .tr-close .btn-primary {
        width: auto;
        align-self: center;
        justify-content: center;
        padding: 12px 24px;
        font-size: 1rem;
    }

    .tr-fixes-grid,
    .tr-fix {
        grid-template-columns: 1fr;
    }

    .tr-fix-join {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .tr-round-grid,
    .tr-round-grid-flip {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tr-panel-row {
        grid-template-columns: 0.65fr 0.9fr 1fr 0.85fr;
        font-size: 0.7rem;
        gap: 4px;
        padding: 10px 8px;
    }
}

@media (max-width: 560px) {
    .tr-feat {
        grid-template-columns: 1fr;
    }

    .tr-feat-viz {
        min-height: 150px;
    }

    .tr-hero {
        padding: 112px 0 32px;
        overflow-x: clip;
    }

    .tr-hero-grid {
        gap: 28px;
    }

    .tr-hero-copy h1 {
        text-align: center;
        font-size: 1.9rem;
        line-height: 1.15;
        margin-bottom: 22px;
    }

    .tr-hero-badge {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        padding: 8px 16px;
    }

    .tr-hero-benefits {
        gap: 10px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
        text-align: left;
        max-width: 28rem;
    }

    .tr-hero-actions {
        justify-content: center;
        margin-bottom: 8px;
    }

    .tr-hero-actions .btn {
        width: auto;
        justify-content: center;
        white-space: nowrap;
        min-height: 0;
        padding: 11px 20px;
        font-size: 0.95rem;
        gap: 6px;
    }

    .tr-hero-benefits li {
        font-size: 0.95rem;
    }

    .tr-hero-photo {
        border-radius: 16px;
        aspect-ratio: 5 / 4;
    }

    .tr-hero-card {
        max-width: min(168px, 62%);
        padding: 7px 9px;
        gap: 7px;
        border-radius: 12px;
    }

    .tr-hero-card-icon {
        width: 24px;
        height: 24px;
    }

    .tr-hero-card > span:last-child {
        font-size: 0.7rem;
    }

    .tr-hero-card-bottom {
        bottom: 0;
    }

    .tr-hero-photo-caption {
        left: auto;
        right: 10px;
        bottom: 10px;
        max-width: min(55%, 180px);
        font-size: 0.64rem;
        padding: 6px 10px;
        white-space: nowrap;
        text-align: left;
    }

    .tr-problem,
    .tr-solution {
        padding: 20px 16px 22px;
    }

    .tr-close {
        padding: 28px 20px;
        gap: 18px;
    }

    .tr-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) {
    .tr-hero-anim,
    .tr-hero-actions .btn,
    .tr-hero-card,
    .tr-feat-grid.is-in .tr-feat,
    .tr-viz-scan-beam {
        animation: none !important;
    }

    .tr-feat:hover,
    .tr-fix:hover,
    .tr-panel-row:hover {
        transform: none;
    }

    .tr-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
