        body {
            font-family: Arial, sans-serif;
            background-color: #02111B;
            color: white;
            margin: 0;
            padding: 0;
            line-height: 1.6;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* Hero Section */
        .hero-section {
            text-align: center;
            padding: 4rem 0 2rem;
            background: linear-gradient(135deg, rgba(4, 28, 44, 0.9), rgba(0, 167, 225, 0.1));
        }

        .hero-title {
            font-size: 3rem;
            color: #00A7E1;
            margin-bottom: 1rem;
            font-weight: bold;
        }

        .hero-subtitle {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Chart Section - Bruk eksisterende SVG */
        .chart-section {
            background: linear-gradient(135deg, rgba(4, 28, 44, 0.9), rgba(0, 167, 225, 0.05));
            border-radius: 15px;
            padding: 2rem;
            margin: 3rem 0;
            border: 2px solid rgba(0, 167, 225, 0.3);
            text-align: center;
        }

        .chart-placeholder {
            background-color: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            padding: 2rem;
            border: 1px solid rgba(0, 167, 225, 0.3);
            color: rgba(255, 255, 255, 0.7);
            font-style: italic;
        }

        /* Stats Grid fra hovedsiden */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 0.8rem;
            margin: 2rem 0;
        }

        .stat-box {
            background-color: #041C2C;
            border: 1px solid #00A7E1;
            border-radius: 8px;
            padding: 1.5rem;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            min-height: 140px;
        }

        .stat-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 167, 225, 0.2);
        }

        .stat-box h3 {
            color: #00A7E1;
            font-size: 0.9rem;
            margin-bottom: 0.8rem;
            font-weight: normal;
            line-height: 1.2;
        }

        .big-number {
            display: block;
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 0.4rem;
            line-height: 1.1;
        }

        .big-number.green {
            color: #00E676;
        }

        .big-number.red {
            color: #FF5252;
        }

        .comparison, .date {
            display: block;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.85rem;
            line-height: 1.2;
        }

        /* Yearly Results Table */
        .results-table-section {
            background: linear-gradient(135deg, rgba(4, 28, 44, 0.9), rgba(0, 167, 225, 0.05));
            border-radius: 15px;
            padding: 3rem;
            margin: 4rem 0;
            border: 2px solid rgba(0, 167, 225, 0.3);
        }

        .table-title {
            color: #00A7E1;
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 1rem;
            text-align: center;
        }

        .table-subtitle {
            text-align: center;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 3rem;
            font-size: 1.1rem;
        }

        .results-table {
            width: 100%;
            border-collapse: collapse;
            background-color: rgba(4, 28, 44, 0.8);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        .results-table th {
            background: linear-gradient(135deg, #00A7E1, #0090c1);
            color: white;
            padding: 1.2rem 1rem;
            text-align: center;
            font-weight: bold;
            font-size: 1rem;
            border: 1px solid rgba(0, 167, 225, 0.3);
        }

        .results-table td {
            padding: 1rem;
            text-align: center;
            border: 1px solid rgba(0, 167, 225, 0.3);
            font-size: 0.95rem;
            transition: background-color 0.3s ease;
        }

        .results-table tr:nth-child(even) {
            background-color: rgba(0, 167, 225, 0.05);
        }

        .results-table tr:hover {
            background-color: rgba(0, 167, 225, 0.1);
        }

        .year-cell {
            color: #00A7E1;
            font-weight: bold;
        }

        .positive {
            color: #00E676;
            font-weight: bold;
        }

        .negative {
            color: #FF5252;
            font-weight: bold;
        }

        .neutral {
            color: rgba(255, 255, 255, 0.7);
        }

        .summary-row {
            background: linear-gradient(135deg, rgba(0, 167, 225, 0.15), rgba(0, 167, 225, 0.05)) !important;
            border-top: 2px solid #00A7E1;
            font-weight: bold;
        }

        .total-row {
            background: linear-gradient(135deg, rgba(0, 167, 225, 0.25), rgba(0, 167, 225, 0.1)) !important;
            border-top: 3px solid #00A7E1;
            font-weight: bold;
        }

        .total-row td {
            padding: 1.2rem;
            font-size: 1.1rem;
            color: white;
        }

        /* Compound Interest Explanation */
        .compound-section {
            background: linear-gradient(135deg, rgba(0, 167, 225, 0.1), rgba(4, 28, 44, 0.8));
            border-radius: 15px;
            padding: 3rem;
            margin: 4rem 0;
            border: 2px solid rgba(0, 167, 225, 0.3);
        }

        .compound-title {
            color: #00A7E1;
            font-size: 2.2rem;
            text-align: center;
            margin-bottom: 2rem;
            font-weight: bold;
        }

        .explanation-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin: 3rem 0;
        }

        .explanation-card {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 12px;
            padding: 2rem;
            border: 1px solid rgba(0, 167, 225, 0.3);
        }

        .explanation-card h3 {
            color: #00A7E1;
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }

        .math-formula {
            background: rgba(0, 167, 225, 0.1);
            border: 1px solid #00A7E1;
            border-radius: 8px;
            padding: 1rem;
            margin: 1rem 0;
            font-family: 'Courier New', monospace;
            color: #00A7E1;
            text-align: center;
            font-size: 0.9rem;
        }

        .comparison-example {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .example-card {
            background: rgba(0, 0, 0, 0.4);
            border-radius: 10px;
            padding: 1.5rem;
            text-align: center;
            border: 1px solid;
        }

        .example-card.bp {
            border-color: #00A7E1;
        }

        .example-card.nasdaq {
            border-color: #FFC107;
        }

        .example-title {
            font-weight: bold;
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .example-card.bp .example-title {
            color: #00A7E1;
        }

        .example-card.nasdaq .example-title {
            color: #FFC107;
        }

        .example-calculation {
            margin: 0.5rem 0;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .example-result {
            font-size: 1.4rem;
            font-weight: bold;
            margin-top: 1rem;
        }

        .example-card.bp .example-result {
            color: #00E676;
        }

        .example-card.nasdaq .example-result {
            color: #FFC107;
        }

        .key-insight {
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(0, 167, 225, 0.1));
            border-radius: 12px;
            padding: 2rem;
            margin: 3rem 0;
            border: 2px solid rgba(255, 193, 7, 0.3);
            text-align: center;
        }

        .insight-title {
            color: #FFC107;
            font-size: 1.4rem;
            font-weight: bold;
            margin-bottom: 1rem;
        }

        .insight-text {
            font-size: 1.1rem;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.9);
        }

        /* Monthly Breakdown */
        .monthly-section {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 12px;
            padding: 2rem;
            margin: 3rem 0;
            border: 1px solid rgba(0, 167, 225, 0.3);
        }

        .monthly-title {
            color: #00A7E1;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .monthly-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
        }

        .monthly-stat {
            text-align: center;
            padding: 1rem;
            background: rgba(0, 167, 225, 0.05);
            border-radius: 8px;
            border: 1px solid rgba(0, 167, 225, 0.2);
        }

        .monthly-label {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .monthly-value {
            color: #00A7E1;
            font-weight: bold;
            font-size: 1.1rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2rem;
            }
            
            .explanation-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .comparison-example {
                grid-template-columns: 1fr;
            }
            
            .results-table th,
            .results-table td {
                padding: 0.6rem 0.5rem;
                font-size: 0.85rem;
            }
            
            .monthly-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .results-table-section {
                padding: 1.5rem;
            }
            
            .results-table {
                font-size: 0.8rem;
            }
            
            .monthly-grid {
                grid-template-columns: 1fr;
            }
        }

    #mainPerformanceChart {
    width: 100% !important;
    height: 40vh !important;  /* 70% av viewport height - tilpasser seg skjermstørrelse */
    min-height: 600px !important;  /* Minimum høyde for små skjermer */
    max-height: 1200px !important;  /* Maksimum høyde for store skjermer */
    max-width: 100%;
    border-radius: 4px;
    display: block;
}

/* Modal overlay */
.modal-overlay {
    display: none;
}

/* CTA center styling */
.cta-center {
    margin-top: 2rem;
}

/* Method explanation box */
.method-explanation {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #FFC107;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* Method explanation heading */
.method-explanation h3 {
    color: #FFC107;
    margin-bottom: 1rem;
}

/* Method explanation paragraphs */
.method-explanation p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}

.method-explanation p:last-child {
    margin: 0;
}

/* Small text styling */
.method-explanation + p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 1rem;
}

/* Centered text styling */
.result-note {
    text-align: center;
    margin-top: 1rem;
    color: rgba(255,255,255,0.8);
}