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

:root {
    /* Traverse Brand Colors */
    --color-primary: #4F46E5;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-slate: #F1F5F9;
    --color-muted: #64748B;
    --color-border: #E2E8F0;
    --color-border-dark: #1E293B;
    --color-success: #3CCB7F;
    --color-warning: #FAC515;
    --color-error: #FF4405;
    --color-info: #F0F9FF;

    /* Legacy aliases for compatibility */
    --primary-purple: #4F46E5;
    --primary-purple-light: #6366f1;
    --primary-purple-dark: #4338ca;
    --accent-green: #3CCB7F;
    --accent-green-light: #3CCB7F;

    /* Backgrounds */
    --bg-dark: #000000;
    --bg-dark-secondary: #1E293B;
    --bg-light: #FFFFFF;
    --bg-light-tint: #F1F5F9;
    --bg-card: #FFFFFF;

    /* Text */
    --text-dark: #000000;
    --text-medium: #64748B;
    --text-light: #64748B;
    --text-white: #FFFFFF;

    /* Flow diagram colors */
    --flow-practice: #F0FDF4;
    --flow-feedback: #F0F9FF;
    --flow-assess: #F5F3FF;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --font-weight-heading: 600;
    --font-weight-body: 400;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadows */
    --shadow-soft: 0 1px 2px 0 rgba(0, 0, 0, 0.05);

    /* Spacing */
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 32px;
    --space-section: 64px;

    /* Borders */
    --border: 1px solid #E2E8F0;
}

body {
    font-family: var(--font-family);
    background: var(--bg-light);
    color: var(--text-dark);
    overflow: hidden;
    font-size: 13pt;
    font-weight: var(--font-weight-body);
    line-height: 1.4;
}

h1, h2, h3, .slide-title {
    font-family: var(--font-family);
    font-weight: var(--font-weight-heading);
}

.presentation-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Navigation Sidebar */
.nav-sidebar {
    width: 260px;
    background: var(--bg-card);
    border-right: var(--border);
    padding: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease, width 0.3s ease;
    position: relative;
    z-index: 200;
}

.nav-sidebar.collapsed {
    transform: translateX(-100%);
    width: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

/* Sidebar Toggle Button */
.nav-toggle {
    position: fixed;
    top: var(--space-md);
    left: var(--space-md);
    z-index: 300;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: left 0.3s ease, background 0.2s ease;
}

.nav-toggle:hover {
    background: var(--color-slate);
}

.nav-sidebar:not(.collapsed) ~ .nav-toggle {
    left: 276px;
}

.nav-toggle-icon {
    width: 20px;
    height: 20px;
    color: var(--text-medium);
}

.nav-toggle-icon.close {
    display: none;
}

.nav-sidebar.collapsed ~ .nav-toggle .nav-toggle-icon.open {
    display: block;
}

.nav-sidebar.collapsed ~ .nav-toggle .nav-toggle-icon.close {
    display: none;
}

.nav-sidebar:not(.collapsed) ~ .nav-toggle .nav-toggle-icon.open {
    display: none;
}

.nav-sidebar:not(.collapsed) ~ .nav-toggle .nav-toggle-icon.close {
    display: block;
}

.nav-logo {
    padding: 0 var(--space-md) var(--space-md);
    border-bottom: var(--border);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
}

.nav-logo-text-img {
    height: 24px;
    width: auto;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--color-black);
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    padding: 5px;
    gap: 2px;
    box-shadow: var(--shadow-soft);
}

.nav-logo-icon span {
    background: white;
    border-radius: 1px;
}

/* Logo pattern: filled squares at positions 1,2,4,5,7,9 (1-indexed) */
.nav-logo-icon span:nth-child(3),
.nav-logo-icon span:nth-child(6),
.nav-logo-icon span:nth-child(8) {
    background: transparent;
}

.nav-logo-text {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
}

.nav-logo-text span {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-medium);
    margin-top: -2px;
}

.nav-chapter {
    padding: 10px var(--space-md);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    margin: 2px 0;
}

.nav-chapter:hover {
    background: var(--color-slate);
    color: var(--text-dark);
}

.nav-chapter.active {
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.1) 0%, transparent 100%);
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    font-weight: 600;
}

/* Sub-navigation */
.nav-subnav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--color-slate);
}

.nav-subnav.visible {
    max-height: 400px;
}

.nav-subitem {
    padding: 8px var(--space-md) 8px 32px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-medium);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-subitem:hover {
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.5);
}

.nav-subitem.active {
    color: var(--color-primary);
    font-weight: 600;
    border-left-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.7);
}

/* Slide Counter */
.slide-counter {
    position: fixed;
    top: var(--space-md);
    right: 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-medium);
    background: var(--bg-card);
    padding: var(--space-sm) var(--space-md);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    z-index: 100;
    border: var(--border);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px var(--space-section);
    overflow: hidden;
    background: var(--bg-light);
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.4s ease;
}

.slide.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

/* Typography */
.slide-label {
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.slide-title {
    font-family: var(--font-family);
    font-size: 30pt;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--color-black);
}

.slide-title-large {
    font-size: 36pt;
}

.slide-subtitle {
    font-family: var(--font-family);
    font-size: 16pt;
    font-weight: 400;
    color: var(--text-medium);
    line-height: 1.5;
    max-width: 720px;
}

/* Hero Slide - Dark */
.main-content:has(.hero-slide.active) {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(79, 70, 229, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(79, 70, 229, 0.15) 0%, transparent 40%),
        linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}

