/* ===== CSS Variables ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #f59e0b;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border: #334155;
    --border-light: #475569;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --sidebar-width: 260px;
    --sidebar-collapsed: 70px;
    --header-height: 70px;
    
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

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

a:hover {
    color: var(--primary);
}

ul {
    list-style: none;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}

/* ===== Sidebar ===== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-darker);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: var(--transition);
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo i {
    color: var(--primary);
    font-size: 1.5rem;
}

.sidebar.collapsed .logo span {
    display: none;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sidebar-toggle:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.nav-menu {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    color: var(--primary-light);
    border-left-color: var(--primary);
}

.nav-item i {
    font-size: 1.125rem;
    width: 24px;
    text-align: center;
}

.sidebar.collapsed .nav-item span {
    display: none;
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sidebar.collapsed .sidebar-footer {
    display: none;
}

/* ===== Main Content ===== */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: var(--transition);
}

.sidebar.collapsed ~ .main-content {
    margin-left: var(--sidebar-collapsed);
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-left h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

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

.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--primary);
    color: var(--primary-light);
}

/* ===== Sections ===== */
.section {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.section.active {
    display: block;
}

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

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary);
}

/* ===== Metrics Grid ===== */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.metric-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.metric-icon.blue { background: rgba(99, 102, 241, 0.2); color: var(--primary-light); }
.metric-icon.green { background: rgba(16, 185, 129, 0.2); color: var(--secondary); }
.metric-icon.purple { background: rgba(168, 85, 247, 0.2); color: #a855f7; }
.metric-icon.orange { background: rgba(245, 158, 11, 0.2); color: var(--accent); }

.metric-content {
    flex: 1;
}

.metric-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.metric-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

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

.metric-change.positive {
    color: var(--success);
}

/* ===== Cards ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

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

.card.full-width {
    grid-column: 1 / -1;
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-header h3 i {
    color: var(--primary-light);
}

.card-body {
    padding: 1.5rem;
}

/* ===== Feature List ===== */
.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

.feature-list.compact li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
}

