/* Mobile optimizations - Touch handling */
* {
    -webkit-tap-highlight-color: rgba(0, 167, 225, 0.2); /* Better tap feedback */
    -webkit-touch-callout: none; /* Disable callout on long press */
}

/* Smooth scrolling for all devices */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure proper touch scrolling on iOS */
body {
    -webkit-overflow-scrolling: touch;
}

/* Improve button and link touch targets */
button, a, input[type="range"], select {
    touch-action: manipulation; /* Faster tap response */
}

/* Reset default button styles to ensure flexbox works */
button {
  all: unset;
  cursor: pointer;
}

/* Header layout keeps parity with om_oss.html */
header {
    background-color: #041C2C;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(0, 167, 225, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: flex-end;
    gap: 2rem;
}

/* Navigation bar styles */
header nav {
    padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Logo styles */
header .logo {
    display: flex;
    align-items: flex-end;
    color: #00A7E1;
}

/* Login button styles */
.login-btn {
    color: #00A7E1;
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: normal;
    transition: color 0.3s ease;
    line-height: 1;
    justify-self: end;
    align-self: flex-end;
}

.login-btn:hover {
    color: #ffffff;
}

/* Hero header with beta badge */
.hero-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.hero-header h1 {
    text-align: center;
}

/* Beta badge wrapper */
.beta-badge-wrapper {
    position: absolute;
    top: 92%;
    left: calc(50% + 380px);
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.beta-badge-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(8deg);
    width: 260px;
    height: 180px;
    background: radial-gradient(ellipse at center, rgba(255, 184, 77, 0.6) 0%, rgba(255, 158, 31, 0.45) 30%, rgba(255, 140, 0, 0.25) 55%, rgba(255, 120, 0, 0.1) 75%, transparent 90%);
    border: 3px solid rgba(255, 200, 100, 0.5);
    border-radius: 50%;
    z-index: -1;
    animation: glow-breathe 4s ease-in-out infinite;
    filter: blur(4px);
}

/* Beta badge styles */
.beta-badge {
    transform: rotate(8deg);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #FFB84D 0%, #FF9E1F 50%, #FF8C00 100%);
    color: #041C2C;
    border: 2px solid rgba(255, 200, 100, 0.6);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
    line-height: 1;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.5);
    white-space: nowrap;
}

.beta-badge-hint {
    font-size: 0.75rem;
    color: #FFB84D;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
    transform: rotate(8deg);
    text-shadow: 0 2px 8px rgba(255, 140, 0, 0.4);
    animation: fade-pulse 2s ease-in-out infinite;
}

.beta-badge:hover {
    background: linear-gradient(135deg, #FF9E1F 0%, #FF8C00 50%, #FF7700 100%);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.7);
    transform: rotate(5deg) scale(1.05);
    border-color: rgba(255, 220, 120, 0.8);
}

.beta-badge-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.beta-badge-text {
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.beta-badge-cta {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.85;
    white-space: nowrap;
    margin-top: 0.1rem;
    letter-spacing: 0.3px;
}

@keyframes fade-pulse {
    0%, 100% {
        opacity: 0.8;
        text-shadow: 0 2px 8px rgba(255, 140, 0, 0.4);
    }
    50% {
        opacity: 1;
        text-shadow: 0 2px 12px rgba(255, 140, 0, 0.7);
    }
}

@keyframes glow-breathe {
    0%, 100% {
        opacity: 0.85;
        transform: translate(-50%, -50%) rotate(8deg) scale(0.96);
        filter: blur(4px);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(8deg) scale(1.04);
        filter: blur(5px);
    }
}

/* Responsive styling for beta badge */
@media (max-width: 1400px) {
    .beta-badge-wrapper {
        left: calc(50% + 300px);
    }

    .beta-badge {
        font-size: 0.85rem;
        padding: 0.45rem 0.9rem;
    }
}

@media (max-width: 1200px) {
    .beta-badge-wrapper {
        left: calc(50% + 240px);
    }

    .beta-badge {
        font-size: 0.85rem;
        padding: 0.45rem 0.9rem;
    }
}

@media (max-width: 968px) {
    .beta-badge-wrapper {
        left: calc(50% + 200px);
    }

    .beta-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .beta-badge-hint {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .beta-badge-wrapper {
        position: static;
        transform: none;
        margin: 0.5rem auto;
    }

    .beta-badge-wrapper::before {
        width: 200px;
        height: 140px;
    }

    .beta-badge {
        transform: rotate(5deg);
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    .beta-badge:hover {
        transform: rotate(3deg) scale(1.05);
    }

    .beta-badge-hint {
        font-size: 0.7rem;
    }

    .beta-badge-icon {
        font-size: 1rem;
    }

    .beta-badge-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .beta-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
    }

    .beta-badge-icon {
        font-size: 1rem;
    }

    .beta-badge-text {
        font-size: 0.8rem;
    }

    .beta-badge-hint {
        font-size: 0.65rem;
    }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content-1 {
    background-color: #041C2C;
    padding: 25px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #00A7E1;
    color: #ffffff;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    margin: auto;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #00A7E1;
    cursor: pointer;
    transition: color 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: #ffffff;
    background-color: rgba(0, 167, 225, 0.2);
}

#loginForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

#loginForm h2 {
    color: #00A7E1;
    margin: 0 0 15px 0;
    font-size: 24px;
    text-align: center;
    font-weight: normal;
}

#loginForm input {
    padding: 12px;
    border: 1px solid rgba(0, 167, 225, 0.5);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 16px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

#loginForm input:focus {
    outline: none;
    border-color: #00A7E1;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(0, 167, 225, 0.2);
}

#loginForm input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#loginForm button {
    padding: 12px;
    background-color: #00A7E1;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-top: 10px;
    text-align: center;
}

#loginForm button:hover {
    background-color: #0090c1;
}

#loginForm button:active {
    transform: translateY(2px);
}

#errorMessage {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
    text-align: center;
    font-size: 14px;
    display: none;
}

#errorMessage.active,
#errorMessage[style*="display: block"] {
    display: block;
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

.forgot-password-btn {
    background: none;
    border: none;
    color: #00A7E1;
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: underline;
    padding: 0;
    margin-top: -5px;
    align-self: center;
}

.forgot-password-btn:hover {
    color: #4bc3e8;
}

.forgot-password-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.reset-feedback {
    display: none;
    margin-top: 10px;
    font-size: 0.9rem;
    text-align: center;
}

.reset-feedback.visible {
    display: block;
}

.reset-feedback.success {
    color: #4ade80;
}

.reset-feedback.error {
    color: #ff6b6b;
}

@keyframes shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}

/* Chat Feedback Buttons */
.feedback-container {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    align-items: center;
}

.thumbs-up,
.thumbs-down {
    background: rgba(0, 167, 225, 0.1);
    border: 1px solid rgba(0, 167, 225, 0.3);
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    padding: 6px 10px;
    transition: all 0.2s ease;
    margin-right: 4px;
}

.thumbs-up:hover,
.thumbs-down:hover {
    background: rgba(0, 167, 225, 0.15);
    border-color: #00A7E1;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 167, 225, 0.2);
}

.thumbs-up:active,
.thumbs-down:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 167, 225, 0.3);
}

/* Rating Select - BP Finans Themed */
.rating-select {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #00A7E1;
    border-radius: 6px;
    color: #041C2C;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-left: 8px;
    min-width: 170px;
    box-shadow: 0 2px 4px rgba(0, 167, 225, 0.1);
    transition: all 0.2s ease;
}

.rating-select:hover {
    border-color: #00A7E1;
    background: rgba(0, 167, 225, 0.05);
    box-shadow: 0 2px 6px rgba(0, 167, 225, 0.15);
}

.rating-select:focus {
    outline: none;
    border-color: #00A7E1;
    background: rgba(0, 167, 225, 0.05);
    box-shadow: 0 0 0 2px rgba(0, 167, 225, 0.2);
}

.rating-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.rating-select option {
    background: #ffffff;
    color: #041C2C;
    padding: 6px;
    font-weight: normal;
}

.rating-select option:checked {
    background: #00A7E1;
    color: #ffffff;
}

/* Toast Messages */
.feedback-toast {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s;
}

.feedback-toast.show {
    opacity: 1;
}

/* Newsletter Prompt */
.newsletter-prompt {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 10001;
    max-width: 400px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.newsletter-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
}

.newsletter-prompt h3 {
    margin-top: 0;
    color: #2c3e50;
}

.newsletter-prompt p {
    margin: 15px 0;
    color: #555;
    line-height: 1.4;
}

.newsletter-button-primary {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
}

.newsletter-button-secondary {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}


/* Resultater seksjon - BEHOLDES IDENTISK */
.resultater {
    padding: 1rem 0;
    background-color: rgba(4, 28, 44, 0.3);
    margin-bottom: 0.5rem;
    border-top: 1px solid rgba(0, 167, 225, 0.3);
    border-bottom: 1px solid rgba(0, 167, 225, 0.3);
}

.resultater h2 {
    font-size: 2.2rem;
    color: #00A7E1;
    text-align: center;
    margin-bottom: 0.8rem;
}

.result-intro {
    font-size: 1.2rem;
    color: #00A7E1;
    text-align: center;
    margin-bottom: 0.8rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Graf container - BEHOLDES IDENTISK */
.graf-container {
    text-align: center;
    margin: 0.8rem 0;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 167, 225, 0.3);
}

