/*
 * Datum Intelligence Unified Design System
 * Version: 2.0
 *
 * This design system syncs styles across:
 * - Company Reports (Deep Dives)
 * - Quick Commerce Intelligence (QC Newsletters)
 * - Datum Charts
 * - Quarterly Results Templates
 */

/* =============================================================================
   CSS VARIABLES - Core Design Tokens
   ============================================================================= */

:root {
    /* Primary Palette - Indigo (Default) */
    --accent: #4f46e5;
    --accent-light: #6366f1;
    --accent-bright: #818cf8;
    --accent-dark: #3730a3;
    --accent-bg: #eef2ff;
    --accent-border: #c7d2fe;

    /* Semantic Colors */
    --success: #059669;
    --success-light: #d1fae5;
    --success-dark: #065f46;
    --danger: #dc2626;
    --danger-light: #fee2e2;
    --danger-dark: #991b1b;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --warning-dark: #92400e;
    --teal: #0d9488;
    --blue: #2563eb;

    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;

    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    /* Borders */
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

    /* Border Radius */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-sm: 8px;

    /* Typography */
    --font-sans: 'Questrial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
}

/* =============================================================================
   THEME VARIANTS - Category-Specific Color Overrides
   ============================================================================= */

/* QC Newsletter Theme (Violet) */
.theme-qc {
    --accent: #7c3aed;
    --accent-light: #8b5cf6;
    --accent-bright: #a78bfa;
    --accent-dark: #5b21b6;
    --accent-bg: #ddd6fe;
    --accent-border: #c4b5fd;
    --bg-secondary: #f5f3ff;
    --bg-tertiary: #ede9fe;
}

/* PhonePe Theme (Purple) */
.theme-phonepe {
    --accent: #5f259f;
    --accent-light: #7c3aed;
    --accent-bright: #9333ea;
    --accent-dark: #4c1d95;
    --accent-bg: #f3e8ff;
    --accent-border: #d8b4fe;
}

/* Dark Theme (for Hero Sections) */
.theme-dark {
    --bg-primary: #1e1b4b;
    --bg-secondary: #312e81;
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.8);
    --text-muted: rgba(255,255,255,0.6);
    --border: rgba(255,255,255,0.1);
}

/* =============================================================================
   BASE STYLES
   ============================================================================= */

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

body {
    font-family: var(--font-sans);
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 32px;
}

@media (max-width: 768px) {
    .container { padding: 16px; }
}

/* =============================================================================
   SITE HEADER
   ============================================================================= */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.site-header .logo {
    height: 32px;
}

.site-header .header-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.site-header .header-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.site-header .header-nav a:hover {
    color: var(--accent);
}

/* =============================================================================
   REPORT BADGE
   ============================================================================= */

.report-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 16px;
}

.report-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
}

/* =============================================================================
   REPORT TITLE BOX
   ============================================================================= */

.report-title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 24px 0;
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--accent-bg) 0%, var(--bg-primary) 100%);
    border: 1px solid var(--accent-border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(79,70,229,0.08);
}

.report-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 38px;
    letter-spacing: -0.5px;
    color: var(--accent-dark);
}

.report-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-style: italic;
}

.report-logo {
    height: 56px;
    width: auto;
}

@media (max-width: 768px) {
    .report-title-box {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        text-align: center;
    }
    .report-title { font-size: 26px; }
}

/* =============================================================================
   PAGE META
   ============================================================================= */

.page-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.page-meta svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-muted);
}

.page-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =============================================================================
   KPI GRID & CARDS
   ============================================================================= */

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 1000px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kpi-grid { grid-template-columns: 1fr; } }

.kpi-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
}

.kpi-card.highlight {
    border-color: var(--accent-light);
    box-shadow: 0 0 0 1px var(--accent-light);
}

