:root {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --accent: #002c5c;
    --accent-hover: #001f40;
    --text-main: #1e293b;
    --text-muted: #475569;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow: hidden;
}

.gradient-text {
    background: linear-gradient(90deg, #002c5c, #1b7a7d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* HUB */
.hub-container {
    display: none;
    height: 100vh;
    width: 100vw;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.hub-container.active {
    display: flex;
    opacity: 1;
}

.hub-header {
    text-align: center;
    margin-bottom: 3rem;
}
.hub-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.hub-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pitch-cards {
    display: flex;
    gap: 1.5rem;
    max-width: 1000px;
    width: 100%;
}
.card {
    flex: 1;
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--accent);
}
.card-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}
.card:hover .card-image {
    filter: brightness(1);
}
.card-content {
    padding: 1.5rem;
}
.card-content h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* PRESENTATION */
.presentation-container {
    display: none;
    height: 100vh;
    width: 100vw;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.presentation-container.active {
    display: block;
    opacity: 1;
}

.btn-home {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-main);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}
.btn-home:hover {
    background: rgba(0,0,0,0.1);
}

.presentation-logo {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 100;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.presentation-logo:hover {
    opacity: 1;
}
.presentation-logo img {
    height: 45px;
    object-fit: contain;
}

.slide-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
}

.slide {
    display: flex;
    height: 100%;
    width: 100%;
    animation: fadeIn 0.5s ease forwards;
}

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

.slide-text-side {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    max-width: 45vw;
}

.slide-badge {
    background: rgba(0, 44, 92, 0.1);
    color: var(--accent);
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    align-self: flex-start;
    border: 1px solid rgba(0, 44, 92, 0.2);
}

.slide-takeaway {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.slide-script {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(0, 44, 92, 0.03);
    border-radius: 0 12px 12px 0;
    border-left: 4px solid var(--accent);
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0.4;
    margin-top: 0.2rem;
}

.script-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
}

.slide-visual-hint {
    font-size: 0.85rem;
    color: #64748b;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slide-image-side {
    flex: 1;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.slide-image-side::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0, 44, 92, 0.05) 0%, transparent 100%);
    z-index: 1;
}