.results-chart {
    max-width: 100%;
    width: 100%;
    height: 400px; /* Eksplisitt høyde for Chart.js */
    border-radius: 4px;
}

/* Statistikk grid - BEHOLDES IDENTISK */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
    margin: 0.8rem 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;
}

/* CTA center - BEHOLDES IDENTISK */
.cta-center {
    text-align: center;
    margin: 0.8rem 0 0.3rem;
}

/* ROI Kalkulator Seksjon - FULL WIDTH IMPROVED (UTEN STYGG HOVER) */
.roi-section {
    background: linear-gradient(135deg, rgba(4, 28, 44, 0.9), rgba(0, 167, 225, 0.1));
    padding: 6rem 0;
    margin: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.roi-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 167, 225, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.roi-section .container {
    position: relative;
    z-index: 2;
}

.roi-section h2 {
    color: #00A7E1;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.calculator {
    background: linear-gradient(135deg, rgba(4, 28, 44, 0.9), rgba(0, 167, 225, 0.05));
    border-radius: 20px;
    padding: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 167, 225, 0.3);
    backdrop-filter: blur(10px);
}

.calculator label {
    display: block;
    color: #00A7E1;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

#investment-slider {
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background: rgba(0, 167, 225, 0.2);
    outline: none;
    margin: 1.5rem 0;
    cursor: pointer;
}

#investment-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #00A7E1;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 167, 225, 0.5);
    transition: all 0.3s ease;
}

#investment-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 8px 20px rgba(0, 167, 225, 0.7);
}

#investment-slider::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #00A7E1;
    cursor: pointer;
    border: none;
    box-shadow: 0 6px 15px rgba(0, 167, 225, 0.5);
}

#investment-display {
    display: inline-block;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin: 1.5rem 0 3rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.2), rgba(0, 167, 225, 0.1));
    border-radius: 12px;
    border: 2px solid #00A7E1;
    text-shadow: 0 0 10px rgba(0, 167, 225, 0.5);
}

/* Results grid - IMPROVED */
.results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.metric {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(4, 28, 44, 0.6));
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid rgba(0, 167, 225, 0.3);
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(5px);
}

.metric:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 167, 225, 0.25);
}

.metric.highlight {
    border-color: #00A7E1;
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.15), rgba(0, 167, 225, 0.05));
}

.metric .value {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #00A7E1;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(0, 167, 225, 0.3);
}

.metric.highlight .value {
    color: white;
    text-shadow: 0 0 20px rgba(0, 167, 225, 0.7);
}

.metric .label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 500;
}

/* Tooltip for emoji fix */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #041C2C;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    border: 1px solid #00A7E1;
    font-size: 0.9rem;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #041C2C transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* COURSE SECTION - ORANGE/YELLOW THEME - FORBEDRET LESBARHET */
.course-section {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.05));
    padding: 6rem 0;
    margin: 4rem 0;
    border-radius: 20px;
    border: 2px solid rgba(255, 193, 7, 0.3);
    position: relative;
    overflow: hidden;
}

.course-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 193, 7, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.course-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.course-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    color: #1a1a1a;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.course-title {
    font-size: 3rem;
    color: #FFC107;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.course-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.price-highlight {
    font-size: 3rem;
    font-weight: bold;
    color: #FFC107;
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

/* Oppdater kun denne delen i hovedside.css */

/* Erstatt course-value-props sektionen - gjør den mer subtil/elegant */

/* Course Value Props - 3x2 Grid MED SUBTIL/ELEGANT STIL */
.course-value-props {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
    position: relative;
    z-index: 2;
}

.value-prop {
    background: linear-gradient(135deg, rgba(4, 28, 44, 0.9), rgba(255, 193, 7, 0.03));
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(5px);
}

/* Subtil glow-effekt bare på hover */
.value-prop::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.1) 0%, 
        rgba(255, 143, 0, 0.05) 50%, 
        rgba(255, 193, 7, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.value-prop:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 193, 7, 0.4);
}

.value-prop:hover::after {
    opacity: 1;
}

.prop-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.value-prop:hover .prop-icon {
    opacity: 1;
}

.prop-title {
    color: #FFC107;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
}

.prop-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.method-benefits-section {
  background: linear-gradient(135deg, rgba(0, 167, 225, 0.08), rgba(4, 28, 44, 0.6));
  padding: 4rem 2rem;
  margin: 4rem 0;
  border-radius: 20px;
  border: 1px solid rgba(0, 167, 225, 0.2);
  position: relative;
  overflow: hidden;
}

.method-benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0, 167, 225, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.benefits-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.benefits-title {
  color: #00A7E1;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.benefits-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 2;
}

.benefit-card {
  background: linear-gradient(135deg, rgba(4, 28, 44, 0.8), rgba(0, 167, 225, 0.05));
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 167, 225, 0.3);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 167, 225, 0.2);
  border-color: #00A7E1;
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.benefit-card h4 {
  color: #00A7E1;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.benefit-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
}

.method-summary {
  background: linear-gradient(135deg, rgba(0, 167, 225, 0.1), rgba(4, 28, 44, 0.8));
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 167, 225, 0.3);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.summary-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.summary-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .method-benefits-section {
    padding: 3rem 1.5rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .benefits-title {
    font-size: 1.6rem;
  }
  
  .benefit-card {
    padding: 1.5rem;
  }
}

/* Course Modules - 3x2 Grid - FORBEDRET LESBARHET */
.course-modules {
    margin: 4rem 0;
    position: relative;
    z-index: 2;
}

.modules-title {
    color: #FFC107;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: bold;
}

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

.module-card {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(4, 28, 44, 0.85));
    border-radius: 15px;
    padding: 2.5rem;
    border: 2px solid rgba(255, 193, 7, 0.4);
    transition: all 0.3s ease;
    height: fit-content;
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.3);
    border-color: #FFC107;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(4, 28, 44, 0.9));
}

.module-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.module-icon {
    font-size: 2.2rem;
    margin-right: 1rem;
}

.module-title {
    color: #FFC107;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0;
}

.module-examples {
    list-style: none;
    margin-bottom: 1.5rem;
}

.module-examples li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.4;
}

.module-examples li::before {
    content: "•";
    color: #FFC107;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.module-teaser {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    font-size: 1rem;
    margin: 0;
    border-top: 1px solid rgba(255, 193, 7, 0.3);
    padding-top: 1rem;
    line-height: 1.4;
}

/* Course Actions */
.main-course-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 4rem 0;
    position: relative;
    z-index: 2;
}

.course-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-buy-now {
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    color: #1a1a1a;
    border-color: #FFC107;
}

.btn-buy-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.4);
}

.btn-learn-more {
    background-color: transparent;
    color: #FFC107;
    border-color: #FFC107;
}

.btn-learn-more:hover {
    background-color: rgba(255, 193, 7, 0.1);
    transform: translateY(-3px);
}

/* Preview Section */
.preview-section {
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.1), rgba(255, 193, 7, 0.05));
    border-radius: 15px;
    padding: 3rem;
    margin: 4rem 0;
    border: 2px solid rgba(255, 193, 7, 0.3);
    position: relative;
    z-index: 2;
}

.preview-header {
    text-align: center;
    margin-bottom: 3rem;
}

