/* ========================================
   BETENDY PRESENTATION — UNIFIED DESIGN SYSTEM
   Single source of truth for all slides
   ======================================== */

/* ========================================
   DESIGN TOKENS
   ======================================== */
:root {
    /* ── Core Backgrounds ── */
    --bg-primary:    #06060d;
    --bg-secondary:  #0e0e1c;
    --bg-card:       rgba(12, 12, 22, 0.84);
    --bg-card-hover: rgba(16, 16, 28, 0.90);

    /* ── Premium Glass ── */
    --glass-bg:           rgba(14, 14, 26, 0.80);
    --glass-bg-elevated:  rgba(18, 18, 32, 0.86);
    --glass-bg-hover:     rgba(22, 22, 38, 0.90);
    --glass-border:       rgba(255, 255, 255, 0.16);
    --glass-border-hover: rgba(255, 255, 255, 0.28);
    --glass-blur:         blur(24px);

    /* ── Accent — Warm Amber (brand) ── */
    --accent-primary:   #f09040;
    --accent-secondary: #f8b060;
    --accent-glow:      rgba(240, 144, 64, 0.50);

    /* ── Semantic Color Palette ── */
    --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);

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

    /* ── Slide Spacing ── */
    --slide-padding-x:   60px;
    --slide-padding-y:   50px;
    --slide-padding-top: 32px;

    /* ── Border 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-glow-soft:   0 0 60px rgba(240, 144, 64, 0.18);
    --shadow-glow-strong: 0 0 100px rgba(240, 144, 64, 0.28);
    --shadow-inset:       inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --shadow-card:        0 4px 28px rgba(0, 0, 0, 0.55), var(--shadow-inset);

    /* ── Transitions ── */
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s  cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ── Gradients ── */
    --gradient-primary: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --gradient-card:    linear-gradient(135deg, rgba(240, 144, 64, 0.16) 0%, rgba(240, 144, 64, 0.05) 100%);

    /* ── Legacy compat aliases ── */
    --bg-dark:       var(--bg-primary);
    --border-color:  var(--border-medium);
    --accent-orange: var(--accent-primary);
    --accent-red:    var(--color-red);
    --accent-green:  var(--color-green);
    --accent-blue:   var(--color-blue);
    --accent-purple: var(--color-purple);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    background: var(--bg-primary);
    font-family: var(--font-family);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   BACKGROUND EFFECTS
   ======================================== */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.38;
    z-index: 0;
    pointer-events: none;
    animation: glow-pulse 14s ease-in-out infinite;
}

.bg-glow.orange {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(240, 144, 64, 0.22), transparent 58%);
    top: -380px;
    right: -280px;
}

.bg-glow.purple {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(139, 112, 208, 0.18), transparent 58%);
    bottom: -320px;
    left: -200px;
    animation-delay: -5s;
}

.bg-glow.blue {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(77, 159, 216, 0.16), transparent 58%);
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

.bg-glow.center {
    width: 1000px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(77, 159, 216, 0.08), transparent 65%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -9s;
}

.bg-glow.green {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(62, 203, 130, 0.14), transparent 58%);
    bottom: -220px;
    right: -180px;
    animation-delay: -7s;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.32; transform: scale(1); }
    50%       { opacity: 0.45; transform: scale(1.04); }
}

/* Animated glow for .bg-glow.center / .blue has translate, keep it */
.bg-glow.blue, .bg-glow.center {
    animation: glow-pulse-center 14s ease-in-out infinite;
}
@keyframes glow-pulse-center {
    0%, 100% { opacity: 0.28; }
    50%       { opacity: 0.40; }
}

/* Grid pattern overlay */
.grid-pattern {
    position: fixed;
    inset: 0;
    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;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
    mask-image: radial-gradient(ellipse 140% 130% at center, black 10%, transparent 68%);
    -webkit-mask-image: radial-gradient(ellipse 140% 130% at center, black 10%, transparent 68%);
}

/* ========================================
   SLIDE CONTAINER
   ======================================== */
.slide-container {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    height: auto;
    padding: var(--slide-padding-top) var(--slide-padding-x) var(--slide-padding-y);
    z-index: 1;
    display: flex;
    flex-direction: column;
}

/* ========================================
   SECTION LABEL — pill badge top-left
   ======================================== */
.section-label {
    position: absolute;
    top: 26px;
    left: var(--slide-padding-x);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    background: rgba(236, 143, 60, 0.10);
    border: 1px solid rgba(236, 143, 60, 0.22);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.20);
}

.section-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-glow);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1;   box-shadow: 0 0 12px var(--accent-glow); }
    50%       { opacity: 0.6; box-shadow: 0 0 6px  var(--accent-glow); }
}