.hero-slide {
    background: transparent;
    color: var(--text-white);
    text-align: center;
    align-items: center;
}

.hero-slide .slide-title {
    color: var(--text-white);
    font-size: 36pt;
    font-weight: 600;
}

.hero-slide .slide-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 18pt;
}

.hero-logo {
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.hero-logo-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
}

.hero-logo-icon {
    width: 64px;
    height: 64px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    padding: 9px;
    gap: 3px;
    box-shadow: var(--shadow-soft);
}

.hero-logo-icon span {
    background: var(--color-black);
    border-radius: 2px;
}

/* Logo pattern matching the actual Traverse icon */
.hero-logo-icon span:nth-child(3),
.hero-logo-icon span:nth-child(6),
.hero-logo-icon span:nth-child(8) {
    background: transparent;
}

.hero-logo-text {
    font-family: var(--font-family);
    font-size: 48px;
    font-weight: 600;
    color: white;
}

.hero-logo-text-img {
    height: 48px;
    width: auto;
}

/* Stats */
.big-number {
    font-family: var(--font-family);
    font-size: 72pt;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 16pt;
    color: var(--text-medium);
    margin-top: var(--space-sm);
    font-weight: 400;
}

/* Two-Column Layout */
.slide-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    height: 100%;
}

.slide-two-col .col-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
}

.slide-two-col .col-left .slide-label {
    margin-bottom: var(--space-md);
}

.slide-two-col .col-left .slide-title {
    margin-bottom: var(--space-lg);
}

.slide-two-col .col-left .slide-subtitle {
    font-size: 14pt;
    line-height: 1.6;
}

.slide-two-col .col-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.slide-two-col .col-right .cards-grid {
    margin-top: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Client Logos */
.client-logos {
    margin-top: 40px;
}

.client-logos img {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
}

/* Dark slide two-column adjustments */
.dark-slide.slide-two-col-wrapper .slide-two-col .col-left .slide-subtitle {
    color: rgba(255,255,255,0.7);
}

.dark-slide .card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

.dark-slide .card-title {
    color: var(--text-white);
}

.dark-slide .card-desc {
    color: rgba(255,255,255,0.6);
}

.dark-slide .card-icon {
    background: rgba(79, 70, 229, 0.2);
    color: var(--color-primary);
}

.dark-slide .card-icon.green {
    background: rgba(60, 203, 127, 0.15);
    color: var(--color-success);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

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

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

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid rgb(203, 213, 225);
    box-shadow: var(--shadow-soft);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.card-icon.green {
    background: var(--color-success);
}

.card-title {
    font-family: var(--font-family);
    font-size: 16pt;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-black);
}

.card-desc {
    font-size: 13pt;
    color: var(--text-medium);
    line-height: 1.4;
}

/* Engine Cards */
.engine-card {
    background: var(--bg-card);
    text-align: center;
    padding: var(--space-lg) 24px;
    border: 1px solid rgb(203, 213, 225);
}

.engine-card:hover {
    border-color: var(--color-primary);
}

.engine-number {
    font-family: var(--font-family);
    font-size: 36pt;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

/* Engines Container with Infinity Loop */
.engines-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.infinity-loop {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.infinity-loop svg {
    width: 280px;
    height: 80px;
}

.loop-label {
    font-size: 11pt;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

/* Flow Diagram */
.flow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.flow-step {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md) 24px;
    text-align: center;
    min-width: 140px;
}

.flow-step.practice {
    background: var(--flow-practice);
    border-color: var(--color-success);
}

.flow-step.feedback {
    background: var(--flow-feedback);
    border-color: #38bdf8;
}

.flow-step.assess {
    background: var(--flow-assess);
    border-color: var(--color-primary);
}

.flow-step-number {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin: 0 auto 10px;
}

.flow-step-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.flow-arrow {
    font-size: 20px;
    color: var(--text-medium);
}

/* Assessment Types */
.assessment-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.assessment-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px var(--space-md);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.assessment-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.assessment-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.assessment-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 2;
}

.assessment-title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--color-black);
}

.assessment-desc {
    font-size: 12px;
    color: var(--text-medium);
}

/* Skill Bars */
.skills-container {
    margin-top: var(--space-lg);
    max-width: 650px;
}

.skill-row {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.skill-label {
    width: 180px;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-black);
}

