/* Styles from index.html */
body.index-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #1a1a1a; /* Dark background */
    color: #e0e0e0; /* Light text */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.index-page .container {
    text-align: center;
    background-color: #2c2c2c; /* Slightly lighter card background */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    max-width: 600px;
    width: 100%;
}

.index-page h1 {
    color: #ffffff; /* White heading */
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 1px solid #b8860b; /* Gold accent line */
    padding-bottom: 15px;
    display: inline-block;
}

.index-page p {
    color: #a0a0a0; /* Lighter gray for description */
    margin-bottom: 30px;
}

.index-page .links {
    display: flex;
    flex-direction: column; /* Stack links vertically on small screens */
    gap: 20px;
    align-items: center;
}

.index-page .link-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(90deg, #b8860b 0%, #ffd700 50%, #b8860b 100%); /* Gold gradient */
    color: #1a1a1a; /* Dark text on button */
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 80%; /* Make buttons take up more width */
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.2);
}

.index-page .link-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3);
}

 /* Responsive adjustments for index page */
@media (min-width: 600px) {
    .index-page .links {
        flex-direction: row; /* Side-by-side links on larger screens */
        justify-content: center;
    }
    .index-page .link-button {
        width: auto; /* Auto width for larger screens */
    }
}

/* Styles from ctm_bp_slides.html */
body.slides-page {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-color: #f0f0f0;
}

.slides-page #slide-viewer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh; /* Ensure it takes at least full height */
    padding: 20px;
    box-sizing: border-box;
}

.slides-page h1 {
    margin: 0 0 15px 0;
    color: #333;
    flex-shrink: 0; /* Prevent shrinking */
}

.slides-page #iframe-wrapper {
    width: 90%; /* Use most of the width */
    max-width: 1280px; /* Max width like original slide */
    height: 80vh; /* Set max height relative to viewport */
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.slides-page #slideFrame {
    width: 100%;
    height: 100%; /* Fill the wrapper */
    border: none; /* Remove iframe border */
    display: block; /* Ensure it's a block element */
    overflow: auto; /* Explicitly allow iframe content to scroll */
}

.slides-page #iframe-wrapper:fullscreen {
    padding-top: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: none;
    background-color: #000;
}

.slides-page #iframe-wrapper:fullscreen #slideFrame {
    width: 100%;
    height: 100%;
}

.slides-page .navigation {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    padding-bottom: 10px;
    position: sticky;
    bottom: 10px;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    z-index: 10;
}

.slides-page button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    transition: background-color 0.2s ease;
}

.slides-page button:hover:not(:disabled) {
    background-color: #0056b3;
}

.slides-page button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.slides-page #slideCounter {
    font-size: 16px;
    padding: 10px;
    min-width: 50px;
    text-align: center;
    background-color: #e9ecef;
    border-radius: 5px;
    color: #495057;
}

.slides-page button i {
    margin-right: 8px;
}

.slides-page button span.shortcut {
    font-size: 0.8em;
    opacity: 0.7;
    margin-left: 5px;
}

/* Add placeholder for slides CSS */ 

