/* Slide 06 - The Paradigm Shift */

.content-wrapper {
    padding: 2vh 5vw;
    display: flex;
    flex-direction: column;
}

.shift-layout {
    flex: 1;
    display: flex;
    gap: 0;
    /* Gap handled by margin/transform for overlap */
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2vh 0 2vh;
}

/* VS Badge */
.vs-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border: 4px solid var(--bg-body);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: var(--text-muted);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

/* Model Cards */
.model-card {
    flex: 1;
    height: 100%;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2vh 3vw 1vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

.model-card.old {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border: 1px dashed var(--border);
    margin-right: -25px;
    /* Pull closer */
    padding-right: 50px;
    /* Space for VS */
    clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
}

.model-card.new {
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
    border: 1px solid #bfdbfe;
    box-shadow: var(--shadow-lg);
    z-index: 5;
    margin-left: -25px;
    padding-left: 50px;
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 5% 100%, 0 50%);
}

/* Headers */
.card-header {
    text-align: center;
    margin-bottom: 1.5vh;
}

.tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.old .tag {
    color: var(--text-muted);
}

.new .tag {
    color: var(--accent);
}

.model-card h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 0;
}

.old h2 {
    color: var(--text-secondary);
}

.new h2 {
    color: var(--accent);
}

/* Flow Diagrams */
.flow-diagram {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5vh;
}

.node {
    background: #fff;
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    text-align: center;
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sub-text {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.3;
}

.node.target {
    background: #fff1f2;
    color: #991b1b;
    border-color: #fecaca;
}

.node.target .sub-text {
    color: #b91c1c;
}

.node.source {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.node.source .sub-text {
    color: #15803d;
}

.node.brand {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.node.brand .icon {
    font-size: 18px;
    margin-bottom: 2px;
}

/* Arrows */
.arrow {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    max-width: 80%;
    line-height: 1.2;
}

.arrow::after {
    content: '↓';
    font-size: 14px;
    color: inherit;
    margin-top: 2px;
}

/* Outcomes */
.outcome {
    padding-bottom: 1vh;
    margin-top: 1.5vh;
}

.metric {
    text-align: center;
}

.metric .label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 4px;
}

.metric .value {
    font-size: 16px;
    font-weight: 800;
}

.bad .value {
    color: #dc2626;
}

.good .value {
    color: #16a34a;
}

/* Bottom Line Box */
.bottom-line {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    color: var(--text-primary);
    margin-top: auto;
    width: 100%;
    max-width: 800px;
    align-self: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1vh;
}

.bottom-line strong {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 6px;
}

/* Animations */
.node,
.metric,
.bottom-line {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease forwards;
}

/* Staggered Old */
.old .node:nth-child(1) {
    animation-delay: 0.1s;
}

.old .arrow:nth-child(2) {
    opacity: 0;
    animation: fadeIn 0.5s ease 0.3s forwards;
}

.old .node:nth-child(3) {
    animation-delay: 0.5s;
}

.old .arrow:nth-child(4) {
    opacity: 0;
    animation: fadeIn 0.5s ease 0.7s forwards;
}

.old .node:nth-child(5) {
    animation-delay: 0.9s;
}

.old .metric {
    animation-delay: 1.1s;
}

/* Staggered New */
.new .node:nth-child(1) {
    animation-delay: 1.3s;
}

.new .arrow:nth-child(2) {
    opacity: 0;
    animation: fadeIn 0.5s ease 1.5s forwards;
}

.new .node:nth-child(3) {
    animation-delay: 1.7s;
}

.new .arrow:nth-child(4) {
    opacity: 0;
    animation: fadeIn 0.5s ease 1.9s forwards;
}

.new .node:nth-child(5) {
    animation-delay: 2.1s;
}

.new .metric {
    animation-delay: 2.3s;
}

.bottom-line {
    animation-delay: 2.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}