.kpi-card.success {
    border-color: var(--success);
    background: linear-gradient(135deg, #ffffff, #ecfdf5);
}

.kpi-card.warning {
    border-color: var(--warning);
    background: linear-gradient(135deg, #ffffff, #ffedd5);
}

.kpi-card.danger {
    border-color: var(--danger);
    background: linear-gradient(135deg, #ffffff, #fee2e2);
}

.kpi-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1;
}

.kpi-label {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.kpi-sublabel {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* =============================================================================
   SUMMARY & CONTENT CARDS
   ============================================================================= */

.summary-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 24px;
}

.summary-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.summary-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================================================
   TWO-COLUMN GRID (Driver/Challenge Cards)
   ============================================================================= */

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 800px) { .two-col-grid { grid-template-columns: 1fr; } }

.driver-card,
.challenge-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
}

.driver-card { border-left: 4px solid var(--success); }
.challenge-card { border-left: 4px solid var(--danger); }

.card-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon.green { background: var(--success-light); color: var(--success); }
.card-icon.red { background: var(--danger-light); color: var(--danger); }
.card-icon svg { width: 20px; height: 20px; }

.card-header-row h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* =============================================================================
   BULLET LISTS
   ============================================================================= */

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

.bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.driver-card .bullet-list li::before { background: var(--success); }
.challenge-card .bullet-list li::before { background: var(--danger); }

/* =============================================================================
   INSIGHTS CARD
   ============================================================================= */

.insights-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 24px;
}

.insights-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.insights-header svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.insights-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

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

.insight-box {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 20px;
}

.insight-box p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =============================================================================
   NAVIGATION TABS
   ============================================================================= */

.nav-tabs {
    display: flex;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-bg) 0%, var(--bg-secondary) 100%);
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--accent-border);
    margin-bottom: 24px;
    overflow-x: auto;
}

.nav-tab {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    background: var(--bg-primary);
    white-space: nowrap;
}

.nav-tab:hover {
    color: var(--accent);
    background: var(--bg-primary);
    border-color: var(--accent);
}

.nav-tab.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* =============================================================================
   CHART SECTION
   ============================================================================= */

.chart-section {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    overflow: visible;
}

.chart-title-bar {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-title-bar h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.chart-body {
    display: grid;
    grid-template-columns: 380px 1fr;
}

@media (max-width: 900px) { .chart-body { grid-template-columns: 1fr; } }

.chart-insights-panel {
    padding: 28px;
    border-right: 1px solid var(--border);
    background: var(--bg-primary);
}

@media (max-width: 900px) {
    .chart-insights-panel {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

.chart-insights-panel h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    margin-bottom: 20px;
}

.insight-text {
    margin-bottom: 16px;
}

.insight-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.insight-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.chart-canvas-area {
    padding: 28px;
}

.chart-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
}

.chart-legend {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.chart-source {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-secondary);
    font-size: 13px;
    grid-column: 1 / -1;
}

.chart-source .source-text {
    color: var(--text-muted);
}

.get-data {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.2s;
}

.get-data:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.get-data svg {
    width: 14px;
    height: 14px;
}

/* Chart Panel States */
.chart-panel { display: none; }
.chart-panel.active { display: block; }

/* =============================================================================
   HERO SECTION (for Charts)
   ============================================================================= */

.chart-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 4px 24px rgba(30, 27, 75, 0.2);
}

.chart-hero-content {
    padding: 40px;
}

.chart-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.chart-hero-title {
    font-family: var(--font-serif);
    font-size: 28px;
    color: #fff;
    line-height: 1.3;
    max-width: 70%;
}

.key-metric-badge {
    background: rgba(255,255,255,0.15);
    padding: 12px 20px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    text-align: right;
}

.key-metric-badge .label {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.key-metric-badge .value {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.chart-hero-canvas {
    height: 280px;
    position: relative;
    margin-bottom: 20px;
}

.growth-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #4ade80;
}

.growth-indicator.down {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.chart-hero-source {
    padding: 16px 40px;
    background: rgba(0,0,0,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-hero-source .source-text {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.chart-hero-source .get-data {
    color: rgba(255,255,255,0.7);
}

.chart-hero-source .get-data:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .chart-hero-content { padding: 24px; }
    .chart-hero-title { font-size: 20px; max-width: 100%; }
    .chart-hero-header { flex-direction: column; gap: 16px; }
    .key-metric-badge { text-align: left; }
}

/* =============================================================================
   DATA TABLE
   ============================================================================= */

.table-section {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

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

.table-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th {
    text-align: left;
    padding: 14px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
}

.data-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-secondary); }
.data-table .positive { color: var(--success); font-weight: 600; }
.data-table .negative { color: var(--danger); font-weight: 600; }

.table-footer {
    padding: 16px 28px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-footer .source-text {
    font-size: 12px;
    color: var(--text-muted);
}

/* =============================================================================
   NAVIGATION GRID (Report Sections)
   ============================================================================= */

.nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
}

@media (max-width: 1100px) { .nav-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nav-grid { grid-template-columns: 1fr; } }

.nav-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.2s;
}

.nav-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-card .num {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
}

.nav-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.nav-card p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* =============================================================================
   DEFINITIONS SECTION
   ============================================================================= */

.definitions-section {
    margin-top: 24px;
    padding: 24px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--accent-bg));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.definitions-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.definitions-header svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.definitions-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-dark);
}

