﻿/* Глобальные стили */
.ai-ethics-article {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* CENTERED HEADER STYLES */
.dh-header {
    text-align: center;
    margin-bottom: 40px;
}

.dh-title {
    font-size: 2.2rem;
    color: #1a3d7c;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.dh-subtitle {
    font-size: 1.4rem;
    color: #2c5282;
    margin-bottom: 20px;
    font-weight: 600;
    font-style: italic;
}

.dh-meta {
    color: #666;
    font-size: 1rem;
    margin: 0 auto;
    max-width: 600px;
}

/* Heritage Connection Styles */
.heritage-connection {
    margin: 30px 0;
}

.heritage-box {
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.15);
}

    .heritage-box h3 {
        color: #1565c0;
        margin-top: 0;
        font-size: 1.5rem;
    }

.heritage-cta {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #bbdefb;
}

.heritage-link {
    display: inline-block;
    margin-top: 10px;
    color: #0d47a1;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .heritage-link:hover {
        color: #1565c0;
        text-decoration: underline;
    }

/* Professional Parallel */
.professional-parallel {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

    .professional-parallel h4 {
        color: #ff8f00;
        margin-top: 0;
    }

/* Military Heritage Box */
.military-heritage-box {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

    .military-heritage-box h4 {
        color: #1a3d7c;
        margin-top: 0;
    }

/* Estimation Framework */
.estimation-framework {
    margin: 40px 0;
}

.framework-header {
    text-align: center;
    margin-bottom: 30px;
}

    .framework-header h3 {
        color: #1a3d7c;
        font-size: 1.6rem;
    }

.parameter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.parameter-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    border-top: 4px solid #1a3d7c;
}

.param-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.parameter-card h4 {
    color: #1a3d7c;
    margin-top: 0;
}

.precision-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

/* Estimation Testimonial */
.estimation-testimonial {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

    .estimation-testimonial blockquote {
        margin: 0;
        font-style: italic;
        color: #0d47a1;
    }

    .estimation-testimonial footer {
        margin-top: 10px;
        font-weight: bold;
        color: #1565c0;
    }

/* Professional CTA Section */
.professional-cta-section {
    background: linear-gradient(135deg, #1a3d7c, #0d47a1);
    color: white;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

    .cta-container h3 {
        color: white;
        font-size: 1.8rem;
        margin-top: 0;
    }

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.cta-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

.benefit-item {
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.professional-cta-button {
    display: inline-block;
    background: #ffc107;
    color: #1a3d7c;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
    font-size: 1.1rem;
}

    .professional-cta-button:hover {
        background: #ffd54f;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

.cta-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 15px;
}

/* ===== IMPROVED CHECKLIST STYLES ===== */
.checklist-container {
    margin-top: 2rem;
}

.checklist-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

    .checklist-item:hover {
        transform: translateX(5px);
    }

.check-number-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 1.5rem;
    position: relative;
}

.check-number {
    background: #1a3d7c;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 3px 6px rgba(26, 61, 124, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.checklist-item:hover .check-number {
    background: #2c5282;
    transform: scale(1.05);
}

.check-line {
    position: absolute;
    top: 36px;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.check-content {
    flex: 1;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

    .check-content h4 {
        color: #1a3d7c;
        margin: 0 0 0.5rem 0;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .check-content p {
        color: #555;
        margin: 0;
        line-height: 1.6;
    }

.check-sublist {
    margin: 0.8rem 0 0 1rem;
    padding: 0;
    list-style-type: none;
}

    .check-sublist li {
        position: relative;
        padding-left: 1.5rem;
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }

        .check-sublist li:before {
            content: "•";
            color: #1a3d7c;
            font-weight: bold;
            position: absolute;
            left: 0;
        }

.tech-note {
    background: #f8f9fa;
    border-left: 3px solid #6c757d;
    padding: 0.8rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    border-radius: 0 4px 4px 0;
}

/* Conclusion Section Styles */
.conclusion-content {
    position: relative;
}

.moral-obsolescence-box {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 0 0 30px 0;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.obsolescence-icon {
    font-size: 1.8rem;
    margin-top: 3px;
}

.moral-obsolescence-box h3 {
    color: #ff8f00;
    margin: 0 0 10px 0;
}

.obsolescence-note {
    font-style: italic;
    color: #666;
    margin: 10px 0 0 0;
}

.conclusion-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: #333;
}

/* Journey Path */
.journey-container {
    margin: 3rem 0;
}

.journey-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 22%;
    position: relative;
    z-index: 2;
}

.step-marker {
    background: #1a3d7c;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(26, 61, 124, 0.3);
}

.step-content {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    width: 100%;
}

    .step-content h4 {
        color: #1a3d7c;
        margin: 0 0 8px 0;
    }

    .step-content p {
        color: #666;
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.5;
    }

.journey-connector {
    position: absolute;
    top: 25px;
    height: 2px;
    background: #e0e0e0;
    width: 20%;
    left: 15%;
}

    .journey-connector:nth-child(2) {
        left: 15%;
    }

    .journey-connector:nth-child(4) {
        left: 40%;
    }

    .journey-connector:nth-child(6) {
        left: 65%;
    }

/* Impact Statement */
.impact-statement {
    margin: 4rem 0;
}

.impact-box {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: linear-gradient(135deg, #f5f9ff, #ebf3ff);
    border-radius: 12px;
    border: 1px solid #d6e4ff;
}

.quote-icon {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 4rem;
    color: rgba(26, 61, 124, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.impact-box blockquote {
    margin: 0;
    padding: 0;
    font-size: 1.3rem;
    color: #1a3d7c;
    font-style: italic;
    position: relative;
    z-index: 2;
}

/* Military Legacy Box */
.military-legacy-box {
    background: #f8f9fa;
    border-top: 3px solid #1a3d7c;
    border-bottom: 3px solid #1a3d7c;
    padding: 40px 0;
    margin: 4rem 0;
    position: relative;
}

.legacy-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a3d7c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
}

.military-legacy-box h3 {
    text-align: center;
    color: #1a3d7c;
    margin: 1rem 0;
}

.military-legacy-box p {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
}

.legacy-separator {
    width: 100px;
    height: 2px;
    background: #1a3d7c;
    margin: 25px auto 0;
    opacity: 0.3;
}

/* Final Quote */
.final-quote {
    max-width: 700px;
    margin: 4rem auto;
    text-align: center;
}

    .final-quote .blockquote {
        font-size: 1.5rem;
        color: #1a3d7c;
        line-height: 1.5;
    }

    .final-quote .blockquote-footer {
        color: #666;
        margin-top: 1.5rem;
        font-size: 1rem;
    }

    /*-----------------------------*/
    /* Добавляем в конец стилей (перед медиа-запросами) */
    .final-quote .blockquote-footer {
        color: #FFD700 !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
/*=============================*/

/* Адаптивность */
@media (max-width: 768px) {
    .dh-title {
        font-size: 1.8rem;
    }

    .dh-subtitle {
        font-size: 1.2rem;
    }

    .parameter-grid {
        grid-template-columns: 1fr;
    }

    .professional-cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .check-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .check-content h4 {
        font-size: 1rem;
    }

    .checklist-item {
        margin-bottom: 1.5rem;
    }

    .journey-steps {
        flex-direction: column;
        align-items: center;
    }

    .journey-step {
        width: 100%;
        margin-bottom: 2rem;
    }

    .journey-connector {
        display: none;
    }

    .step-marker {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .impact-box {
        padding: 20px;
    }

        .impact-box blockquote {
            font-size: 1.1rem;
        }

    .final-quote .blockquote {
        font-size: 1.3rem;
    }


}