.skill-bar-bg {
    flex: 1;
    height: 36px;
    background: var(--color-slate);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.skill-bar {
    height: 100%;
    background: var(--color-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 14px;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

/* Multidimensional Evaluation */
.eval-container {
    display: flex;
    gap: 48px;
    margin-top: 32px;
    align-items: center;
    justify-content: center;
}

.eval-radar {
    flex: 0 0 320px;
}

.radar-chart {
    width: 280px;
    height: 280px;
    position: relative;
    margin: 0 auto;
}

.radar-ring {
    position: absolute;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.radar-ring.ring-1 {
    width: 90%;
    height: 90%;
}

.radar-ring.ring-2 {
    width: 60%;
    height: 60%;
}

.radar-ring.ring-3 {
    width: 30%;
    height: 30%;
}

.radar-center {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-border);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.radar-axis {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 50%;
    height: 1px;
    background: var(--color-border);
    transform-origin: left center;
    transform: rotate(calc(var(--angle) - 90deg));
}

.axis-label {
    position: absolute;
    right: -60px;
    top: -8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    transform: rotate(calc(90deg - var(--angle)));
}

.radar-axis[style*="0deg"] .axis-label { right: -80px; top: -8px; }
.radar-axis[style*="60deg"] .axis-label { right: -50px; top: -20px; }
.radar-axis[style*="120deg"] .axis-label { right: -55px; top: 5px; }
.radar-axis[style*="180deg"] .axis-label { right: -55px; top: -8px; }
.radar-axis[style*="240deg"] .axis-label { right: -75px; top: -20px; }
.radar-axis[style*="300deg"] .axis-label { right: -60px; top: 5px; }

.axis-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    left: calc(var(--distance) * 0.9);
    top: -5px;
}

.radar-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.eval-details {
    flex: 1;
    max-width: 400px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.eval-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.eval-badge {
    background: var(--color-primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
}

.eval-score {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
}

.eval-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
}

.metric-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
}

.metric-bar {
    height: 6px;
    background: var(--color-slate);
    border-radius: 3px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.metric-fill.high {
    background: var(--color-success);
}

.metric-evidence {
    font-size: 10px;
    color: var(--text-medium);
}

.eval-rubric-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-medium);
}

.eval-rubric-note svg {
    color: var(--color-primary);
}

/* Document Types */
.doc-types {
    display: flex;
    gap: var(--space-lg);
    margin-top: 48px;
    justify-content: center;
}

.doc-type {
    text-align: center;
}

.doc-icon {
    width: 72px;
    height: 88px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 28px;
    font-weight: 600;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.doc-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.doc-icon.pdf { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.doc-icon.word { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.doc-icon.excel { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
.doc-icon.scan { background: #faf5ff; color: #9333ea; border-color: #e9d5ff; }

.doc-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-black);
}

/* CTA Steps */
.cta-slide {
    text-align: center;
    align-items: center;
}

.cta-steps {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-section);
    justify-content: center;
}

.cta-step {
    text-align: center;
    max-width: 220px;
}

.cta-step-number {
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto var(--space-md);
    font-family: var(--font-family);
}

.cta-step-title {
    font-family: var(--font-family);
    font-size: 16pt;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-black);
}

.cta-step-desc {
    font-size: 13pt;
    color: var(--text-medium);
}

/* Next Steps - Professional Timeline */
.next-steps-container {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 40px;
    justify-content: center;
}

.next-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    position: relative;
}

.step-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.step-number {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.next-step.highlight .step-number {
    background: var(--color-success);
}

.step-duration {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.next-step.highlight .step-duration {
    color: var(--color-success);
}

.step-content {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    width: 100%;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s;
}

.next-step:hover .step-content {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.next-step.highlight .step-content {
    border-color: var(--color-success);
    background: linear-gradient(135deg, #f0fdf4 0%, white 100%);
}

.step-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 12px;
    color: var(--text-medium);
    line-height: 1.5;
    margin-bottom: 12px;
}

.step-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.deliverable {
    background: var(--color-slate);
    color: var(--text-medium);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 500;
}

.step-connector {
    width: 40px;
    height: 2px;
    background: var(--color-border);
    margin-top: 22px;
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 6px solid var(--color-border);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.next-steps-cta {
    margin-top: 40px;
    text-align: center;
}

.cta-text {
    display: inline-block;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 16px 32px;
    font-size: 14px;
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
}

.cta-text strong {
    color: var(--color-primary);
}

/* Productboard-style Roadmap */
.roadmap-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

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

.roadmap-column-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 12px;
    background: var(--color-slate);
    border-radius: var(--radius-md);
}

.column-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.roadmap-column-header.launched .column-status-dot {
    background: var(--color-success);
}

.roadmap-column-header.coming-soon .column-status-dot {
    background: #516bf0;
}

.roadmap-column-header.exploring .column-status-dot {
    background: #f59e0b;
}

.roadmap-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    transition: all 0.2s;
    cursor: pointer;
}

.roadmap-card:hover {
    border-color: #516bf0;
    box-shadow: 0 4px 12px rgba(81, 107, 240, 0.15);
    transform: translateY(-2px);
}

.roadmap-card.featured {
    border-color: #516bf0;
    border-width: 2px;
}

.roadmap-card-header {
    margin-bottom: 10px;
}

.roadmap-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.roadmap-tag.launched {
    background: #dcfce7;
    color: #166534;
}

.roadmap-tag.coming-soon {
    background: #dbeafe;
    color: #1e40af;
}

.roadmap-tag.exploring {
    background: #fef3c7;
    color: #92400e;
}

.roadmap-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.roadmap-card-desc {
    font-size: 12px;
    color: var(--text-medium);
    line-height: 1.5;
    margin-bottom: 12px;
}

.roadmap-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
}

.roadmap-category {
    font-size: 10px;
    color: var(--text-medium);
    background: var(--color-slate);
    padding: 3px 8px;
    border-radius: 4px;
}

.roadmap-votes {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 500;
    color: #516bf0;
}

.roadmap-votes svg {
    color: #516bf0;
}

/* Proof Points */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.proof-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-soft);
    border-top: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.proof-stat {
    font-family: var(--font-family);
    font-size: 24pt;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.proof-title {
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-black);
}

.proof-desc {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.4;
}

/* Impact Section */
.impact-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

/* Pilot Highlights */
.impact-pilots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pilot-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--color-primary);
}

.pilot-icon {
    width: 44px;
    height: 44px;
    background: var(--color-slate);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
}

.pilot-content {
    flex: 1;
}

.pilot-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.pilot-desc {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.5;
}

