/* Презентация для руководства — полноэкранный режим слайдов */

:root {
    --brand: #005a9b;
    --brand-light: #007cdb;
    --brand-gradient: linear-gradient(135deg, #005a9b 0%, #007cdb 100%);
    --text-main: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --bg-page: #0b1628;
    --bg-slide: #ffffff;
    --accent-green: #059669;
    --accent-amber: #d97706;
    --accent-purple: #6366f1;
    --radius: 16px;
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    --transition: 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    background: var(--bg-page);
    color: var(--text-main);
}

/* ── Оболочка ── */

.presentation {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Верхняя панель ── */

.pres-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: rgba(11, 22, 40, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pres-header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pres-header__logo img {
    height: 32px;
    width: auto;
}

.pres-header__label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.pres-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pres-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.25s ease;
}

.pres-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.pres-btn--primary {
    background: var(--brand-gradient);
    border-color: transparent;
    color: #fff;
}

.pres-btn--primary:hover {
    filter: brightness(1.08);
}

/* ── Область слайдов ── */

.pres-viewport {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 40px 88px;
    position: relative;
}

.pres-slides {
    position: relative;
    width: 100%;
    max-width: 1080px;
    height: calc(100vh - 160px);
    max-height: 640px;
}

.pres-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 64px;
    background: var(--bg-slide);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px) scale(0.98);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    overflow: hidden;
}

.pres-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.pres-slide.is-prev {
    opacity: 0;
    transform: translateX(-40px) scale(0.98);
}

/* Декоративный акцент */
.pres-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--brand-gradient);
}

.pres-slide--dark {
    background: linear-gradient(145deg, #0f2744 0%, #1a3a5c 100%);
    color: #fff;
}

.pres-slide--dark::before {
    background: linear-gradient(90deg, #20c997, #007cdb);
}

.pres-slide--accent {
    background: var(--brand-gradient);
    color: #fff;
}

.pres-slide--accent::before {
    display: none;
}

/* ── Типографика слайдов ── */

.slide-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 16px;
}

.pres-slide--dark .slide-eyebrow,
.pres-slide--accent .slide-eyebrow {
    color: rgba(255, 255, 255, 0.65);
}

.slide-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.slide-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 32px;
    max-width: 720px;
}

.pres-slide--dark .slide-subtitle,
.pres-slide--accent .slide-subtitle {
    color: rgba(255, 255, 255, 0.78);
}

.slide-title--hero {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 12px;
}

.slide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    background: rgba(0, 90, 155, 0.08);
    color: var(--brand);
    border: 1px solid rgba(0, 90, 155, 0.15);
}

.pres-slide--dark .slide-tag,
.pres-slide--accent .slide-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ── Сетки и карточки ── */

.slide-grid {
    display: grid;
    gap: 20px;
    margin-top: 8px;
}

.slide-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.slide-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    padding: 24px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
}

.feature-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: var(--brand-gradient);
    color: #fff;
}

.feature-card__icon--green {
    background: linear-gradient(135deg, #059669, #10b981);
}

.feature-card__icon--amber {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.feature-card__icon--purple {
    background: linear-gradient(135deg, #6366f1, #818cf8);
}

.feature-card__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--text-main);
}

.feature-card__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

/* ── Списки ── */

.slide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.slide-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--text-main);
}

.slide-list__marker {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 90, 155, 0.1);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.pres-slide--dark .slide-list li,
.pres-slide--accent .slide-list li {
    color: rgba(255, 255, 255, 0.92);
}

.pres-slide--dark .slide-list__marker,
.pres-slide--accent .slide-list__marker {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ── Шаги / дорожная карта ── */

.roadmap {
    display: flex;
    gap: 0;
    margin-top: 12px;
    position: relative;
}

.roadmap::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e2e8f0;
    z-index: 0;
}

.roadmap__step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 8px;
}

.roadmap__dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-muted);
}

.roadmap__step--done .roadmap__dot {
    background: var(--brand-gradient);
    border-color: var(--brand);
    color: #fff;
}

.roadmap__step--current .roadmap__dot {
    border-color: var(--brand);
    color: var(--brand);
    box-shadow: 0 0 0 4px rgba(0, 90, 155, 0.15);
}

.roadmap__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.roadmap__desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ── Блок предложения (пилот) ── */

.pilot-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 8px;
}

.pilot-box__main {
    padding: 28px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.pilot-box__main h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.pilot-box__main p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
}

.pilot-requirements {
    padding: 28px;
    border-radius: 12px;
    background: rgba(217, 119, 6, 0.12);
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.pilot-requirements h4 {
    margin: 0 0 14px;
    font-size: 15px;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pilot-requirements ul {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.capability-highlight {
    padding: 22px 24px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    margin-bottom: 16px;
}

.capability-highlight h4 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #6ee7b7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.capability-highlight p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.slide-side-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Статистика ── */

.stat-row {
    display: flex;
    gap: 32px;
    margin-top: 24px;
}

.stat-item {
    text-align: center;
}

.stat-item__value {
    font-size: 36px;
    font-weight: 700;
    color: var(--brand);
    line-height: 1;
}

.pres-slide--dark .stat-item__value,
.pres-slide--accent .stat-item__value {
    color: #fff;
}

.stat-item__label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

.pres-slide--dark .stat-item__label {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Нижняя панель навигации ── */

.pres-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: rgba(11, 22, 40, 0.85);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pres-progress {
    flex: 1;
    max-width: 320px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 24px;
}

.pres-progress__bar {
    height: 100%;
    background: var(--brand-gradient);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.pres-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pres-nav__btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.pres-nav__btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.pres-nav__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pres-counter {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    font-variant-numeric: tabular-nums;
    min-width: 64px;
    text-align: center;
}

.pres-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

/* ── Адаптив ── */

@media (max-width: 900px) {
    .pres-viewport {
        padding: 64px 16px 80px;
    }

    .pres-slide {
        padding: 36px 28px;
    }

    .slide-grid--2,
    .slide-grid--3,
    .pilot-box {
        grid-template-columns: 1fr;
    }

    .roadmap {
        flex-direction: column;
        gap: 16px;
    }

    .roadmap::before {
        display: none;
    }

    .pres-hint {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pres-slide {
        transition: none;
    }
}