.preview-title {
    color: #FFC107;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.preview-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

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

.preview-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(4, 28, 44, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.preview-item:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: #FFC107;
}

.preview-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.preview-item-title {
    color: #FFC107;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.preview-item-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.final-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-free {
    background: linear-gradient(135deg, #00E676, #00C853);
    color: #002e1f;
    border-color: #00E676;
}

.btn-outline {
    background-color: transparent;
    color: #00A7E1;
    border-color: #00A7E1;
}

/* Lærings-incentiv seksjon - KEEP AS IS */
.learning-incentive {
    background: linear-gradient(135deg, rgba(4, 28, 44, 0.9), rgba(2, 17, 27, 0.9));
    padding: 5rem 0;
    margin: 4rem 0;
    border-radius: 15px;
    border: 2px solid rgba(0, 167, 225, 0.3);
    position: relative;
    overflow: hidden;
}

.learning-incentive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 167, 225, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.learning-incentive .container {
    position: relative;
    z-index: 2;
}

.learning-incentive h2 {
    color: #00A7E1;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.learning-hero-text {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.5;
}

.learning-hero-text .highlight {
    color: #00A7E1;
    font-weight: bold;
}

/* Course benefits grid - KEEP AS IS */
.course-benefits {
    margin: 3rem 0;
}

.customer-segments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.segment-card {
    background: linear-gradient(135deg, rgba(4, 28, 44, 0.9), rgba(2, 17, 27, 0.8));
    border-radius: 15px;
    padding: 3rem;
    border: 2px solid rgba(0, 167, 225, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.segment-card.new-investors {
    border-color: #00E676;
}

.segment-card.existing-investors {
    border-color: #00A7E1;
}

.segment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s ease;
}

.segment-card.new-investors::before {
    background: linear-gradient(90deg, #00E676, #00C853);
}

.segment-card.existing-investors::before {
    background: linear-gradient(90deg, #00A7E1, #0090c1);
}

.segment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.segment-header {
    text-align: center;
    margin-bottom: 2rem;
}

.segment-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.segment-card.new-investors .segment-icon {
    background: linear-gradient(135deg, #00E676, #00C853);
}

.segment-card.existing-investors .segment-icon {
    background: linear-gradient(135deg, #00A7E1, #0090c1);
}

.segment-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.segment-card.new-investors .segment-title {
    color: #00E676;
}

.segment-card.existing-investors .segment-title {
    color: #00A7E1;
}

.segment-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.segment-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.segment-benefits li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.benefit-icon-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 0.8rem;
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.segment-card.new-investors .benefit-icon-small {
    background-color: #00E676;
    color: #002e1f;
}

.segment-card.existing-investors .benefit-icon-small {
    background-color: #00A7E1;
    color: #002a44;
}

.benefit-text {
    flex: 1;
}

.benefit-text strong {
    display: block;
    margin-bottom: 0.3rem;
}

.segment-card.new-investors .benefit-text strong {
    color: #00E676;
}

.segment-card.existing-investors .benefit-text strong {
    color: #00A7E1;
}

.benefit-text span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.pricing-highlight {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.1), rgba(0, 167, 225, 0.1));
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    border: 1px solid;
}

.segment-card.new-investors .pricing-highlight {
    border-color: #00E676;
}

.segment-card.existing-investors .pricing-highlight {
    border-color: #00A7E1;
}

.price-display {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.segment-card.new-investors .price-display {
    color: #00E676;
}

.segment-card.existing-investors .price-display {
    color: #00A7E1;
}

.price-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.segment-cta {
    text-align: center;
}

.segment-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid;
    width: 100%;
    text-align: center;
}

.segment-card.new-investors .segment-btn {
    background-color: #00E676;
    color: #002e1f;
    border-color: #00E676;
}

.segment-card.new-investors .segment-btn:hover {
    background-color: transparent;
    color: #00E676;
}

.segment-card.existing-investors .segment-btn {
    background-color: #00A7E1;
    color: white;
    border-color: #00A7E1;
}

.segment-card.existing-investors .segment-btn:hover {
    background-color: transparent;
    color: #00A7E1;
}

/* Qualifications - COLLAPSIBLE */
.qualifications {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    margin: 3rem 0;
    border: 2px solid rgba(0, 167, 225, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.qualifications-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.1), rgba(0, 167, 225, 0.05));
    transition: background-color 0.3s ease;
}

.qualifications-header:hover {
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.15), rgba(0, 167, 225, 0.1));
}

.qualifications-header h3 {
    color: #00A7E1;
    margin: 0;
    font-size: 1.3rem;
}

.qualification-toggle {
    font-size: 1.5rem;
    color: #00A7E1;
    transition: transform 0.3s ease;
}

.qualifications.active .qualification-toggle {
    transform: rotate(45deg);
}

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

.qualifications.active .qualifications-content {
    max-height: 300px;
}

.qualifications ul {
    list-style: none;
    padding: 2rem;
    margin: 0;
}

.qualifications li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.qualifications li::before {
    content: "•";
    color: #00A7E1;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Social sharing section - INTEGRATED */
.social-sharing {
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.1), rgba(0, 230, 118, 0.05));
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(0, 167, 225, 0.3);
    text-align: center;
}

.social-sharing h3 {
    color: #00A7E1;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.social-sharing p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.sharing-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Icon styling */
.share-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%);
    transition: all 0.3s ease;
}

/* E-post styling */
.share-btn.email-btn {
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.2), rgba(0, 167, 225, 0.1));
    color: #00A7E1;
    border-color: #00A7E1;
}

.share-btn.email-btn .share-icon {
    filter: brightness(0) saturate(100%) invert(60%) sepia(85%) saturate(2000%) hue-rotate(170deg) brightness(100%);
}

.share-btn.email-btn:hover {
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.3), rgba(0, 167, 225, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 167, 225, 0.3);
}

/* Facebook styling */
.share-btn.facebook-btn {
    background: linear-gradient(135deg, rgba(66, 103, 178, 0.2), rgba(66, 103, 178, 0.1));
    color: #4267B2;
    border-color: #4267B2;
}

.share-btn.facebook-btn .share-icon {
    filter: brightness(0) saturate(100%) invert(35%) sepia(76%) saturate(1650%) hue-rotate(200deg) brightness(90%);
}

.share-btn.facebook-btn:hover {
    background: linear-gradient(135deg, rgba(66, 103, 178, 0.3), rgba(66, 103, 178, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(66, 103, 178, 0.3);
}

/* LinkedIn styling */
.share-btn.linkedin-btn {
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.2), rgba(10, 102, 194, 0.1));
    color: #0A66C2;
    border-color: #0A66C2;
}

.share-btn.linkedin-btn .share-icon {
    filter: brightness(0) saturate(100%) invert(30%) sepia(90%) saturate(2200%) hue-rotate(195deg) brightness(95%);
}

.share-btn.linkedin-btn:hover {
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.3), rgba(10, 102, 194, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3);
}

/* Twitter/Instagram styling */
.share-btn.twitter-btn {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.2), rgba(225, 48, 108, 0.1));
    color: #E1306C;
    border-color: #E1306C;
}

.share-btn.twitter-btn .share-icon {
    filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(2500%) hue-rotate(320deg) brightness(100%);
}

.share-btn.twitter-btn:hover {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.3), rgba(225, 48, 108, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3);
}

/* Kopier link styling */
.share-btn.copy-btn {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
    color: #FFC107;
    border-color: #FFC107;
}

.share-btn.copy-btn .share-icon {
    filter: brightness(0) saturate(100%) invert(70%) sepia(90%) saturate(1500%) hue-rotate(5deg) brightness(105%);
}

.share-btn.copy-btn:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), rgba(255, 193, 7, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

/* Old selectors - keep for backwards compatibility */
.share-btn[href^="mailto:"] {
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.2), rgba(0, 167, 225, 0.1));
    color: #00A7E1;
    border-color: #00A7E1;
}

.share-btn[href^="mailto:"]:hover {
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.3), rgba(0, 167, 225, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 167, 225, 0.3);
}

/* Contact info */
.contact-info {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: center;
    border: 1px solid rgba(0, 167, 225, 0.3);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.contact-info a {
    color: #00A7E1;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Newsletter Section - COMPACT */
.newsletter-section {
    background: linear-gradient(135deg, rgba(4, 28, 44, 0.8), rgba(0, 167, 225, 0.05));
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: 15px;
    border: 2px solid rgba(0, 167, 225, 0.3);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 167, 225, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.newsletter-title {
    color: #00A7E1;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-form-section {
    background-color: #041C2C;
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid rgba(0, 167, 225, 0.3);
    transition: all 0.3s ease;
}

.newsletter-form-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 167, 225, 0.2);
    border-color: #00A7E1;
}

.form-title {
    color: #00A7E1;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: bold;
}

.campaign-alert {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
    border: 1px solid #FFC107;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.campaign-text {
    color: white;
    font-size: 0.9rem;
    line-height: 1.3;
}

.campaign-text strong {
    color: #FFC107;
}

.newsletter-form {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

/* Newsletter Section - FORBEDRET LAYOUT */
.newsletter-section {
    background: linear-gradient(135deg, rgba(4, 28, 44, 0.8), rgba(0, 167, 225, 0.05));
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: 15px;
    border: 2px solid rgba(0, 167, 225, 0.3);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 167, 225, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.newsletter-title {
    color: #00A7E1;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* NYE OVERSKRIFTER UTENFOR BOKSENE - SAMME LINJE */
.newsletter-column {
    display: flex;
    flex-direction: column;
}

.column-header {
    color: #00A7E1;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: left;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-headers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.section-header-item {
    text-align: center;
}

.section-header-title {
    color: #00A7E1;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: left;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-header::before {
    content: "✉️";
    font-size: 1.2rem;
}

.benefits-header::before {
    content: "🎯";
    font-size: 1.2rem;
}

/* HOVEDINNHOLD - LIKE HØYE BOKSER */
.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-form-section {
    background-color: #041C2C;
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid rgba(0, 167, 225, 0.3);
    transition: all 0.3s ease;
    height: fit-content;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.newsletter-form-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 167, 225, 0.2);
    border-color: #00A7E1;
}

.newsletter-benefits-section {
    background-color: #041C2C;
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid rgba(0, 167, 225, 0.3);
    transition: all 0.3s ease;
    height: fit-content;
    min-height: 480px;
}

.newsletter-benefits-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 167, 225, 0.2);
    border-color: #00A7E1;
}

/* KAMPANJE ALERT */
.campaign-alert {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.1));
    border: 1px solid #FFC107;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.campaign-alert::before {
    content: "🎁";
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 1.5rem;
    opacity: 0.7;
}

.campaign-text {
    color: white;
    font-size: 0.9rem;
    line-height: 1.4;
}

.campaign-text strong {
    color: #FFC107;
}

/* SKJEMA */
.newsletter-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-group:first-child::before {
    content: "📧";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    z-index: 1;
    pointer-events: none;
}

.form-group:nth-child(2)::before {
    content: "👤";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    z-index: 1;
    pointer-events: none;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    padding-left: 3rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 167, 225, 0.5);
    border-radius: 6px;
    color: #ffffff;
    font-size: 16px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #00A7E1;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(0, 167, 225, 0.2);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #00A7E1, #0090c1);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 167, 225, 0.3);
}

.btn-icon {
    font-size: 1.1rem;
}

/* FORBEDRET FORM ASSURANCE - KLARERE TEKST */
.form-assurance {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 167, 225, 0.2);
}