.slide-image-wrapper {
    position: relative;
    z-index: 2;
    max-width: 95%;
    max-height: 90%;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.slide-image-wrapper img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 0.5rem;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.slide-image-wrapper.double {
    flex-direction: row;
}
.slide-image-wrapper.double img {
    max-width: 48%;
}

.slide-image-side.no-image {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}
.slide-image-side.no-image .slide-image-wrapper {
    text-align: center;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.5;
}

.controls {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 100;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: 3rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.btn-nav {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
}
.btn-nav:hover:not(:disabled) {
    background: rgba(0,0,0,0.05);
    transform: scale(1.1);
}
.btn-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.progress-indicator {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-main);
    font-size: 0.9rem;
}

/* --- CUSTOM PITCH CARDS --- */
.custom-layout-side {
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    flex: 1;
}

.custom-html-wrapper {
    width: 100%;
    max-width: 600px;
    animation: fadeIn 0.5s ease forwards;
    position: relative;
    z-index: 2;
}

.custom-card {
    background: var(--bg-card);
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    color: var(--text-main);
}

.custom-card .card-title {
    color: #002c5c;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

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

.custom-card .card-footer {
    text-align: right;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1rem;
}
.custom-card .card-footer span { color: #1b7a7d; font-weight: bold; }
.custom-card .card-footer .text-teal { color: #1b7a7d; }

/* Slide 2 Redesign */
.issue-card { padding: 2rem; gap: 1.2rem; }
.issue-header { border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 0.8rem; margin-bottom: 0.2rem; }
.issue-subtitle { color: #64748b; font-size: 0.95rem; margin-top: 0.3rem; }
.issue-content-split { display: flex; gap: 1.5rem; align-items: stretch; height: 280px; }
.issue-image-container { flex: 1.2; position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.issue-image { width: 100%; height: 100%; object-fit: cover; filter: grayscale(10%) contrast(1.1); transition: transform 0.3s; }
.issue-image-container:hover .issue-image { transform: scale(1.05); }
.stat-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(0deg, rgba(220, 38, 38, 0.9) 0%, rgba(220, 38, 38, 0.4) 100%); padding: 1.2rem; display: flex; flex-direction: column; align-items: center; color: white; backdrop-filter: blur(2px); }
.stat-overlay .stat-number { font-size: 2.5rem; font-weight: 900; line-height: 1; margin-bottom: 0.2rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.stat-overlay .stat-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); text-align: center; }

.issue-impact-list { flex: 1; display: flex; flex-direction: column; gap: 0.8rem; justify-content: center; }
.impact-card { display: flex; align-items: center; gap: 1rem; background: #f8fafc; padding: 1rem; border-radius: 12px; border: 1px solid rgba(0,0,0,0.05); transition: background 0.3s, transform 0.3s; }
.impact-card:hover { background: #fff; transform: translateX(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-color: #002c5c; }
.impact-icon { width: 40px; height: 40px; background: rgba(220, 38, 38, 0.1); color: #dc2626; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.impact-text { display: flex; flex-direction: column; }
.impact-text strong { color: #1e293b; font-size: 0.95rem; margin-bottom: 0.2rem; }
.impact-text span { color: #64748b; font-size: 0.8rem; line-height: 1.3; }

/* Slide 4: Workflow */
.workflow-container { position: relative; padding-left: 20px; display: flex; flex-direction: column; gap: 1rem; }
.workflow-line { position: absolute; left: 33px; top: 10px; bottom: 10px; width: 2px; border-left: 2px dashed #cbd5e1; z-index: 1; }
.workflow-step { display: flex; align-items: flex-start; gap: 1.2rem; position: relative; z-index: 2; }
.step-circle { width: 30px; height: 30px; border-radius: 50%; background: #ffffff; border: 2px solid #002c5c; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #002c5c; flex-shrink: 0; font-size: 0.9rem; }
.step-circle.highlight { background: #1b7a7d; color: #fff; border-color: #1b7a7d; }
.step-content { display: flex; flex-direction: column; background: rgba(0,0,0,0.02); padding: 0.8rem; border-radius: 8px; flex: 1; border: 1px solid rgba(0,0,0,0.05); }
.step-content strong { color: #1e293b; font-size: 0.95rem; margin-bottom: 0.2rem; }
.step-content span { color: #64748b; font-size: 0.8rem; }

/* Slide 7: Business Model */
.header-center { text-align: center; margin-bottom: 0.5rem; }
.card-subtitle { color: #64748b; font-size: 1rem; font-weight: 500; }
.flow-boxes { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.flow-box { display: flex; align-items: center; gap: 1rem; background: #f8fafc; border: 1px solid #1b7a7d; padding: 0.8rem 1.2rem; border-radius: 8px; width: 100%; max-width: 400px; }
.flow-box i { font-size: 1.5rem; color: #1b7a7d; width: 30px; text-align: center; }
.flow-text { display: flex; flex-direction: column; }
.flow-text strong { color: #1e293b; font-size: 0.95rem;}
.flow-text span { color: #64748b; font-size: 0.8rem; }
.flow-arrow { color: #1b7a7d; font-size: 1rem; }

.revenue-block { background: #002c5c; padding: 1.2rem; border-radius: 12px; margin-top: 0.5rem; text-align: center; }
.revenue-block h4 { color: #fff; margin-bottom: 1rem; letter-spacing: 1px; font-size: 0.85rem; }
.revenue-row { display: flex; align-items: center; justify-content: center; gap: 0.8rem; color: #f8fafc; font-weight: 600; margin-bottom: 1.2rem; background: rgba(255,255,255,0.1); padding: 0.6rem; border-radius: 8px; font-size: 0.9rem;}
.revenue-row i { color: #06b6d4; font-size: 1.1rem; }
.revenue-split { display: flex; justify-content: space-around; margin-bottom: 1rem; }
.split-col { display: flex; flex-direction: column; }
.price-huge { font-size: 2rem; font-weight: 900; color: #fff; }
.price-label { color: #93c5fd; font-weight: 600; font-size: 0.85rem;}
.revenue-footer { color: #f8fafc; font-size: 0.85rem; font-weight: 600; }
.revenue-footer i { color: #fbbf24; margin-right: 5px; }

/* Slide 8: Market */
.market-funnel { display: flex; flex-direction: column; gap: 0.8rem; align-items: center; margin-top: 0.5rem; }
.market-block { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-radius: 12px; width: 100%; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.block-tam { background: #f3c467; color: #1e293b; width: 100%; }
.block-sam { background: #7ab0b2; color: #1e293b; width: 90%; }
.block-som { background: #002c5c; color: #fff; width: 80%; flex-direction: column; text-align: center; gap: 0.8rem; padding: 1.2rem; }

.block-icon { font-size: 2rem; opacity: 0.8; }
.block-text { display: flex; flex-direction: column; flex: 1; margin: 0 1.2rem; }
.market-label { font-weight: 900; font-size: 1.2rem; }
.market-desc { font-size: 0.85rem; opacity: 0.9; font-weight: 500; }
.block-value { font-size: 1.5rem; font-weight: 900; }

.som-top { display: flex; flex-direction: column; }
.som-value { font-size: 2.2rem; font-weight: 900; color: #06b6d4; line-height: 1; margin-bottom: 0.2rem; }
.som-desc { font-size: 0.8rem; color: #93c5fd; }
.som-bottom { display: flex; align-items: center; gap: 0.5rem; justify-content: center; background: rgba(0,0,0,0.2); padding: 0.4rem 0.8rem; border-radius: 20px; font-size: 0.85rem; }
.som-bottom i { color: #06b6d4; }

/* Slide 9: Financials & 10: Ask */
.fin-section { margin-bottom: 1.2rem; }
.fin-header { display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 1rem; border-radius: 8px; font-weight: 700; color: #fff; letter-spacing: 1px; margin-bottom: 1.2rem; font-size: 0.85rem; }
.bg-corporate { background: #002c5c; }
.bg-teal { background: #1b7a7d; }
.fin-subtitle { text-align: center; color: #64748b; font-size: 0.85rem; }
.mt-2 { margin-top: 0.8rem; }

.timeline-container { position: relative; padding: 0.5rem 0 2.5rem; }
.timeline-line { position: absolute; top: 20px; left: 10%; right: 10%; height: 3px; background: #cbd5e1; border-radius: 2px; }
.timeline-points { display: flex; justify-content: space-between; position: relative; z-index: 2; padding: 0 5%; }
.tl-point { display: flex; flex-direction: column; align-items: center; color: #94a3b8; font-weight: 600; font-size: 0.9rem;}
.tl-point span { background: var(--bg-card); padding: 0.2rem 0.5rem; border-radius: 4px; }
.tl-active { color: #002c5c; position: relative; }
.tl-indicator { width: 14px; height: 14px; background: #1b7a7d; border: 3px solid #fff; border-radius: 50%; margin-top: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.tl-badge { position: absolute; top: 40px; background: #1b7a7d; color: #fff; padding: 0.3rem 0.6rem; border-radius: 20px; font-size: 0.7rem; white-space: nowrap; font-weight: 700; }

.chart-container { display: flex; align-items: flex-end; gap: 1.5rem; padding: 0.5rem 0; height: 120px; }
.chart-bars { display: flex; align-items: flex-end; gap: 0.8rem; flex: 1; height: 100%; border-bottom: 2px solid #cbd5e1; padding-bottom: 5px; }
.bar { width: 35px; background: #e2e8f0; border-radius: 4px 4px 0 0; position: relative; }
.bar-1 { height: 20%; }
.bar-2 { height: 35%; }
.bar-3 { height: 60%; }
.bar-4 { height: 100%; background: #1b7a7d; }
.bar-label { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-weight: 600; color: #475569; font-size: 0.8rem; }

.chart-callout { background: rgba(27, 122, 125, 0.05); border: 2px solid #1b7a7d; padding: 1rem; border-radius: 12px; text-align: center; flex: 1;}
.callout-value { font-size: 1.5rem; font-weight: 900; color: #1b7a7d; line-height: 1; margin-bottom: 0.2rem; }
.callout-label { color: #002c5c; font-weight: 700; font-size: 0.8rem; }

.ask-box { background: linear-gradient(135deg, #1b7a7d 0%, #0f4c4e 100%); padding: 1.5rem; border-radius: 12px; text-align: center; box-shadow: 0 10px 20px rgba(27, 122, 125, 0.2); }
.ask-amount { font-size: 3rem; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 0.4rem; }
.ask-desc { color: #e0f2fe; font-size: 1rem; font-weight: 500; }

.funds-list { display: flex; flex-direction: column; gap: 0.6rem; }
.fund-row { display: flex; align-items: center; gap: 1.2rem; background: rgba(0,0,0,0.02); padding: 0.8rem 1.2rem; border-radius: 8px; border: 1px solid rgba(0,0,0,0.05); }
.fund-icon { font-size: 1.5rem; color: #1b7a7d; width: 30px; text-align: center; }
.fund-text { display: flex; flex-direction: column; }
.fund-text strong { color: #1e293b; font-size: 0.95rem; margin-bottom: 0.1rem; }
.fund-text span { color: #64748b; font-size: 0.8rem; }

/* Slide 6: Traction */
.card-traction .traction-content { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }
.patent-box { width: 100%; display: flex; justify-content: center; }
.patent-image { max-height: 320px; border-radius: 8px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); object-fit: contain; }
.logos-section { width: 100%; margin-top: 0.5rem; }
.logos-title { color: #64748b; margin-bottom: 0.8rem; letter-spacing: 1px; font-size: 0.85rem; font-weight: 700; }
.logos-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; align-items: center; background: transparent; padding: 0.5rem; border-radius: 12px; }
.logos-grid img { max-height: 50px; max-width: 120px; object-fit: contain; filter: none; transition: transform 0.3s ease; opacity: 1; mix-blend-mode: multiply; }
.logos-grid img:hover { transform: scale(1.1); }
