/* ==============================================
   KARAR ÖRNEĞİ - Before/After Scenario
   Split layout with animated indicators
   ============================================== */

/* Main Content */
.karar-ornegi-main {
    background: linear-gradient(180deg, #0a0a0c 0%, #0d0d10 100%);
    position: relative;
    overflow: hidden;
}

.karar-ornegi-main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

.ornegi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* ========================================
   INTRO SECTION
   ======================================== */

.ornegi-intro {
    padding: 6rem 0 4rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.intro-content {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.intro-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.intro-content p {
    font-size: 1.25rem;
    color: var(--yk-text-secondary);
    line-height: 1.7;
}

/* ========================================
   COMPARISON SECTION
   ======================================== */

.comparison-section {
    padding: 4rem 0 6rem;
    position: relative;
    z-index: 1;
}

.comparison-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.comparison-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.comparison-header h2 {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.comparison-header p {
    color: var(--yk-text-secondary);
}

/* Split Layout */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Wrong Decision Card */
.scenario-card {
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.scenario-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.scenario-card.wrong {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.08), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(239, 68, 68, 0.3);
    transition-delay: 0.1s;
}

.scenario-card.correct {
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.08), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(34, 197, 94, 0.3);
    transition-delay: 0.2s;
}

.scenario-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.wrong .scenario-badge {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.correct .scenario-badge {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.scenario-card h3 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.scenario-card p {
    color: var(--yk-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Indicator Bars */
.indicator-group {
    margin-top: 2rem;
}

.indicator {
    margin-bottom: 1.5rem;
}

.indicator-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.indicator-label span:first-child {
    color: var(--yk-text-secondary);
}

.indicator-label span:last-child {
    font-weight: 600;
}

.wrong .indicator-label span:last-child {
    color: #f87171;
}

.correct .indicator-label span:last-child {
    color: #4ade80;
}

.indicator-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.indicator-fill {
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.wrong .indicator-fill {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.correct .indicator-fill {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.scenario-card.visible .indicator-fill {
    width: var(--fill-width, 50%);
}

/* ========================================
   SAMPLE DECISION TEXT
   ======================================== */

.sample-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.01);
    position: relative;
    z-index: 1;
}

.sample-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.sample-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.sample-header h2 {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.sample-header p {
    color: var(--yk-text-secondary);
}

.sample-document {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.sample-document.visible {
    opacity: 1;
    transform: translateY(0);
}

.doc-title {
    text-align: center;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-content {
    color: var(--yk-text-secondary);
    line-height: 1.9;
    font-size: 1rem;
}

.doc-content p {
    margin-bottom: 1.5rem;
}

.doc-highlight {
    background: rgba(212, 168, 83, 0.1);
    border-left: 3px solid var(--yk-gold);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.doc-highlight p {
    margin: 0;
    color: var(--yk-text-primary);
}

.doc-signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: center;
    color: var(--yk-text-muted);
    font-size: 0.9rem;
}

/* ========================================
   CTA SECTION
   ======================================== */

.ornegi-cta {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.ornegi-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.ornegi-cta h2 {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ornegi-cta p {
    color: var(--yk-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    background: var(--yk-gold);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(212, 168, 83, 0.3);
}

/* Back Link */
.back-section {
    padding: 3rem 0 5rem;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--yk-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--yk-gold);
}

.back-link::before {
    content: '←';
    transition: transform 0.3s ease;
}

.back-link:hover::before {
    transform: translateX(-5px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ornegi-container {
        padding: 0 1.5rem;
    }

    .scenario-card {
        padding: 2rem;
    }

    .sample-document {
        padding: 2rem;
    }

    .doc-signature {
        grid-template-columns: 1fr;
    }
}