/* ========================================
   BETENDY PRESENTATION - STYLES
   Modern, Minimal, Dark Theme
   ======================================== */

:root {
    /* Colors */
    --bg-dark:      #06060d;
    --bg-primary:   #06060d;
    --bg-secondary: #0e0e1c;
    --bg-card:      rgba(255, 255, 255, 0.09);
    --bg-card-hover: rgba(255, 255, 255, 0.14);
    /* Primary Accents — в унисон с base-slide.css */
    --accent-primary:   #f09040;
    --accent-secondary: #f8b060;
    --accent-blue:   #4d9fd8;
    --accent-green:  #3ecb82;
    --accent-purple: #8b70d0;
    --accent-red:    #e06868;
    --accent-orange: #f09040;
    --accent-glow:   rgba(240, 144, 64, 0.50);
    --border-color:  rgba(255, 255, 255, 0.13);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #f09040 0%, #f8b060 100%);
    --gradient-dark:    linear-gradient(180deg, #06060d 0%, #0e0e1c 100%);
    --gradient-card:    linear-gradient(135deg, rgba(240, 144, 64, 0.16) 0%, rgba(240, 144, 64, 0.05) 100%);

    /* Spacing */
    --slide-padding: 60px;

    /* Typography */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Extended semantic colors matching base-slide.css */
    --color-blue:         #4d9fd8;
    --color-blue-light:   #70baf0;
    --color-purple:       #8b70d0;
    --color-purple-light: #a888e8;
    --color-green:        #3ecb82;
    --color-green-light:  #60dea0;
    --color-green-soft:   #88ecbc;
    --color-red:          #e06868;
    --color-cyan:         #44b8c0;

    /* Text hierarchy */
    --text-primary:   #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.78);
    --text-muted:     rgba(255, 255, 255, 0.52);
    --text-subtle:    rgba(255, 255, 255, 0.32);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-medium: rgba(255, 255, 255, 0.13);
    --border-strong: rgba(255, 255, 255, 0.22);

    /* Radius */
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  20px;
    --radius-2xl: 24px;

    /* Shadows */
    --shadow-ambient: 0 8px 40px rgba(0, 0, 0, 0.65);
    --shadow-card:    0 4px 28px rgba(0, 0, 0, 0.55);
    --shadow-inset:   inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-family);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
}

/* Subtle background glows for all slides */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(ellipse 800px 600px at 90% -10%, rgba(232, 146, 88, 0.16) 0%, transparent 60%),
        radial-gradient(ellipse 600px 500px at -5% 100%, rgba(139, 114, 196, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 500px 400px at 50% 50%, rgba(94, 159, 212, 0.07) 0%, transparent 40%);
}

/* Grid pattern overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.8;
}

/* Base Layout */
.presentation-viewport {
    width: 100%;
    height: 100vh;
    padding-top: 62px;
    /* Nav + progress bar height */
    overflow: hidden;
    background: var(--bg-dark);
}

/* No fixed scaler - content is fully responsive */
.presentation-scaler {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.slide-counter {
    font-size: 16px;
    color: var(--text-secondary);
    min-width: 60px;
    text-align: center;
}

/* Click overlay to capture clicks and keep keyboard focus on main window */
.slide-click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    cursor: default;
    /* Transparent but captures clicks */
    background: transparent;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 999;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 5%;
    transition: width 0.3s ease;
}

/* Slides Container */
.slides-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Slide Base — stacked, transition on activate */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px 50px 40px 50px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

iframe.slide {
    padding: 0 !important;
    border: none !important;
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Slide Variants */
.slide-dark {
    background: var(--gradient-dark);
}

.slide-gradient {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(157, 136, 192, 0.08) 50%, transparent 100%);
}

/* Typography */
.section-label {
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-primary);
}

.section-label.light {
    color: rgba(255, 255, 255, 0.7);
}

h2 {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

h3 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
}

h4 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
}

.lead {
    font-size: 26px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Title Slide */
.slide-title {
    /* display: flex; REMOVED - prevents overriding display:none */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.slide-title.active {
    display: flex;
}

.title-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 32px;
}

.main-title {
    font-size: 120px;
    font-weight: 800;
    letter-spacing: 8px;
    color: var(--accent-primary);
    /* Solid color for screen sharing */
    margin-bottom: 24px;
}

.subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.title-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 16px;
}

.year {
    font-weight: 600;
    color: var(--accent-primary);
}

.scroll-hint {
    position: absolute;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Cards */
.cards-grid {
    display: grid;
    gap: 24px;
}

.cards-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: var(--accent-primary);
}

.card-accent {
    background: var(--gradient-card);
    border-color: rgba(99, 102, 241, 0.3);
}

