/* RenewTech Dataroom - Clean Professional Design */

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

:root {
    /* Colors */
    --primary: #007AFF;
    --primary-dark: #0056CC;
    --secondary: #34C759;
    --accent: #FF9500;
    --text-primary: #1D1D1F;
    --text-secondary: #6E6E73;
    --text-light: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-light: #F5F5F7;
    --bg-dark: #000000;
    --border: #D2D2D7;
    --shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    
    /* Typography */
    --font-sm: 14px;
    --font-base: 16px;
    --font-lg: 18px;
    --font-xl: 24px;
    --font-2xl: 32px;
    --font-3xl: 48px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    height: 60px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.nav-brand i {
    color: var(--primary);
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: var(--font-3xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--font-lg);
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
    line-height: 1.5;
}

.key-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.metric {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.metric-value {
    font-size: var(--font-2xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.metric-label {
    font-size: var(--font-sm);
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Sections */
.section {
    padding: var(--space-2xl) 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    font-size: var(--font-2xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

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

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* Overview Cards */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.overview-card {
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
}

.overview-card:hover {
    transform: translateY(-4px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.card-icon.tech {
    background: linear-gradient(135deg, var(--primary) 0%, #5856D6 100%);
}

.card-icon.market {
    background: linear-gradient(135deg, var(--secondary) 0%, #30D158 100%);
}

.card-icon.business {
    background: linear-gradient(135deg, var(--accent) 0%, #FF6B35 100%);
}

.overview-card h3 {
    font-size: var(--font-xl);
    font-weight: 600;
    margin: 0;
}

.overview-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.feature-list {
    list-style: none;
    margin-bottom: var(--space-md);
}

.feature-list li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: var(--font-sm);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
}

.badge {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Market Stats */
.market-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.stat-desc {
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

/* Africa Section */
.africa-section {
    background: var(--bg-white);
    padding: var(--space-2xl);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.africa-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.africa-header h3 {
    font-size: var(--font-xl);
    margin-bottom: var(--space-sm);
}

.africa-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.africa-card {
    padding: var(--space-md);
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.africa-card h4 {
    margin-bottom: var(--space-sm);
    font-size: var(--font-base);
}

.africa-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.africa-stats span {
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

/* Financial Dashboard */
.financial-dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.chart-section {
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.chart-section h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.chart-container {
    height: 400px;
    position: relative;
}

.financial-metrics {
    display: grid;
    gap: var(--space-md);
}

.metric-card {
    background: var(--bg-white);
    padding: var(--space-md);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.metric-title {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.metric-card .metric-value {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.metric-change {
    font-size: var(--font-sm);
    color: var(--secondary);
}

/* Funding Section */
.funding-section {
    background: var(--bg-white);
    padding: var(--space-2xl);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.funding-section h3 {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
}

.funding-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.funding-item {
    padding: var(--space-md);
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.funding-item.highlight {
    background: linear-gradient(135deg, var(--accent) 0%, #FF6B35 100%);
    color: white;
}

.funding-amount {
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.funding-label {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.funding-desc {
    font-size: var(--font-sm);
    opacity: 0.8;
}

/* Strategy Timeline */
.strategy-timeline {
    margin-bottom: var(--space-2xl);
}

.timeline-item {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    align-items: center;
}

.timeline-item.highlight {
    background: rgba(255, 149, 0, 0.1);
    padding: var(--space-lg);
    border-radius: 16px;
    border-left: 4px solid var(--accent);
}

.timeline-year {
    flex: 0 0 120px;
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.timeline-content h3 {
    margin-bottom: var(--space-sm);
}

.timeline-stats {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-sm);
}

.timeline-stats span {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: var(--font-sm);
}

/* Hubs Section */
.hubs-section {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-2xl);
    border-radius: 16px;
}

.hubs-section h3 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.hubs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.hub-card {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-md);
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.hub-card.highlight {
    background: rgba(255, 149, 0, 0.2);
    border: 1px solid var(--accent);
}

.hub-flag {
    font-size: 24px;
    margin-bottom: var(--space-sm);
}

.hub-card h4 {
    margin-bottom: var(--space-sm);
    font-size: var(--font-base);
}

.hub-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hub-stats div {
    font-size: var(--font-sm);
    opacity: 0.9;
}

/* Documents Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.doc-card {
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: 16px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.doc-card:hover {
    transform: translateY(-4px);
}

.doc-card.highlight {
    background: linear-gradient(135deg, var(--accent) 0%, #FF6B35 100%);
    color: white;
}

.doc-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: var(--space-md);
    font-size: 20px;
}

.doc-card.highlight .doc-icon {
    background: rgba(255, 255, 255, 0.2);
}

.doc-card h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--font-lg);
}

.doc-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: var(--font-sm);
}

.doc-card.highlight p {
    color: rgba(255, 255, 255, 0.9);
}

.doc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

.doc-card.highlight .doc-meta {
    color: rgba(255, 255, 255, 0.8);
}

.download-all {
    text-align: center;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--space-2xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand p {
    margin-top: var(--space-sm);
    opacity: 0.8;
}

.footer-contact h4,
.footer-links h4 {
    margin-bottom: var(--space-md);
    font-size: var(--font-lg);
}

.footer-contact p {
    margin-bottom: var(--space-xs);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid #333;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .key-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .market-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .africa-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .financial-dashboard {
        grid-template-columns: 1fr;
    }
    
    .funding-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-year {
        flex: none;
    }
    
    .hubs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .key-metrics {
        grid-template-columns: 1fr;
    }
    
    .market-stats {
        grid-template-columns: 1fr;
    }
    
    .africa-grid {
        grid-template-columns: 1fr;
    }
    
    .funding-grid {
        grid-template-columns: 1fr;
    }
    
    .hubs-grid {
        grid-template-columns: 1fr;
    }
}