/* ================================================
   DesAIn - Dark Mode Industrial / Blueprint Style
   ================================================ */

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

:root {
    /* Light Mode - Main Content */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;

    /* Sidebar Dark */
    --sidebar-bg: #0f172a;
    --sidebar-bg-secondary: #1e293b;
    --sidebar-text: #e2e8f0;
    --sidebar-text-muted: #94a3b8;
    --sidebar-border: #334155;

    /* Accent Colors */
    --accent-primary: #3b82f6;
    --accent-secondary: #10b981;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;

    /* Text Colors - Light Mode */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Border Colors - Light Mode */
    --border-primary: #e2e8f0;
    --border-secondary: #cbd5e1;
    --border-accent: #3b82f6;

    /* Blueprint Grid - subtle for light mode */
    --grid-color: rgba(59, 130, 246, 0.03);

    /* Layout */
    --sidebar-width: 260px;
    --header-height: 90px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8fafc;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* ================================================
   CONTROL PANEL - Sticky Header
   ================================================ */

.control-panel {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    background: #ffffff;
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1.25rem;
    border-bottom: 1px solid var(--border-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cp-row:first-child {
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-primary);
    margin-bottom: 0.4rem;
}

.cp-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cp-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-right: 1rem;
    border-right: 1px solid var(--border-primary);
}

.cp-brand-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
}

.cp-brand-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

.cp-input-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cp-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.cp-input {
    width: 70px;
    height: 26px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.cp-input.small {
    width: 55px;
}

.cp-input:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.cp-input::-webkit-inner-spin-button,
.cp-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cp-input[type=number] {
    -moz-appearance: textfield;
}

.cp-unit {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cp-divider {
    width: 1px;
    height: 20px;
    background: var(--border-primary);
}

.cp-output-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 4px;
}

.cp-output-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.cp-output-label {
    font-size: 0.55rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.cp-output-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-secondary);
    letter-spacing: -0.02em;
}

.cp-output-value.highlight {
    color: var(--accent-warning);
}

.cp-output-divider {
    width: 1px;
    height: 24px;
    background: rgba(16, 185, 129, 0.3);
}

.cp-row-secondary .cp-output-group {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.cp-row-secondary .cp-output-value {
    color: var(--accent-primary);
}

.cp-row-secondary .cp-output-divider {
    background: rgba(59, 130, 246, 0.3);
}

/* ================================================
   SIDEBAR - Navigation
   ================================================ */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-border);
    padding: 1.5rem 0;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 0 1.25rem 1.5rem;
    border-bottom: 1px solid var(--sidebar-border);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--sidebar-text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
}

.sidebar-toggle:hover {
    color: var(--sidebar-text);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sidebar-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo span {
    color: var(--accent-primary);
}

.sidebar-nav {
    list-style: none;
}

.nav-section {
    padding: 0.75rem 1.25rem 0.5rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sidebar-text-muted);
    font-weight: 600;
    margin-top: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    color: var(--sidebar-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.nav-item:hover {
    background: rgba(59, 130, 246, 0.15);
    color: var(--sidebar-text);
    border-left-color: var(--sidebar-border);
}

.nav-item.active {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-left-color: var(--accent-primary);
}

.nav-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* ================================================
   MAIN CONTENT
   ================================================ */

.main-content {
    margin-left: var(--sidebar-width);
    padding-top: var(--header-height);
    min-height: 100vh;
}

.content {
    padding: 1.5rem 2rem;
    max-width: 1400px;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-primary);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ================================================
   SECTIONS & CARDS
   ================================================ */

.section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

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

.section-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: var(--accent-primary);
    color: white;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Collapsible Sections */
.collapsible {
    cursor: pointer;
}

.collapsible .section-header {
    position: relative;
}

.collapsible .section-header::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.collapsible.open .section-header::after {
    content: '-';
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.collapsible.open .collapsible-content {
    max-height: 2000px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1.25rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

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

.card-number {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: var(--accent-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================================================
   TABLES - Industrial Style
   ================================================ */

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

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

.data-table th {
    background: #f1f5f9;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table td {
    color: var(--text-secondary);
}

.data-table tr:hover td {
    background: rgba(59, 130, 246, 0.03);
}

.data-table .positive {
    color: var(--accent-secondary);
}

.data-table .negative {
    color: var(--accent-danger);
}

/* ================================================
   METRICS & KPIs
   ================================================ */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.metric-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.metric-value.dinamico {
    color: var(--accent-secondary);
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================================
   FLOW / STEPS
   ================================================ */

.steps-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1rem;
    position: relative;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 6px 6px 0 0;
}

.step-number {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--accent-primary);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    line-height: 24px;
    margin-bottom: 0.75rem;
}

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

.step-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ================================================
   TAGS & BADGES
   ================================================ */

.tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tag-primary {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-primary);
}

.tag-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-secondary);
}

.tag-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-warning);
}