.card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-primary);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 16px;
}

.card-arrow {
    color: var(--accent-primary);
    font-size: 16px;
    font-weight: 500;
}

/* Levels Stack */
.levels-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.level-item {
    display: grid;
    grid-template-columns: 100px 1fr 200px;
    align-items: center;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 32px;
}

.level-tag {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.level-tag.blue {
    background: rgba(125, 165, 196, 0.2);
    color: var(--accent-blue);
}

.level-tag.purple {
    background: rgba(157, 136, 192, 0.2);
    color: var(--accent-secondary);
}

.level-tag.green {
    background: rgba(109, 184, 138, 0.2);
    color: var(--accent-green);
}

.level-content h4 {
    margin-bottom: 8px;
}

.level-content ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.level-content li {
    color: var(--text-secondary);
    font-size: 16px;
}

.level-role {
    text-align: right;
    color: var(--accent-primary);
    font-weight: 500;
    font-size: 16px;
}

/* Formula */
.slide-content.center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.formula {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 48px 0;
}

.formula-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.formula-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-primary);
}

.formula-action {
    font-size: 18px;
    color: var(--text-secondary);
}

.formula-plus {
    font-size: 32px;
    font-weight: 300;
    color: var(--text-muted);
}

.formula-result {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 20px 40px;
    background: var(--gradient-card);
    border-radius: 12px;
}

/* Org Grid */
.org-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.org-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.org-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.org-card h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.org-list {
    list-style: none;
}

.org-list li {
    color: var(--text-secondary);
    font-size: 16px;
    padding: 4px 0;
}

/* Mission */
.mission-block {
    margin-bottom: 32px;
}

.mission-text {
    font-size: 20px;
    margin-bottom: 20px;
}

.mission-list {
    list-style: none;
}

.mission-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 18px;
}

.mission-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.quote-box {
    padding: 32px;
    background: var(--gradient-card);
    border-left: 4px solid var(--accent-primary);
    border-radius: 0 12px 12px 0;
    font-size: 18px;
    font-style: italic;
    color: var(--text-secondary);
}

/* Goals Grid */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.goal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.goal-card.full-width {
    grid-column: 1 / -1;
}

.goal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.goal-tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    background: var(--accent-secondary);
}

.goal-tag.green {
    background: var(--accent-green);
}

.goal-tag.blue {
    background: var(--accent-blue);
}

.goal-tag.orange {
    background: var(--accent-orange);
}

.goal-title {
    font-weight: 600;
}

.goal-card p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 12px;
}

.goal-card ul {
    list-style: none;
}

.goal-card li {
    color: var(--text-muted);
    font-size: 15px;
    padding: 2px 0;
}

/* Problems List */
.problems-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
}

.problem-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
}

.problem-text {
    font-size: 16px;
    color: var(--text-secondary);
}

.conclusion-box {
    padding: 24px 32px;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

/* Tech Columns */
.tech-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tech-col h4 {
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.tech-col ul {
    list-style: none;
}

.tech-col li {
    color: var(--text-secondary);
    font-size: 15px;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.tech-col li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
}

.result-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(109, 184, 138, 0.2);
    color: var(--accent-green);
    border-radius: 8px;
    font-weight: 600;
}

.highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--gradient-card);
    border-radius: 12px;
}

.highlight-box.green {
    background: rgba(109, 184, 138, 0.1);
    border: 1px solid rgba(109, 184, 138, 0.2);
}

.highlight-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.features-grid.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.feature-card h4 {
    margin-bottom: 16px;
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    color: var(--text-secondary);
    font-size: 16px;
    padding: 4px 0;
}

.status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    margin-left: 8px;
}

.status.wip {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-orange);
}

.status.done {
    background: rgba(109, 184, 138, 0.2);
    color: var(--accent-green);
}

.goal-banner {
    padding: 20px 32px;
    background: var(--gradient-card);
    border-radius: 12px;
    text-align: center;
}

.feature-mini {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.feature-status {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    font-size: 16px;
}

.feature-status.done {
    background: rgba(109, 184, 138, 0.2);
    color: var(--accent-green);
}

.feature-status.wip {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-orange);
}

.feature-status.plan {
    background: rgba(113, 113, 122, 0.2);
    color: var(--text-muted);
}

.feature-status.partial {
    background: rgba(125, 165, 196, 0.2);
    color: var(--accent-blue);
}

