/* Общие стили для всех презентаций (основано на use_cases_presentation.html) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #16a085 0%, #27ae60 100%);
    color: #333;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
}
.presentation-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding-top: 80px;
}
.slide {
    width: 100%;
    min-height: calc(100vh - 80px);
    position: relative;
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease-in-out;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin-bottom: 40px;
}
.slide.active {
    opacity: 1;
    display: flex;
}
.slide-content {
    background: rgba(255,255,255,0.98);
    border-radius: 25px;
    padding: 50px;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 25px 50px rgba(44,62,80,0.2);
    backdrop-filter: blur(15px);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    margin: 20px 0;
    text-align: left;
    border: 2px solid rgba(255,255,255,0.3);
    position: relative;
}

.slide-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #16a085, #27ae60);
    border-radius: 25px 25px 0 0;
}
.slide-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.slide-subtitle {
    font-size: 1.4rem;
    color: #7f8c8d;
    margin-bottom: 35px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 10px 0;
}
.slide-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #16a085, #27ae60);
    border-radius: 2px;
}
.slide-btns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-content: stretch;
    align-items: stretch;
    margin: 30px 0 0 0;
    width: 100%;
}
.slide-btn {
    min-height: 120px;
    background: linear-gradient(135deg,#16a085,#27ae60);
    color: #fff;
    border-radius: 14px;
    padding: 18px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.2s;
}
.slide-btn span {
    font-size: 2.1rem;
    margin-bottom: 6px;
}
.slide-btn:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 25px rgba(22,160,133,0.2);
}
.logo-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 80px;
}
.logo {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}
.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.logo-text {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.logo-brand {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}
.logo-subtitle {
    color: #666;
    font-size: 0.8rem;
    margin-top: 2px;
}
.navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    height: 80px;
}
.nav-btn {
    background: rgba(22,160,133,0.1);
    border: 2px solid #16a085;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a085;
}
.nav-btn:hover {
    background: #16a085;
    color: white;
    transform: scale(1.1);
}
.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(22,160,133,0.05);
}
.slide-counter {
    position: fixed;
    top: 100px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.section-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 18px;
    margin-bottom: 6px;
    color: #16a085;
}
ul, ol {
    margin: 0 0 16px 24px;
}

/* Специфичные стили для карточек и сеток */
.stakeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stakeholder-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(22, 160, 133, 0.1);
    transition: transform 0.3s ease;
}

.stakeholder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stakeholder-card h3 {
    color: #16a085;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stakeholder-card ul {
    margin: 15px 0;
    list-style: none;
    padding: 0;
}

.stakeholder-card li {
    margin-bottom: 8px;
    line-height: 1.5;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.stakeholder-card li:last-child {
    border-bottom: none;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(22, 160, 133, 0.1), rgba(39, 174, 96, 0.1));
    border: 2px solid rgba(22, 160, 133, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.highlight-box h3 {
    color: #16a085;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
}

.perception-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.perception-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(22, 160, 133, 0.1);
    transition: transform 0.3s ease;
}

.perception-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.perception-item h4 {
    color: #16a085;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.perception-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.quote-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    border-left: 5px solid #16a085;
}

.quote-box blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: #495057;
    margin: 0;
    line-height: 1.6;
}

/* Специфичные стили для TCO/ROI презентации */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.metric-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

div.metric-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #16a085;
    margin-bottom: 8px;
    display: block;
}