/* ================================================
   LINKS
   ================================================ */

a {
    color: var(--accent-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ================================================
   MOBILE RESPONSIVE
   ================================================ */

.mobile-toggle {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--accent-primary);
    color: white;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 1200px) {
    .cp-brand {
        display: none;
    }
}

@media (max-width: 992px) {
    .cp-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    .cp-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .control-panel {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .content {
        padding: 1rem;
    }

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

/* ================================================
   NAV ITEMS - Direct styling (for sidebar)
   ================================================ */

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    color: var(--sidebar-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.nav-item:hover {
    background: rgba(59, 130, 246, 0.15);
    color: var(--sidebar-text);
    border-left-color: var(--sidebar-border);
}

.nav-item.active {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-left-color: var(--accent-primary);
}

/* ================================================
   SECTION ICONS - Variants
   ================================================ */

.section-icon.vision { background: linear-gradient(135deg, #818cf8, #6366f1); }
.section-icon.tesis { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.section-icon.diagnostic { background: linear-gradient(135deg, #f472b6, #ec4899); }
.section-icon.business { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.section-icon.roadmap { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.section-icon.market { background: linear-gradient(135deg, #34d399, #10b981); }
.section-icon.competitive { background: linear-gradient(135deg, #f87171, #ef4444); }
.section-icon.revenue { background: linear-gradient(135deg, #34d399, #10b981); }
.section-icon.breakeven { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.section-icon.efficiency { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.section-icon.tech { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.section-icon.capital { background: linear-gradient(135deg, #4ade80, #22c55e); }
.section-icon.corfo { background: linear-gradient(135deg, #f472b6, #ec4899); }
.section-icon.vc { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.section-icon.esg { background: linear-gradient(135deg, #34d399, #10b981); }
.section-icon.dark-store { background: linear-gradient(135deg, #475569, #1e293b); }

/* ================================================
   COLLAPSIBLE SECTIONS
   ================================================ */

.collapsible-section .section-content {
    display: block;
}

.collapsible-section.collapsed .section-content {
    display: none;
}

.collapsible-header {
    cursor: pointer;
    position: relative;
}

.collapse-icon {
    position: absolute;
    right: 0;
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* ================================================
   HERO STATEMENT
   ================================================ */

.hero-statement {
    background: var(--bg-tertiary);
    border-left: 3px solid var(--accent-primary);
    padding: 1.25rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: 1.5rem;
}

.hero-statement p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.hero-statement strong {
    color: var(--text-primary);
}

/* ================================================
   KPI GRID
   ================================================ */

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.kpi-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
}

.kpi-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.kpi-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================================
   THESIS & DIAGNOSTIC
   ================================================ */

.thesis-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.thesis-statement {
    background: var(--bg-tertiary);
    border-left: 3px solid var(--accent-warning);
    padding: 1.25rem;
    border-radius: 0 6px 6px 0;
    font-size: 1rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.uncomfortable-question {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 1.25rem;
    border-radius: 6px;
}

.uncomfortable-question h4 {
    color: var(--accent-warning);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.uncomfortable-question p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.mission-block {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-accent);
    padding: 1.25rem;
    border-radius: 6px;
}

.mission-block h4 {
    color: var(--accent-primary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.mission-block p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.mission-block strong {
    color: var(--text-primary);
}

/* ================================================
   DIAGNOSTIC BLOCKS
   ================================================ */

.diagnostic-block {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.diagnostic-block-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-primary);
}

.block-number {
    width: 28px;
    height: 28px;
    background: var(--accent-primary);
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.diagnostic-block-header h3 {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.diagnostic-grid {
    padding: 1rem;
}

.diagnostic-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.diagnostic-row:last-child {
    margin-bottom: 0;
}

.diagnostic-col {
    padding: 1rem;
    border-radius: 6px;
}

.diagnostic-col.symptom {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.diagnostic-col.solution {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.diagnostic-col.pain {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.col-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.diagnostic-col h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.diagnostic-col p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.existence-value {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid var(--border-accent);
    padding: 1.25rem;
    border-radius: 6px;
}

.existence-value h3 {
    font-size: 0.95rem;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.existence-value p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.existence-value strong {
    color: var(--text-primary);
}

/* ================================================
   FEATURE GADGETS
   ================================================ */

.feature-gadgets {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-primary);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gadget {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 4px;
}

.gadget:hover {
    border-color: var(--accent-primary);
}

.gadget-icon {
    font-size: 1rem;
    min-width: 24px;
}

.gadget-content strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.gadget-content span {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Card list styles */
.card ul {
    list-style: none;
    margin-top: 0.75rem;
}

.card ul li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.25rem 0 0.25rem 1rem;
    position: relative;
}

.card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-primary);
}

.card ul li strong {
    color: var(--text-primary);
}

/* ================================================
   EXECUTION TIMELINE
   ================================================ */

.exec-timeline-container {
    overflow-x: auto;
    padding: 1rem 0;
}

.exec-timeline {
    display: flex;
    min-width: 1400px;
    gap: 0;
}

.exec-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 170px;
    position: relative;
}

.exec-node:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: 0;
    width: 50%;
    height: 2px;
    background: var(--border-secondary);
}

.exec-node:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--border-secondary);
}

.exec-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    z-index: 1;
    margin-bottom: 1rem;
}

.exec-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    width: 90%;
}

.exec-card h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.exec-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.exec-card ul {
    list-style: none;
    text-align: left;
}

.exec-card ul li {
    font-size: 0.7rem;
    color: var(--text-secondary);
    padding: 0.15rem 0;
}

/* Flow Summary */
.flow-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-primary);
}

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

.summary-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.summary-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ================================================
   MARKET SECTION
   ================================================ */

.market-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.market-item {
    display: flex;
    gap: 0.75rem;
}

.market-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.market-number {
    width: 28px;
    height: 28px;
    background: var(--accent-primary);
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.market-card {
    flex: 1;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1rem;
}

.card-label {
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

.card-label.som { background: rgba(59, 130, 246, 0.15); color: var(--accent-primary); }
.card-label.gmv { background: rgba(16, 185, 129, 0.15); color: var(--accent-secondary); }
.card-label.revenue { background: rgba(245, 158, 11, 0.15); color: var(--accent-warning); }
.card-label.model { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }

.market-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.market-value span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

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

/* ================================================
   COMPETITIVE TABLE
   ================================================ */

.competitive-table-container {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.competitive-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

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

.competitive-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.competitive-table tr:hover td {
    background: rgba(59, 130, 246, 0.03);
}

.competitive-table .highlight-row td {
    background: rgba(16, 185, 129, 0.1);
}

.competitor-name a {
    font-weight: 600;
    color: var(--accent-primary);
}

.competitor-name .tagline {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.service-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
}

.service-badge.software { background: rgba(59, 130, 246, 0.15); color: var(--accent-primary); }
.service-badge.marketplace { background: rgba(245, 158, 11, 0.15); color: var(--accent-warning); }
.service-badge.platform { background: rgba(16, 185, 129, 0.15); color: var(--accent-secondary); }

.cost-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
}

.cost-badge.premium { background: rgba(239, 68, 68, 0.15); color: var(--accent-danger); }
.cost-badge.medium { background: rgba(245, 158, 11, 0.15); color: var(--accent-warning); }
.cost-badge.low { background: rgba(100, 116, 139, 0.15); color: var(--text-muted); }
.cost-badge.accessible { background: rgba(16, 185, 129, 0.15); color: var(--accent-secondary); }

.cross-icon { color: var(--accent-danger); font-size: 1rem; }
.check-icon { color: var(--accent-secondary); font-size: 1rem; }

/* Differentiators */
.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.differentiator-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1.25rem;
    text-align: center;
}

.diff-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.differentiator-card h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.differentiator-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ================================================
   PROJECTION TABLE
   ================================================ */

.projection-table-container {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.projection-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.projection-table th,
.projection-table td {
    padding: 0.75rem 1rem;
    text-align: right;
    border-bottom: 1px solid var(--border-primary);
}

.projection-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.projection-table th:first-child,
.projection-table td:first-child {
    text-align: left;
}

.projection-table .breakeven-row {
    background: rgba(16, 185, 129, 0.15);
}

.projection-table .breakeven-row td {
    color: var(--accent-secondary);
}

.projection-table .positive { color: var(--accent-secondary); }
.projection-table .negative { color: var(--accent-danger); }

.projection-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.note-icon {
    color: var(--accent-primary);
}

/* ================================================
   TAKE RATE BREAKDOWN
   ================================================ */

.takerate-breakdown {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.takerate-header {
    margin-bottom: 1rem;
}

.takerate-title {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.takerate-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.takerate-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.takerate-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.revenue-sources {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.revenue-source {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1rem;
}

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

.source-icon {
    font-size: 1rem;
}

.source-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.source-details p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.source-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
}

/* ================================================
   PNL COMPARISON
   ================================================ */

.pnl-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.pnl-model {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    overflow: hidden;
}

.pnl-model.traditional {
    border-color: rgba(239, 68, 68, 0.3);
}

.pnl-model.desain {
    border-color: rgba(16, 185, 129, 0.3);
}

.pnl-header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-primary);
}

.pnl-model.traditional .pnl-header {
    background: rgba(239, 68, 68, 0.1);
}

.pnl-model.desain .pnl-header {
    background: rgba(16, 185, 129, 0.1);
}

.pnl-header-info h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.pnl-header-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.pnl-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pnl-model.traditional .pnl-badge {
    background: var(--accent-danger);
    color: white;
}

.pnl-model.desain .pnl-badge {
    background: var(--accent-secondary);
    color: white;
}

.pnl-rows {
    padding: 0.5rem 0;
}

.pnl-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border-primary);
}

.pnl-row:last-child {
    border-bottom: none;
}

.pnl-row.highlight {
    background: var(--bg-secondary);
}

.pnl-row-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pnl-row-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pnl-row-value.positive { color: var(--accent-secondary); }
.pnl-row-value.negative { color: var(--accent-danger); }

.pnl-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-top: 1px solid var(--border-primary);
}

.pnl-model.traditional .pnl-total {
    background: rgba(239, 68, 68, 0.1);
}

.pnl-model.desain .pnl-total {
    background: rgba(16, 185, 129, 0.1);
}

.pnl-total-label {
    font-weight: 600;
    color: var(--text-primary);
}

.pnl-total-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.pnl-total-value.positive { color: var(--accent-secondary); }
.pnl-total-value.negative { color: var(--accent-danger); }

/* ================================================
   EFFICIENCY METRICS
   ================================================ */

.efficiency-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.efficiency-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1.25rem;
    text-align: center;
}

.efficiency-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.efficiency-card h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.efficiency-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.efficiency-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

/* ================================================
   GANTT / ROADMAP
   ================================================ */

.gantt-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gantt-quarter {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    overflow: hidden;
}

.gantt-quarter.highlight {
    border-color: var(--accent-primary);
}

.quarter-header {
    padding: 1rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-primary);
}

.quarter-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--accent-primary);
    color: white;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quarter-header h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.quarter-months {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.quarter-tasks {
    padding: 1rem;
}

.gantt-task {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.gantt-task:last-child {
    margin-bottom: 0;
}

.task-icon {
    font-size: 1rem;
}

.task-content strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.task-content span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ================================================
   TECH STACK
   ================================================ */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tech-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1.25rem;
}

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

.tech-icon {
    font-size: 1.25rem;
}

.tech-header h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.tech-list {
    list-style: none;
}

.tech-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.35rem 0;
    border-bottom: 1px dashed var(--border-primary);
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-priorities {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1.25rem;
}

.tech-priorities h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.priority-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.priority-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.priority-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
}

.priority-item.high .priority-badge {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-danger);
}

.priority-item.medium .priority-badge {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-warning);
}

.priority-item.low .priority-badge {
    background: rgba(100, 116, 139, 0.15);
    color: var(--text-muted);
}

.priority-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ================================================
   CAPITAL PHASES
   ================================================ */

.capital-phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.capital-phase {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    overflow: hidden;
}

.capital-phase.highlight {
    border-color: var(--accent-primary);
}

.phase-header {
    padding: 1rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-primary);
}

.phase-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--accent-primary);
    color: white;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.phase-badge.corfo {
    background: #ec4899;
}

.phase-badge.seed {
    background: var(--accent-warning);
}

.phase-header h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.phase-content {
    padding: 1rem;
}

.phase-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.phase-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

.phase-milestones {
    list-style: none;
}

.phase-milestones li {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0.25rem 0 0.25rem 1rem;
    position: relative;
}

.phase-milestones li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-primary);
}

/* ================================================
   CORFO CRITERIA
   ================================================ */

.corfo-criteria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.criteria-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1.25rem;
    position: relative;
}

.criteria-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.criteria-card h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.criteria-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.criteria-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
}

.criteria-status.pass {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-secondary);
}

.corfo-programs {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1.25rem;
}

.corfo-programs h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.program-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.program-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 4px;
    padding: 1rem;
}

.program-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.program-name strong {
    color: var(--text-primary);
}

.program-amount {
    font-weight: 700;
    color: var(--accent-secondary);
}

.program-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ================================================
   VC THESIS
   ================================================ */

.vc-thesis {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.thesis-point {
    display: flex;
    gap: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1.25rem;
}

.thesis-number {
    width: 36px;
    height: 36px;
    background: var(--accent-primary);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.thesis-content h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.thesis-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================================================
   ESG SECTION
   ================================================ */

.esg-intro {
    background: var(--bg-tertiary);
    border-left: 3px solid var(--accent-secondary);
    padding: 1.25rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: 1.5rem;
}

.esg-intro p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.esg-intro strong {
    color: var(--text-primary);
}

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

.esg-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1.25rem;
}

.esg-card.environmental { border-top: 3px solid #22c55e; }
.esg-card.social { border-top: 3px solid #3b82f6; }
.esg-card.governance { border-top: 3px solid #8b5cf6; }

.esg-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.esg-card h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.esg-points {
    list-style: none;
    margin-bottom: 1rem;
}

.esg-points li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-primary);
}

.esg-points li:last-child {
    border-bottom: none;
}

.esg-points li strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.esg-points li span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.esg-metric {
    background: var(--bg-secondary);
    border-radius: 4px;
    padding: 0.75rem;
    text-align: center;
}

.esg-metric .metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.esg-metric .metric-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* QR Section */
.qr-section {
    display: flex;
    gap: 2rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1.5rem;
}

.qr-content {
    flex: 1;
}

.qr-content h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.qr-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.qr-features {
    list-style: none;
}

.qr-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.35rem 0 0.35rem 1.25rem;
    position: relative;
}

.qr-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
}

.qr-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: var(--bg-secondary);
    border: 2px dashed var(--border-secondary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.qr-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ================================================
   DARK STORES SECTION
   ================================================ */

.ds-intro {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.ds-definition {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ds-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ds-intro p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.ds-intro strong {
    color: var(--text-primary);
}

.ds-highlight {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-secondary);
    border-radius: 3px;
    font-weight: 600;
}

.ds-functions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ds-function {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1.25rem;
}

.ds-function-header {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ds-function-icon {
    font-size: 1.25rem;
}

.ds-function-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ds-function h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.ds-function p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.ds-metric {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-primary);
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.85rem;
}

.ds-metrics {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.ds-metrics h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.ds-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.ds-metric-card {
    background: var(--bg-secondary);
    border-radius: 4px;
    padding: 1rem;
    text-align: center;
}

.ds-metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.ds-metric-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Future Vision */
.future-vision {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid var(--border-accent);
    border-radius: 6px;
    padding: 1.5rem;
}

.future-vision h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.vision-timeline {
    display: flex;
    gap: 1rem;
}

.vision-step {
    flex: 1;
    background: var(--bg-secondary);
    border-radius: 4px;
    padding: 1rem;
    text-align: center;
}

.vision-year {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.vision-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ================================================
   FLOW DIAGRAM
   ================================================ */

.flow-diagram {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.flow-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
