/**
 * CIF App - Custom Styles
 * Extends Tailwind CSS with custom styles for Lean Canvas
 */

/* Base styles */
:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #64748b;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --background: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
}

* {
    box-sizing: border-box;
}

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

/* Dashboard Table */
.canvas-table {
    width: 100%;
    border-collapse: collapse;
}

.canvas-table th,
.canvas-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.canvas-table th {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.canvas-table tbody tr:hover {
    background-color: #f1f5f9;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #f1f5f9;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.btn-icon {
    padding: 0.5rem;
    border-radius: 0.375rem;
}

/* Progress Bar */
.progress-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

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

.progress-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    min-width: 60px;
    text-align: right;
}

/* Step Navigation */
.step-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.step-nav-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
}

.step-nav-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.step-nav-item.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step-nav-item.completed {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

/* Accordion */
.accordion {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background-color: #f8fafc;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: background-color 0.15s ease;
}

.accordion-header:hover {
    background-color: #f1f5f9;
}

.accordion-icon {
    transition: transform 0.2s ease;
}

.accordion.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 1rem;
    background-color: white;
    border-top: 1px solid var(--border-color);
}

.accordion.open .accordion-content {
    display: block;
}

/* Wizard Form */
.wizard-step {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wizard-step-header {
    margin-bottom: 1.5rem;
}

.wizard-step-number {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

.wizard-step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.wizard-step-brief {
    color: var(--text-secondary);
    margin: 0;
}

.wizard-textarea {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wizard-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wizard-textarea::placeholder {
    color: #94a3b8;
}

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Lean Canvas Grid */
.canvas-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 1px;
    background-color: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
}

.canvas-cell {
    background-color: white;
    padding: 1rem;
    min-height: 150px;
}

.canvas-cell-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.canvas-cell-content {
    font-size: 0.875rem;
    color: var(--text-primary);
    white-space: pre-wrap;
}

/* Grid Layout for Canvas - matches Figure 1-2 */
.cell-problem { grid-column: 1; grid-row: 1; }
.cell-solution { grid-column: 2; grid-row: 1; }
.cell-uvp { grid-column: 3; grid-row: 1; }
.cell-unfair-advantage { grid-column: 4; grid-row: 1; }
.cell-customer-segments { grid-column: 5; grid-row: 1; }

.cell-existing-alternatives { grid-column: 1; grid-row: 2; }
.cell-key-metrics { grid-column: 2; grid-row: 2; }
.cell-high-level-concept { grid-column: 3; grid-row: 2; }
.cell-channels { grid-column: 4; grid-row: 2; }
.cell-early-adopters { grid-column: 5; grid-row: 2; }

.cell-cost-structure { grid-column: 1 / 4; grid-row: 3; }
.cell-revenue-streams { grid-column: 4 / 6; grid-row: 3; }

/* Responsive Canvas - stack on small screens */
@media (max-width: 1024px) {
    .canvas-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .cell-problem,
    .cell-solution,
    .cell-uvp,
    .cell-unfair-advantage,
    .cell-customer-segments,
    .cell-existing-alternatives,
    .cell-key-metrics,
    .cell-high-level-concept,
    .cell-channels,
    .cell-early-adopters,
    .cell-cost-structure,
    .cell-revenue-streams {
        grid-column: auto;
        grid-row: auto;
    }

    .cell-cost-structure,
    .cell-revenue-streams {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .canvas-grid {
        grid-template-columns: 1fr;
    }
}

/* Example Tags */
.example-tag {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    margin-left: 0.25rem;
}

.example-tag-user {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.example-tag-customer {
    background-color: #dcfce7;
    color: #16a34a;
}

.example-tag-buyer {
    background-color: #fef3c7;
    color: #d97706;
}

.example-tag-seller {
    background-color: #f3e8ff;
    color: #9333ea;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    animation: slideIn 0.3s ease;
    max-width: 400px;
}

.toast-success {
    border-left: 4px solid var(--success-color);
}

.toast-error {
    border-left: 4px solid var(--danger-color);
}

.toast-info {
    border-left: 4px solid var(--primary-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.15s ease;
}

.modal {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: scaleIn 0.15s ease;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.modal-message {
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Editable Title */
.editable-title {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 0.375rem;
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
    transition: border-color 0.15s ease;
}

.editable-title:hover {
    border-color: var(--border-color);
}

.editable-title:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Print Styles for PDF Export */
@media print {
    body {
        background: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .no-print {
        display: none !important;
    }

    .canvas-grid {
        page-break-inside: avoid;
        border: 2px solid #333;
    }

    .canvas-cell {
        border: 1px solid #ccc;
    }

    .canvas-cell-label {
        color: #333 !important;
    }

    .canvas-cell-content {
        color: #000 !important;
    }
}

/* Utility Classes */
.text-muted {
    color: var(--text-secondary);
}

.text-small {
    font-size: 0.875rem;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ================================================
   SECTION-SPECIFIC STYLES
   ================================================ */

/* Score Indicators */
.score-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.75rem;
}

.score-indicator.green {
    background-color: #dcfce7;
    color: #16a34a;
}

.score-indicator.yellow {
    background-color: #fef3c7;
    color: #d97706;
}

.score-indicator.red {
    background-color: #fee2e2;
    color: #dc2626;
}

.score-indicator.neutral {
    background-color: #f1f5f9;
    color: #64748b;
}

/* Score Badge (larger) */
.score-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

.score-badge.green {
    background-color: #dcfce7;
    color: #16a34a;
}

.score-badge.yellow {
    background-color: #fef3c7;
    color: #d97706;
}

.score-badge.red {
    background-color: #fee2e2;
    color: #dc2626;
}

/* Customer Forces Hill Diagram */
.forces-diagram {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 300px;
    margin: 2rem auto;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
    overflow: hidden;
}

.forces-hill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.forces-label {
    position: absolute;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    white-space: nowrap;
}

.forces-label.push {
    left: 15%;
    top: 40%;
    background: #dbeafe;
    color: #1d4ed8;
}

.forces-label.pull {
    left: 25%;
    top: 25%;
    background: #dcfce7;
    color: #16a34a;
}

.forces-label.inertia {
    right: 25%;
    top: 25%;
    background: #fee2e2;
    color: #dc2626;
}

.forces-label.friction {
    right: 15%;
    top: 40%;
    background: #fef3c7;
    color: #d97706;
}

.forces-customer {
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translateX(-50%);
    font-size: 2rem;
}

.forces-arrow {
    position: absolute;
    font-size: 1.5rem;
}

.forces-arrow.up-left {
    left: 35%;
    top: 35%;
    transform: rotate(-45deg);
    color: #22c55e;
}

.forces-arrow.up-right {
    right: 35%;
    top: 35%;
    transform: rotate(45deg);
    color: #ef4444;
}

/* Forces Input Grid */
.forces-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.force-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
}

.force-card.push {
    border-color: #3b82f6;
}

.force-card.pull {
    border-color: #22c55e;
}

.force-card.inertia {
    border-color: #ef4444;
}

.force-card.friction {
    border-color: #f59e0b;
}

.force-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.force-card-header .icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.force-card.push .icon {
    background: #dbeafe;
    color: #1d4ed8;
}

.force-card.pull .icon {
    background: #dcfce7;
    color: #16a34a;
}

.force-card.inertia .icon {
    background: #fee2e2;
    color: #dc2626;
}

.force-card.friction .icon {
    background: #fef3c7;
    color: #d97706;
}

/* Forces Balance Indicator */
.forces-balance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    margin-top: 1.5rem;
}

.forces-scale {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.forces-scale-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.forces-scale-side.positive {
    background: #dcfce7;
    color: #16a34a;
}

.forces-scale-side.negative {
    background: #fee2e2;
    color: #dc2626;
}

.forces-scale-vs {
    font-weight: 700;
    color: var(--text-secondary);
}

.forces-result {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

.forces-result.pass {
    background: #dcfce7;
    color: #16a34a;
}

.forces-result.fail {
    background: #fee2e2;
    color: #dc2626;
}

.forces-result.neutral {
    background: #f1f5f9;
    color: #64748b;
}

/* Viability Animal Chart */
.animal-chart {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.animal-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s ease;
}

.animal-card.active {
    border-color: var(--primary-color);
    background: #eff6ff;
    transform: scale(1.05);
}

.animal-card.difficult {
    opacity: 0.6;
}

.animal-emoji {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.animal-name {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.animal-revenue {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.animal-customers {
    font-size: 0.625rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Traction Roadmap Hockey Stick */
.roadmap-chart {
    position: relative;
    width: 100%;
    height: 250px;
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.roadmap-axis {
    position: absolute;
    background: var(--border-color);
}

.roadmap-axis.y {
    left: 60px;
    top: 20px;
    bottom: 40px;
    width: 2px;
}

.roadmap-axis.x {
    left: 60px;
    right: 20px;
    bottom: 40px;
    height: 2px;
}

.roadmap-curve {
    position: absolute;
    left: 60px;
    right: 20px;
    top: 20px;
    bottom: 40px;
}

.roadmap-curve svg {
    width: 100%;
    height: 100%;
}

.roadmap-curve path {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 3;
}

.roadmap-curve .area {
    fill: rgba(59, 130, 246, 0.1);
    stroke: none;
}

.roadmap-marker {
    position: absolute;
    transform: translateX(-50%);
    text-align: center;
}

.roadmap-marker-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border: 2px solid white;
    border-radius: 50%;
    margin: 0 auto 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.roadmap-marker-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.roadmap-marker-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Year labels at bottom */
.roadmap-year-labels {
    position: absolute;
    left: 60px;
    right: 20px;
    bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.roadmap-year-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Now-Next-Later Timeline */
.timeline {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.timeline-stage {
    flex: 1;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    position: relative;
}

.timeline-stage::after {
    content: '→';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--border-color);
}

.timeline-stage:last-child::after {
    display: none;
}

.timeline-stage.now {
    border-color: #22c55e;
    background: #f0fdf4;
}

.timeline-stage.next {
    border-color: #3b82f6;
    background: #eff6ff;
}

.timeline-stage.later {
    border-color: #8b5cf6;
    background: #f5f3ff;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.timeline-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.timeline-stage.now .timeline-badge {
    background: #dcfce7;
    color: #16a34a;
}

.timeline-stage.next .timeline-badge {
    background: #dbeafe;
    color: #1d4ed8;
}

.timeline-stage.later .timeline-badge {
    background: #ede9fe;
    color: #7c3aed;
}

.timeline-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.timeline-duration {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.timeline-content {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* MVP Type Cards */
.mvp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.mvp-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.mvp-card.selected {
    border-color: var(--primary-color);
    background: #eff6ff;
}

.mvp-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mvp-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: #f1f5f9;
}

.mvp-card-title {
    font-weight: 600;
    font-size: 1rem;
}

.mvp-card-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Pitch Slide Preview */
.pitch-slides {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.pitch-slide {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
}

.pitch-slide-header {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pitch-slide-number {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.pitch-slide-title {
    font-weight: 600;
    font-size: 0.875rem;
}

.pitch-slide-content {
    padding: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    min-height: 80px;
}

/* Section Cards for Dashboard */
.section-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.section-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.section-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.section-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.section-card-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.section-card-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.section-card-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-card-progress-bar {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.section-card-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.section-card-progress-fill.green { background: #22c55e; }
.section-card-progress-fill.yellow { background: #f59e0b; }
.section-card-progress-fill.red { background: #ef4444; }
.section-card-progress-fill.blue { background: #3b82f6; }

.section-card-progress-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 40px;
    text-align: right;
}

/* Quote Block */
.quote-block {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.quote-block-text {
    font-style: italic;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
}

.quote-block-author {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Calculator Display */
.calculator-result {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    margin: 1.5rem 0;
}

.calculator-result-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.calculator-result-label {
    font-size: 1rem;
    opacity: 0.9;
}

.calculator-result-subtext {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Input with suffix/prefix */
.input-with-addon {
    display: flex;
    align-items: stretch;
}

.input-addon {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.input-addon.prefix {
    border-right: none;
    border-radius: 0.5rem 0 0 0.5rem;
}

.input-addon.suffix {
    border-left: none;
    border-radius: 0 0.5rem 0.5rem 0;
}

.input-with-addon input {
    flex: 1;
    border-radius: 0;
    min-width: 0;
}

.input-with-addon input:first-child {
    border-radius: 0.5rem 0 0 0.5rem;
}

.input-with-addon input:last-child {
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Slider input */
.slider-container {
    padding: 1rem 0;
}

.slider-input {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slider-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Radio button cards */
.radio-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.radio-card {
    position: relative;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.radio-card-content {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s ease;
}

.radio-card input:checked + .radio-card-content {
    border-color: var(--primary-color);
    background: #eff6ff;
}

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

/* Summary List */
.summary-list {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item-label {
    font-weight: 500;
    color: var(--text-primary);
}

.summary-item-value {
    font-weight: 600;
    color: var(--primary-color);
}

/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checklist-checkbox.checked {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.checklist-checkbox svg {
    width: 12px;
    height: 12px;
}

.checklist-text {
    flex: 1;
}

.checklist-text.checked {
    color: var(--text-secondary);
    text-decoration: line-through;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .forces-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        flex-direction: column;
    }

    .timeline-stage::after {
        display: none;
    }

    .mvp-grid {
        grid-template-columns: 1fr;
    }

    .pitch-slides {
        grid-template-columns: 1fr;
    }

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