.form-assurance p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-assurance p::before {
    content: "✓";
    color: #00E676;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.privacy-link {
    color: #00A7E1;
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* BENEFITS GRID - 2x2 + 1 BRED */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.benefit-item {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 167, 225, 0.05));
    border: 1px solid rgba(0, 167, 225, 0.3);
    border-radius: 12px;
    padding: 1.2rem;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.15), rgba(0, 167, 225, 0.05));
    border-color: #00A7E1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 167, 225, 0.2);
}

.benefit-item-wide {
    grid-column: 1 / -1;
}

.benefit-icon {
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.2), rgba(0, 167, 225, 0.1));
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 167, 225, 0.3);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-bottom: 0.8rem;
}

.benefit-content h4 {
    color: #00A7E1;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.benefit-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* TRUST INDICATORS */
.newsletter-trust {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.trust-item {
    text-align: center;
}

.trust-number {
    color: #00A7E1 !important;
    font-size: 1.4rem !important;
    font-weight: bold !important;
    display: block;
    margin-bottom: 0.3rem;
}

.trust-label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem !important;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .section-headers {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form-section,
    .newsletter-benefits-section {
        min-height: auto;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-item-wide {
        grid-column: 1;
    }
    
    .newsletter-trust {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .newsletter-title {
        font-size: 1.6rem;
    }
    
    .section-header-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 3rem 0;
        margin: 2rem 0;
    }
    
    .newsletter-form-section,
    .newsletter-benefits-section {
        padding: 1.5rem;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
    }
    
    .trust-number {
        font-size: 1.3rem !important;
    }
}

/* Pricing Section - SAME LINE */
.pricing {
    padding: 5rem 0;
    margin: 4rem 0;
    background-color: rgba(4, 28, 44, 0.6);
    border-radius: 15px;
}

.pricing h2 {
    color: #00A7E1;
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #041C2C;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid rgba(0, 167, 225, 0.3);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.card.featured {
    border-color: #00A7E1;
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.1), rgba(4, 28, 44, 1));
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00A7E1, #0090c1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 167, 225, 0.25);
    border-color: #00A7E1;
}

.card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    color: #00A7E1;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin: 1rem 0;
}

.roi-note {
    background-color: rgba(0, 167, 225, 0.1);
    color: #00A7E1;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin: 1rem 0 1.5rem;
    border: 1px solid rgba(0, 167, 225, 0.3);
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    flex-grow: 1;
}

.card li {
    color: rgba(255, 255, 255, 0.9);
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00A7E1;
    font-weight: bold;
}

.card .btn {
    width: 100%;
    margin-top: auto;
    padding: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 167, 225, 0.3);
}

/* Disclaimer */
.disclaimer {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 0.3rem;
}

/* Animasjoner */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.roi-section,
.course-section,
.learning-incentive,
.newsletter-section,
.pricing {
    animation: slideInUp 0.8s ease-out;
}

/* Animation for counter */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.campaign-counter {
  animation: pulse 2s infinite;
}

/* Success state (for when form is submitted) */
.newsletter-form.success .newsletter-submit-btn {
  background: linear-gradient(135deg, #00E676, #00C853);
  color: #002e1f;
}

.newsletter-form.success .btn-icon::before {
  content: '✓';
}

/* ROI Calculator Dynamic Classes */
.metric.insane-roi {
    border-color: #00FFFF;
    background-color: rgba(0, 255, 255, 0.15);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
}

.metric.insane-roi .value {
    color: #00FFFF;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 15px rgba(0, 255, 255, 0.5); }
    to { text-shadow: 0 0 25px rgba(0, 255, 255, 0.8); }
}

.metric.excellent-roi {
    border-color: #00C853;
    background-color: rgba(0, 200, 83, 0.15);
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.2);
}

.metric.excellent-roi .value {
    color: #00C853;
    text-shadow: 0 0 10px rgba(0, 200, 83, 0.3);
}

.metric.great-roi {
    border-color: #00E676;
    background-color: rgba(0, 230, 118, 0.1);
}

.metric.great-roi .value {
    color: #00E676;
}

.metric.good-roi {
    border-color: #4CFF9E;
    background-color: rgba(76, 255, 158, 0.1);
}

.metric.good-roi .value {
    color: #4CFF9E;
}

.metric.ok-roi {
    border-color: #FFC107;
    background-color: rgba(255, 193, 7, 0.1);
}

.metric.ok-roi .value {
    color: #FFC107;
}

.metric.marginal-roi {
    border-color: #FF9800;
    background-color: rgba(255, 152, 0, 0.1);
}

.metric.marginal-roi .value {
    color: #FF9800;
}

.metric.poor-roi {
    border-color: #FF5252;
    background-color: rgba(255, 82, 82, 0.1);
}

.metric.poor-roi .value {
    color: #FF5252;
}

.roi-tooltip {
    animation: fadeInTooltip 0.2s ease-out;
}

@keyframes fadeInTooltip {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Optimization */
@media (max-width: 968px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .card.featured {
        transform: none;
    }
    
    .card.featured:hover {
        transform: translateY(-10px);
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
    }
    
    .course-value-props,
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results {
        grid-template-columns: 1fr;
    }
    
    .preview-examples {
        grid-template-columns: 1fr;
    }
    
    .main-course-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .course-btn {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    #loginForm h2 {
        font-size: 20px;
    }
    
    #loginForm input,
    #loginForm button {
        padding: 14px;
        font-size: 16px;
    }
    
    .close {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        margin-top: 1rem;
    }

    .login-btn {
        text-align: right;
    }

    /* Responsive design for resultater */
    .resultater {
        padding: 1.5rem 0;
    }
    
    .resultater h2 {
        font-size: 1.8rem;
    }
    
    .result-intro {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    
    .stat-box {
        padding: 1rem;
        min-height: 120px;
    }
    
    .big-number {
        font-size: 1.6rem;
    }
    
    .graf-container {
        padding: 0.8rem;
        margin: 0.8rem 0;
    }

    .roi-section h2,
    .course-title {
        font-size: 2rem;
    }
    
    .calculator {
        padding: 2rem;
    }
    
    .newsletter-trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    .customer-segments {
        grid-template-columns: 1fr;
    }
    
    .sharing-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 200px;
        justify-content: center;
    }

    .course-value-props,
    .modules-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        padding: 15px;
    }
    
    #loginForm {
        gap: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .resultater {
        padding: 1rem 0;
    }
    
    .resultater h2 {
        font-size: 1.6rem;
    }
    
    .result-intro {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .big-number {
        font-size: 1.5rem;
    }
    
    .stat-box h3 {
        font-size: 0.85rem;
    }

    .cta-center {
        margin: 0.8rem 0 0.3rem;
    }

    .roi-section,
    .course-section,
    .learning-incentive,
    .newsletter-section,
    .pricing {
        padding: 3rem 0;
        margin: 2rem 0;
    }
    
    .calculator {
        padding: 1.5rem;
    }
    
    .roi-section h2,
    .course-title {
        font-size: 1.8rem;
    }
    
    .metric {
        padding: 1.5rem;
    }

    .course-title {
        font-size: 1.8rem;
    }
    
    .price-highlight {
        font-size: 2rem;
    }
    
    .segment-card,
    .newsletter-form-section,
    .newsletter-benefits-section {
        padding: 1.5rem;
    }

    .newsletter-trust {
        gap: 1.5rem;
    }

    .trust-number {
        font-size: 1.3rem;
    }
}

/* Very small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .modal-content {
        padding: 15px 10px;
    }
    
    #loginForm h2 {
        font-size: 18px;
    }
    
    .close {
        right: 10px;
        top: 8px;
    }
}

/* Safari-specific fixes */
@supports (-webkit-touch-callout: none) {
    #loginForm input {
        font-size: 16px;
    }
    
    .modal {
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
    }
}

/* Social sharing buttons - FORBEDRET STYLING */
.social-sharing {
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.1), rgba(0, 230, 118, 0.05));
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(0, 167, 225, 0.3);
    text-align: center;
}

.social-sharing h3 {
    color: #00A7E1;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.social-sharing p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.sharing-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Større ikoner */
.share-btn::before {
    font-size: 1.4rem;
}

/* E-post styling */
.share-btn[href^="mailto:"] {
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.2), rgba(0, 167, 225, 0.1));
    color: #00A7E1;
    border-color: #00A7E1;
}

.share-btn[href^="mailto:"]:hover {
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.3), rgba(0, 167, 225, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 167, 225, 0.3);
}

/* Facebook styling */
.share-btn.facebook {
    background: linear-gradient(135deg, rgba(66, 103, 178, 0.2), rgba(66, 103, 178, 0.1));
    color: #4267B2;
    border-color: #4267B2;
}

.share-btn.facebook:hover {
    background: linear-gradient(135deg, rgba(66, 103, 178, 0.3), rgba(66, 103, 178, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(66, 103, 178, 0.3);
}

/* LinkedIn styling */
.share-btn.linkedin {
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.2), rgba(10, 102, 194, 0.1));
    color: #0A66C2;
    border-color: #0A66C2;
}

.share-btn.linkedin:hover {
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.3), rgba(10, 102, 194, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3);
}

/* Twitter styling */
.share-btn.twitter {
    background: linear-gradient(135deg, rgba(29, 161, 242, 0.2), rgba(29, 161, 242, 0.1));
    color: #1DA1F2;
    border-color: #1DA1F2;
}

