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

:root {
    --bg: #ffffff;
    --bg-soft: #f8f9fa;
    --surface: #ffffff;
    --text: #2d3748;
    --text-muted: #718096;
    --primary: #6b1dbf;
    --border-subtle: #e2e8f0;
    --success-green: #22c55e;
    --danger-red: #ef4444;
    --gradient-purple: linear-gradient(135deg, #6b1dbf 0%, #5a18a0 100%);
    --soft-purple: #f5eefc;

    /* Font Size Hierarchy */
    --font-h1: 32px;
    --font-h2: 24px;
    --font-h3: 18px;
    --font-body: 16px;
    --font-support: 15px;
    --font-label: 14px;
    --font-small: 12px;

    /* Font Weight Hierarchy */
    --weight-extralight: 200;
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
}

body {
    font-family: "Josefin Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fafafa;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
    min-height: 100vh;
    padding: 2rem;
    padding-bottom: 8rem;
    font-size: var(--font-body);
    font-weight: var(--weight-light);
}

.slide-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Footer */
.slide-footer {
    text-align: center;
    padding: 48px 20px 32px;
    border-top: 1px solid var(--border-subtle);
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-text {
    font-size: var(--font-label);
    color: var(--text-muted);
    font-weight: var(--weight-extralight);
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: var(--weight-medium);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #5a18a0;
    text-decoration: underline;
}

.sources-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: var(--weight-light);
    transition: color 0.2s ease;
}

.sources-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-logo svg {
    display: inline-block;
    vertical-align: middle;
}

/* Slide Border - The Master Container */
.slide-border {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    min-height: 80vh;
    padding: 4rem 5rem;
    position: relative;
}

.slide-content {
    position: relative;
    height: 100%;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* ==========================================
   PAGE HEADER (Inside Container - Top Center)
   ========================================== */

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-subtle);
}

.page-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: var(--weight-bold);
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.page-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
    font-weight: var(--weight-medium);
}

/* ==========================================
   TITLE SECTION (Slide 1)
   ========================================== */

.title-section {
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
}

.subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: var(--weight-semibold);
}

.main-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: var(--weight-bold);
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text);
}

.main-title .highlight {
    display: block;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.5rem;
}

.tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    font-weight: var(--weight-light);
}

.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: var(--weight-regular);
    margin-top: 3rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(10px);
    }
    60% {
        transform: translateX(5px);
    }
}

/* Background Animation for Slide 1 */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-purple);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-purple);
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

.circle-3 {
    width: 400px;
    height: 400px;
    background: var(--gradient-purple);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* ==========================================
   NARRATIVE BLOCKS
   ========================================== */

.narrative-block {
    margin-bottom: 3rem;
}

.narrative-block.space-top {
    margin-top: 4rem;
}

.narrative-block h3 {
    font-size: var(--font-h2);
    font-weight: var(--weight-semibold);
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.lead-text {
    font-size: var(--font-body);
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: var(--weight-light);
}

.lead-text strong {
    color: var(--text);
    font-weight: var(--weight-bold);
}

/* ==========================================
   INLINE CONTRAST (Haves vs Have-Nots Box)
   ========================================== */

.inline-contrast {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2.5rem;
    margin: 2rem 0;
    padding: 2rem;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: white;
}

.contrast-item {
    text-align: left;
}

.contrast-label {
    font-size: var(--font-h3);
    font-weight: var(--weight-semibold);
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.contrast-value {
    font-size: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    font-weight: var(--weight-regular);
    margin-bottom: 0.25rem;
}

.contrast-detail {
    font-size: var(--font-label);
    color: var(--text-muted);
    font-weight: var(--weight-light);
    line-height: 1.5;
}

.contrast-divider {
    width: 1px;
    background: var(--border-subtle);
    align-self: stretch;
}

/* ==========================================
   STAT ROWS
   ========================================== */

.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: var(--font-label);
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: var(--weight-medium);
}

.stat-value {
    font-size: var(--font-h1);
    font-weight: var(--weight-bold);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.stat-context {
    font-size: var(--font-small);
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: var(--weight-light);
}

/* ==========================================
   HUB VISUALIZATION
   ========================================== */

.hub-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
    margin: 3rem auto 2rem;
}

.hub-connections {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-line {
    stroke: var(--primary);
    stroke-width: 2;
    opacity: 0.2;
    stroke-dasharray: 5, 5;
}

.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hub-core {
    background: var(--gradient-purple);
    color: white;
    padding: 2rem 2.5rem;
    border-radius: 50%;
    text-align: center;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
    position: relative;
}

.hub-core::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--gradient-purple);
    opacity: 0.15;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.25;
    }
}

