/* Shinrai Presentation Styles */

:root {
    --primary: #5d5fef;
    --primary-dark: #4a4cd6;
    --primary-light: #8687f7;
    --secondary: #00bcd4;
    --accent: #ff7043;
    --text: #2d3748;
    --text-light: #718096;
    --background: #ffffff;
    --background-alt: #f7fafc;
    --border: #e2e8f0;
    --danger: #e53e3e;
    --success: #38a169;
    --warning: #d69e2e;
    
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --gradient-secure: linear-gradient(135deg, #38a169, #2f855a);
    --gradient-danger: linear-gradient(135deg, #e53e3e, #c53030);
    
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;
}

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

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--background);
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--border);
    z-index: 1000;
}

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

/* Slide Counter */
.slide-counter {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

/* Navigation Hint */
.nav-hint {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    color: var(--text-light);
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: opacity 0.3s ease;
}

.nav-hint kbd {
    background: var(--background-alt);
    border: 1px solid var(--border);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.75rem;
    margin: 0 0.125rem;
}

/* Presentation Container */
.presentation {
    width: 100%;
    height: 100vh;
    position: relative;
    cursor: pointer;
}

/* Slide Base */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    background: var(--background);
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

/* Animation Classes */
.animate-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
}

p {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
}

.section-desc {
    font-size: 1.375rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================
   SLIDE 1: Title
   =================== */
.title-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-container {
    margin-bottom: 2rem;
}

.main-logo {
    width: 180px;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.tagline {
    font-size: 1.75rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.subtitle {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    background: rgba(93, 95, 239, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
}

/* ===================
   SLIDE 2: Problem
   =================== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.problem-card {
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.problem-card:hover {
    border-color: var(--danger);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.problem-icon.danger {
    background: rgba(229, 62, 62, 0.1);
}

.problem-icon svg {
    width: 35px;
    height: 35px;
    color: var(--danger);
}

.problem-card h3 {
    color: var(--danger);
}

.problem-card p {
    font-size: 1rem;
    margin: 0;
}

/* Flow Diagram */
.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--background-alt);
    border-radius: var(--radius-lg);
}

.flow-node {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.125rem;
}

.flow-node.user {
    background: var(--gradient-primary);
    color: white;
}

.flow-node.exposed {
    background: rgba(229, 62, 62, 0.1);
    color: var(--danger);
    border: 2px dashed var(--danger);
}

.flow-node.ai-provider {
    background: var(--text);
    color: white;
}

.flow-arrow {
    font-size: 2rem;
    font-weight: bold;
}

.flow-arrow.danger {
    color: var(--danger);
}

/* ===================
   SLIDE 3: Solution Overview
   =================== */
.solution-layers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.layer-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.layer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.layer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.layer-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.layer-icon {
    width: 80px;
    height: 80px;
    background: rgba(93, 95, 239, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.layer-card p {
    font-size: 1rem;
    margin: 0;
}

/* ===================
   SLIDE 4: BERT PII Models (Highlight)
   =================== */
.highlight-slide {
    background: linear-gradient(135deg, rgba(93, 95, 239, 0.03), rgba(0, 188, 212, 0.03));
}

.highlight-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bert-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
    align-items: center;
}

.bert-visual {
    display: flex;
    justify-content: center;
}

.neural-network {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nn-layer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.nn-layer span {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.nn-nodes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nn-node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s ease;
}

.nn-node.active {
    background: var(--gradient-primary);
    animation: pulse-node 2s ease-in-out infinite;
}

.nn-node.result {
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    background: var(--gradient-secure);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

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

.nn-connections {
    width: 60px;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--primary) 0,
        var(--primary) 8px,
        transparent 8px,
        transparent 12px
    );
    animation: flow 1s linear infinite;
}

@keyframes flow {
    0% { background-position: 0 0; }
    100% { background-position: 12px 0; }
}

.bert-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--background);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.feature-highlight svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-highlight span {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text);
}

.partnership-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--background);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.partner-logo {
    height: 50px;
    width: auto;
}