.share-btn.twitter:hover {
    background: linear-gradient(135deg, rgba(29, 161, 242, 0.3), rgba(29, 161, 242, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.3);
}

/* Kopier link styling */
.share-btn[onclick*="copyLink"] {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
    color: #FFC107;
    border-color: #FFC107;
}

.share-btn[onclick*="copyLink"]:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), rgba(255, 193, 7, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .sharing-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 250px;
        justify-content: center;
    }
    
    /* MOBILE SLIDER IMPROVEMENTS: Larger touch targets */
    .input-group input[type="range"]::-webkit-slider-thumb {
        width: 32px; /* Larger for easier touch */
        height: 32px;
    }
    
    .input-group input[type="range"]::-moz-range-thumb {
        width: 32px;
        height: 32px;
    }
    
    .input-group input[type="range"] {
        height: 10px; /* Slightly thicker track */
        margin-bottom: 20px; /* More spacing on mobile */
    }
}
/* TIME MACHINE KALKULATOR STYLING */

.time-machine-divider {
  display: flex;
  align-items: center;
  margin: 60px 0 40px 0;
  color: #64ffda;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, #64ffda, transparent);
}

.divider-text {
  padding: 0 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffc107;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 20px;
  white-space: nowrap;
}

.time-machine-section {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
  border: 2px solid rgba(255, 193, 7, 0.3);
  border-radius: 20px;
  padding: 40px;
  margin-top: 40px;
  backdrop-filter: blur(10px);
}

.time-machine-header {
  text-align: center;
  margin-bottom: 40px;
}

.time-machine-header h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffc107;
}

.time-machine-description {
  font-size: 1.2rem;
  color: #e0e0e0;
  max-width: 600px;
  margin: 0 auto;
}

.time-machine-calculator {
  margin-bottom: 20px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.input-group {
  text-align: center;
}

.input-group label {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.input-group input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  margin-bottom: 15px;
  touch-action: none; /* Better touch handling */
  cursor: pointer;
}

.input-group input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffc107;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
  transition: transform 0.2s ease;
}

.input-group input[type="range"]::-webkit-slider-thumb:hover,
.input-group input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.8);
}

.input-group input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffc107;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
  transition: transform 0.2s ease;
}

.input-group input[type="range"]::-moz-range-thumb:hover,
.input-group input[type="range"]::-moz-range-thumb:active {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.8);
}

.input-group span {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffc107;
}

.comparison-results {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  margin: 40px 0;
  align-items: center;
}

.result-column {
  padding: 30px;
  border-radius: 16px;
  text-align: center;
}

.bp-result {
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.15), rgba(0, 230, 118, 0.15));
  border: 2px solid #64ffda;
}

.nasdaq-result {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.result-header h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #e0e0e0;
}

.performance-badge {
  display: inline-block;
  padding: 8px 16px;
  background: #64ffda;
  color: #0f1419;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.performance-badge.nasdaq {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.result-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: #64ffda;
  margin-bottom: 15px;
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  color: #b0bec5;
}

.gain {
  color: #00e676 !important;
  font-weight: 600;
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffc107;
  background: rgba(255, 193, 7, 0.2);
  border: 2px solid #ffc107;
  border-radius: 50%;
  width: 60px;
  height: 60px;
}

.shocking-difference {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
  border: 2px solid #ffc107;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  margin: 40px 0;
}

.difference-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.difference-icon {
  font-size: 2rem;
}

.difference-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffc107;
}

.difference-label {
  font-size: 1.2rem;
  color: #e0e0e0;
  font-weight: 600;
}

.difference-explanation {
  color: #b0bec5;
  font-size: 1.1rem;
}

.difference-explanation strong {
  color: #ffc107;
}

.time-machine-cta {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  margin-top: 30px;
}

.detailed-breakdown {
  margin-bottom: 25px;
}

.breakdown-toggle {
  background: linear-gradient(45deg, #ffc107, #ff9800);
  color: #0f1419;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.breakdown-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
}

.cta-text h4 {
  font-size: 1.5rem;
  color: #ffc107;
  margin-bottom: 10px;
  font-weight: 600;
}

.cta-text p {
  color: #b0bec5;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(45deg, #64ffda, #00e676);
  color: #0f1419;
}

.btn-secondary {
  background: transparent;
  color: #64ffda;
  border: 2px solid #64ffda;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(100, 255, 218, 0.3);
}

.bottom-insight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  max-width: 700px;
  margin: 40px auto 0;
}

.insight-icon {
  font-size: 1.5rem;
}

.bottom-insight p {
  margin: 0;
  color: #e0e0e0;
  font-size: 1rem;
}

.bottom-insight strong {
  color: #64ffda;
}

/* FORBEDRET MODAL STYLING - BREDERE OG MER LESBAR */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
  border: 2px solid rgba(255, 193, 7, 0.4);
  border-radius: 24px;
  width: 100%;
  max-width: 1600px; /* Økt til 1600px for enda bedre tabellutnyttelse */
  max-height: 95vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.modal-overlay.show .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 35px 40px 25px 40px;
  border-bottom: 1px solid rgba(255, 193, 7, 0.25);
  position: relative;
  text-align: center;
  background: rgba(255, 193, 7, 0.05);
}

.modal-header h3 {
  font-size: 2.2rem;
  color: #ffc107;
  margin-bottom: 12px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.modal-header p {
  color: #b0bec5;
  font-size: 1.2rem;
  margin: 0;
  font-weight: 400;
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 30px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #b0bec5;
  cursor: pointer;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffc107;
  transform: rotate(90deg);
}

.modal-content {
  padding: 40px;
}

/* Kompakt sammendrag - kun viktigste info */
.modal-input-summary {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.input-summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  border: 1px solid rgba(255, 193, 7, 0.25);
}

.summary-icon {
  font-size: 1.1rem;
  color: #ffc107;
}

.summary-text {
  color: #e0e0e0;
  font-size: 0.95rem;
  font-weight: 500;
}

.summary-text strong {
  color: #ffc107;
}

/* Kompakt resultater - fokus på forskjellen */
.modal-results-overview {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.overview-card {
  padding: 20px 25px;
  border-radius: 16px;
  text-align: center;
  min-width: 200px;
}

.nasdaq-card {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.bp-card {
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.2), rgba(0, 230, 118, 0.2));
  border: 2px solid #64ffda;
  box-shadow: 0 0 25px rgba(100, 255, 218, 0.2);
}

.card-header {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #b0bec5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bp-card .card-header {
  color: #64ffda;
}

.card-amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e0e0e0;
  margin-bottom: 5px;
  line-height: 1.1;
}

.bp-card .card-amount {
  color: #64ffda;
}

.card-gain {
  font-size: 0.8rem;
  color: #00e676;
  font-weight: 600;
}

.overview-divider {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffc107;
  background: rgba(255, 193, 7, 0.25);
  border: 2px solid #ffc107;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SUPER AGGRESSIV MODAL OVERRIDE - MAKSIMAL BREDDE OG LESBARHET */

/* Modal overlay - maksimal bredde */
#yearlyBreakdownModal.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  z-index: 10000 !important;
  display: none !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 10px !important; /* Redusert padding for mer plass */
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

#yearlyBreakdownModal.modal-overlay.show {
  display: flex !important;
  opacity: 1 !important;
}

/* Modal container - maksimal størrelse */
#yearlyBreakdownModal .modal-container {
  background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%) !important;
  border: 2px solid rgba(255, 193, 7, 0.4) !important;
  border-radius: 20px !important;
  width: 98% !important; /* Økt fra 100% til 98% for litt margin */
  max-width: 2000px !important; /* Økt fra 1600px til 2000px */
  max-height: 98vh !important; /* Økt fra 95vh til 98vh */
  overflow-y: auto !important;
  transform: scale(0.9) !important;
  transition: transform 0.3s ease !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6) !important;
  margin: auto !important;
  position: relative !important;
}

#yearlyBreakdownModal.modal-overlay.show .modal-container {
  transform: scale(1) !important;
}

/* Modal content - full bredde uten begrensninger */
#yearlyBreakdownModal .modal-content {
  background-color: transparent !important;
  padding: 20px 30px !important; /* Redusert vertikal padding */
  border-radius: 0 !important;
  width: 100% !important; /* KRITISK: Full bredde */
  max-width: none !important; /* KRITISK: Ingen max-width begrensning */
  min-width: unset !important;
  position: static !important;
  box-shadow: none !important;
  border: none !important;
  color: #ffffff !important;
  transform: none !important;
  transition: none !important;
  margin: 0 !important;
  /* Overstyrer ALT fra den gamle CSS-en */
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
}

/* Modal header - kompakt */
#yearlyBreakdownModal .modal-header {
  padding: 25px 30px 15px 30px !important;
  border-bottom: 1px solid rgba(255, 193, 7, 0.25) !important;
  position: relative !important;
  text-align: center !important;
  background: rgba(255, 193, 7, 0.05) !important;
}

#yearlyBreakdownModal .modal-header h3 {
  font-size: 2rem !important; /* Økt fra 1.8rem */
  color: #ffc107 !important;
  margin-bottom: 8px !important;
  font-weight: 600 !important;
}

#yearlyBreakdownModal .modal-header p {
  color: #b0bec5 !important;
  font-size: 1.1rem !important; /* Økt fra 1rem */
  margin: 0 !important;
}

/* Input summary - større og bredere */
#yearlyBreakdownModal .modal-input-summary {
  display: flex !important;
  justify-content: center !important;
  gap: 50px !important; /* Økt fra 40px */
  margin-bottom: 25px !important;
  flex-wrap: wrap !important;
}