/* Vision Metrics */
.impact-vision {
    background: linear-gradient(135deg, #f5f3ff 0%, white 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: var(--radius-lg);
    padding: 20px 32px;
    text-align: center;
}

.vision-header {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.vision-metrics {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.vision-metric {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.vision-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
}

.vision-label {
    font-size: 14px;
    color: var(--text-medium);
}

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

.impact-outcome {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.impact-outcome:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.outcome-icon {
    width: 40px;
    height: 40px;
    background: var(--color-slate);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
}

.outcome-content {
    flex: 1;
}

.outcome-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.outcome-desc {
    font-size: 12px;
    color: var(--text-medium);
    line-height: 1.4;
}

/* Power of Practice Slide */
.practice-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}

.practice-block {
    flex: 1;
    max-width: 380px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.practice-block.solution {
    border-color: var(--color-primary);
    border-width: 2px;
}

.practice-block-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-medium);
    margin-bottom: 12px;
}

.practice-block.solution .practice-block-label {
    color: var(--color-primary);
}

.practice-block-headline {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.practice-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.practice-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.4;
}

.practice-point svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.practice-divider {
    color: var(--color-border);
    flex-shrink: 0;
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-section);
    align-items: center;
}

/* Checkmark List */
.check-list {
    list-style: none;
    margin-top: var(--space-md);
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: 14px;
    font-size: 16px;
    color: var(--color-black);
}

.check-icon {
    width: 22px;
    height: 22px;
    background: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-icon svg {
    width: 12px;
    height: 12px;
    stroke: white;
    stroke-width: 3;
}

/* Keyboard hints */
.keyboard-hint {
    position: fixed;
    bottom: var(--space-md);
    right: 28px;
    font-size: 12px;
    color: var(--text-medium);
}

.keyboard-hint kbd {
    background: var(--bg-card);
    padding: 4px var(--space-sm);
    border-radius: var(--radius-sm);
    font-family: inherit;
    margin: 0 3px;
    border: var(--border);
    box-shadow: var(--shadow-soft);
}

/* Dark section slides */
.main-content:has(.dark-slide.active) {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(79, 70, 229, 0.25) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 90%, rgba(79, 70, 229, 0.2) 0%, transparent 40%),
        linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
}

/* Solid black background */
.main-content:has(.black-slide.active) {
    background: #000000;
}

.dark-slide {
    background: transparent;
    color: var(--text-white);
}

.dark-slide .slide-title {
    color: var(--text-white);
}

.dark-slide .slide-subtitle {
    color: rgba(255,255,255,0.7);
}

.dark-slide .slide-label {
    color: var(--color-slate);
}

/* Slack-style Chat Simulation */
.slack-container {
    display: flex;
    background: #1a1d21;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    margin-top: 28px;
    box-shadow: var(--shadow-soft);
    max-width: 900px;
    width: 100%;
}

.slack-sidebar {
    width: 200px;
    background: #19171d;
    padding: var(--space-sm) 0;
    border-right: 1px solid #333;
}

.slack-workspace {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: var(--space-sm) 14px 14px;
    border-bottom: 1px solid #333;
    margin-bottom: 10px;
}

.slack-workspace-icon {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
}

.slack-workspace-name {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.slack-channels {
    padding: 0 10px;
}

.slack-channel-header {
    color: #9a9b9e;
    font-size: 12px;
    padding: var(--space-sm) 4px;
    font-weight: 500;
}

.slack-channel {
    color: #bcabbc;
    font-size: 13px;
    padding: 5px var(--space-sm);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.slack-channel:hover {
    background: rgba(255,255,255,0.05);
}

.slack-channel.active {
    background: var(--color-primary);
    color: white;
}

.slack-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3c3f44;
}

.slack-status.online {
    background: var(--color-success);
}

.slack-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1a1d21;
}

.slack-header {
    padding: 10px 18px;
    border-bottom: 1px solid #333;
    color: white;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 14px;
}

.slack-role {
    color: #9a9b9e;
    font-weight: 400;
    font-size: 12px;
    margin-left: var(--space-sm);
}

.slack-messages {
    flex: 1;
    padding: var(--space-md);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.slack-message {
    display: flex;
    gap: 10px;
    animation: messageSlideIn 0.3s ease;
}

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

.slack-avatar {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    flex-shrink: 0;
}

.slack-avatar.sarah {
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    color: white;
}

.slack-avatar.you {
    background: var(--color-primary);
    color: white;
}

.slack-message-content {
    flex: 1;
}

.slack-message-header {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin-bottom: 3px;
}

.slack-message-name {
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.slack-message-time {
    color: #616061;
    font-size: 10px;
}

.slack-message-text {
    color: #d1d2d3;
    font-size: 13px;
    line-height: 1.45;
}

.slack-message-text .highlight {
    background: rgba(250, 197, 21, 0.2);
    color: var(--color-warning);
    padding: 1px 4px;
    border-radius: 3px;
}

.slack-message-text .alert {
    background: rgba(255, 68, 5, 0.2);
    color: var(--color-error);
    padding: 1px 4px;
    border-radius: 3px;
}

.slack-input {
    padding: 10px var(--space-md) var(--space-md);
}

.slack-input-box {
    background: #222529;
    border: 1px solid #555;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: #d1d2d3;
    font-size: 13px;
    min-height: 18px;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: #d1d2d3;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.typing-dots {
    display: inline-flex;
    gap: 3px;
}

.typing-dots span {
    width: 5px;
    height: 5px;
    background: #9a9b9e;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-3px); }
}

.simulation-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-black);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: var(--space-md);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-error);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 68, 5, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(255, 68, 5, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 68, 5, 0); }
}