.feature-mini h5 {
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-mini p {
    font-size: 16px;
    color: var(--text-secondary);
}

.feature-mini small {
    color: var(--text-muted);
}

/* Sides Compare */
.sides-compare {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
}

.side-box {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.side-box h4 {
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.side-box ul {
    list-style: none;
}

.side-box li {
    color: var(--text-secondary);
    padding: 8px 0;
    font-size: 15px;
}

.side-divider {
    font-size: 48px;
    font-weight: 300;
    color: var(--accent-primary);
}

.models-row {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.model-tag {
    padding: 12px 24px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-header h3 {
    margin: 0;
}

.project-status {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
}

.project-status.live {
    background: var(--accent-green);
}

.project-status.dev {
    background: var(--accent-orange);
}

.project-metrics {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-label {
    font-size: 15px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.metric-value {
    font-size: 18px;
    font-weight: 600;
}

.placeholder {
    color: var(--accent-orange);
    background: rgba(245, 158, 11, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 15px;
}

/* Plan Grid */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.plan-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.plan-item h4 {
    margin-bottom: 8px;
}

.plan-item p {
    color: var(--text-secondary);
    font-size: 16px;
}

.subsection-title {
    font-size: 18px;
    margin-bottom: 20px;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.condition {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
}

.condition-label {
    font-size: 16px;
    color: var(--text-muted);
}

.condition-value {
    font-size: 16px;
    font-weight: 600;
}

/* Metrics Dashboard */
.metrics-dashboard {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
}

.big-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.big-value {
    font-size: 48px;
    font-weight: 700;
}

.big-label {
    font-size: 16px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.column h4 {
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.column ul {
    list-style: none;
}

.column li {
    color: var(--text-secondary);
    padding: 8px 0;
    font-size: 16px;
}

/* Brands Compare */
.brands-compare {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.brand-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.brand-card.mass {
    border-color: var(--accent-red);
}

.brand-card.premium {
    border-color: var(--accent-blue);
}

.brand-logo {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.brand-type {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.brand-card ul {
    list-style: none;
    text-align: left;
}

.brand-card li {
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.brand-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.integrations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.integration-item {
    padding: 16px 20px;
    background: var(--bg-card);
    border-radius: 10px;
    font-size: 16px;
    color: var(--text-secondary);
}

/* Legal Structure */
.legal-structure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.legal-entity {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    max-width: 600px;
    width: 100%;
}

.legal-entity.main {
    border-color: var(--accent-primary);
    background: var(--gradient-card);
}

.legal-entity h4 {
    margin-bottom: 4px;
}

.legal-entity p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 16px;
}

.legal-entity ul {
    list-style: none;
}

.legal-entity li {
    color: var(--text-muted);
    font-size: 16px;
    padding: 4px 0;
}

.legal-arrow {
    font-size: 32px;
    color: var(--text-muted);
}

.legal-operators {
    display: flex;
    gap: 24px;
}

.legal-entity.operator {
    flex: 1;
}

.legal-entity small {
    color: var(--text-muted);
}

/* Roadmap */
.roadmap {
    display: flex;
    gap: 24px;
    margin-bottom: 60px;
}

.roadmap-item {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: relative;
}

.roadmap-item.active {
    border-color: var(--accent-primary);
    background: var(--gradient-card);
}

.roadmap-quarter {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.roadmap-content h4 {
    margin-bottom: 8px;
}

.roadmap-content p {
    color: var(--text-secondary);
    font-size: 16px;
}

.final-message {
    text-align: center;
    padding: 48px;
    background: var(--gradient-card);
    border-radius: 20px;
}

.final-message h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.final-message p {
    color: var(--text-secondary);
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1200px) {

    .cards-grid.three-col,
    .org-grid,
    .goals-grid,
    .features-grid,
    .tech-columns,
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid.four-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --slide-padding: 24px;
    }

    .main-title {
        font-size: 60px;
    }

    h2 {
        font-size: 32px;
    }

    .cards-grid.three-col,
    .org-grid,
    .goals-grid,
    .features-grid,
    .tech-columns,
    .results-grid,
    .brands-compare,
    .projects-grid,
    .conditions-grid,
    .roadmap {
        grid-template-columns: 1fr;
    }

    .formula {
        flex-direction: column;
    }

    .level-item {
        grid-template-columns: 1fr;
    }

    .sides-compare {
        flex-direction: column;
    }

    .metrics-dashboard {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Slide 6 (Structure) is now handled by the global scaling in script.js */

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(232, 160, 112, 0.4);
    border: 1px solid rgba(232, 160, 112, 0.2);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.header-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

/* Key Highlights */
.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.highlight-card {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

/* Branded Accent Colors */
.highlight-card:nth-child(1)::before {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.highlight-card:nth-child(2)::before {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.highlight-card:nth-child(3)::before {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.highlight-card:nth-child(4)::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.highlight-value {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
}

/* Leadership Section */
.leadership {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.leadership-row {
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
}

.leadership-card {
    background: linear-gradient(135deg, rgba(232, 160, 112, 0.15) 0%, rgba(240, 184, 144, 0.08) 100%);
    border: 1px solid rgba(232, 160, 112, 0.3);
    padding: 8px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(232, 160, 112, 0.1);
}

.leadership-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fb923c;
    margin-bottom: 2px;
}

.leadership-name {
    font-size: 15px;
    font-weight: 600;
}

.po-card {
    background: linear-gradient(135deg, rgba(157, 136, 192, 0.12) 0%, rgba(176, 157, 208, 0.06) 100%);
    border: 1px solid rgba(157, 136, 192, 0.25);
}

.po-card .leadership-label {
    color: #a78bfa;
}

.connector-line {
    width: 2px;
    height: 8px;
    background: linear-gradient(180deg, rgba(232, 160, 112, 0.4) 0%, rgba(157, 136, 192, 0.4) 100%);
}

.connector-split {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.connector-v {
    width: 2px;
    height: 16px;
    background: rgba(157, 136, 192, 0.3);
}

.connector-h {
    width: 85%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(157, 136, 192, 0.3) 15%, rgba(157, 136, 192, 0.3) 85%, transparent 100%);
}

/* Departments Grid */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.department {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.department:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.dept-accent {
    height: 3px;
}

.dept-development .dept-accent {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.dept-product .dept-accent {
    background: linear-gradient(90deg, #ec4899, #f472b6);
}

.dept-risk .dept-accent {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.dept-customer .dept-accent {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.dept-backoffice .dept-accent {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.dept-marketing .dept-accent {
    background: linear-gradient(90deg, #06b6d4, #22d3ee);
}

.dept-header {
    padding: 16px 12px 10px;
    text-align: center;
}

.dept-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.dept-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.dept-development .dept-icon {
    background: rgba(157, 136, 192, 0.2);
    color: #a78bfa;
}

.dept-product .dept-icon {
    background: rgba(236, 72, 153, 0.2);
    color: #f472b6;
}

.dept-risk .dept-icon {
    background: rgba(125, 165, 196, 0.2);
    color: #60a5fa;
}

.dept-customer .dept-icon {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.dept-backoffice .dept-icon {
    background: rgba(232, 160, 112, 0.2);
    color: #fb923c;
}

.dept-marketing .dept-icon {
    background: rgba(6, 182, 212, 0.2);
    color: #22d3ee;
}

.dept-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.dept-count {
    font-size: 28px;
    font-weight: 700;
}

.dept-count span {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 4px;
}

.dept-head {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin: 0 10px;
    border-radius: 4px;
}

.dept-head strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.dept-teams {
    padding: 10px;
    background: rgba(0, 0, 0, 0.15);
}

.team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 16px;
}

.team-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.team-name {
    color: rgba(255, 255, 255, 0.7);
}

.team-count {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    color: #fff;
    font-size: 15px;
}

/* Bottom Stats */
.bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.strengths-card,
.distribution-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, #f97316, #fb923c);
    border-radius: 2px;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.strength-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.feature-status {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border-radius: 50%;
}

.feature-status.done {
    background: rgba(109, 184, 138, 0.2);
    color: var(--accent-green);
}

.feature-status.wip {
    background: rgba(232, 160, 112, 0.2);
    color: var(--accent-orange);
}

.feature-status.plan {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.feature-status.partial {
    background: rgba(125, 165, 196, 0.2);
    color: var(--accent-blue);
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ... skipped ... */
.strength-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strength-icon.orange {
    background: rgba(232, 160, 112, 0.15);
    color: var(--accent-primary);
}

.strength-icon.green {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
}

.strength-icon.blue {
    background: rgba(125, 165, 196, 0.15);
    color: var(--accent-blue);
}

.strength-icon.purple {
    background: rgba(157, 136, 192, 0.15);
    color: var(--accent-purple);
}

.strength-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.strength-text strong {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 2px;
}

/* Distribution Chart */
.dist-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dist-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dist-label {
    width: 90px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.dist-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.dist-fill {
    height: 100%;
    border-radius: 4px;
}

.dist-fill.green {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.dist-fill.purple {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.dist-fill.cyan {
    background: linear-gradient(90deg, #06b6d4, #22d3ee);
}

.dist-fill.blue {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.dist-fill.orange {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.dist-fill.pink {
    background: linear-gradient(90deg, #ec4899, #f472b6);
}

.dist-value {
    width: 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: right;
}

.footer {
    margin-top: 24px;
    text-align: center;
    font-size: 16px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    .departments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}