.hub-label {
    font-size: 1.15rem;
    font-weight: var(--weight-bold);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.hub-subtitle {
    font-size: 0.75rem;
    font-weight: var(--weight-light);
    opacity: 0.9;
    line-height: 1.4;
}

.hub-node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    z-index: 5;
    max-width: 240px;
}

.hub-node.node-1 {
    top: 10%;
    left: 0;
}

.hub-node.node-2 {
    top: 10%;
    right: 0;
}

.hub-node.node-3 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.node-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    padding: 8px;
    background: var(--soft-purple);
    border-radius: 8px;
}

.node-icon path {
    stroke: var(--primary);
    stroke-width: 1.5;
}

.node-content {
    flex: 1;
}

.node-title {
    font-size: 0.95rem;
    font-weight: var(--weight-semibold);
    color: var(--text);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.node-desc {
    font-size: 0.8rem;
    font-weight: var(--weight-light);
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================
   PILLAR LIST (Slide 4)
   ========================================== */

.pillar-list {
    margin-top: 2rem;
}

.pillar-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--surface);
}

.pillar-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-size: var(--font-h2);
    font-weight: var(--weight-bold);
    border-radius: 50%;
}

.pillar-content {
    flex: 1;
}

.pillar-title {
    font-size: var(--font-h3);
    font-weight: var(--weight-semibold);
    color: var(--text);
    margin-bottom: 0.5rem;
}

.pillar-subtitle {
    font-size: var(--font-support);
    font-weight: var(--weight-semibold);
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.pillar-desc {
    font-size: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    font-weight: var(--weight-light);
}

/* ==========================================
   COMMON LIST STYLES (Features, Synergies, Drivers)
   ========================================== */

.feature-list,
.synergy-list,
.driver-list {
    margin-top: 1.5rem;
}

.feature-item,
.synergy-item,
.driver-item {
    margin-bottom: 2rem;
}

.feature-title,
.synergy-title,
.driver-title {
    font-size: var(--font-body);
    font-weight: var(--weight-semibold);
    color: var(--text);
    margin-bottom: 0.5rem;
}

.feature-list-container {
    position: relative;
    overflow: hidden;
}

.wellbeing-icon-wrapper {
    float: right;
    width: 120px;
    margin: 0 0 1.5rem 2rem;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.wellbeing-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft-purple);
    border-radius: 12px;
    padding: 24px;
}

.wellbeing-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ==========================================
   SCREENSHOTS (Hub & Aux Products)
   ========================================== */

.hub-screenshot,
.aux-products-screenshot {
    float: right;
    width: 45%;
    margin: 0 0 1.5rem 2rem;
}

.hub-screenshot img,
.aux-products-screenshot img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ==========================================
   PILLAR BRIEF LIST (Slide 6)
   ========================================== */

.pillar-brief-list {
    margin-top: 1.5rem;
}

.pillar-brief-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.pillar-brief-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft-purple);
    border-radius: 12px;
    padding: 10px;
}

.pillar-brief-icon svg {
    width: 100%;
    height: 100%;
    color: var(--primary);
}

.pillar-brief-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pillar-brief-content {
    flex: 1;
}