/* Flow Diagram - Three Zone */
.flow-zone-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    margin-top: var(--space-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.flow-zone {
    padding: var(--space-lg) 24px;
    text-align: center;
}

.flow-zone.practice {
    background: var(--flow-practice);
}

.flow-zone.feedback {
    background: var(--flow-feedback);
}

.flow-zone.assess {
    background: var(--flow-assess);
}

.flow-zone-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.flow-zone.practice .flow-zone-label { color: var(--color-success); }
.flow-zone.feedback .flow-zone-label { color: #0ea5e9; }
.flow-zone.assess .flow-zone-label { color: var(--color-primary); }

.flow-zone-title {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-sm);
}

.flow-zone-desc {
    font-size: 13px;
    color: var(--text-medium);
}

/* Button styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-primary);
    color: white;
    padding: var(--space-sm) 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-soft);
    font-family: var(--font-family);
}

.btn-primary:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-slate);
    color: var(--color-black);
    border: var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-weight: 600;
}

/* Simulation Demo Container */
.sim-demo-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
    margin-top: 28px;
    align-items: start;
}

.sim-scenario {
    background: var(--bg-light-tint);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: var(--border);
}

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

.sim-scenario-badge {
    background: var(--color-primary);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sim-scenario-title {
    font-weight: 600;
    font-size: 14pt;
    color: var(--text-dark);
}

.sim-scenario-content {
    font-size: 12pt;
    line-height: 1.6;
    color: var(--text-dark);
}

.sim-scenario-content p {
    margin-bottom: 12px;
}

.sim-scenario-content p:last-child {
    margin-bottom: 0;
}

.sim-scenario-content strong {
    color: var(--text-dark);
}

.sim-interface {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: var(--border);
}

.sim-interface img {
    width: 100%;
    height: auto;
    display: block;
}

/* New Email Container - Matching interface design */
.email-container {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    margin-top: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 900px;
    width: 100%;
}

.email-header-bar {
    background: #4a5568;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.email-window-controls {
    display: flex;
    gap: 6px;
}

.email-window-controls .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.email-window-controls .dot.red { background: #ff5f57; }
.email-window-controls .dot.yellow { background: #febc2e; }
.email-window-controls .dot.green { background: #28c840; }

.email-header-title {
    flex: 1;
    text-align: center;
    color: white;
    font-size: 13px;
    margin-right: 60px;
}

.email-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.email-sidebar-new {
    width: 180px;
    background: #f8fafc;
    padding: 16px;
    border-right: 1px solid var(--color-border);
}

.email-compose-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 20px;
}

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

.email-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer;
}

.email-nav-item:hover {
    background: rgba(0,0,0,0.05);
}

.email-nav-item.active {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.email-nav-item svg {
    color: var(--text-medium);
}

.email-nav-badge {
    margin-left: auto;
    background: var(--color-slate);
    color: var(--text-medium);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
}

.email-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
}

.email-thread {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.email-message {
    margin-bottom: 16px;
}

.email-message-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.email-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.email-message-info {
    flex: 1;
}

.email-from {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.email-address {
    font-weight: 400;
    color: var(--text-medium);
    font-size: 13px;
}

.email-meta {
    font-size: 12px;
    color: var(--text-medium);
    margin-top: 2px;
}

.email-subject-line {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 12px;
    padding-left: 52px;
}

.email-message-body {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dark);
    padding-left: 52px;
}

.email-message-body p {
    margin-bottom: 10px;
}

.email-message-body p:last-child {
    margin-bottom: 0;
}

.email-reply-box {
    border-top: 1px solid var(--color-border);
    background: #fafbfc;
}

.email-reply-header {
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-medium);
    border-bottom: 1px solid var(--color-border);
}

.email-reply-to {
    padding: 8px 16px;
    font-size: 12px;
    color: var(--text-medium);
    border-bottom: 1px solid var(--color-border);
}

.email-reply-content {
    min-height: 60px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-dark);
}

.email-reply-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-top: 1px solid var(--color-border);
}

.email-toolbar-left {
    color: var(--text-medium);
}

.email-send-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.email-send-btn svg {
    fill: white;
}

/* Voice Call Container */
.call-container {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    margin-top: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 900px;
    width: 100%;
}

.call-header-bar {
    background: #4a5568;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.call-window-controls {
    display: flex;
    gap: 6px;
}

.call-header-title {
    flex: 1;
    text-align: center;
    color: white;
    font-size: 13px;
    margin-right: 60px;
}

.call-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.call-sidebar {
    width: 200px;
    background: #f8fafc;
    padding: 16px;
    border-right: 1px solid var(--color-border);
}

.call-sidebar-header {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.call-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius-md);
    cursor: pointer;
    margin-bottom: 4px;
}

.call-contact:hover {
    background: rgba(0,0,0,0.05);
}

.call-contact.active {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.call-contact-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.call-contact-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
}

.call-contact-role {
    font-size: 11px;
    color: var(--text-medium);
}

.call-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.call-display {
    text-align: center;
    color: white;
}

.call-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(60, 203, 127, 0.2);
    color: var(--color-success);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 24px;
}

.call-pulse {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.call-avatar-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
}

.call-avatar-initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 600;
}

.call-avatar-ring {
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    animation: ring-pulse 2s ease-in-out infinite;
}

@keyframes ring-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

.call-person-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.call-person-role {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.call-timer {
    font-size: 28px;
    font-weight: 300;
    font-family: monospace;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.8);
}

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

.call-control-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    color: white;
    cursor: pointer;
    font-size: 11px;
    transition: background 0.2s;
}