.partnership-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.partner-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.partner-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.opensource-note {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

.coming-soon {
    background: rgba(214, 158, 46, 0.1);
    color: var(--warning);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-right: 0.5rem;
}

/* ===================
   SLIDE 5: Weighted Replacements
   =================== */
.replacement-demo {
    margin-top: 2rem;
}

.replacement-example {
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.original-text, .replaced-text {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: left;
}

.original-text {
    background: rgba(229, 62, 62, 0.05);
    border: 1px solid rgba(229, 62, 62, 0.2);
}

.replaced-text {
    background: rgba(56, 161, 105, 0.05);
    border: 1px solid rgba(56, 161, 105, 0.2);
}

.label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

.original-text .label {
    background: rgba(229, 62, 62, 0.1);
    color: var(--danger);
}

.replaced-text .label {
    background: rgba(56, 161, 105, 0.1);
    color: var(--success);
}

.original-text p, .replaced-text p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.8;
}

.pii {
    background: rgba(229, 62, 62, 0.2);
    color: var(--danger);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.replaced {
    background: rgba(56, 161, 105, 0.2);
    color: var(--success);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.transform-arrow {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

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

.weights-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.weight-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.weight-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.weight-icon {
    width: 50px;
    height: 50px;
    background: rgba(93, 95, 239, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

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

.weight-card h4 {
    margin-bottom: 0.5rem;
}

.weight-card p {
    font-size: 0.875rem;
    margin: 0;
    color: var(--success);
    font-weight: 500;
}

/* ===================
   SLIDE 6: Attachment Processing
   =================== */
.attachment-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.attachment-step {
    text-align: center;
    max-width: 180px;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: var(--background-alt);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.step-icon svg {
    width: 36px;
    height: 36px;
    color: var(--text-light);
}

.step-icon.secure {
    background: rgba(93, 95, 239, 0.1);
    border-color: var(--primary);
}

.step-icon.secure svg {
    color: var(--primary);
}

.step-icon.safe {
    background: rgba(56, 161, 105, 0.1);
    border-color: var(--success);
}

.step-icon.safe svg {
    color: var(--success);
}

.attachment-step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.attachment-step p {
    font-size: 0.875rem;
    margin: 0;
}

.flow-connector {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
}

.security-note {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(93, 95, 239, 0.1);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

.security-note svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.security-note span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
}

/* ===================
   SLIDE 7: Onion Routing
   =================== */
.onion-visual {
    display: flex;
    justify-content: center;
    margin: 2rem 0 3rem;
}

.onion-diagram {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.onion-layer {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.layer-1 {
    width: 280px;
    height: 280px;
    background: rgba(93, 95, 239, 0.1);
    border: 2px solid rgba(93, 95, 239, 0.3);
}

.layer-2 {
    width: 200px;
    height: 200px;
    background: rgba(93, 95, 239, 0.15);
    border: 2px solid rgba(93, 95, 239, 0.4);
}

.layer-3 {
    width: 120px;
    height: 120px;
    background: rgba(93, 95, 239, 0.2);
    border: 2px solid rgba(93, 95, 239, 0.5);
}

.onion-core {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.layer-labels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.layer-labels span {
    font-size: 1rem;
    color: var(--text);
    padding: 0.5rem 1rem;
    background: var(--background);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.routing-path {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--background-alt);
    border-radius: var(--radius-lg);
}

.path-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
}

.path-node svg {
    width: 40px;
    height: 40px;
}

.path-node span {
    font-size: 0.875rem;
    font-weight: 500;
}

.path-node.client svg {
    color: var(--primary);
}

.path-node.gateway svg {
    color: var(--success);
}

.path-node.provider svg {
    color: var(--text);
}

.path-arrow {
    width: 50px;
    height: 3px;
    background: var(--gradient-secure);
    position: relative;
}

.path-arrow::after {
    content: '→';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--success);
    font-size: 1.25rem;
}

.routing-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text);
}

.benefit svg {
    width: 20px;
    height: 20px;
    color: var(--success);
}

/* ===================
   SLIDE 8: AI Processing
   =================== */
.provider-view {
    margin-top: 2rem;
}

.view-comparison {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.view-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.view-card.unknown {
    border: 2px solid var(--success);
}

.view-card.visible {
    border: 2px solid var(--primary);
}

.unknown-icon, .visible-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.unknown-icon {
    background: rgba(56, 161, 105, 0.1);
}

.unknown-icon svg {
    width: 40px;
    height: 40px;
    color: var(--success);
}

.visible-icon {
    background: rgba(93, 95, 239, 0.1);
}

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

.blurred-text {
    filter: blur(4px);
    user-select: none;
}

.status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
}

.status.protected {
    background: rgba(56, 161, 105, 0.1);
    color: var(--success);
}

.status.safe {
    background: rgba(93, 95, 239, 0.1);
    color: var(--primary);
}

.example-query {
    max-width: 700px;
    margin: 0 auto;
}

.query-box {
    background: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: left;
}

.query-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.query-box p {
    margin: 0;
    font-size: 1.125rem;
    font-style: italic;
}

/* ===================
   SLIDE 9: Response Flow
   =================== */
.response-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.response-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.875rem;
    margin: 0;
}

.response-arrow {
    font-size: 1.5rem;
    color: var(--primary);
}

.response-example {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.response-before, .response-after {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: left;
}

.response-before {
    background: rgba(93, 95, 239, 0.05);
}

.response-after {
    background: rgba(56, 161, 105, 0.05);
}

.response-before p, .response-after p {
    margin: 0;
    font-size: 1.125rem;
}

.anon {
    background: rgba(93, 95, 239, 0.2);
    color: var(--primary);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
}

.restored {
    background: rgba(56, 161, 105, 0.2);
    color: var(--success);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
}

.response-arrow-down {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.response-arrow-down svg {
    width: 32px;
    height: 32px;
    color: var(--success);
}

/* ===================
   SLIDE 10: Session Encryption
   =================== */
.encryption-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.encryption-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.encryption-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.encryption-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    background: rgba(93, 95, 239, 0.1);
}

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

.encryption-icon.bitcoin {
    background: rgba(247, 147, 26, 0.1);
}

.encryption-icon.bitcoin svg {
    color: #f7931a;
}

.encryption-icon.quantum {
    background: rgba(0, 188, 212, 0.1);
}

.encryption-icon.quantum svg {
    color: var(--secondary);
}

.encryption-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.encryption-card p {
    font-size: 0.9375rem;
    margin: 0;
}

.key-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--background-alt);
    border-radius: var(--radius-lg);
}

.key-node {
    text-align: center;
    padding: 1rem 1.5rem;
    background: var(--background);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.key-node span {
    display: block;
    font-weight: 600;
    color: var(--text);
}

.key-node small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.key-node.user-key {
    border: 2px solid var(--primary);
}

.key-node.conversation-key {
    border: 2px solid var(--success);
}

.key-node.data {
    border: 2px solid var(--secondary);
}

.key-arrow {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===================
   SLIDE 11: Deployment Options
   =================== */
.deployment-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 2rem 0;
}

.deployment-card {
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
}

.deployment-card:hover {
    box-shadow: var(--shadow-lg);
}

.deployment-card.consumer {
    border-color: var(--primary);
}

.deployment-card.enterprise {
    border-color: var(--success);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.deployment-logo {
    height: 40px;
    width: auto;
}

.enterprise-icon {
    width: 40px;
    height: 40px;
    background: rgba(56, 161, 105, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.enterprise-icon svg {
    width: 24px;
    height: 24px;
    color: var(--success);
}

.card-header h3 {
    flex-grow: 1;
    margin: 0;
}

.deployment-type {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

.consumer .deployment-type {
    background: rgba(93, 95, 239, 0.1);
    color: var(--primary);
}

.enterprise .deployment-type {
    background: rgba(56, 161, 105, 0.1);
    color: var(--success);
}

.card-features {
    margin-bottom: 1.5rem;
}

.card-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.card-features .feature svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.card-features .feature span {
    font-size: 1rem;
    color: var(--text);
}

.deployment-flow {
    padding: 1rem;
    background: var(--background-alt);
    border-radius: var(--radius-md);
}

.flow-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.mini-flow {
    font-size: 0.875rem;
    color: var(--text);
}

.mini-flow span {
    padding: 0.25rem 0.5rem;
    background: var(--background);
    border-radius: var(--radius-sm);
    margin: 0 0.25rem;
}

.mini-flow .highlight {
    background: rgba(56, 161, 105, 0.2);
    color: var(--success);
    font-weight: 600;
}

.common-element {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(93, 95, 239, 0.05);
    border: 1px solid rgba(93, 95, 239, 0.2);
    border-radius: var(--radius-lg);
}

.common-element svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.common-element span {
    font-size: 1rem;
    color: var(--text);
}

/* ===================
   SLIDE 12: Summary
   =================== */
.summary-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.summary-logo {
    margin-bottom: 1.5rem;
}

.summary-logo img {
    width: 120px;
    height: auto;
}

.summary-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0 3rem;
    max-width: 500px;
}

.summary-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    text-align: left;
}

.summary-point svg {
    width: 24px;
    height: 24px;
    color: var(--success);
    flex-shrink: 0;
}

.summary-point span {
    font-size: 1.125rem;
    color: var(--text);
}

.cta-section {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(93, 95, 239, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 95, 239, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: white;
}

/* ===================
   Responsive Design
   =================== */
@media (max-width: 1200px) {
    .slide {
        padding: 3rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .problem-grid,
    .solution-layers,
    .view-comparison,
    .encryption-features,
    .deployment-comparison {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .weights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .bert-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .slide {
        padding: 2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .problem-grid,
    .solution-layers,
    .view-comparison,
    .encryption-features,
    .deployment-comparison {
        grid-template-columns: 1fr;
    }
    
    .weights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .flow-diagram {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .attachment-flow,
    .routing-path,
    .response-flow {
        flex-direction: column;
    }
    
    .flow-connector,
    .path-arrow,
    .response-arrow {
        transform: rotate(90deg);
    }
    
    .onion-diagram {
        flex-direction: column;
    }
    
    .layer-1 {
        width: 200px;
        height: 200px;
    }
    
    .layer-2 {
        width: 150px;
        height: 150px;
    }
    
    .layer-3 {
        width: 100px;
        height: 100px;
    }
    
    .slide-counter {
        bottom: 1rem;
        right: 1rem;
    }
    
    .nav-hint {
        display: none;
    }
    
    .key-flow {
        flex-direction: column;
        gap: 1rem;
    }
    
    .key-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .slide {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 1.25rem;
    }
    
    .badge {
        font-size: 0.875rem;
        padding: 0.375rem 0.875rem;
    }
    
    .main-logo {
        width: 120px;
    }
    
    .weights-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        flex-direction: column;
        align-items: center;
    }
}

/* Print styles for handouts */
@media print {
    .progress-bar,
    .slide-counter,
    .nav-hint {
        display: none;
    }
    
    .slide {
        position: relative;
        page-break-after: always;
        opacity: 1;
        visibility: visible;
    }
    
    .animate-item {
        opacity: 1;
        transform: none;
    }
}