#yearlyBreakdownModal .input-summary-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 15px 25px !important; /* Økt padding */
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 25px !important;
  border: 1px solid rgba(255, 193, 7, 0.25) !important;
}

#yearlyBreakdownModal .summary-text {
  color: #e0e0e0 !important;
  font-size: 1.1rem !important; /* Økt fra 0.95rem */
  font-weight: 500 !important;
}

#yearlyBreakdownModal .summary-text strong {
  color: #ffc107 !important;
  font-size: 1.2rem !important; /* Økt font størrelse */
}

/* Table section - maksimal bredde og større tekst */
#yearlyBreakdownModal .modal-table-section h4 {
  color: #64ffda !important;
  font-size: 2.2rem !important; /* Økt fra 1.8rem */
  margin-bottom: 25px !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-shadow: 0 0 10px rgba(100, 255, 218, 0.3) !important;
}

/* Table container - full bredde */
#yearlyBreakdownModal .modal-table-container {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 2px solid rgba(255, 193, 7, 0.25) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  max-height: 700px !important; /* Økt fra 600px */
  overflow-y: auto !important;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3) !important;
  margin: 0 !important; /* Ingen auto margin som begrenser bredde */
  max-width: none !important; /* Ingen max-width begrensning */
  width: 100% !important; /* Full bredde */
}

/* Table - mye større tekst og bedre spacing */
#yearlyBreakdownModal .modal-yearly-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 1.3rem !important; /* Økt fra 1.1rem til 1.3rem */
  table-layout: fixed !important;
}

/* Table headers - større og tydeligere */
#yearlyBreakdownModal .modal-yearly-table th {
  background: rgba(255, 193, 7, 0.2) !important;
  color: #ffc107 !important;
  padding: 25px 20px !important; /* Økt padding betydelig */
  text-align: center !important;
  font-weight: 700 !important;
  border-bottom: 3px solid rgba(255, 193, 7, 0.4) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1 !important;
  font-size: 1.4rem !important; /* Økt fra 1.2rem til 1.4rem */
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Table cells - mye større tekst og spacing */
#yearlyBreakdownModal .modal-yearly-table td {
  padding: 22px 20px !important; /* Økt padding betydelig */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e0e0e0 !important;
  text-align: center !important;
  font-size: 1.2rem !important; /* Økt fra 1.05rem til 1.2rem */
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

/* Forbedrede kolonnebredder for større skjerm */
#yearlyBreakdownModal .modal-yearly-table th:nth-child(1) { width: 10% !important; } /* År */
#yearlyBreakdownModal .modal-yearly-table th:nth-child(2) { width: 15% !important; } /* NASDAQ % */
#yearlyBreakdownModal .modal-yearly-table th:nth-child(3) { width: 15% !important; } /* BP % */
#yearlyBreakdownModal .modal-yearly-table th:nth-child(4) { width: 25% !important; } /* NASDAQ Total */
#yearlyBreakdownModal .modal-yearly-table th:nth-child(5) { width: 25% !important; } /* BP Total */
#yearlyBreakdownModal .modal-yearly-table th:nth-child(6) { width: 20% !important; } /* Akkumulert diff */

/* Table colors - tydeligere */
#yearlyBreakdownModal .modal-positive {
  color: #00e676 !important;
  font-weight: 700 !important;
  text-shadow: 0 0 5px rgba(0, 230, 118, 0.3) !important;
}

#yearlyBreakdownModal .modal-negative {
  color: #ff5252 !important;
  font-weight: 700 !important;
  text-shadow: 0 0 5px rgba(255, 82, 82, 0.3) !important;
}

#yearlyBreakdownModal .modal-bp-highlight {
  color: #64ffda !important;
  font-weight: 700 !important;
  text-shadow: 0 0 5px rgba(100, 255, 218, 0.3) !important;
}

#yearlyBreakdownModal .modal-difference-col {
  color: #ffc107 !important;
  font-weight: 700 !important;
  text-shadow: 0 0 5px rgba(255, 193, 7, 0.3) !important;
}

/* Footer - større knapper */
#yearlyBreakdownModal .modal-footer {
  padding: 25px 30px 30px 30px !important;
  border-top: 1px solid rgba(255, 193, 7, 0.25) !important;
  display: flex !important;
  gap: 25px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  background: rgba(255, 193, 7, 0.05) !important;
}

#yearlyBreakdownModal .modal-cta-btn {
  background: linear-gradient(45deg, #64ffda, #00e676) !important;
  color: #0f1419 !important;
  border: none !important;
  padding: 18px 45px !important; /* Økt padding */
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important; /* Økt font størrelse */
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

#yearlyBreakdownModal .modal-close-btn {
  background: transparent !important;
  color: #b0bec5 !important;
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
  padding: 18px 40px !important; /* Økt padding */
  border-radius: 30px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  font-size: 1.2rem !important; /* Økt font størrelse */
}

/* Responsive - behold store størrelser så lenge som mulig */
@media (max-width: 1400px) {
  #yearlyBreakdownModal .modal-container {
    max-width: 95% !important;
  }
  
  #yearlyBreakdownModal .modal-yearly-table {
    font-size: 1.2rem !important;
  }
  
  #yearlyBreakdownModal .modal-yearly-table th {
    font-size: 1.3rem !important;
    padding: 20px 15px !important;
  }
  
  #yearlyBreakdownModal .modal-yearly-table td {
    font-size: 1.1rem !important;
    padding: 18px 15px !important;
  }
}

@media (max-width: 1000px) {
  #yearlyBreakdownModal .modal-yearly-table {
    font-size: 1.1rem !important;
  }
  
  #yearlyBreakdownModal .modal-yearly-table th {
    font-size: 1.2rem !important;
    padding: 18px 12px !important;
  }
  
  #yearlyBreakdownModal .modal-yearly-table td {
    font-size: 1rem !important;
    padding: 15px 12px !important;
  }
}

@media (max-width: 768px) {
  #yearlyBreakdownModal .modal-container {
    width: 95% !important;
    max-width: 95% !important;
  }
  
  #yearlyBreakdownModal .modal-content {
    padding: 15px 20px !important;
  }
  
  #yearlyBreakdownModal .modal-yearly-table {
    font-size: 0.95rem !important;
  }
  
  #yearlyBreakdownModal .modal-yearly-table th {
    font-size: 1rem !important;
    padding: 12px 8px !important;
  }
  
  #yearlyBreakdownModal .modal-yearly-table td {
    font-size: 0.9rem !important;
    padding: 10px 8px !important;
  }
}

/* Sikre at ingenting overstyrer disse reglene */
#yearlyBreakdownModal * {
  box-sizing: border-box !important;
}

/* Scrollbar styling */
#yearlyBreakdownModal .modal-container::-webkit-scrollbar,
#yearlyBreakdownModal .modal-table-container::-webkit-scrollbar {
  width: 14px !important;
}

#yearlyBreakdownModal .modal-container::-webkit-scrollbar-track,
#yearlyBreakdownModal .modal-table-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 7px !important;
}

#yearlyBreakdownModal .modal-container::-webkit-scrollbar-thumb,
#yearlyBreakdownModal .modal-table-container::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.4), rgba(255, 193, 7, 0.6)) !important;
  border-radius: 7px !important;
}

#yearlyBreakdownModal .modal-container::-webkit-scrollbar-thumb:hover,
#yearlyBreakdownModal .modal-table-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.6), rgba(255, 193, 7, 0.8)) !important;
}

/* Graf container - IDENTISK SOM OPPRINNELIG */
.graf-container {
    text-align: center;
    margin: 0.8rem 0;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 167, 225, 0.3);
    position: relative; /* For loading state */
}

/* Chart canvas - STØRRE FOR Å MATCHE OPPRINNELIG SVG STØRRELSE */
#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;
}

/* Loading states - MINIMAL STYLING */
.chart-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.chart-loading.hidden {
    display: none;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 167, 225, 0.2);
    border-left: 3px solid #00A7E1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.chart-loading p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Error fallback - matcher stil */