.call-control-btn:hover {
    background: rgba(255,255,255,0.2);
}

.call-control-btn.end-call {
    background: var(--color-error);
}

.call-control-btn.end-call:hover {
    background: #e03e00;
}

/* Video Container */
.video-container {
    display: flex;
    flex-direction: column;
    background: #1a1a2e;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    margin-top: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 900px;
    width: 100%;
}

.video-header-bar {
    background: #4a5568;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.video-window-controls {
    display: flex;
    gap: 6px;
}

.video-header-title {
    flex: 1;
    text-align: center;
    color: white;
    font-size: 13px;
}

.video-header-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 12px;
}

.video-rec-dot {
    width: 8px;
    height: 8px;
    background: var(--color-error);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.video-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.video-tile {
    background: #2d2d44;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
}

.video-tile.main-speaker {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, #2d2d44 0%, #1a1a2e 100%);
    border: 2px solid var(--color-primary);
}

.video-tile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
}

.video-tile.main-speaker .video-tile-avatar {
    width: 80px;
    height: 80px;
    font-size: 24px;
}

.video-tile-avatar.ai-participant {
    background: var(--color-success);
}

.video-tile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    border: 2px solid rgba(255,255,255,0.2);
}

.video-tile-name {
    color: white;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.video-tile-role {
    color: rgba(255,255,255,0.6);
    font-size: 10px;
    margin-top: 2px;
}

.video-tile-speaking {
    display: flex;
    gap: 3px;
    margin-top: 8px;
}

.speaking-bar {
    width: 4px;
    height: 16px;
    background: var(--color-success);
    border-radius: 2px;
    animation: speaking 0.8s ease-in-out infinite;
}

.speaking-bar:nth-child(2) { animation-delay: 0.2s; }
.speaking-bar:nth-child(3) { animation-delay: 0.4s; }

@keyframes speaking {
    0%, 100% { height: 8px; }
    50% { height: 20px; }
}

.video-controls-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0,0,0,0.3);
}

.video-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.video-control-btn:hover {
    background: rgba(255,255,255,0.2);
}

.video-control-btn.end-call {
    background: var(--color-error);
}

.video-control-btn.end-call:hover {
    background: #e03e00;
}

/* Document Container */
.doc-container {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    margin-top: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 900px;
    width: 100%;
}

.doc-header-bar {
    background: #4a5568;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.doc-window-controls {
    display: flex;
    gap: 6px;
}

.doc-header-title {
    flex: 1;
    text-align: center;
    color: white;
    font-size: 13px;
    margin-right: 60px;
}

.doc-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.doc-sidebar {
    width: 180px;
    background: #f8fafc;
    padding: 16px;
    border-right: 1px solid var(--color-border);
}

.doc-sidebar-header {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.doc-file {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    font-size: 12px;
    color: var(--text-dark);
    cursor: pointer;
    margin-bottom: 4px;
}

.doc-file:hover {
    background: rgba(0,0,0,0.05);
}

.doc-file.active {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.doc-file svg {
    color: var(--text-medium);
    flex-shrink: 0;
}

.doc-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
}

.doc-editor {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doc-editor-toolbar {
    display: flex;
    gap: 16px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--color-border);
    background: #fafbfc;
}

.doc-toolbar-group {
    display: flex;
    gap: 4px;
}

.doc-toolbar-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--color-border);
    background: white;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-toolbar-btn:hover {
    background: var(--color-slate);
}

.doc-editor-content {
    flex: 1;
    padding: 24px 32px;
    overflow-y: auto;
}

