/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Arial', sans-serif; */
}

body {
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
}

/* Основной логотип и заголовок */
.logo {
    height: 100vh;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    padding: 0 40px;
    position: relative;
    overflow: hidden;
    padding-bottom: 150px;
    isolation: isolate;
    background: none !important;
}

.scientific-page {
    padding: 120px 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    overflow-x: hidden; /* Убирает горизонтальный скролл */
    width: 100%; /* Гарантирует, что контейнер не превышает ширину экрана */
}

.container {
    position: relative;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.page-title {
    font-size: 5.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ff6a00;
    text-shadow: 0 0 10px rgba(255, 106, 0, 0.4);
    letter-spacing: -0.5px;
    font-weight: 300;
}

.page-subtitle {
    font-size: 2.4rem;
    color: #aaa;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

.text-block {
    background: rgba(20, 20, 20, 0.85);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 106, 0, 0.15);
    position: relative;
    overflow: hidden;
    width: 100%;
    font-weight: 300;
}

.text-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #ff6a00, transparent);
}

.key-point {
    font-size: 3.2rem;
    color: #ff6a00;
    margin-bottom: 30px;
    font-weight: 300;
    position: relative;
    padding-bottom: 15px;
}

.key-point::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ff6a00;
    border-radius: 3px;
}

.section-title {
    font-size: 1.9rem;
    color: #ff6a00;
    margin: 35px 0 20px;
    font-weight: 300;
}

.subsection-title {
    font-size: 1.6rem;
    color: #ff9a00;
    margin: 25px 0 15px;
    font-weight: 300;
}

p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #ddd;
}

.highlight {
    /* color: #ffffff; */
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 154, 0, 0.3);
}

ul {
    padding-left: 25px;
    margin: 20px 0;
}

li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #ddd;
    position: relative;
}

li::before {
    content: '•';
    color: #ff6a00;
    font-size: 1.4rem;
    position: absolute;
    left: -20px;
    top: -2px;
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.principle-card {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.2);
    border-color: rgba(255, 106, 0, 0.4);
}

.principle-card h4 {
    color: #ff6a00;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.principle-card h4 i {
    font-size: 1.6rem;
}

.principle-card p {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.7;
}

.reference-block {
    margin-top: 40px;
}

.reference-item {
    padding: 15px 20px;
    border-left: 3px solid rgba(255, 106, 0, 0.5);
    margin-bottom: 15px;
    background: rgba(30, 30, 30, 0.6);
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.reference-item:hover {
    background: rgba(40, 40, 40, 0.8);
    border-left-color: #ff6a00;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.text-block {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Адаптивность */
@media (max-width: 768px) {
    .scientific-page {
        padding: 100px 20px 40px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .text-block {
        padding: 25px;
    }
    
    .key-point {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .principle-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2rem;
    }
}