.pillar-brief-title {
    font-size: var(--font-body);
    font-weight: var(--weight-semibold);
    color: var(--text);
    margin-bottom: 0.5rem;
}

/* ==========================================
   ELEOS LOGO BOX (Slide 11)
   ========================================== */

.eleos-logo-box {
    float: right;
    width: 200px;
    height: 200px;
    margin: 0 0 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eleos-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ==========================================
   RETENTION BARS
   ========================================== */

.retention-bars {
    margin-top: 2rem;
}

.retention-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 0.5rem 0;
}

.retention-row.highlight {
    background: rgba(239, 68, 68, 0.04);
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 8px;
}

.retention-label {
    font-size: 0.95rem;
    font-weight: var(--weight-regular);
    color: var(--text);
}

.retention-row.highlight .retention-label {
    color: var(--danger-red);
    font-weight: var(--weight-medium);
}

.retention-meter {
    height: 36px;
    background: var(--border-subtle);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.retention-fill {
    height: 100%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    transition: width 1s ease;
    border-radius: 50px;
}

.retention-fill.danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.retention-value {
    color: white;
    font-weight: var(--weight-bold);
    font-size: 0.9rem;
}

/* ==========================================
   NAVIGATION (Inside Container)
   ========================================== */

.slide-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 10;
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: var(--font-body);
    font-weight: var(--weight-medium);
}

.nav-btn:hover:not(.disabled) {
    background: var(--soft-purple);
    border-color: var(--primary);
    color: var(--text);
}

.nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-btn svg {
    width: 20px;
    height: 20px;
}

.slide-indicators {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-subtle);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
}

.indicator.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

.indicator:hover {
    background: var(--primary);
    opacity: 0.6;
}

/* ==========================================
   PROGRESS BAR - Sectional
   ========================================== */

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: transparent;
    z-index: 1000;
    display: flex;
    gap: 4px;
    padding: 0 4px;
}

.progress-section {
    flex: 1;
    height: 100%;
    background: #e8e8e8;
    border: 1px solid #a0a0a0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-section:has(.progress-section-fill) {
    border-color: #d0d0d0;
}

.progress-section-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gradient-purple);
    transition: width 0.3s ease;
}

/* ==========================================
   PRODUCT GRID (Slide 10)
   ========================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(107, 29, 191, 0.12);
    transform: translateY(-2px);
}

.product-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft-purple);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.product-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.product-card h3 {
    font-size: 1.25rem;
    font-weight: var(--weight-semibold);
    color: var(--text);
    margin-bottom: 0.75rem;
}

.product-tagline {
    font-size: 1rem;
    font-weight: var(--weight-medium);
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.product-description {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-weight: var(--weight-light);
}

.product-helper {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: var(--weight-light);
    line-height: 1.5;
    font-style: italic;
}

/* ==========================================
   REVENUE TABLE (Slide 12)
   ========================================== */

.revenue-table {
    margin-top: 1.5rem;
    overflow-x: auto;
}

.revenue-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
}

.revenue-table thead {
    background: var(--soft-purple);
}

.revenue-table th {
    padding: 1rem;
    text-align: left;
    font-weight: var(--weight-semibold);
    color: var(--text);
    border-bottom: 2px solid var(--border-subtle);
}

.revenue-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text);
    font-weight: var(--weight-light);
}

.revenue-table tbody tr:last-child td {
    border-bottom: none;
}

.revenue-table tbody tr:hover {
    background: var(--soft-purple);
}

/* ==========================================
   RESPA STRATEGIES (Slide 13)
   ========================================== */

.respa-strategies {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.respa-strategy {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
}

.strategy-header {
    background: var(--soft-purple);
    color: var(--text);
    font-weight: var(--weight-semibold);
    font-size: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid var(--primary);
}

.strategy-content {
    padding: 1.25rem;
}

.strategy-item {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: var(--weight-light);
}

.strategy-item:last-child {
    margin-bottom: 0;
}

.strategy-item strong {
    color: var(--primary);
    font-weight: var(--weight-semibold);
}

/* ==========================================
   CTA SECTION (Slide 14)
   ========================================== */

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

.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--soft-purple) 0%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
}