.doc-heading {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.doc-subheading {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.doc-text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.doc-typing .typing-cursor {
    display: inline-block;
    width: 2px;
    height: 16px;
    background: var(--color-primary);
    animation: blink 1s step-end infinite;
}

/* Document Upload + Rubric Layout */
.doc-upload-panel {
    width: 45%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-right: 1px solid var(--color-border);
}

.doc-upload-area {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.2s;
}

.doc-upload-area:hover {
    border-color: var(--color-primary);
    background: #f5f3ff;
}

.doc-upload-icon {
    color: var(--color-primary);
    margin-bottom: 12px;
}

.doc-upload-text {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.doc-upload-formats {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.format-badge {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
}

.format-badge.word {
    background: #e3f2fd;
    color: #1976d2;
}

.format-badge.pdf {
    background: #ffebee;
    color: #d32f2f;
}

.format-badge.excel {
    background: #e8f5e9;
    color: #388e3c;
}

.format-badge.scan {
    background: #fff3e0;
    color: #f57c00;
}

.doc-uploaded-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.doc-file-icon {
    color: #d32f2f;
}

.doc-file-info {
    flex: 1;
}

.doc-file-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
}

.doc-file-meta {
    font-size: 11px;
    color: var(--text-medium);
}

.doc-file-status {
    color: var(--color-success);
}

.doc-rubric-panel {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

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

.doc-rubric-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.doc-rubric-badge {
    background: var(--color-primary);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
}

.doc-rubric-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doc-rubric-item {
    display: grid;
    grid-template-columns: 1fr auto 100px;
    align-items: center;
    gap: 12px;
}

.doc-rubric-criterion {
    font-size: 13px;
    color: var(--text-dark);
}

.doc-rubric-score {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: baseline;
}

.score-value {
    color: var(--color-primary);
}

.score-max {
    color: var(--text-medium);
    font-weight: 400;
    font-size: 12px;
}

.doc-rubric-bar {
    height: 8px;
    background: var(--color-slate);
    border-radius: 4px;
    overflow: hidden;
}

.doc-rubric-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.doc-rubric-fill.scoring-animation {
    width: 40%;
    animation: scoring-progress 1.5s ease-in-out infinite;
}

@keyframes scoring-progress {
    0% { width: 30%; opacity: 0.5; }
    50% { width: 50%; opacity: 1; }
    100% { width: 30%; opacity: 0.5; }
}

.scoring-indicator {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Old Email Demo (legacy) */
.email-demo {
    display: flex;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 320px;
    margin-top: 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
}

.email-sidebar {
    width: 180px;
    background: var(--color-slate);
    padding: var(--space-md);
    border-right: 1px solid var(--color-border);
}

.email-folder {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-medium);
    cursor: pointer;
    margin-bottom: 4px;
}

.email-folder:hover {
    background: rgba(255, 255, 255, 0.5);
}

.email-folder.active {
    background: var(--color-primary);
    color: white;
}

.email-folder-icon {
    font-size: 14px;
}

.email-badge {
    background: var(--color-primary);
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

.email-folder.active .email-badge {
    background: white;
    color: var(--color-primary);
}

.email-list {
    flex: 1;
    overflow-y: auto;
}

.email-item {
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: background 0.2s;
}

.email-item:hover {
    background: var(--color-slate);
}

.email-item.urgent {
    border-left: 3px solid var(--color-error);
}

.email-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.email-sender {
    font-weight: 600;
    font-size: 13px;
    color: var(--color-black);
}

.email-time {
    font-size: 11px;
    color: var(--text-medium);
}

.email-subject {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 4px;
}

.email-preview {
    font-size: 12px;
    color: var(--text-medium);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Voice Call Demo */
.voice-demo {
    display: flex;
    gap: var(--space-lg);
    margin-top: 32px;
    align-items: flex-start;
}

.phone-container {
    background: #1a1d21;
    border-radius: 32px;
    padding: 12px;
    box-shadow: var(--shadow-soft);
}

.phone-screen {
    background: linear-gradient(180deg, #2d2d3a 0%, #1a1d21 100%);
    border-radius: 24px;
    padding: var(--space-lg);
    width: 240px;
    text-align: center;
}

.call-status {
    font-size: 12px;
    color: var(--color-success);
    margin-bottom: 4px;
}

.call-timer {
    font-size: 32px;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-md);
}

.caller-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #818cf8 100%);
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.caller-initials {
    font-size: 28px;
    font-weight: 600;
    color: white;
}

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

.caller-role {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: var(--space-md);
}

.call-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.call-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.call-btn:hover {
    transform: scale(1.1);
}

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

.call-btn.mute {
    background: #374151;
    color: white;
}

.call-btn.end {
    background: var(--color-error);
    color: white;
}

.call-btn.speaker {
    background: #374151;
    color: white;
}

.voice-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.voice-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.voice-feature-icon {
    font-size: 24px;
}

.voice-feature-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-black);
    margin-bottom: 4px;
}

.voice-feature-desc {
    font-size: 13px;
    color: var(--text-medium);
}

/* Video Demo */
.video-demo {
    display: flex;
    gap: var(--space-lg);
    margin-top: 28px;
}

.video-meeting {
    flex: 1;
    background: #1a1d21;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    gap: var(--space-md);
}

.video-main {
    flex: 1;
}

.video-participant {
    background: #2d2d3a;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-participant.large {
    height: 200px;
}

.video-participant.small {
    height: 60px;
    flex-direction: row;
    justify-content: flex-start;
    padding: var(--space-sm) var(--space-md);
    gap: var(--space-sm);
}

.video-sidebar-participants {
    width: 160px;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.video-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #818cf8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-participant.small .video-avatar {
    width: 36px;
    height: 36px;
}

.video-avatar.ai {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.video-initials {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.video-participant.small .video-initials {
    font-size: 12px;
}

.video-label {
    font-size: 12px;
    color: white;
    text-align: center;
    margin-top: var(--space-sm);
}

.video-participant.small .video-label {
    margin-top: 0;
    text-align: left;
    font-size: 11px;
    line-height: 1.3;
}

.video-label span {
    color: #9ca3af;
    font-size: 10px;
}

.video-info {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.video-scenario {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border: 1px solid var(--color-border);
}

.video-scenario-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.video-scenario-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-black);
    margin-bottom: 4px;
}

.video-scenario-desc {
    font-size: 12px;
    color: var(--text-medium);
    line-height: 1.4;
}

.video-modes {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.video-mode {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--color-slate);
    border-radius: var(--radius-md);
}

.video-mode-icon {
    font-size: 20px;
}

.video-mode-title {
    font-weight: 600;
    font-size: 12px;
    color: var(--color-black);
}

.video-mode-desc {
    font-size: 11px;
    color: var(--text-medium);
}

/* Events Table */
.events-table-wrapper {
    margin-top: var(--space-lg);
    overflow-x: auto;
}

.events-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.events-table thead {
    border-bottom: 2px solid var(--color-border);
}

.events-table th {
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-medium);
    background: var(--color-slate);
}

.events-table th.event-type-col {
    text-align: left;
    width: 280px;
}

.events-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.events-table td.event-type-col {
    text-align: left;
    font-weight: 500;
    color: var(--color-black);
}

.events-table tbody tr:hover {
    background: var(--color-slate);
}

.check-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--color-success);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
}

.check-inprogress {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--color-muted);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
}

.check-empty {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--color-slate);
    border-radius: var(--radius-sm);
}