.chart-error {
    color: #ff5252;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

/* ============================================================================
   RESPONSIVE DESIGN FIXES - PRESERVES 3440x1440 EXPERIENCE
   ============================================================================ */

/* Desktop intermediate - 1920px to 3440px (HIGHEST PRIORITY)
   Fixes for standard desktop screens while preserving ultrawide */
@media (max-width: 3440px) and (min-width: 1920px) {
    /* CRITICAL: Fix chart height for 1920px viewport */
    #mainPerformanceChart {
        height: 25vh !important;  /* down from 40vh */
        min-height: 350px !important;  /* down from 600px - saves 250px! */
        max-height: 500px !important;  /* add max height */
    }
    
    /* CRITICAL: Reduce massive vertical padding for viewport fit */
    .roi-section {
        padding: 3rem 0; /* down from 6rem - saves 96px height */
    }
    
    .course-section {
        padding: 3rem 0; /* down from 6rem - saves 96px height */
    }
    
    .learning-incentive {
        padding: 3rem 0; /* down from 5rem - saves 64px height */
    }
    
    .newsletter-section {
        padding: 2.5rem 0; /* down from 4rem - saves 48px height */
    }
    
    /* Reduce hero section padding too */
    .hero h1 {
        padding: 1.5rem 0; /* down from 2rem */
    }
    
    /* Scale down large text elements slightly */
    .hero h1::after {
    .course-title {
        font-size: 2.2rem; /* down from 2.5rem/3rem */
    }
    
    .learning-incentive h2 {
        font-size: 2rem; /* down from 2.2rem */
    }
    
    /* Reduce padding on large containers */
    .calculator {
        padding: 3rem; /* down from 4rem */
    }
    
    /* Adjust metric cards */
    .metric {
        padding: 2rem; /* down from 2.5rem */
    }
    
    .metric .value {
        font-size: 2.2rem; /* down from 2.5rem */
    }
    
    /* Reduce grid gaps slightly */
    .course-value-props,
    .modules-grid {
        gap: 1.5rem; /* down from 2rem */
    }
    
    /* Price display */
    .price-highlight {
        font-size: 2.5rem; /* down from 3rem */
    }
}

/* Large desktop - 1200px to 1920px (MEDIUM PRIORITY)
   More significant layout changes for smaller desktops */
@media (max-width: 1920px) and (min-width: 1200px) {
    /* Grid layout adjustments - keep better proportions for 1920px */
    .course-value-props {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 1300px; /* add max-width to prevent over-stretching */
        margin: 0 auto;
    }
    
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 1300px;
        margin: 0 auto;
    }
    
    /* Benefits grid stay 4 columns on 1920px since we have more width */
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1300px;
        margin: 0 auto;
    }
    
    /* Newsletter content - keep side by side on 1920px */
    .newsletter-content {
        grid-template-columns: 1fr 1fr; /* keep side by side */
        gap: 2rem;
        max-width: 1300px;
    }
    
    /* ROI calculator keep 3 columns on wider 1920px */
    .results {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 1300px;
        margin: 0 auto;
    }
    
    /* Customer segments keep 2 columns on 1920px */
    .customer-segments {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1300px;
        margin: 0 auto;
    }
    
    /* Less aggressive font size reduction */
    .roi-section h2,
    .course-title {
        font-size: 2.1rem; /* less aggressive than 2rem */
    }
    
    .calculator {
        padding: 3rem; /* keep more generous padding */
        max-width: 1200px;
    }
}

/* Tablet landscape - 968px to 1200px */
@media (max-width: 1200px) and (min-width: 968px) {
    /* All major grids to single column */
    .course-value-props,
    .modules-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Preview examples single column */
    .preview-examples {
        grid-template-columns: 1fr;
    }
    
    /* Course actions vertical */
    .main-course-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .course-btn {
        width: 300px;
    }
    
    /* Time machine calculator adjustments */
    .input-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison-results {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vs-divider {
        order: 2;
        margin: 20px auto;
    }
}

/* Mobile responsive - Enhanced */
@media (max-width: 768px) {
    /* MOBILE CHART OPTIMIZATION: Ensure chart fits in viewport */
    #mainPerformanceChart,
    .results-chart {
        height: 300px !important;  /* Consistent height for mobile */
        min-height: 300px !important;
        max-height: 300px !important;
    }
    
    /* MOBILE RESULTATER SECTION: Make chart prominently visible by hiding header content */
    .resultater {
        padding: 0.5rem 0; /* minimal padding */
        margin-top: 0;
    }
    
    /* KOMPAKT HEADER ALLTID SYNLIG - ENKEL LØSNING */
    .resultater h2 {
        font-size: 1.2rem !important; /* Kompakt størrelse */
        margin: 0.3rem 0 !important; /* Minimal margin */
        /* Fjernet: cursor, background, border, flex, padding etc. */
    }
    
    .result-intro {
        font-size: 0.9rem !important; /* Mindre intro-tekst */
        margin: 0.3rem 0 !important; /* Kompakt margin */
        /* Fjernet: max-height, overflow, opacity, transition etc. */
    }
    
    /* MOBILE GRAF CONTAINER: Make chart the star of the show */
    .graf-container {
        margin: 0.5rem 0 0.8rem; /* optimized margins */
        padding: 0.5rem; /* less padding for more chart space */
    }
    
    /* Additional mobile optimizations */
    .time-machine-section {
        padding: 20px;
    }
    
    .time-machine-header h3 {
        font-size: 1.5rem;
    }
    
    .shocking-difference {
        padding: 20px;
    }
    
    .difference-amount {
        font-size: 2rem;
    }
    
    /* MOBILE STATS OPTIMIZATION: Move stats closer to chart */
    .stats-grid {
        gap: 0.4rem; /* tighter grid for mobile */
        margin: 0.8rem 0 0.5rem; /* more space above, less below */
        grid-template-columns: 1fr; /* Stack on mobile for better readability */
    }
    
    .stat-box {
        padding: 0.8rem; /* compact padding */
        min-height: 90px; /* smaller boxes */
    }
    
    .stat-box h3 {
        font-size: 0.8rem; /* smaller heading */
        margin-bottom: 0.4rem;
    }
    
    .big-number {
        font-size: 1.4rem; /* readable but not too large */
    }
    
    .comparison, .date {
        font-size: 0.75rem; /* smaller comparison text */
    }
    
    /* CTA SECTION: Keep important but compact */
    .cta-center {
        margin: 0.5rem 0; /* reduced margins */
    }
    
    .btn {
        padding: 0.7rem 1.4rem; /* compact button sizing */
        font-size: 0.95rem;
    }
    
    .disclaimer {
        font-size: 0.75rem; /* smaller disclaimer */
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    #mainPerformanceChart {
        height: 50vh !important;
        min-height: 300px !important;
    }
    
    /* ENDA MINDRE PÅ SMÅ SKJERMER */
    .resultater h2 {
        font-size: 1.1rem !important; /* Enda mindre på små skjermer */
        margin: 1.2rem 0 !important; /* Enda mindre margin */
    }
    
    .result-intro {
        font-size: 0.85rem !important;
    }
    
    /* OPTIMIZE CHART CONTAINER FOR TINY SCREENS */
    .graf-container {
        margin: 0.3rem 0;
        padding: 0.3rem;
    }
    
    /* CHART HEIGHT FOR TINY SCREENS */
    #mainPerformanceChart,
    .results-chart {
        height: 250px !important; /* Even shorter for very small screens */
        min-height: 250px !important;
        max-height: 250px !important;
    }
    
    /* Additional small mobile optimizations */
    .time-machine-header h3 {
        font-size: 1.3rem;
    }
    
    .difference-amount {
        font-size: 1.8rem;
    }
    
    .input-group span {
        font-size: 1.2rem;
    }
}

/* Ultra-wide screen optimization (for screens larger than 3440px) */
@media (min-width: 3441px) {
    /* Optional: Add slight improvements for even larger screens */
    .calculator,
    .newsletter-content {
        max-width: 1400px;
    }
    
    .roi-section .container,
    .course-section .container {
        max-width: 1600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    header .container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        padding: 0 1rem;
    }

    .header-controls.left {
        justify-self: start;
        display: flex;
        align-items: center;
    }

    .header-controls.right {
        justify-self: end;
        display: flex;
        align-items: center;
    }

    .logo {
        justify-self: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-logo {
        height: 60px;
    }

    nav {
        display: none;
    }

    nav.mobile-nav-active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 220px;
        background: #041C2C;
        z-index: 1000;
        border-top: 1px solid rgba(0, 167, 225, 0.3);
        padding: 1rem;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
    }

    nav.mobile-nav-active ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        margin: 0;
    }

    nav.mobile-nav-active ul li {
        width: 100%;
        text-align: left;
        margin: 0;
        border-bottom: 1px solid rgba(0, 167, 225, 0.1);
    }

    nav.mobile-nav-active ul li:last-child {
        border-bottom: none;
    }

    nav.mobile-nav-active ul li a {
        display: block;
        width: 100%;
        padding: 1rem;
    }

    nav.mobile-nav-active ul li a:hover {
        background-color: rgba(0, 167, 225, 0.1);
        border-bottom: none;
    }

    .hamburger-btn {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 0;
    }

    .hamburger-btn span,
    .hamburger-btn::before,
    .hamburger-btn::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2.5px;
        background-color: #00A7E1;
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }

    .hamburger-btn::before {
        transform: translateY(-8px);
    }

    .hamburger-btn::after {
        transform: translateY(8px);
    }

    .hamburger-btn.active span {
        transform: scaleX(0);
    }

    .hamburger-btn.active::before {
        transform: translateY(0) rotate(45deg);
    }

    .hamburger-btn.active::after {
        transform: translateY(0) rotate(-45deg);
    }

    .hero h1 {
        cursor: pointer;
        position: relative;
    }

    .hero h1::after {
        content: '▼';
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.6;
    }

    .hero.hero-expanded h1::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .hero p,
    .hero .hero-cta {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateY(-10px);
        margin: 0;
        padding: 0;
        transition: all 0.4s ease-out;
    }

    .hero.hero-expanded p,
    .hero.hero-expanded .hero-cta {
        max-height: 200px;
        opacity: 1;
        transform: translateY(0);
        margin-top: 1rem;
    }

    .hero.hero-expanded .hero-cta {
        margin-top: 1.5rem;
    }

    /* --- MOBILE LOGIN MODAL --- */
    .modal {
        padding: 10px;
    }

    .modal-content-1 {
        padding: 15px;
        width: 90%;
        max-width: 400px;
    }

    #loginForm {
        gap: 10px;
    }

    #loginForm h2 {
        font-size: 20px;
    }

    #loginForm input {
        padding: 10px;
        font-size: 14px;
    }

    #loginForm button {
        padding: 10px;
        font-size: 14px;
    }

    .resultater {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.6s ease;
    }

    .resultater.visible {
        max-height: 2000px; /* Sørg for at det er nok til alt innholdet */
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cookie modal */
/* Cookie Consent Banner Styling */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50; /* Mørk blågrå bakgrunn */
    color: #ecf0f1; /* Lys grå tekst */
    z-index: 1000;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-banner-content h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
}