.definitions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 900px) { .definitions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .definitions-grid { grid-template-columns: 1fr; } }

.definition-box {
    padding: 14px;
    background: white;
    border-radius: 10px;
    border-left: 3px solid var(--accent);
}

.definition-box .term {
    font-weight: 600;
    color: var(--accent-dark);
    font-size: 12px;
    margin-bottom: 6px;
}

.definition-box .desc {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* =============================================================================
   DISCLAIMER
   ============================================================================= */

.disclaimer {
    margin-top: 32px;
    padding: 16px 20px;
    background: var(--accent-bg);
    border: 1px solid var(--accent-border);
    border-radius: 8px;
    font-size: 12px;
    color: var(--accent-dark);
    line-height: 1.5;
}

.disclaimer strong {
    color: var(--accent-dark);
}

/* =============================================================================
   REPORT FOOTER
   ============================================================================= */

.report-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* =============================================================================
   ARCHETYPE CARDS (Competitive Landscape)
   ============================================================================= */

.archetype-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

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

.archetype-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.02);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.archetype-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-color: var(--accent-border);
}

.archetype-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.archetype-badge.leader { background: var(--accent-bg); color: var(--accent-dark); }
.archetype-badge.challenger { background: #dbeafe; color: #1e40af; }
.archetype-badge.hybrid { background: #fef3c7; color: #92400e; }

.archetype-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.archetype-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    min-height: 44px;
}

.stat-row {
    display: flex;
    gap: 40px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-item .stat-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-item .stat-value.green { color: var(--success); }
.stat-item .stat-value.blue { color: var(--blue); }
.stat-item .stat-value.orange { color: var(--warning); }

.stat-item .stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* =============================================================================
   STRATEGY SECTION
   ============================================================================= */

.strategy-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    margin: 32px -32px 0;
    padding: 48px 32px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.strategy-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.strategy-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #fff;
    position: relative;
}

.strategy-section > p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 0 0 28px;
    position: relative;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}

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

.strategy-card {
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius);
    padding: 24px;
}

.strategy-card h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid;
}

.strategy-card.incumbents h4 { color: var(--accent-dark); border-color: var(--accent); }
.strategy-card.challengers h4 { color: var(--warning); border-color: var(--warning); }
.strategy-card.platforms h4 { color: var(--teal); border-color: var(--teal); }

.strategy-card ul { list-style: none; }

.strategy-card li {
    padding: 10px 0;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    border-bottom: 1px solid var(--border-light);
}

.strategy-card li:last-child { border-bottom: none; }

.strategy-card li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* =============================================================================
   RELATED CARDS
   ============================================================================= */

.related-section {
    margin-bottom: 32px;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.related-header h2 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--text-primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

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

.related-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-decoration: none;
    transition: all 0.2s;
}

.related-card:hover {
    border-color: var(--accent-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.related-card .card-company {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.related-card h3 {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 12px;
}

.related-card .card-metric {
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-card .metric-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.related-card .metric-change {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--success-light);
    color: var(--success);
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */

.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text-muted); }
.bg-accent { background-color: var(--accent-bg); }
.bg-success { background-color: var(--success-light); }
.bg-danger { background-color: var(--danger-light); }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.hidden { display: none; }

/* =============================================================================
   SIMPLE FOOTER
   ============================================================================= */

.simple-footer {
    margin-top: 32px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.simple-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.simple-footer a:hover {
    color: var(--accent);
}

.footer-links {
    display: flex;
    gap: 24px;
}

@media (max-width: 768px) {
    .simple-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