.cta-text {
    font-size: 1.25rem;
    font-weight: var(--weight-semibold);
    color: var(--text);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-purple);
    color: white;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: var(--weight-semibold);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(107, 29, 191, 0.25);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 29, 191, 0.35);
}

.contact-text {
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: var(--weight-regular);
    color: var(--text);
}

.contact-email {
    color: var(--primary);
    text-decoration: none;
    font-weight: var(--weight-medium);
}

.contact-email:hover {
    text-decoration: underline;
}

/* ==========================================
   SOURCES MODAL
   ========================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: modalFadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--surface);
    margin: 3% auto;
    padding: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease;
}

.modal-header {
    padding: 2rem 2.5rem;
    border-bottom: 2px solid var(--primary);
    background: var(--soft-purple);
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.75rem;
    color: var(--text);
    font-weight: var(--weight-bold);
}

.close {
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: var(--weight-light);
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.close:hover {
    color: var(--primary);
}

.modal-body {
    padding: 2.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.sources-list {
    list-style-position: outside;
    padding-left: 1.5rem;
}

.sources-list li {
    margin-bottom: 1.25rem;
    line-height: 1.6;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: var(--weight-light);
}

.sources-list li a {
    color: var(--primary);
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s ease;
}

.sources-list li a:hover {
    color: #5a18a0;
    text-decoration: underline;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   SCHEDULING MODAL (Zcal)
   ========================================== */

.scheduling-modal-content {
    max-width: 1000px;
    margin: 2% auto;
}

.scheduling-modal-body {
    padding: 0;
    max-height: 80vh;
    overflow-y: auto;
    min-height: 600px;
}

.zcal-inline-widget {
    width: 100%;
    min-height: 600px;
    padding: 1rem;
}

.zcal-inline-widget iframe {
    width: 100%;
    min-height: 600px;
    border: none;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

.reveal {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease 0.9s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    body {
        padding: 1rem;
        padding-bottom: 5rem;
    }

    .slide-border {
        padding: 2rem 1.5rem;
        min-height: 70vh;
    }

    .page-header {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }

    .page-title {
        font-size: var(--font-h1);
        margin-bottom: 12px;
    }

    .page-subtitle {
        font-size: var(--font-body);
    }

    .narrative-block {
        margin-bottom: 2rem;
    }

    .narrative-block.space-top {
        margin-top: 2.5rem;
    }

    .narrative-block h3 {
        font-size: 20px;
    }

    .lead-text {
        font-size: var(--font-support);
    }

    .inline-contrast {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .contrast-divider {
        display: none;
    }

    .stat-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .retention-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .retention-meter {
        height: 32px;
    }

    .slide-nav {
        margin-top: 2rem;
        padding-top: 1.5rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-btn {
        padding: 0.6rem 1.2rem;
        font-size: var(--font-support);
    }

    .slide-indicators {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .title-section {
        padding: 2rem 1rem;
    }

    .scroll-hint {
        margin-top: 1.5rem;
    }

    .pillar-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .pillar-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .pillar-title {
        font-size: var(--font-body);
    }

    .feature-item,
    .synergy-item,
    .driver-item {
        margin-bottom: 1.5rem;
    }

    .hub-screenshot,
    .aux-products-screenshot {
        float: none;
        width: 100%;
        margin: 1.5rem 0;
    }

    .pillar-brief-item {
        flex-direction: row;
        gap: 1rem;
    }

    .pillar-brief-icon {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .eleos-logo-box {
        float: none;
        width: 100%;
        height: 150px;
        margin: 1.5rem 0;
    }

    .revenue-table table {
        font-size: 0.8rem;
    }

    .revenue-table th,
    .revenue-table td {
        padding: 0.6rem;
    }

    .respa-strategies {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