.check-inprogress {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #fef3c7;
    color: #b45309;
    border-radius: var(--radius-sm);
}

.table-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 16px;
    background: #fef3c7;
    color: #92400e;
    border-radius: var(--radius-md);
    font-size: 13px;
}

.table-note svg {
    flex-shrink: 0;
}

/* Zapier-style Sequence Builder */
.zapier-builder {
    display: flex;
    margin-top: 28px;
    background: #f8fafc;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 520px;
    border: 1px solid var(--color-border);
}

.builder-sidebar {
    width: 140px;
    background: white;
    border-right: 1px solid var(--color-border);
    padding: 16px;
}

.builder-sidebar-header {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.builder-component {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    font-size: 12px;
    color: var(--text-dark);
    cursor: grab;
    margin-bottom: 4px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.builder-component:hover {
    background: var(--color-slate);
    border-color: var(--color-border);
}

.component-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.component-icon.email-icon { background: #e3f2fd; color: #1976d2; }
.component-icon.chat-icon { background: #f3e5f5; color: #7b1fa2; }
.component-icon.voice-icon { background: #fff3e0; color: #f57c00; }
.component-icon.doc-icon { background: #ffebee; color: #d32f2f; }
.component-icon.feedback-icon { background: #e8f5e9; color: #388e3c; }

.builder-canvas {
    flex: 1;
    padding: 24px 40px;
    overflow-y: auto;
    background:
        radial-gradient(circle, #e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}

.builder-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-node {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    width: 320px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.flow-node:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--color-primary);
}

.flow-node.trigger {
    border-left: 3px solid var(--color-success);
}

.flow-node.email {
    border-left: 3px solid #1976d2;
}

.flow-node.chat {
    border-left: 3px solid #7b1fa2;
}

.flow-node.feedback {
    border-left: 3px solid #388e3c;
}

.flow-node.output {
    border-left: 3px solid var(--color-primary);
    background: linear-gradient(135deg, #f5f3ff 0%, white 100%);
}

.node-badge {
    position: absolute;
    top: -10px;
    left: 16px;
    background: white;
    border: 1px solid var(--color-border);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-medium);
}

.flow-node.trigger .node-badge { color: var(--color-success); border-color: var(--color-success); }
.flow-node.output .node-badge { color: var(--color-primary); border-color: var(--color-primary); }

.node-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-slate);
    color: var(--text-medium);
    flex-shrink: 0;
}

.node-icon.email-icon { background: #e3f2fd; color: #1976d2; }
.node-icon.chat-icon { background: #f3e5f5; color: #7b1fa2; }
.node-icon.feedback-icon { background: #e8f5e9; color: #388e3c; }

.flow-node.trigger .node-icon { background: #dcfce7; color: var(--color-success); }
.flow-node.output .node-icon { background: #ede9fe; color: var(--color-primary); }

.node-content {
    flex: 1;
    min-width: 0;
}

.node-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.node-desc {
    font-size: 11px;
    color: var(--text-medium);
}

.node-config {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.config-tag {
    background: var(--color-slate);
    color: var(--text-medium);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
}

.config-tag.rubric {
    background: #ede9fe;
    color: var(--color-primary);
}

.flow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 32px;
    position: relative;
}

.connector-line {
    width: 2px;
    flex: 1;
    background: var(--color-border);
}

.connector-dot {
    width: 8px;
    height: 8px;
    background: var(--color-border);
    border-radius: 50%;
    position: absolute;
    bottom: 0;
}

/* Use Cases Slide */
.use-cases-slide {
    padding: 48px 64px !important;
}

.use-cases-layout {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    height: 100%;
}

.use-cases-content {
    flex: 1;
}

.use-cases-image {
    flex: 0 0 480px;
    height: 400px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.use-cases-image img {
    width: 140%;
    height: 140%;
    object-fit: cover;
    object-position: center center;
    margin: -20% 0 0 -20%;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.use-case-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.use-case-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
    transform: translateY(-2px);
}

.use-case-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.use-case-desc {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.4;
}

/* Document Demo */
.doc-demo {
    display: flex;
    gap: var(--space-lg);
    margin-top: 28px;
}

.doc-workspace {
    flex: 1;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.doc-toolbar {
    display: flex;
    background: var(--color-slate);
    border-bottom: 1px solid var(--color-border);
}

.doc-toolbar-item {
    padding: var(--space-sm) var(--space-md);
    font-size: 12px;
    color: var(--text-medium);
    border-right: 1px solid var(--color-border);
    cursor: pointer;
}

.doc-toolbar-item.active {
    background: var(--bg-card);
    color: var(--color-black);
    font-weight: 500;
}

.doc-content {
    padding: var(--space-lg);
    min-height: 200px;
}

.doc-title-input {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.doc-body {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.6;
}

.doc-paragraph {
    margin-bottom: var(--space-sm);
}

.typing-indicator {
    color: var(--color-primary);
    animation: blink 1s infinite;
}

.doc-tasks {
    width: 260px;
}

.doc-task-header {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-medium);
    margin-bottom: var(--space-md);
}

.doc-task {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    margin-bottom: var(--space-sm);
}

.doc-task-icon {
    font-size: 18px;
}

.doc-task-title {
    font-weight: 600;
    font-size: 13px;
    color: var(--color-black);
}

.doc-task-desc {
    font-size: 11px;
    color: var(--text-medium);
}

/* Responsive */
@media (max-width: 1200px) {
    .nav-sidebar {
        width: 220px;
    }
    .slide-title {
        font-size: 24pt;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .assessment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