/* ===== Pillar Grid ===== */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.pillar {
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.pillar i {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    display: block;
}

.pillar span {
    font-size: 0.875rem;
    font-weight: 500;
}

/* ===== Revenue Streams ===== */
.revenue-streams {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.stream {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.stream-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.stream h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

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

/* ===== SWOT Grid ===== */
.swot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.swot-item {
    padding: 1.25rem;
    border-radius: var(--radius);
}

.swot-item h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.swot-item ul {
    font-size: 0.875rem;
}

.swot-item li {
    padding: 0.375rem 0;
    padding-left: 1rem;
    position: relative;
}

.swot-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: inherit;
}

.swot-item.strengths {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.swot-item.strengths h4 { color: var(--success); }

.swot-item.weaknesses {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
}
.swot-item.weaknesses h4 { color: var(--warning); }

.swot-item.opportunities {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
}
.swot-item.opportunities h4 { color: var(--primary-light); }

.swot-item.threats {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.swot-item.threats h4 { color: var(--danger); }

/* ===== Info Table ===== */
.info-table {
    width: 100%;
    font-size: 0.875rem;
}

.info-table tr {
    border-bottom: 1px solid var(--border);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 0.75rem 0;
}

.info-table td:first-child {
    color: var(--text-secondary);
    width: 40%;
}

/* ===== Badges ===== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    background: var(--bg-dark);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.badge-primary {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    border-color: rgba(99, 102, 241, 0.3);
}

.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.caen-primary {
    margin-bottom: 1rem;
}

.caen-primary p {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.service {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: white;
}

.service h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service ul {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: left;
}

.service li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.service li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

/* ===== Social Links ===== */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.25rem;
    width: 28px;
    text-align: center;
}

.social-link.website i { color: var(--primary-light); }
.social-link.linkedin i { color: #0077b5; }
.social-link.twitter i { color: #1da1f2; }
.social-link.youtube i { color: #ff0000; }
.social-link.facebook i { color: #1877f2; }

/* ===== Tools Grid ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.tool {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.tool i {
    color: var(--primary-light);
}

/* ===== Clients Grid ===== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.client-card {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}

.client-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.client-since {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

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

.status-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

/* ===== Scenario Cards ===== */
.metric-card.scenario {
    flex-direction: column;
    text-align: center;
    position: relative;
    padding-top: 2rem;
}

.scenario-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-card.scenario.conservative .scenario-label {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.metric-card.scenario.moderate .scenario-label {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

.metric-card.scenario.optimistic .scenario-label {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.scenario-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.scenario-details .profit {
    color: var(--success);
    font-weight: 600;
}

/* ===== Revenue Bars ===== */
.revenue-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.revenue-bar-item {
    display: grid;
    grid-template-columns: 120px 1fr 80px;
    align-items: center;
    gap: 1rem;
}

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

.bar-wrapper {
    background: var(--bg-dark);
    border-radius: 9999px;
    height: 24px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 9999px;
    transition: width 1s ease;
}

.bar-value {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: right;
}

/* ===== Data Table ===== */
.table-responsive {
    overflow-x: auto;
}

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

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

.data-table th {
    background: rgba(0, 0, 0, 0.2);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.data-table tr:hover {
    background: rgba(99, 102, 241, 0.05);
}

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

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

/* ===== Expenses Grid ===== */
.expenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.expense-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
}

.expense-item i {
    color: var(--primary-light);
    font-size: 1.25rem;
    width: 24px;
}

.expense-name {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.expense-value {
    font-weight: 600;
}

.total-expenses {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-radius: var(--radius);
    font-size: 1.125rem;
}

/* ===== Product Categories ===== */
.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.category-btn {
    padding: 0.625rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 9999px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

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

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.5rem;
    position: relative;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.product-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.1) 100%);
}

.product-quarter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.product-badge.unity {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

.product-badge.mobile {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.product-badge.steam {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.product-badge.saas {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent);
}

.product-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.product-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.product-features {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.product-features li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.product-status {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-status.in-dev {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

.product-status.planned {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.product-status.concept {
    background: rgba(100, 116, 139, 0.2);
    color: var(--text-muted);
}

.product-status.pre-prod {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent);
}

/* ===== Estimates Grid ===== */
.estimates-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.estimate-item {
    display: grid;
    grid-template-columns: 200px 1fr 60px;
    align-items: center;
    gap: 1rem;
}

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

.estimate-bar {
    height: 8px;
    background: linear-gradient(90deg, var(--secondary) 0%, #34d399 100%);
    border-radius: 9999px;
}

.estimate-hours {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: right;
}

.capacity-note {
    text-align: center;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius);
    font-size: 0.875rem;
}

/* ===== Channels Grid ===== */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.channel {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.channel.high {
    border-color: var(--primary);
}

.channel i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.channel h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.priority-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    margin-bottom: 0.5rem;
}

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

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

/* ===== Themes Timeline ===== */
.themes-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.theme-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    border-left: 3px solid var(--border);
}

.theme-item.highlight {
    border-left-color: var(--accent);
    background: rgba(245, 158, 11, 0.1);
}

.theme-month {
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.theme-content h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

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

/* ===== Budget Items ===== */
.budget-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.budget-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
}

.budget-item.total {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    font-weight: 600;
}

/* ===== Email Stats ===== */
.email-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.stat {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
}

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

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

/* ===== KPI Grid ===== */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.kpi-card {
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.kpi-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.kpi-header i {
    color: var(--primary-light);
}

.kpi-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.kpi-current,
.kpi-q2,
.kpi-q4 {
    text-align: center;
}

.kpi-current .label,
.kpi-q2 .label,
.kpi-q4 .label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.kpi-current .value,
.kpi-q2 .value,
.kpi-q4 .value {
    font-weight: 600;
    font-size: 0.9rem;
}

.kpi-q4 .value {
    color: var(--secondary);
}

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

/* ===== Metrics List ===== */
.metrics-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metrics-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.metrics-list i {
    color: var(--primary-light);
    width: 20px;
    text-align: center;
}

/* ===== Timeline ===== */
.timeline-container {
    overflow-x: auto;
    padding-bottom: 1rem;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 1.5rem;
    min-width: max-content;
}

.timeline-quarter {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.quarter-header {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    font-weight: 700;
    text-align: center;
}

.quarter-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.milestone {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    border-left: 3px solid var(--border);
}

.milestone.highlight {
    border-left-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.milestone.major {
    border-left-color: var(--accent);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
}

.milestone-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
    white-space: nowrap;
}

.milestone-content h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

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

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

.action-item {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

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

.action-header i {
    color: var(--primary-light);
    font-size: 1.25rem;
}

.action-header h4 {
    flex: 1;
    font-size: 1rem;
}

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

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

.checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.checklist input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* ===== Quick Wins Grid ===== */
.quick-wins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.quick-win {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.quick-win:hover {
    border-color: var(--primary);
}

.win-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.win-text {
    flex: 1;
    font-size: 0.9rem;
}

.win-impact {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
}

/* ===== Success Criteria ===== */
.success-criteria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
}

.criteria-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.criteria-item i {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* ===== Deadlines List ===== */
.deadlines-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.deadline-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}

.deadline-date {
    font-weight: 700;
    color: var(--primary-light);
    min-width: 60px;
}

.deadline-text {
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .swot-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-width);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .header {
        padding: 0 1rem;
    }
    
    .section {
        padding: 1rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .revenue-bar-item {
        grid-template-columns: 80px 1fr 60px;
    }
    
    .kpi-values {
        flex-wrap: wrap;
    }
    
    .timeline {
        grid-template-columns: 1fr;
    }
    
    .pillar-grid {
        grid-template-columns: 1fr;
    }
    
    .email-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-left h1 {
        font-size: 1.25rem;
    }
    
    .btn-outline span {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-win {
        flex-wrap: wrap;
    }
    
    .win-impact {
        width: 100%;
        text-align: left;
        padding-left: calc(32px + 1rem);
    }
}

/* ===== Roadmap Sections ===== */
.roadmap-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.roadmap-section h4 i {
    font-size: 1rem;
}

.roadmap-section h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.roadmap-content {
    display: grid;
    gap: 1.5rem;
}

.competitor {
    transition: transform 0.2s ease;
}

.competitor:hover {
    transform: translateX(5px);
}

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

.competitor small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.milestone {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.milestone:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.milestone strong {
    color: var(--primary-light);
}

@media (max-width: 768px) {
    .roadmap-content {
        grid-template-columns: 1fr !important;
    }
}