.cookie-banner-content p {
    margin: 0;
    flex-grow: 1;
}

.cookie-banner-content a {
    color: #4fd1c5; /* Høyere kontrast mot mørk bakgrunn */
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-link {
    background: none;
    border: none;
    color: #ecf0f1;
    text-decoration: underline;
    cursor: pointer;
    font-size: 1rem;
}

/* Cookie Settings Modal Styling */
/* --- Generelle Modal/Banner Stiler (Base for gjenbruk) --- */
.bp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); /* Mørkere overlay for bedre kontrast */
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Skjult som standard */
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bp-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.bp-modal-container {
    background: #1a202c; /* Mørk bakgrunn som matcher sidens stil */
    color: #e2e8f0; /* Lys tekst for lesbarhet */
    border-radius: 8px;
    width: 90%;
    max-width: 550px; /* Litt bredere for innhold */
    box-shadow: 0 8px 30px rgba(0,0,0,0.6); /* Mer fremtredende skygge */
    padding: 25px;
    transform: translateY(20px); /* Liten animasjon ved åpning */
    transition: transform 0.3s ease;
}

.bp-modal-overlay.show .bp-modal-container {
    transform: translateY(0);
}

.bp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #2d3748; /* Mørkere skillelinje */
}

.bp-modal-header h3 {
    margin: 0;
    font-size: 1.6rem;
    color: #4fd1c5; /* Fremhevet tittel farge */
}

.bp-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #e2e8f0; /* Lys farge for lukkeknapp */
    cursor: pointer;
    transition: color 0.2s ease;
}

.bp-modal-close:hover {
    color: #4fd1c5; /* Hover farge */
}

.bp-modal-content-1 {
    padding-top: 0; /* Justert padding */
    padding-bottom: 20px;
}

.bp-modal-footer {
    border-top: 1px solid #2d3748; /* Mørkere skillelinje */
    padding-top: 20px;
    text-align: right;
    display: flex; /* Justert for å sentrere knapper */
    justify-content: flex-end; /* Knapper til høyre som før */
    gap: 10px; /* Mellomrom mellom knapper */
}

/* --- Knapper (gjenbrukbare stiler) --- */
.bp-btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none; /* For lenker som også bruker dette */
    display: inline-block;
}

.bp-btn-primary {
    background-color: #4fd1c5; /* BP-grønn */
    color: #1a202c; /* Mørk tekst på grønn knapp */
    border: 1px solid #4fd1c5;
}

.bp-btn-primary:hover {
    background-color: #38b2ac;
    border-color: #38b2ac;
}

.bp-btn-secondary {
    background-color: transparent;
    color: #4fd1c5; /* Grønn tekst */
    border: 1px solid #4fd1c5;
}

.bp-btn-secondary:hover {
    background-color: #4fd1c5;
    color: #1a202c;
}

.bp-btn-tertiary { /* For "Innstillinger" eller "Kun nødvendig" */
    background: none;
    color: #e2e8f0; /* Lys tekst */
    border: 1px solid #4a5568; /* Myk ramme */
}

.bp-btn-tertiary:hover {
    background-color: #4a5568;
    color: #e2e8f0;
}


/* --- Cookie Banner Spesifikke Stiler --- */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a202c; /* Mørk bakgrunn */
    color: #e2e8f0; /* Lys tekst */
    box-shadow: 0 -4px 15px rgba(0,0,0,0.4);
    z-index: 1000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Juster innhold til venstre */
    gap: 15px; /* Mellomrom mellom tekst og knapper */
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%); /* Start under skjermen */
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

#cookie-consent-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Glir inn nedenfra */
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px; /* Matcher innhold på siden */
    margin: 0 auto; /* Sentrer innholdet */
    gap: 15px;
}

.cookie-banner-text {
    flex-grow: 1;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cookie-banner-text h4 {
    color: #4fd1c5;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cookie-banner-text a {
    color: #4fd1c5; /* Fremhevet lenke */
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap; /* Tilpasser seg mindre skjermer */
    gap: 10px;
    justify-content: flex-end; /* Knapper til høyre på større skjermer */
    width: 100%; /* Sørger for at den tar full bredde for flex-wrap */
}

/* --- Cookie Innstillinger Modal Spesifikke Stiler --- */
#cookie-settings-modal .bp-modal-container {
    padding: 30px; /* Litt mer padding for innstillinger */
}

.cookie-setting-category {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2d3748; /* Mørkere skillelinje */
}
.cookie-setting-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-setting-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-setting-header label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e8f0;
    cursor: pointer; /* Indikerer interaksjon */
}

.cookie-setting-description {
    font-size: 0.9rem;
    color: #a0aec0; /* Mykere gråfarge */
    margin-top: 5px;
    line-height: 1.5;
}

input[type="checkbox"] {
    appearance: none; /* Fjerner standard nettleser-utseende */
    width: 24px;
    height: 24px;
    border: 2px solid #4a5568; /* Rammefarge */
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    outline: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

input[type="checkbox"]:checked {
    background-color: #4fd1c5; /* Grønn når krysset av */
    border-color: #4fd1c5;
}

input[type="checkbox"]:checked::after {
    content: '✓'; /* Hake-symbol */
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a202c; /* Mørk farge på haken */
    font-size: 1.2rem;
    font-weight: bold;
}

input[type="checkbox"]:focus {
    box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.5); /* Fokus-effekt */
}

/* Deaktiver Necessary checkbox */
#cookie-necessary {
    cursor: not-allowed;
    background-color: #4a5568; /* Mørkere bakgrunn for å indikere deaktivert */
    border-color: #4a5568;
}

#cookie-necessary:checked::after {
    color: #e2e8f0; /* Lysere hake på deaktivert nødvendig */
}

/* Responsivitet for banner */
@media (min-width: 768px) {
    #cookie-consent-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 20px 40px; /* Mer padding på større skjermer */
    }

    .cookie-banner-content {
        flex-direction: row;
        align-items: center;
        gap: 25px;
    }
    
    .cookie-banner-actions {
        justify-content: flex-end; /* Sikre at knapper er til høyre */
        width: auto; /* Ikke full bredde når nok plass */
    }
}

/* Legg dette til i hovedside.css (eller style.css) – bygger på dine eksisterende modal-stiler */

#betaModal .modal-content-1 {
  background-color: #041C2C;  /* Ditt header/modal-bakgrunn */
  border: 1px solid #00A7E1;  /* Ditt teal border */
  color: #ffffff;  /* Hvit tekst som dine modals */
  padding: 25px;  /* Matcher din modal-padding */
  max-width: 400px;  /* Som din logg inn-modal */
}

#betaModal h2 {
  color: #00A7E1;  /* Ditt heading-farge */
  font-size: 24px;  /* Matcher din modal h2 */
  text-align: center;
  margin: 0 0 15px 0;
}

#betaModal p {
  font-size: 16px;  /* Standard paragraf-størrelse */
  color: #ffffff;
  margin-bottom: 15px;
}

#joinBetaBtn {
  padding: 12px;  /* Matcher dine knapper */
  background-color: #00A7E1;  /* Ditt primary knappfarge */
  color: white;
  border: none;
  border-radius: 6px;  /* Matcher din radius */
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.2s ease;
  width: 100%;  /* Full bredde for bedre touch */
}

#joinBetaBtn:hover {
  background-color: #0090c1;  /* Din hover-effekt */
}

.small-text {
  font-size: 14px;  /* Som din errorMessage */
  color: rgba(255, 255, 255, 0.5);  /* Lys grå som placeholders */
  text-align: center;
  margin-top: 10px;
}

.small-text a {
  color: #00A7E1;  /* Lenke matcher ditt tema */
  text-decoration: underline;
}

@media (max-width: 768px) {
  #betaModal .modal-content-1 {
    max-width: 90%;  /* Bedre på mobil, matcher dine queries */
    padding: 20px;
  }
}

/* Additional CSS classes to replace inline styles */

/* Disabled button states */
.button-disabled {
    opacity: 0.6;
    cursor: default;
}

/* Toast message */
#feedback-toast {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

#feedback-toast.show {
    opacity: 1;
}

/* Newsletter prompt - BP Finans Themed */
#newsletter-prompt {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #041C2C;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #00A7E1;
    color: #ffffff;
    z-index: 10001;
    max-width: 400px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

#newsletter-prompt h3 {
    margin-top: 0;
    color: #00A7E1;
    font-size: 24px;
    margin-bottom: 15px;
}

#newsletter-prompt p {
    margin: 15px 0;
    color: #ffffff;
    line-height: 1.4;
    font-size: 16px;
}

.newsletter-button-container {
    margin-top: 20px;
}

.newsletter-subscribe-btn {
    background: #00A7E1;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.newsletter-subscribe-btn:hover {
    background: #0090c1;
}

.newsletter-dismiss-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(0, 167, 225, 0.3);
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

.newsletter-dismiss-btn:hover {
    background: rgba(0, 167, 225, 0.1);
    border-color: #00A7E1;
}

/* Modal backdrop for newsletter */
.newsletter-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
}

/* Pulse animation for newsletter email input */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 167, 225, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(0, 167, 225, 0.2); }
    100% { box-shadow: 0 0 0 0 rgba(0, 167, 225, 0); }
}
}