/* ========================================
   SLIDE CONTENT AREA
   ======================================== */
.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 52px;
    width: 100%;
}

.slide-content.center {
    align-items: center;
    text-align: center;
}

/* ========================================
   TYPOGRAPHY — Unified slide title system
   All slides share these rules.
   Per-slide overrides are still allowed.
   ======================================== */

/* Header block */
.header {
    margin-bottom: clamp(20px, 4.5vh, 52px);
}

/* H2 / slide title — the main slide heading */
.header h2,
.header .slide-title,
h2.slide-title {
    font-size: max(2.6rem, 5.2vh);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: clamp(10px, 2vh, 22px);
    letter-spacing: -1.5px;
    background: linear-gradient(175deg, #ffffff 0%, rgba(255, 255, 255, 0.86) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Lead / subtitle under the title */
.header .lead,
.header p.lead {
    font-size: max(1.05rem, 2.1vh);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.70;
    letter-spacing: -0.2px;
    margin-top: clamp(6px, 1vh, 12px);
    margin-bottom: 0;
}

/* Generic h3, h4 resets */
h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--text-primary);
}

h4 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* ========================================
   GLOBAL CARD ISOLATION RULE
   All semi-transparent card-like elements need
   backdrop-filter + dark base so text stays readable
   regardless of what glow is behind them.
   ======================================== */
.card,
[class*="section-block"],
[class*="-card"]:not(.badge):not(.status-badge),
[class*="feature-card"],
[class*="role-card"],
[class*="model-card"],
[class*="goal-card"],
[class*="highlight-block"],
[class*="result-block"],
[class*="summary-block"],
[class*="cta-block"],
[class*="strategy-footer"],
[class*="operator-block"] {
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    isolation: isolate;
}

/* ========================================
   CARDS — Glassmorphism system
   ======================================== */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-smooth);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    pointer-events: none;
}

.card:hover {
    background: var(--glass-bg-elevated);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card), var(--shadow-glow-soft);
}

/* Card color variants — dark base ensures text readable over glows */
.card.accent-orange,
.card.orange {
    background: linear-gradient(135deg, rgba(22, 14, 8, 0.90) 0%, rgba(18, 12, 8, 0.88) 100%);
    border-color: rgba(240, 144, 64, 0.44);
    box-shadow: 0 4px 28px rgba(0,0,0,0.60), inset 0 1px 0 rgba(240,144,64,0.10), 0 0 40px rgba(240,144,64,0.08);
}

.card.accent-purple,
.card.purple {
    background: linear-gradient(135deg, rgba(16, 10, 30, 0.90) 0%, rgba(12, 8, 24, 0.88) 100%);
    border-color: rgba(139, 112, 208, 0.44);
    box-shadow: 0 4px 28px rgba(0,0,0,0.60), inset 0 1px 0 rgba(139,112,208,0.10), 0 0 40px rgba(139,112,208,0.10);
}

.card.accent-blue,
.card.blue {
    background: linear-gradient(135deg, rgba(8, 12, 24, 0.90) 0%, rgba(6, 10, 20, 0.88) 100%);
    border-color: rgba(77, 159, 216, 0.44);
    box-shadow: 0 4px 28px rgba(0,0,0,0.60), inset 0 1px 0 rgba(77,159,216,0.10), 0 0 40px rgba(77,159,216,0.10);
}

.card.accent-green,
.card.green {
    background: linear-gradient(135deg, rgba(6, 20, 16, 0.90) 0%, rgba(6, 16, 12, 0.88) 100%);
    border-color: rgba(62, 203, 130, 0.44);
    box-shadow: 0 4px 28px rgba(0,0,0,0.60), inset 0 1px 0 rgba(62,203,130,0.10), 0 0 40px rgba(62,203,130,0.10);
}

.card.accent-red,
.card.red {
    background: linear-gradient(135deg, rgba(24, 8, 8, 0.90) 0%, rgba(20, 6, 6, 0.88) 100%);
    border-color: rgba(224, 104, 104, 0.44);
    box-shadow: 0 4px 28px rgba(0,0,0,0.60), inset 0 1px 0 rgba(224,104,104,0.10), 0 0 40px rgba(224,104,104,0.10);
}

/* Left-border accent variants */
.card.border-left-orange { border-left: 4px solid var(--accent-primary); }
.card.border-left-purple { border-left: 4px solid var(--color-purple); }
.card.border-left-blue   { border-left: 4px solid var(--color-blue); }
.card.border-left-green  { border-left: 4px solid var(--color-green); }