.metric-label {
    color: #7f8c8d;
    font-size: 1rem;
    font-weight: 500;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.scenario-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.scenario-card h3 {
    color: #16a085;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scenario-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.approach-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
}





.approach-box h4 {
    color: #495057;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.approach-box ul {
    list-style: none;
    padding: 0;
}

.approach-box li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.approach-box li:last-child {
    border-bottom: none;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    background: linear-gradient(135deg, #16a085, #27ae60);
    color: white;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

span.metric-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

.advantage-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
}

.advantage-positive {
    background: #d4edda;
    color: #155724;
}

.advantage-negative {
    background: #f8d7da;
    color: #721c24;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.advantage-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.advantage-item h3 {
    color: #16a085;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.advantage-item ul {
    list-style: none;
    padding: 0;
}

.advantage-item li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

.advantage-item li:last-child {
    border-bottom: none;
}

.advantage-icon {
    margin-right: 10px;
    font-size: 1.1rem;
    color: #28a745;
}

/* Специфичные стили для Digital Authority презентации */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #16a085, #27ae60);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(22, 160, 133, 0.2);
    background: linear-gradient(135deg, #ffffff, #f1f2f6);
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.feature-card p {
    color: #5a6c7d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.feature-card ul {
    margin: 20px 0 0 0;
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-card li {
    margin-bottom: 12px;
    line-height: 1.6;
    padding: 10px 0;
    border-bottom: 1px solid rgba(52, 73, 94, 0.1);
    color: #5a6c7d;
    display: flex;
    align-items: center;
}

.feature-card li:last-child {
    border-bottom: none;
}

.feature-card li:before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.1rem;
}

.feature-icon {
    font-size: 3rem;
    color: #95a5a6;
    margin-bottom: 15px;
    display: block;
    text-shadow: none;
}

.selling-phrases {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 20px;
    padding: 35px;
    margin: 30px 0;
    color: white;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.3);
}

.selling-phrases h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phrase-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.selling-phrases .phrase-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    border-left: 4px solid #f39c12;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.highlight-box .phrase-item {
    padding: 20px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #16a085;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selling-phrases .phrase-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
}

.highlight-box .phrase-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.selling-phrases .phrase-item strong {
    color: #f1c40f;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.selling-phrases .phrase-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    font-style: italic;
}

.highlight-box .phrase-item strong {
    color: #2c3e50;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.highlight-box .phrase-item p {
    color: #333;
    margin: 0;
    line-height: 1.6;
    font-style: normal;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.benefit-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.benefit-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #3498db;
}

.architecture-diagram {
    background: linear-gradient(135deg, rgba(22, 160, 133, 0.1), rgba(39, 174, 96, 0.1));
    border: 2px solid rgba(22, 160, 133, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.architecture-diagram h3 {
    color: #16a085;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.diagram-layers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.diagram-layer {
    background: white;
    color: #2c3e50;
    padding: 25px;
    border-radius: 12px;
    text-align: left;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #16a085;
    margin-bottom: 15px;
}

.diagram-layer:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(22, 160, 133, 0.2);
}

.diagram-layer:nth-child(1) { border-left-color: #16a085; }
.diagram-layer:nth-child(2) { border-left-color: #16a085; }
.diagram-layer:nth-child(3) { border-left-color: #16a085; }
.diagram-layer:nth-child(4) { border-left-color: #16a085; }
.diagram-layer:nth-child(5) { border-left-color: #16a085; }
.diagram-layer:nth-child(6) { border-left-color: #16a085; }

.diagram-layer h4 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.diagram-layer p {
    color: #5a6c7d;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

/* RFP Evaluation Specific Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #16a085;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.methodology-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.methodology-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 160, 133, 0.2);
}

.methodology-item .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.methodology-item h4 {
    color: #495057;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.methodology-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.evaluation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.evaluation-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
}

.evaluation-item h3 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.evaluation-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.evaluation-item li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

.evaluation-item li:last-child {
    border-bottom: none;
}

.status-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.status-fully {
    color: #28a745;
}

.status-partial {
    color: #ffc107;
}

.status-not {
    color: #dc3545;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.requirement-category {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.requirement-category h3 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.requirement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

.requirement-list li:last-child {
    border-bottom: none;
}

.score-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

.score-table th,
.score-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.score-table th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 600;
}

.score-table tr:hover {
    background: #f8f9fa;
}

.score-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
}

.score-5 {
    background: #d1ecf1;
    color: #0c5460;
}

.score-4 {
    background: #d4edda;
    color: #155724;
}

.score-3 {
    background: #fff3cd;
    color: #856404;
}

.score-2 {
    background: #f8d7da;
    color: #721c24;
}

.score-1 {
    background: #f5c6cb;
    color: #721c24;
}

.weight-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.7rem;
}

.weight-5 {
    background: #dc3545;
    color: white;
}

.weight-4 {
    background: #fd7e14;
    color: white;
}

.weight-3 {
    background: #ffc107;
    color: #212529;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.case-study-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.case-study-card h4 {
    color: #495057;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.case-study-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.back-btn {
    position: fixed;
    bottom: 100px;
    left: 20px;
    background: linear-gradient(135deg, #16a085, #27ae60);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.home-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(135deg, #16a085, #27ae60);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.back-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(22,160,133,0.3);
}
.home-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(22,160,133,0.3);
}
/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .presentation-container { padding-top: 70px; }
    .slide { min-height: calc(100vh - 70px); padding: 15px; }
    .slide-content { padding: 25px; max-width: 95%; max-height: calc(100vh - 180px); }
    .slide-title { font-size: 2rem; }
    .slide-subtitle { font-size: 1.2rem; }
    .slide-btns { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 15px; }
    
    /* Адаптивная таблица для планшетов */
    .comparison-table th,
    .comparison-table td {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    .slide-btn { min-height: 100px; font-size: 0.95rem; }
    .slide-btn span { font-size: 1.8rem; }
    .logo-container { height: 70px; padding: 12px 15px; }
    .logo { width: 40px; height: 40px; }
    .logo-text { font-size: 1.2rem; }
    .logo-brand { font-size: 0.9rem; }
    .logo-subtitle { font-size: 0.7rem; }
    .navigation { height: 70px; padding: 12px 15px; }
    .nav-btn { width: 45px; height: 45px; font-size: 1.1rem; }
    .slide-counter { top: 85px; right: 15px; padding: 8px 15px; font-size: 0.9rem; }
    .back-btn, .home-btn { bottom: 85px; padding: 10px 16px; font-size: 0.9rem; }
    .stakeholder-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; }
    .perception-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; }
    .stakeholder-card { padding: 20px; }
    .perception-item { padding: 18px; }
    .feature-card { padding: 25px; }
    .benefit-card { padding: 15px; }
    .architecture-diagram { padding: 30px; }
    .diagram-layer { padding: 15px; }
}
/* Мобильные устройства (480px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .presentation-container { padding-top: 60px; }
    .slide { min-height: calc(100vh - 60px); padding: 10px; }
    .slide-content { padding: 20px; max-width: 98%; max-height: calc(100vh - 160px); border-radius: 15px; }
    .slide-title { font-size: 1.6rem; }
    .slide-subtitle { font-size: 1rem; }
    .slide-btns { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
    .slide-btn { min-height: 80px; font-size: 0.85rem; padding: 12px 8px; }
    .slide-btn span { font-size: 1.5rem; margin-bottom: 4px; }
    .logo-container { height: 60px; padding: 10px 12px; gap: 8px; }
    .logo { width: 35px; height: 35px; }
    .logo-text { font-size: 1rem; }
    .logo-brand { font-size: 0.8rem; }
    .logo-subtitle { font-size: 0.6rem; }
    .navigation { height: 60px; padding: 10px 12px; }
    .nav-btn { width: 40px; height: 40px; font-size: 1rem; }
    .slide-counter { top: 70px; right: 10px; padding: 6px 12px; font-size: 0.8rem; }
    .back-btn, .home-btn { bottom: 70px; padding: 8px 14px; font-size: 0.8rem; }
    .section-title { font-size: 1rem; }
    ul, ol { margin: 0 0 12px 16px; }
    li { font-size: 0.9rem; line-height: 1.4; }
    .stakeholder-grid { grid-template-columns: 1fr; gap: 15px; }
    .perception-grid { grid-template-columns: 1fr; gap: 15px; }
    .stakeholder-card { padding: 18px; }
    .perception-item { padding: 15px; }
    .highlight-box { padding: 15px; }
}
/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .presentation-container { padding-top: 50px; }
    .slide { min-height: calc(100vh - 50px); padding: 8px; }
    .slide-content { padding: 15px; max-width: 100%; max-height: calc(100vh - 140px); border-radius: 12px; font-size: 0.9rem; }
    .slide-title { font-size: 1.3rem; }
    .slide-subtitle { font-size: 0.9rem; }
    .slide-btns { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
    .slide-btn { min-height: 70px; font-size: 0.75rem; padding: 8px 6px; }
    .slide-btn span { font-size: 1.3rem; margin-bottom: 3px; }
    .logo-container { height: 50px; padding: 8px 10px; gap: 6px; }
    .logo { width: 30px; height: 30px; }
    .logo-text { font-size: 0.9rem; }
    .logo-brand { font-size: 0.7rem; }
    .logo-subtitle { font-size: 0.5rem; }
    .navigation { height: 50px; padding: 8px 10px; }
    .nav-btn { width: 35px; height: 35px; font-size: 0.9rem; }
    .slide-counter { top: 60px; right: 8px; padding: 4px 8px; font-size: 0.7rem; }
    .back-btn, .home-btn { bottom: 60px; padding: 6px 12px; font-size: 0.7rem; }
    .section-title { font-size: 0.9rem; }
    ul, ol { margin: 0 0 10px 12px; padding-right: 5px; }
    li { font-size: 0.8rem; line-height: 1.3; }
    .stakeholder-grid { grid-template-columns: 1fr; gap: 12px; }
    .perception-grid { grid-template-columns: 1fr; gap: 12px; }
    .stakeholder-card { padding: 15px; }
    .perception-item { padding: 12px; }
    .highlight-box { padding: 12px; }
    
    /* Адаптивная таблица для мобильных */
    .comparison-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        margin: 15px 0;
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
        border-collapse: separate;
        border-spacing: 0;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 80px;
        white-space: nowrap;
        display: table-cell;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        position: sticky;
        left: 0;
        background: white;
        z-index: 1;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }
    
    .comparison-table th:first-child {
        background: linear-gradient(135deg, #16a085, #27ae60);
        color: white;
    }
}
@media (hover: none) {
    .slide-btn:hover { transform: none; box-shadow: none; }
    .nav-btn:hover { background: rgba(22,160,133,0.1); color: #16a085; transform: none; }
    .back-btn:hover, .home-btn:hover { transform: none; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
    .stakeholder-card:hover { transform: none; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
    .perception-item:hover { transform: none; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
}
@media (prefers-color-scheme: dark) {
    .slide-content { background: rgba(30, 30, 30, 0.95); color: #f0f0f0; }
    .logo-container, .navigation { background: rgba(30, 30, 30, 0.95); }
    .logo-brand { color: #f0f0f0; }
    .logo-subtitle { color: #ccc; }
    .slide-title, .slide-subtitle { background: linear-gradient(135deg, #27ae60, #2ecc71); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .stakeholder-card { background: rgba(40, 40, 40, 0.95); color: #f0f0f0; }
    .stakeholder-card h3 { color: #27ae60; }
    .perception-item { background: rgba(40, 40, 40, 0.95); color: #f0f0f0; }
    .perception-item h4 { color: #27ae60; }
    .perception-item p { color: #ccc; }
    .highlight-box { background: linear-gradient(135deg, rgba(39, 174, 96, 0.2), rgba(46, 204, 113, 0.2)); border-color: rgba(39, 174, 96, 0.3); }
    .highlight-box h3 { color: #27ae60; }
    .quote-box { background: linear-gradient(135deg, rgba(40, 40, 40, 0.95), rgba(50, 50, 50, 0.95)); border-left-color: #27ae60; }
    .quote-box blockquote { color: #ccc; }
}

/* Стили для мобильной навигации */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        transition: left 0.3s ease;
        z-index: 10000;
        padding: 80px 0 0;
        overflow-y: auto;
    }
    
    .mobile-nav.active {
        left: 0;
    }
    
    .mobile-nav-list {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 20px;
    }
    
    .mobile-nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-nav-item:last-child {
        border-bottom: none;
    }
    
    .mobile-nav-link {
        display: block;
        padding: 20px;
        color: #ffffff;
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1rem;
        text-align: center;
        transition: all 0.3s ease;
        border-radius: 0;
    }
    
    .mobile-nav-link:hover {
        background: rgba(178, 224, 255, 0.1);
        color: #b2e0ff;
    }
    
    .mobile-dropdown {
        position: static;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        border-radius: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mobile-dropdown.active {
        max-height: 500px;
    }
    
    .mobile-dropdown-link {
        padding: 15px 40px;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .mobile-dropdown-link:last-child {
        border-bottom: none;
    }
    
    .mobile-dropdown-link:hover {
        background: rgba(178, 224, 255, 0.1);
        color: #b2e0ff;
    }
    
    .mobile-dropdown-toggle {
        cursor: pointer;
        user-select: none;
    }
    
    .mobile-dropdown-toggle::after {
        content: ' ▼';
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }
    
    .mobile-dropdown-toggle.active::after {
        transform: rotate(180deg);
    }
}

/* Глобальные стили для форм и элементов select */
.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 48px; /* Дополнительное место для стрелки */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b2e0ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center; /* Позиция стрелки: отступ от правого края */
    background-size: 14px 14px;
    cursor: pointer;
}

.form-select::-ms-expand {
    display: none; /* Скрываем нативную стрелку в IE */
}
/* Global sticky header behavior */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

/* Default paddings may be defined per-page; keep them but allow shrink on scroll */
.header.header--scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(10, 10, 10, 0.6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .header {
    position: sticky;
    top: 0;
  }
  .header.header--scrolled {
    padding-top: 8px;
    padding-bottom: 8px;
}
