:root {
    --bg-primary: #05070a;
    --bg-secondary: #0a0e17;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --electric-blue: #0ea5e9;
    --neon-purple: #8b5cf6;
    --arctic-cyan: #22d3ee;
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-hover: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, #0ea5e9, #6366f1, #8b5cf6, #22d3ee);
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.1), transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.05), transparent 50%);
    z-index: -2;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-padding {
    padding: 6rem 0;
}

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

.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    background: var(--glass-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(135deg, #22d3ee, #8b5cf6, #6366f1, #0ea5e9);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
    border-radius: inherit;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--electric-blue);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7) contrast(1.2);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

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

/* Startup Cards */
.startup-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.startup-logo-wrapper {
    height: 60px;
    width: 60px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
}

.startup-logo-wrapper img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.startup-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(14, 165, 233, 0.1);
    color: var(--electric-blue);
    margin-bottom: 1rem;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.startup-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.startup-card p { color: var(--text-secondary); margin-bottom: 1.5rem; flex-grow: 1; }
.startup-card .btn { width: 100%; margin-top: auto; }

/* About / Stats */
.stat-box {
    text-align: center;
    padding: 2rem;
}
.stat-num {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    background: var(--bg-secondary);
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.95rem; }
.footer-links a:hover { color: var(--electric-blue); }

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Internal Page Headers */
.page-header {
    padding: 10rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    background: radial-gradient(ellipse at top, rgba(14, 165, 233, 0.15), transparent 70%);
}

.page-header h1 { font-size: 3rem; }
.page-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* Startup Detail Page */
.detail-hero {
    padding: 10rem 0 5rem;
    position: relative;
}
.detail-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.detail-content h2 { margin-top: 2rem; margin-bottom: 1rem; color: var(--electric-blue); }
.detail-content p { margin-bottom: 1.5rem; color: var(--text-secondary); }
.detail-sidebar .glass-card { margin-bottom: 2rem; }
.detail-sidebar h4 { margin-bottom: 1rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 0.5rem; }
.sidebar-list { list-style: none; }
.sidebar-list li { margin-bottom: 1rem; color: var(--text-secondary); font-size: 0.95rem; display: flex; justify-content: space-between;}
.sidebar-list span { color: var(--text-primary); font-weight: 500;}

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-secondary); }
.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--electric-blue);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* Map Placeholder */
.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}
.map-placeholder::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background-image: url('images/oslo-map-grayscale-background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    filter: grayscale(100%) contrast(1.2);
}
.map-pin {
    width: 20px; height: 20px;
    background: var(--electric-blue);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px var(--electric-blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14,165,233, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(14,165,233, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14,165,233, 0); }
}

/* Accordion FAQ */
.accordion { margin-top: 2rem; }
.accordion-item {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}
.accordion-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: left;
}
.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-secondary);
}
.accordion-item.active .accordion-content {
    padding: 0 1.5rem 1.5rem;
    max-height: 300px;
}
.accordion-icon {
    transition: transform 0.3s ease;
}
.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    color: var(--electric-blue);
}

/* Charts Placeholder for Reports */
.chart-container {
    height: 300px;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--glass-border);
    border-left: 1px solid var(--glass-border);
    margin-top: 2rem;
}
.bar {
    flex: 1;
    background: var(--gradient);
    border-radius: 4px 4px 0 0;
    position: relative;
    opacity: 0.8;
    transition: var(--transition);
}
.bar:hover {
    opacity: 1;
    box-shadow: 0 0 15px var(--electric-blue);
}
.bar span {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Cursor Glow & Scroll Progress */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: opacity 0.3s;
}
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient);
    z-index: 9999;
    box-shadow: 0 0 10px var(--electric-blue);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .content-grid { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .hamburger { display: flex; z-index: 1001; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 100%; height: 100vh;
        background: rgba(5,7,10,0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        padding: 2rem;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.5rem; }
    
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero { text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-btns { justify-content: center; }
}