/* Use Noto Sans SC from Google Fonts */
body {
    font-family: 'Noto Sans SC', sans-serif;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#presentation-container { 
    position: relative; 
    width: 100vw; 
    height: 100vh;
}

.presentation-slide {
    position: absolute !important; 
    inset: 0 !important; 
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s !important;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    padding: 5vw; 
    overflow: hidden; 
    box-sizing: border-box;
    opacity: 0; 
    visibility: hidden; 
    pointer-events: none; 
    z-index: 1;
}

.presentation-slide:first-child {
    opacity: 1; 
    visibility: visible; 
    pointer-events: auto; 
    z-index: 2;
}

/* Slide chrome: header/footer images */
.presentation-slide .slide-header,
.presentation-slide .slide-footer {
    position: absolute;
    left: 0;
    width: 100%;
    height: 64px;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    z-index: 3;
}
.presentation-slide .slide-header { top: 0; }
.presentation-slide .slide-footer { bottom: 0; }

@media (max-width: 768px) {
    .presentation-slide .slide-header,
    .presentation-slide .slide-footer { height: 48px; }
}

/* Layout Helpers */
.presentation-slide.layout-fullscreen { padding: 0; }
.presentation-slide.layout-minimal { padding: 2vw; }
.presentation-slide.layout-spacious { padding: 8vw; }
.presentation-slide.layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.presentation-slide.layout-thirds { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.presentation-slide.layout-stack { display: flex; flex-direction: column; gap: 1rem; }

@media (max-width: 768px) {
    .presentation-slide.layout-split { grid-template-columns: 1fr; }
    .presentation-slide .text-8xl { font-size: 4.5rem; }
    .presentation-slide .text-6xl { font-size: 3rem; }
    .presentation-slide .text-5xl { font-size: 2.25rem; }
    .presentation-slide .text-4xl { font-size: 1.875rem; }
}


/* Slide 5: Report Index Mockup */
.report-index-mockup {
    background-color: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    border: 1px solid #e5e7eb;
}
.report-index-mockup .header {
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}
.report-index-mockup .search-bar {
    display: flex;
    align-items: center;
    background-color: #f3f4f6;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 16px;
    position: relative;
}
.report-index-mockup .search-bar .icon {
    width: 16px; height: 16px;
    color: #6b7280;
    margin-right: 8px;
}
.report-index-mockup .search-bar span { color: #6b7280; }
.report-index-mockup .search-bar .cursor {
    width: 2px;
    height: 18px;
    background-color: #3b82f6;
    display: inline-block;
    animation: blink 1s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.report-index-mockup ul { list-style: none; padding: 0; margin: 0; }
.report-index-mockup li {
    padding: 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
}
.report-index-mockup li.highlight {
    background-color: #dbeafe;
    color: #1e40af;
    font-weight: 600;
}
.report-index-mockup .tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 99px;
    background-color: #e5e7eb;
    margin-right: 12px;
    color: #4b5563;
}
.report-index-mockup li.highlight .tag {
    background-color: #93c5fd;
    color: #1e3a8a;
}

/* Slide 6: Custom View Steps */
.custom-view-step {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 24px;
    border-radius: 12px;
    flex-grow: 1;
    max-width: 300px;
    position: relative;
}
.custom-view-step .step-number {
    position: absolute;
    top: -16px;
    left: 24px;
    background-color: #3b82f6;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

/* Slide 7: Project Tree Mockup */
.project-tree-mockup {
    background-color: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    border: 1px solid #e5e7eb;
}
.project-tree-mockup .header {
    font-weight: 600; color: #111827; margin-bottom: 8px;
}
.project-tree-mockup ul { list-style: none; padding: 0; margin: 0; }
.project-tree-mockup li {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    flex-wrap: wrap;
    transition: background-color 0.2s;
}
.project-tree-mockup li .icon {
    width: 18px; height: 18px; color: #6b7280; margin-right: 10px;
}
.project-tree-mockup li.open > .icon, .project-tree-mockup li.active .icon { color: #3b82f6; }
.project-tree-mockup li.active { background-color: #dbeafe; font-weight: 600; color: #1e40af; }
.project-tree-mockup ul.sub-list {
    width: 100%;
    padding-left: 28px;
    margin-top: 8px;
}

/* Slide 8: Comparison Table */
.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background-color: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.comparison-table .header {
    padding: 16px;
    font-weight: 600;
    font-size: 1.125rem;
    text-align: center;
}
.comparison-table .header.old { background-color: #fee2e2; color: #991b1b; }
.comparison-table .header.new { background-color: #dcfce7; color: #166534; }
.comparison-table .item { display: contents; }
.comparison-table .cell {
    background-color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.comparison-table .cell .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.comparison-table .cell.old { color: #7f1d1d; }
.comparison-table .cell.old .icon { color: #ef4444; }
.comparison-table .cell.new { color: #14532d; }
.comparison-table .cell.new .icon { color: #22c55e; }

/* Slide 9: Roadmap */
.roadmap-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}
.roadmap-step {
    flex: 1;
    max-width: 250px;
}
.roadmap-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
}
.roadmap-line {
    flex: 1;
    height: 2px;
    background-color: #d1d5db;
    margin-top: 25px;
}
@media (max-width: 768px) {
    .roadmap-container { flex-direction: column; align-items: center; }
    .roadmap-line { transform: rotate(90deg); width: 50px; margin: 1rem 0; }
}

/* Slide 10: FAQ */
.faq-item {
    background-color: #f9fafb;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
}