/* Card content helpers */
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card h4 { font-size: 18px; margin-bottom: 10px; }
.card p  { font-size: 16px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }
.card ul { list-style: none; }
.card li {
    font-size: 16px;
    color: var(--text-secondary);
    padding: 6px 0 6px 16px;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
}
.card li:last-child { border-bottom: none; }
.card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* ========================================
   GRID LAYOUTS
   ======================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ========================================
   ICON BOXES
   ======================================== */
.icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.icon-box svg, .icon-box img {
    width: 26px;
    height: 26px;
    color: #fff;
}

.icon-box.orange  { background: linear-gradient(135deg, var(--accent-primary),   var(--accent-secondary)); }
.icon-box.purple  { background: linear-gradient(135deg, var(--color-purple),  var(--color-purple-light)); }
.icon-box.blue    { background: linear-gradient(135deg, var(--color-blue),    var(--color-blue-light)); }
.icon-box.green   { background: linear-gradient(135deg, var(--color-green),   var(--color-green-light)); }
.icon-box.red     { background: linear-gradient(135deg, var(--color-red),     rgba(224,120,120,0.8)); }

/* Number badge (inside headings) */
.num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

/* ========================================
   BADGES & TAGS
   ======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.badge.primary { background: var(--gradient-primary); color: #fff; }
.badge.orange  { background: var(--gradient-primary); color: #fff; }
.badge.purple  { background: var(--color-purple); color: #fff; }
.badge.blue    { background: var(--color-blue); color: #fff; }
.badge.green   { background: var(--color-green); color: #fff; }
.badge.red     { background: var(--color-red); color: #fff; }

.badge.outline {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.status-badge.done,
.status-badge.live    { background: rgba(77, 197, 133, 0.18); color: var(--color-green-soft); }
.status-badge.wip,
.status-badge.dev     { background: rgba(91, 159, 214, 0.18); color: var(--color-blue-light); }
.status-badge.plan,
.status-badge.planned { background: rgba(143, 118, 202, 0.18); color: var(--color-purple-light); }
.status-badge.warn    { background: rgba(236, 143, 60, 0.18); color: var(--accent-secondary); }

/* ========================================
   HIGHLIGHT BLOCKS — left-border accent
   ======================================== */
.highlight-block {
    background: linear-gradient(90deg, rgba(236, 143, 60, 0.09) 0%, transparent 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 3px solid var(--accent-primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: var(--shadow-ambient);
    transition: all var(--transition-smooth);
}

.highlight-block:hover {
    background: linear-gradient(90deg, rgba(236, 143, 60, 0.13) 0%, transparent 100%);
}

.highlight-block.green {
    background: linear-gradient(90deg, rgba(77, 197, 133, 0.08) 0%, transparent 100%);
    border-left-color: var(--color-green);
}

.highlight-block.purple {
    background: linear-gradient(90deg, rgba(143, 118, 202, 0.08) 0%, transparent 100%);
    border-left-color: var(--color-purple);
}

.highlight-block.blue {
    background: linear-gradient(90deg, rgba(91, 159, 214, 0.08) 0%, transparent 100%);
    border-left-color: var(--color-blue);
}

.highlight-block p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.highlight-block strong { color: var(--accent-primary); font-weight: 600; }
.highlight-block.green  strong { color: var(--color-green); }
.highlight-block.purple strong { color: var(--color-purple-light); }
.highlight-block.blue   strong { color: var(--color-blue-light); }

/* ========================================
   RESULT BLOCK — bottom conclusion block
   ======================================== */
.result-block {
    margin-top: auto;
    background: linear-gradient(135deg, rgba(77, 197, 133, 0.09) 0%, rgba(77, 197, 133, 0.03) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(77, 197, 133, 0.20);
    border-radius: var(--radius-xl);
    padding: 26px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: var(--shadow-ambient);
    transition: all var(--transition-smooth);
}

.result-block:hover {
    border-color: rgba(77, 197, 133, 0.30);
    box-shadow: var(--shadow-ambient), 0 0 40px rgba(77, 197, 133, 0.08);
}

.result-block.orange {
    background: linear-gradient(135deg, rgba(236, 143, 60, 0.09) 0%, rgba(236, 143, 60, 0.03) 100%);
    border-color: rgba(236, 143, 60, 0.22);
}

.result-block h4 { font-size: 19px; color: var(--color-green); margin-bottom: 5px; font-weight: 600; }
.result-block.orange h4 { color: var(--accent-secondary); }
.result-block p  { font-size: 16px; color: var(--text-secondary); margin: 0; }

.result-tags { display: flex; gap: 10px; flex-wrap: wrap; }

.result-tag {
    padding: 9px 18px;
    background: rgba(77, 197, 133, 0.12);
    border: 1px solid rgba(77, 197, 133, 0.24);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-green-soft);
    white-space: nowrap;
}

/* ========================================
   STRATEGY FOOTER — bottom info bar
   Used as a key-insight footer on many slides
   ======================================== */
.strategy-footer {
    background: var(--glass-bg);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 18px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.strategy-label {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--accent-primary);
    white-space: nowrap;
    padding-right: 22px;
    border-right: 1px solid var(--border-medium);
    flex-shrink: 0;
}

.strategy-text {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.5;
}

.strategy-text span {
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 6px;
}

/* ========================================
   SUMMARY / CONCLUSION BLOCK
   ======================================== */
.summary-block {
    background: linear-gradient(135deg, rgba(236, 143, 60, 0.10) 0%, rgba(143, 118, 202, 0.05) 100%);
    border: 1px solid rgba(236, 143, 60, 0.22);
    border-radius: var(--radius-lg);
    padding: 28px 36px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-smooth);
    width: 100%;
}

.summary-block:hover {
    border-color: rgba(236, 143, 60, 0.32);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.20), 0 0 40px rgba(236, 143, 60, 0.08);
}