/* Add team and org structure specific styles */
.team-card {
    background: rgba(15,15,15,0.7);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

.org-box {
    background-color: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(184, 134, 11, 0.5);
    transition: all 0.3s ease;
}

.org-box:hover {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.org-line {
    position: absolute;
    background: linear-gradient(to bottom, #b8860b, rgba(184, 134, 11, 0.2));
    width: 2px;
}

.org-h-line {
    position: absolute;
    background: linear-gradient(to right, #b8860b, rgba(184, 134, 11, 0.2));
    height: 2px;
}

.avatar-border {
    border: 2px solid #b8860b;
    padding: 2px;
    background: linear-gradient(45deg, rgba(184, 134, 11, 0.5), rgba(255, 215, 0, 0.5));
}

.channel-icon {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(184, 134, 11, 0.5);
}

/* Add placeholder for slides CSS */ 

/* Add risk analysis specific styles */
.risk-card {
    background: rgba(15,15,15,0.7);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.risk-card:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

.risk-icon {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(184, 134, 11, 0.5);
}

.risk-level {
    width: 60px;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.risk-level-fill {
    height: 100%;
}

.risk-low {
    width: 33%;
    background: linear-gradient(90deg, #4BB543, #69D361); /* Green */
}

.risk-medium {
    width: 66%;
    background: linear-gradient(90deg, #FFA500, #FFD700); /* Orange/Yellow */
}

.risk-high {
    width: 100%;
    background: linear-gradient(90deg, #D62828, #F94144); /* Red */
}

/* Add placeholder for slides CSS */ 

/* Add implementation timeline specific styles */
.timeline-card {
    background: rgba(15,15,15,0.7);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

.timeline-node {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #b8860b, #ffd700);
    position: relative;
    z-index: 10;
    flex-shrink: 0; /* Prevent node from shrinking */
}

.timeline-line {
    position: absolute;
    /* Align based on the left padding (p-6 -> 1.5rem) + half node width (10px) */
    left: calc(1.5rem + 10px);
    top: 2rem; /* Start below the heading */
    bottom: 2rem; /* Stop above the bottom padding */
    width: 3px;
    background: linear-gradient(to bottom, #b8860b, rgba(184, 134, 11, 0.3));
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-date {
    /* Remove absolute positioning - let flexbox handle it */
    /* position: absolute; */ 
    /* left: calc(1.5rem + 20px + 0.5rem); */
    /* top: 50%; */
    /* transform: translateY(-50%); */
    background: rgba(10, 10, 10, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(184, 134, 11, 0.5);
    white-space: nowrap; /* Prevent date text wrapping */
}

.phase-marker {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle; /* Align marker better */
}

/* Phase colors - ensure these match the data */
.phase-1 { background-color: #3498db; } /* Blue */
.phase-2 { background-color: #2ecc71; } /* Green */
.phase-3 { background-color: #f39c12; } /* Orange */
.phase-4 { background-color: #9b59b6; } /* Purple */


/* Add example vehicles specific styles */
.vehicle-card {
    background: rgba(15,15,15,0.7);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative; /* Needed for badge/overlay positioning */
    overflow: hidden; /* Prevent content spilling */
}

.vehicle-card:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

.vehicle-image {
    position: relative;
    height: 130px; /* Adjust as needed */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px 6px 0 0; /* Rounded top corners */
}

.vehicle-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    border-radius: 6px 6px 0 0; /* Match image rounding */
}

.vehicle-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    background: rgba(0,0,0,0.7);
    border: 1px solid #b8860b;
}

.logo-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 5;
    opacity: 0.7;
    width: 40px; /* Adjust size */
    height: 40px;
    display: flex; /* Center icon if using FontAwesome */
    align-items: center;
    justify-content: center;
}

.logo-overlay img { /* Style if using an img tag */
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.investment-stat {
    border-left: 2px solid #b8860b;
    padding-left: 8px;
}

/* Add placeholder for slides CSS */ 

/* Add investor experience specific styles */
.experience-card {
    background: rgba(15,15,15,0.7);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.experience-card:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

.journey-step {
    position: relative;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 6px;
    padding: 12px;
    transition: all 0.3s ease;
}

.journey-step:hover {
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(20, 20, 20, 0.6);
}

.journey-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px; /* Adjust as needed for gap */
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #b8860b, transparent);
    transform: translateY(-50%);
    z-index: -1; /* Ensure it's behind the next step if overlapping */
}

.journey-step:last-child::after {
    display: none;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(184, 134, 11, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

/* Add placeholder for slides CSS */ 

/* Add competitive advantage specific styles */
.advantage-card {
    background: rgba(15,15,15,0.7);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

.comparison-row {
    transition: all 0.3s ease;
}

.comparison-row:hover {
    background: rgba(30, 30, 30, 0.5); /* Subtle hover for table rows */
}

.advantage-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(184, 134, 11, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.check-icon {
    color: #4BB543; /* Green check */
}

.times-icon {
    color: #FF3A30; /* Red X */
}

/* Add placeholder for slides CSS */ 

/* Add capital allocation specific styles */
.allocation-card {
    background: rgba(15,15,15,0.7);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.allocation-card:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

.allocation-item {
    border-left: 3px solid;
    padding-left: 12px;
    margin-bottom: 12px; /* Matches original HTML spacing */
    transition: all 0.3s ease;
}

.allocation-item:hover {
    transform: translateX(5px);
    background: rgba(30, 30, 30, 0.4);
}

/* Correlate these classes with the data in slides_data.js */
.allocation-item.modern-classics { border-color: #4CD964; } /* Green */
.allocation-item.performance-icons { border-color: #5AC8FA; } /* Blue */
.allocation-item.emerging-collectibles { border-color: #FFCC00; } /* Yellow */
.allocation-item.operations { border-color: #FF9500; } /* Orange */
.allocation-item.liquidity-reserve { border-color: #FF3B30; } /* Red */

/* Add regulatory & compliance specific styles */
.regulatory-card {
    background: rgba(15,15,15,0.7);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.regulatory-card:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

.compliance-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(184, 134, 11, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.checklist-item {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 12px;
}

.checklist-item:hover {
    border-left-color: #ffd700; /* Gold hover */
    background: rgba(30, 30, 30, 0.5);
    transform: translateX(5px);
}

.status-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 12px;
}

.status-complete {
    background: rgba(75, 181, 67, 0.2);
    border: 1px solid #4BB543;
    color: #4BB543; /* Green */
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid #FFC107;
    color: #FFC107; /* Yellow/Orange */
}

.status-planned {
    background: rgba(90, 200, 250, 0.2);
    border: 1px solid #5AC8FA;
    color: #5AC8FA; /* Blue */
}

/* Add placeholder for slides CSS */ 