.summary-block.green {
    background: linear-gradient(135deg, rgba(77, 197, 133, 0.09) 0%, transparent 100%);
    border-color: rgba(77, 197, 133, 0.22);
}

.summary-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 12px;
    display: block;
}

.summary-block.green .summary-label { color: var(--color-green); }

.summary-text {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.94);
    line-height: 1.65;
    letter-spacing: -0.1px;
    margin: 0;
}

/* ========================================
   CTA BLOCK — full-width bottom CTA
   ======================================== */
.cta-block {
    background: linear-gradient(135deg, rgba(236, 143, 60, 0.11) 0%, rgba(143, 118, 202, 0.05) 100%);
    border: 1px solid rgba(236, 143, 60, 0.22);
    border-radius: var(--radius-xl);
    padding: 36px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-ambient);
}

.cta-text h3 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.cta-text p  { font-size: 17px; color: var(--text-secondary); margin: 0; }

.cta-stats { display: flex; gap: 44px; }

/* ========================================
   STAT ITEMS
   ======================================== */
.stat-item { text-align: center; }

.stat-value {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ========================================
   LISTS
   ======================================== */
.styled-list { list-style: none; }

.styled-list li {
    font-size: 16px;
    color: var(--text-secondary);
    padding: 11px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.styled-list li:last-child { border-bottom: none; padding-bottom: 0; }

.styled-list li::before {
    content: '→';
    color: var(--accent-primary);
    flex-shrink: 0;
    font-weight: 600;
    margin-top: 1px;
}

.styled-list.purple li::before { color: var(--color-purple); }
.styled-list.blue   li::before { color: var(--color-blue); }
.styled-list.green  li::before { color: var(--color-green); }

/* ========================================
   TEXT UTILITIES
   ======================================== */
.text-orange  { color: var(--accent-primary); }
.text-amber   { color: var(--accent-secondary); }
.text-purple  { color: var(--color-purple-light); }
.text-blue    { color: var(--color-blue-light); }
.text-green   { color: var(--color-green-soft); }
.text-red     { color: var(--color-red); }
.text-muted   { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }

/* ========================================
   SPACING UTILITIES
   ======================================== */
.mb-0  { margin-bottom: 0; }
.mb-sm { margin-bottom: 14px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }
.mb-xl { margin-bottom: 56px; }
.mt-0  { margin-top: 0; }
.mt-sm { margin-top: 14px; }
.mt-auto { margin-top: auto; }
.gap-sm  { gap: 14px; }
.gap-md  { gap: 24px; }
.gap-lg  { gap: 32px; }
.flex    { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.flex-wrap  { flex-wrap: wrap; }
.flex-1     { flex: 1; }

/* ========================================
   DISTRIBUTION BARS
   ======================================== */
.dist-bars { display: flex; flex-direction: column; gap: 8px; }

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

.dist-label { width: 90px; font-size: 13px; color: var(--text-muted); }

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

.dist-fill { height: 100%; border-radius: 4px; }
.dist-fill.orange { background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary)); }
.dist-fill.green  { background: linear-gradient(90deg, var(--color-green), var(--color-green-light)); }
.dist-fill.purple { background: linear-gradient(90deg, var(--color-purple), var(--color-purple-light)); }
.dist-fill.blue   { background: linear-gradient(90deg, var(--color-blue), var(--color-blue-light)); }
.dist-fill.cyan   { background: linear-gradient(90deg, var(--color-cyan), #7dd6da); }
.dist-fill.pink   { background: linear-gradient(90deg, #e870a4, #f49bc4); }

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

/* ========================================
   DEPARTMENTS (org chart)
   ======================================== */
.dept-accent { height: 3px; }

.dept-development .dept-accent { background: linear-gradient(90deg, var(--color-purple), var(--color-purple-light)); }
.dept-product    .dept-accent  { background: linear-gradient(90deg, #e870a4, #f49bc4); }
.dept-risk       .dept-accent  { background: linear-gradient(90deg, var(--color-blue), var(--color-blue-light)); }
.dept-customer   .dept-accent  { background: linear-gradient(90deg, var(--color-green), var(--color-green-light)); }
.dept-backoffice .dept-accent  { background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary)); }
.dept-marketing  .dept-accent  { background: linear-gradient(90deg, var(--color-cyan), #7dd6da); }

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 1400px) {
    :root { --slide-padding-x: 50px; }
    .header h2, .header .slide-title, h2.slide-title { font-size: max(2.4rem, 4.8vh); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1200px) {
    :root { --slide-padding-x: 36px; }
    .header h2, .header .slide-title, h2.slide-title { font-size: max(2.2rem, 4.2vh); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    :root {
        --slide-padding-x: 28px;
        --slide-padding-y: 32px;
        --slide-padding-top: 20px;
    }
    .header h2, .header .slide-title, h2.slide-title { font-size: max(1.9rem, 3.6vw); }
    .header .lead, .header p.lead { font-size: max(0.95rem, 1.8vw); }
    .header { margin-bottom: clamp(14px, 3vh, 36px); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .cta-block { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 28px; }
    .cta-stats { gap: 28px; }
    .result-block { flex-wrap: wrap; gap: 16px; }
    .highlight-block { padding: 18px 24px; }
    .summary-block { padding: 20px 24px; }
    .card { padding: 20px; }
    h3 { font-size: 22px; }
    h4 { font-size: 18px; }
    .stat-value { font-size: 32px; }
}

@media (max-width: 768px) {
    :root {
        --slide-padding-x: 16px;
        --slide-padding-y: 24px;
    }
    .header h2, .header .slide-title, h2.slide-title { font-size: max(1.6rem, 5.5vw); }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .highlight-block { flex-direction: column; gap: 14px; }
    .strategy-footer { flex-wrap: wrap; gap: 12px; }
    .strategy-label { border-right: none; padding-right: 0; border-bottom: 1px solid var(--border-medium); padding-bottom: 10px; white-space: normal; }
    .result-block { flex-direction: column; }
    .result-tags { flex-wrap: wrap; }
    .cta-stats { flex-wrap: wrap; gap: 16px; }
    .section-label { font-size: 10px; padding: 7px 14px; }
}

/* ── HEIGHT-based breakpoints (windowed browser) ── */
@media (max-height: 800px) {
    :root {
        --slide-padding-y: 32px;
        --slide-padding-top: 22px;
    }
    .header h2, .header .slide-title, h2.slide-title { font-size: max(2rem, 4.2vh); }
    .header { margin-bottom: clamp(10px, 2.5vh, 32px); }
    .header .lead, .header p.lead { font-size: max(0.9rem, 1.9vh); }
    .card { padding: 18px 22px; }
    .card h3 { font-size: 17px; }
    .card h4 { font-size: 16px; }
    .card p  { font-size: 15px; }
    .card li { font-size: 15px; padding: 5px 0 5px 16px; }
    .result-block { padding: 18px 26px; }
    .strategy-footer { padding: 13px 24px; }
    .highlight-block { padding: 16px 22px; }
    .highlight-block p { font-size: 16px; }
    .summary-block { padding: 18px 24px; }
    .summary-text { font-size: 16px; }
}

@media (max-height: 680px) {
    :root {
        --slide-padding-y: 22px;
        --slide-padding-top: 16px;
    }
    .header h2, .header .slide-title, h2.slide-title { font-size: max(1.7rem, 3.8vh); }
    .header { margin-bottom: clamp(8px, 1.8vh, 20px); }
    .slide-content { padding-top: 40px; }
    .card { padding: 14px 16px; }
    h3 { font-size: 20px; }
    h4 { font-size: 16px; }
    .result-block { padding: 14px 20px; }
    .strategy-footer { padding: 10px 20px; }
    .icon-box { width: 40px; height: 40px; margin-bottom: 12px; }
    .icon-box svg, .icon-box img { width: 20px; height: 20px; }
    .section-label { top: 18px; font-size: 10px; padding: 7px 14px; }
}
