/* =========================================
   1. CORE VARIABLES & RESET (GLOBAL)
   ========================================= */
   :root {
    --bg-body: #fbfbfd;
    --text-main: #1d1d1f;
    --text-gray: #86868b;
    --nexus-orange: #ff9500;
    --studio-blue: #007aff; 
    --core-purple: #5e5ce6;
    --growth-green: #34c759;
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-blur: blur(20px);
    --radius-card: 32px;
    --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
    
    --max-width: 1200px;
    --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
    --font-mono: "SF Mono", "Menlo", monospace;
}

::selection { background: rgba(0, 122, 255, 0.2); color: #1d1d1f; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    background-color: var(--bg-body);
    font-family: var(--font-stack);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    display: flex; flex-direction: column; min-height: 100vh;
}

a { text-decoration: none !important; color: inherit; transition: opacity 0.2s; }
button { font-family: inherit; border: none; cursor: pointer; text-decoration: none !important; outline: none; }
img, video { max-width: 100%; height: auto; display: block; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c1c1c5; border-radius: 5px; border: 2px solid var(--bg-body); }

/* =========================================
   2. TYPOGRAPHY & UTILITIES
   ========================================= */
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-red { color: #ff2d55; }
.text-nexus-orange { color: var(--nexus-orange); }
.text-gray { color: #86868b; }
.bg-white { background: #fff; }

.mt-10 { margin-top: 10px; }
.mt-100 { margin-top: 100px; }
.mb-40 { margin-bottom: 40px; }

.font-48 { font-size: 48px; }
.font-20 { font-size: 20px; }
.font-14 { font-size: 14px; }
.weight-800 { font-weight: 800; }
.weight-600 { font-weight: 600; }
.weight-400 { font-weight: 400; }
.weight-300 { font-weight: 300; }
.h-100 { height: 100%; }
.flex-space-between { display: flex; justify-content: space-between; }
.align-center { align-items: center; }

.headline { font-size: clamp(32px, 6vw, 64px); line-height: 1.05; font-weight: 700; margin-bottom: 15px; letter-spacing: -0.03em; text-wrap: balance; }
.subhead { font-size: 21px; font-weight: 400; margin-bottom: 35px; color: #86868b; letter-spacing: -0.01em; line-height: 1.5; text-align: center; }

.shimmer-text {
    background: linear-gradient(90deg, #000 0%, #666 50%, #000 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.reveal-on-scroll { 
    opacity: 0; transform: translateY(40px); 
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform; 
}
.is-visible { opacity: 1; transform: translateY(0); }

/* SECTION CONNECTOR */
.section-connector {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    margin: 60px 0; gap: 15px; opacity: 0.6; position: relative;
}

.section-connector::before {
    content: ''; position: absolute; width: 100%; height: 300px;
    background: radial-gradient(circle, rgba(0,122,255,0.03) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1;
    pointer-events: none;
}

.sc-line { width: 1px; height: 60px; background: linear-gradient(to bottom, transparent, var(--studio-blue), transparent); }
.sc-text { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--studio-blue); font-weight: 600; }

/* =========================================
   3. NAVIGATION
   ========================================= */
.nav-wrapper { position: fixed; top: 20px; left: 0; width: 100%; display: flex; justify-content: center; z-index: 9999; pointer-events: none; }
.vision-nav { 
    pointer-events: auto; background: var(--glass-bg); backdrop-filter: saturate(180%) var(--glass-blur); 
    padding: 8px 12px; border-radius: 100px; display: flex; align-items: center; justify-content: space-between; 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); border: 1px solid rgba(255, 255, 255, 0.4); 
    min-width: 320px; transition: transform 0.3s var(--ease-apple); 
}
.vision-nav:hover { transform: scale(1.02); }
.nav-logo-container { padding: 0 15px 0 10px; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.custom-logo-img { width: 48px; height: 48px; border-radius: 8px; object-fit: contain; margin: -12px -5px -12px 0; }
.nav-logo-text { font-weight: 600; font-size: 15px; letter-spacing: -0.3px; color: #000; }
.desktop-nav-links { display: flex; padding-right: 5px; border-left: 1px solid rgba(0, 0, 0, 0.1); margin-left: 10px; }
.nav-item { background: 0 0; border: none; color: #333; font-size: 13px; font-weight: 500; padding: 10px 18px; border-radius: 20px; cursor: pointer; transition: 0.2s; }
.nav-item:hover { background: rgba(0, 0, 0, 0.05); }
.nav-item.active { background: #1d1d1f; color: #fff; }

.burger-menu-btn { display: none; width: 40px; height: 40px; background: 0 0; border: none; cursor: pointer; position: relative; margin-right: 5px; }
.burger-line { width: 18px; height: 2px; background: #1d1d1f; position: absolute; left: 50%; transform: translateX(-50%); border-radius: 2px; transition: 0.3s var(--ease-apple); }
.top { top: 16px; } .bot { bottom: 16px; }
.burger-menu-btn.active .top { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
.burger-menu-btn.active .bot { bottom: 50%; transform: translate(-50%, 50%) rotate(-45deg); }

.mobile-menu-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(251, 251, 253, .98); 
    backdrop-filter: blur(20px); z-index: 9990; padding: 120px 40px; display: flex; flex-direction: column; 
    gap: 20px; opacity: 0; pointer-events: none; transform: translateY(-20px); transition: 0.4s var(--ease-apple); 
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mm-link { 
    font-size: 28px; font-weight: 600; color: #1d1d1f; text-decoration: none; border-bottom: 1px solid rgba(0, 0, 0, .05); 
    padding-bottom: 20px; opacity: 0; transform: translateY(10px); transition: 0.3s var(--ease-apple);
}
.mobile-menu-overlay.open .mm-link { opacity: 1; transform: translateY(0); }

/* =========================================
   4. STUDIO PAGE SPECIFICS
   ========================================= */
.detail-page { display: block; width: 100%; padding-top: 140px; padding-bottom: 0px; animation: fadePage 0.8s var(--ease-apple); }
@keyframes fadePage { from { opacity: 0; } to { opacity: 1; } }

.detail-hero { text-align: center; max-width: 900px; margin: 0 auto; padding: 0 20px; }

.hero-glow-container { position: relative; width: 100%; max-width: 900px; margin: 0 auto; }
.hero-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 300px; height: 300px; background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 70%);
    filter: blur(40px); z-index: -1; animation: pulseGlow 6s infinite alternate;
}
@keyframes pulseGlow { 0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); } }

.studio-badge-container { position: relative; display: inline-block; margin-bottom: 10px; }
.studio-corner-logo { position: absolute; top: -8px; right: -16px; width: 28px; height: auto; transform: rotate(15deg); filter: drop-shadow(0 2px 5px rgba(0, 122, 255, 0.3)); }
.badge-studio { color: var(--studio-blue); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; }

/* Compare Slider */
.compare-container {
    width: 100%; max-width: 1200px; margin: 0 auto; height: 650px; /* Øget højde til Desktop Hero */
    position: relative;
    border-radius: 32px; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.2);
    background: #fff; 
    cursor: default;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}
.layer-idea { position: absolute; width: 100%; height: 100%; background: #3b5bdb; overflow: hidden; }

/* THE BLUEPRINT STYLE */
.blueprint-bg {
    width: 100%; height: 100%; position: absolute; top: 0; left: 0;
    background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px; display: flex; align-items: center; justify-content: center;
}

/* LAYOUT: Øget højde til 80% for at give plads */
.bp-layout { width: 60%; height: 80%; display: flex; flex-direction: column; gap: 20px; opacity: 0.8; }

.bp-box { border: 2px dashed rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); border-radius: 6px; }
.bp-nav { width: 100%; height: 46px; }

/* HERO SECTION (Concept): Matcher UI section 1:1 */
.bp-section { 
    flex: 2; /* Gør den større på desktop */
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    gap: 25px; /* Mere luft mellem elementer */
    border: 2px dashed rgba(255,255,255,0.6); border-radius: 20px; 
    padding: 40px 20px; /* Mere luft top/bund */
}
.bp-title { width: 60%; height: 30px; border-style: solid; background: rgba(255,255,255,0.2); border-color: transparent; }
.bp-sub { width: 40%; height: 15px; border: none; background: rgba(255,255,255,0.15); }
.bp-btn { width: 120px; height: 40px; border-radius: 20px; border-style: solid; }

.bp-row { display: flex; gap: 15px; height: 130px; }
.bp-card { flex: 1; }

/* =========================================
   EXTREME REAL UI STYLE ("Wauw" Effect)
   ========================================= */
.layer-product {
    position: absolute; height: 100%; width: 50%; 
    background: #fff; 
    border-right: 3px solid var(--studio-blue);
    overflow: hidden; 
    box-shadow: 10px 0 50px rgba(0, 0, 0, 0.4);
    transition: border-color 0.1s;
    z-index: 10;
}

/* Baggrunden */
.real-ui-bg {
    width: 1200px; height: 100%; position: absolute; top: 0; left: 0;
    background: #ffffff; /* Fallback */
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    pointer-events: auto; /* Tillader klik på knapper */
}

/* Aurora Blobs */
.aurora-blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4;
    animation: floatAurora 10s infinite alternate;
}
.blob-1 { top: -10%; left: 20%; width: 500px; height: 500px; background: var(--studio-blue); }
.blob-2 { bottom: -10%; right: 10%; width: 400px; height: 400px; background: #60efff; animation-delay: -2s; }
.blob-3 { top: 40%; left: 40%; width: 300px; height: 300px; background: #00ff88; animation-delay: -5s; opacity: 0.2; }

@keyframes floatAurora {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

/* LAYOUT: Matcher Concept Layout */
.ui-layout { width: 60%; height: 80%; display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 2; }

/* NAV */
.ui-nav {
    width: 100%; height: 46px; 
    background: rgba(255, 255, 255, 0.65); 
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-radius: 12px; 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); 
    display: flex; align-items: center; justify-content: space-between; padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
}
.ui-logo-group { display: flex; align-items: center; }
.ui-logo-text-brand { font-weight: 800; color: #1d1d1f; font-size: 14px; letter-spacing: -0.5px; }

.ui-nav-links { display: flex; gap: 4px; }
.ui-nav-link { 
    font-size: 10px; font-weight: 600; color: #666; 
    padding: 4px 10px; border-radius: 6px; transition: 0.2s; cursor: pointer;
}
.ui-nav-link:hover { background: rgba(0,0,0,0.04); color: #000; }
.ui-nav-link.active { color: var(--studio-blue); background: rgba(255,255,255,0.5); font-weight: 700; }

.ui-nav-btn { 
    background: var(--studio-blue); 
    color: #fff; padding: 6px 16px; border-radius: 8px; 
    font-size: 10px; font-weight: 600; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* HERO SECTION (Product): Større og mere luftig */
.ui-section {
    flex: 2; /* Gør den større på desktop (matcher bp-section) */
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    gap: 25px; /* Mere luft mellem tekst og knapper */
    position: relative; overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.05);
    background: rgba(255,255,255,0.3); 
    backdrop-filter: blur(5px);
    padding: 40px 20px; /* Mere padding top/bund */
}

.ui-hero-content { text-align: center; position: relative; z-index: 2; }

/* New Feature Badge */
.ui-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.6); color: var(--studio-blue);
    padding: 4px 10px; border-radius: 100px; font-size: 10px; font-weight: 700;
    margin-bottom: 10px; border: 1px solid rgba(255,255,255,0.4);
    text-transform: uppercase; letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}
.ui-badge-dot { width: 6px; height: 6px; background: var(--studio-blue); border-radius: 50%; box-shadow: 0 0 5px var(--studio-blue); }

.ui-title-text { 
    font-size: 42px; font-weight: 800; 
    background: linear-gradient(110deg, #1d1d1f 30%, #888 50%, #1d1d1f 70%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px; letter-spacing: -1.5px;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.05));
    line-height: 1.1;
    text-shadow: 0 10px 20px rgba(255,255,255,0.5);
    animation: textShine 5s linear infinite;
}
@keyframes textShine { to { background-position: -200% center; } }

.ui-sub-text { font-size: 13px; color: #555; font-weight: 500; max-width: 280px; margin: 0 auto 18px; line-height: 1.5; }

.ui-btn-primary { 
    padding: 12px 28px; 
    background: linear-gradient(135deg, var(--studio-blue), #4facfe); 
    color: #fff; border-radius: 14px; font-size: 13px; font-weight: 600;
    box-shadow: 0 10px 20px -5px var(--studio-blue); 
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.2s; cursor: pointer;
    position: relative; overflow: hidden;
    animation: pulseGlowBtn 3s infinite;
}
@keyframes pulseGlowBtn {
    0% { box-shadow: 0 10px 20px -5px var(--studio-blue); }
    50% { box-shadow: 0 20px 40px -10px var(--studio-blue); }
    100% { box-shadow: 0 10px 20px -5px var(--studio-blue); }
}
.ui-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 25px -5px var(--studio-blue); }

/* CARDS: Glassmorphism & Animation */
.ui-row { display: flex; gap: 15px; height: 130px; }
.ui-card-real {
    flex: 1; border-radius: 16px; 
    background: rgba(255, 255, 255, 0.5); /* Mere transparent */
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 18px; position: relative; overflow: hidden;
    transition: transform 0.3s;
    animation: floatCard 6s ease-in-out infinite;
}
.ui-card-real:nth-child(1) { animation-delay: 0s; }
.ui-card-real:nth-child(2) { animation-delay: 2s; }
.ui-card-real:nth-child(3) { animation-delay: 4s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.ui-card-real:hover { transform: translateY(-5px); background: rgba(255,255,255,0.8); border-color: var(--studio-blue); }

/* Decoration for cards */
.uc-header { display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.ui-icon-box { 
    width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; 
    background: rgba(255,255,255,0.5);
}
.c-blue { color: var(--studio-blue); box-shadow: 0 4px 10px rgba(0,122,255,0.1); } 
.c-orange { color: #ff9500; box-shadow: 0 4px 10px rgba(255,149,0,0.1); } 
.c-green { color: #34c759; box-shadow: 0 4px 10px rgba(52,199,89,0.1); }

.ui-card-title { font-weight: 700; color: #1d1d1f; font-size: 11px; text-align: center; }

/* Visualizations inside cards */
.uc-visual { flex: 1; display: flex; align-items: flex-end; justify-content: center; }

/* Lightning Bar */
.viz-bar-group { width: 100%; display: flex; justify-content: center; }
.viz-bar { width: 80%; height: 6px; background: rgba(0,0,0,0.05); border-radius: 3px; overflow: hidden; }
.viz-fill { height: 100%; background: var(--studio-blue); border-radius: 3px; box-shadow: 0 0 10px var(--studio-blue); }

/* Secure Shield */
.viz-shield { font-size: 28px; opacity: 0.8; filter: drop-shadow(0 0 10px rgba(0,0,0,0.1)); }

/* Analytics Line */
.viz-graph { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.vg-bar { width: 6px; background: var(--studio-blue); border-radius: 2px 2px 0 0; opacity: 0.8; }

/* Handle - Kun denne har 'grab' */
.slider-handle {
    position: absolute; top: 50%; right: -25px; width: 50px; height: 50px;
    background: var(--studio-blue); 
    border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; transform: translateY(-50%);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.8), 0 10px 20px rgba(0,0,0,0.2);
    cursor: grab; 
    transition: background 0.2s;
    pointer-events: auto;
    z-index: 100; /* VIGTIGT: Ligger øverst */
}
.slider-handle:active { cursor: grabbing; transform: translateY(-50%) scale(1.1); }

.layer-label { 
    position: absolute; top: 30px; color: #fff; background: rgba(0,0,0,0.5); 
    backdrop-filter: blur(10px); padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
}
.label-idea { right: 30px; left: auto; background: rgba(255,255,255,0.2); }
.label-product { left: 30px; background: rgba(255,255,255,0.9); color: #000; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* UPDATED PROCESS SECTION */
.process-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
    max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative;
}
.process-step {
    padding: 40px 35px; background: #fff; border-radius: 24px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative; transition: 0.3s;
    border: 1px solid rgba(0,0,0,0.02); overflow: hidden;
    /* Added alignment for text */
    text-align: left;
    display: flex; flex-direction: column; justify-content: flex-start;
}
.process-step:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08); }

/* Glass Numbers */
.step-bg-num {
    position: absolute; right: 20px; bottom: -20px; font-size: 120px; font-weight: 800;
    color: rgba(0,0,0,0.03); letter-spacing: -5px; line-height: 1; pointer-events: none;
}
.step-icon { font-size: 40px; margin-bottom: 20px; }
.step-title { font-size: 24px; font-weight: 700; margin-bottom: 15px; }

/* New text styling - no list */
.step-desc {
    font-size: 16px; 
    color: #6e6e73; 
    line-height: 1.7; 
    margin-bottom: 0;
    font-weight: 400;
}
/* Hide old list if present */
.step-list { display: none; }


/* Apple Style Slider */
.apple-slider-section { width: 100%; overflow: hidden; margin-top: 150px; }
.as-header { max-width: 1200px; margin: 0 auto 40px; padding: 0 20px; }
.as-track-wrapper {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 40px;
    padding-left: max(20px, calc(50vw - 580px));
}
.as-track-wrapper::-webkit-scrollbar { display: none; }
.as-track { display: flex; gap: 24px; }
.as-card {
    width: 320px; min-width: 320px; height: 520px; border-radius: 32px; background: #000; position: relative;
    overflow: hidden; scroll-snap-align: start; transition: 0.3s; flex-shrink: 0;
}
.as-image { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; opacity: 0.8; }
.as-card:hover .as-image { transform: scale(1.05); opacity: 0.6; }
.as-content { position: absolute; top: 30px; left: 30px; color: #fff; z-index: 2; }
.as-label { font-size: 13px; color: #aaa; text-transform: uppercase; margin-bottom: 8px; display: block; letter-spacing: 0.05em; font-weight: 600; }
.as-headline { font-size: 32px; font-weight: 700; line-height: 1.1; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.as-plus-btn {
    position: absolute; bottom: 25px; right: 25px; width: 36px; height: 36px; background: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer; transition: 0.2s; z-index: 2;
}
.as-plus-btn:hover { transform: scale(1.1); }

.as-nav-controls { 
    display: flex; 
    justify-content: flex-end; 
    gap: 15px; 
    max-width: 1200px; 
    margin: 30px auto 0; 
    padding-right: 20px;
    position: relative;
    z-index: 10; 
    pointer-events: auto; 
}

.as-nav-btn { 
    width: 44px; 
    height: 44px; 
    border-radius: 50%; 
    background: #e8e8ed; 
    border: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    transition: 0.2s; 
    position: relative;
}

.as-nav-btn:hover {
    background: #d1d1d6;
    transform: scale(1.05);
}

/* Bento Grid */
.bento-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 300px);
    gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.bento-card {
    background: #fff; border-radius: 32px; padding: 40px; position: relative; overflow: hidden;
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.7), 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    transition: 0.3s; display: flex; flex-direction: column; justify-content: space-between;
}
.bento-card:hover { transform: scale(1.01); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08); }
.bc-large { grid-column: span 2; grid-row: span 2; }
.bc-tall  { grid-column: span 1; grid-row: span 2; }
.bc-wide  { grid-column: span 2; }
.bc-std   { grid-column: span 1; }
.bento-nopad { padding: 0; }
.bento-pos-overlay { position: absolute; top: 40px; left: 40px; pointer-events: none; z-index: 5; }
.bc-title { font-size: 28px; font-weight: 700; line-height: 1.1; }
.bc-title::after {
    content: ''; display: block; width: 40px; height: 3px; 
    background: var(--studio-blue); 
    margin-top: 10px; border-radius: 2px;
}
.bc-sub { color: #86868b; font-size: 17px; margin-top: 5px;}

/* TRY ME BADGE */
.try-me-badge {
    position: absolute; top: -15px; right: -15px; background: #000; color: #fff; 
    padding: 6px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; 
    border-radius: 20px; z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: bounceBadge 2s infinite; transform: rotate(10deg);
}
@keyframes bounceBadge { 0%, 100% { transform: translateY(0) rotate(10deg); } 50% { transform: translateY(-5px) rotate(10deg); } }

/* Color Palette Logic */
.palette-stage { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; z-index: 0; overflow: hidden; }
.orb-container { width: 300px; height: 300px; filter: blur(60px); opacity: 0.6; animation: spinOrb 20s linear infinite; }
.orb { position: absolute; border-radius: 50%; mix-blend-mode: multiply; will-change: transform; cursor: pointer; }
.orb-1 { top: 0; left: 0; width: 200px; height: 200px; background: var(--nexus-orange); animation: moveOrb 8s infinite alternate; }
.orb-2 { top: 0; right: 0; width: 200px; height: 200px; background: var(--studio-blue); animation: moveOrb 10s infinite alternate-reverse; }
.orb-3 { bottom: 0; left: 50px; width: 200px; height: 200px; background: var(--core-purple); animation: moveOrb 12s infinite alternate; }
@keyframes spinOrb { 100% { transform: rotate(360deg); } }
@keyframes moveOrb { 100% { transform: translate(20px, -20px); } }

.palette-info-card {
    position: absolute; top: 40px; right: 40px; width: 220px; background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px); border-radius: 20px; padding: 20px; z-index: 2; border: 1px solid rgba(255, 255, 255, 0.5);
    
    /* NEW: Forhindrer markering af tekst når man bruger sliders */
    user-select: none;
    -webkit-user-select: none;
}
.pic-preview { width: 100%; height: 100px; background: #0071E3; border-radius: 12px; margin-bottom: 15px; }
.pic-label { font-size: 11px; font-weight: 600; color: #86868b; margin-bottom: 5px; }
.pic-value {
    font-family: var(--font-mono); font-size: 13px; padding: 8px; border-radius: 8px; margin-bottom: 10px;
    background: #fff; display: flex; justify-content: space-between; width: 100%;
    border: 1px solid var(--studio-blue); color: var(--studio-blue); font-weight: 700;
}
.pic-slider-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pic-slider-track { flex: 1; height: 4px; background: #f0f0f0; border-radius: 2px; position: relative; cursor: pointer; touch-action: none; }
.pic-slider-thumb { width: 14px; height: 14px; background: #fff; border: 2px solid var(--studio-blue); border-radius: 50%; position: absolute; top: -5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.pic-num { font-family: var(--font-mono); font-size: 12px; color: #1d1d1f; }

.type-preview { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.tp-item { display: flex; justify-content: space-between; border-bottom: 1px solid #f0f0f0; padding-bottom: 5px; }
.tp-name { font-size: 15px; color: #1d1d1f; transition: color 0.2s; }
.type-preview .tp-item:first-child .tp-name { color: var(--studio-blue); }

.icon-grid { display: flex; gap: 25px; margin-top: auto; opacity: 1; }
.icon-item { width: 32px; height: 32px; color: #86868b; transition: all 0.2s; }
.icon-item:hover { color: var(--studio-blue); transform: scale(1.2); filter: drop-shadow(0 4px 10px var(--studio-blue)); }
.icon-item:nth-child(2) { color: var(--studio-blue); }

.visual-grid {
    background-image: linear-gradient(var(--studio-blue) 1px, transparent 1px), linear-gradient(90deg, var(--studio-blue) 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.15; width: 100%; height: 100%; position: absolute; bottom: 0; left: 0;
    transition: background-image 0.1s;
}

/* =========================================
   REALISTIC RESPONSIVE SHOWCASE
   ========================================= */
.responsive-showcase { max-width: 1200px; margin: 0 auto; padding: 0 20px; text-align: center; }
.device-stage { margin-top: 60px; position: relative; display: flex; justify-content: center; }

.device-group {
    position: relative; width: 100%; max-width: 800px; height: auto;
    aspect-ratio: 16/9; /* Base aspect for desktop */
}

/* REAL MACBOOK PRO */
.real-macbook {
    width: 80%; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 1;
}
.rm-screen {
    width: 100%; aspect-ratio: 16/10; 
    background: #000; border: 1px solid #333;
    border-radius: 12px 12px 0 0;
    position: relative; overflow: hidden;
    box-shadow: inset 0 0 0 2px #111;
}
.rm-screen img {
    width: 100%; height: 100%; object-fit: cover;
    border: 4px solid #000; border-radius: 8px 8px 0 0;
}
.rm-base {
    width: 120%; height: 12px;
    background: linear-gradient(to bottom, #d8d8d8, #999);
    border-radius: 0 0 12px 12px;
    margin-left: -10%; position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.rm-base::before { /* Notch inset */
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 15%; height: 4px; background: #bbb; border-radius: 0 0 4px 4px;
}

/* REAL IPAD PRO */
.real-ipad {
    width: 28%; aspect-ratio: 3/4; position: absolute; bottom: 0; left: -5%; z-index: 2;
    background: #1c1c1e; border-radius: 14px;
    box-shadow: 20px 0 50px rgba(0,0,0,0.3); transform: rotate(-5deg); transition: 0.3s;
    padding: 6px; background: linear-gradient(135deg, #444, #111);
}
.real-ipad:hover { transform: rotate(0deg) scale(1.05); z-index: 10; }
.ri-screen { width: 100%; height: 100%; background: #000; border-radius: 8px; overflow: hidden; }

/* REAL IPHONE 15 */
.real-iphone {
    width: 13%; aspect-ratio: 9/19.5; position: absolute; bottom: 0; right: 0; z-index: 3;
    background: linear-gradient(135deg, #555, #222); border-radius: 18px;
    box-shadow: -20px 0 50px rgba(0,0,0,0.3); transform: rotate(5deg); transition: 0.3s;
    padding: 4px; 
}
.real-iphone:hover { transform: rotate(0deg) scale(1.05); z-index: 10; }
.rip-screen { width: 100%; height: 100%; background: #000; border-radius: 14px; overflow: hidden; position: relative; }
.rip-screen::after { /* Dynamic Island */
    content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    width: 30%; height: 12px; background: #000; border-radius: 10px; z-index: 10;
}

.device-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Growth Section */
.growth-section {
    background: #000; color: #fff; border-radius: 40px; max-width: 1200px; margin: 0 auto;
    padding: 80px 40px; position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.15), 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.float-widget {
    position: absolute; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
    padding: 10px 15px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    font-size: 13px; font-weight: 600; color: #333; z-index: 20; display: flex; align-items: center; gap: 8px;
    animation: float 5s ease-in-out infinite;
}
.fw-icon { width: 20px; height: 20px; background: #00c950; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 10px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.gw-pos-1 { top: 40px; right: 40px; }
.gw-pos-2 { top: 40px; left: 40px; animation-delay: 1.5s; }
.gw-pos-3 { bottom: 40px; left: 40px; animation-delay: 3s; }

.growth-header { text-align: center; margin-bottom: 60px; position: relative; z-index: 2; }
.growth-label { color: var(--growth-green); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.growth-h2 { font-size: 56px; font-weight: 700; letter-spacing: -1px; }
.growth-p { font-size: 21px; color: #888; max-width: 600px; margin: 0 auto; }

.growth-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; position: relative; z-index: 2; }
.chart-card {
    background: #111; border-radius: 24px; padding: 40px; border: 1px solid #222; display: flex;
    flex-direction: column; justify-content: flex-end; height: 400px; position: relative; overflow: hidden;
}
.chart-card::after {
    content: ""; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: scan 4s infinite linear; pointer-events: none;
}
@keyframes scan { 0% { left: -50%; } 100% { left: 150%; } }
.chart-bars { display: flex; align-items: flex-end; justify-content: space-between; height: 200px; gap: 15px; }
.bar {
    width: 100%; background: linear-gradient(to top, #111, #333); border-radius: 6px 6px 0 0;
    position: relative; opacity: 0.5; transition: height 1s ease;
}
.bar.active { background: linear-gradient(to top, var(--growth-green), #81e39a); opacity: 1; }
.bar::before {
    content: attr(data-val); position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: 12px; opacity: 0; transition: 0.2s;
}
.bar:hover::before { opacity: 1; top: -25px; }
.chart-bars .bar { height: 0; animation: grow 1s forwards; }
.chart-bars .bar:nth-child(1) { height: 30%; animation-delay: 0.2s; }
.chart-bars .bar:nth-child(2) { height: 45%; animation-delay: 0.4s; }
.chart-bars .bar:nth-child(3) { height: 40%; animation-delay: 0.6s; }
.chart-bars .bar:nth-child(4) { height: 60%; animation-delay: 0.8s; }
.chart-bars .bar:nth-child(5) { height: 55%; animation-delay: 1.0s; }
.chart-bars .bar:nth-child(6) { height: 75%; animation-delay: 1.2s; }
.chart-bars .bar:nth-child(7) { height: 100%; animation-delay: 1.4s; }
@keyframes grow { from { height: 0; } }

.stats-col { display: flex; flex-direction: column; gap: 20px; }
.stat-card {
    background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); padding: 25px;
    border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1); transition: 0.2s;
}
.stat-card:hover { transform: scale(1.03); }
.stat-label { font-size: 13px; font-weight: 600; color: #aaa; text-transform: uppercase; }
.stat-val { font-size: 32px; font-weight: 700; color: #fff; }
.trend-up { font-size: 16px; color: var(--growth-green); background: rgba(48, 209, 88, 0.1); padding: 4px 8px; border-radius: 100px; }
.trend-down { font-size: 16px; color: #ff453a; background: rgba(255, 69, 58, 0.12); padding: 4px 8px; border-radius: 100px; }

/* =========================================
   ADVANCED PRICE CALCULATOR
   ========================================= */
.price-calc-section { max-width: 1100px; margin: 0 auto 140px; padding: 0 20px; }
.calc-container { background: #fff; border-radius: 40px; padding: 40px; box-shadow: 0 20px 80px -20px rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.05); }
.calc-header { text-align: center; margin-bottom: 40px; }

.calc-layout { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; }

/* TABS NAVIGATION */
.calc-nav {
    display: flex; 
    gap: 5px; 
    margin-bottom: 30px; 
    background: #f5f5f7; 
    padding: 8px; 
    border-radius: 16px; 
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.calc-nav::-webkit-scrollbar {
    display: none;
}

.calc-tab {
    flex: 1; border: none; background: transparent; padding: 10px 15px; font-size: 14px; font-weight: 600; color: #86868b;
    border-radius: 8px; cursor: pointer; transition: 0.2s; white-space: nowrap; position: relative; z-index: 1;
}
.calc-tab.active { background: #fff; color: #1d1d1f; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }

/* =========================================
   GROWTH BUTTON: ROTATING GRADIENT BORDER
   ========================================= */

.growth-btn-css {
    position: relative;
    background: transparent;
    border: none;
    padding: 3px; /* STYRER KANTENS TYKKELSE HER (f.eks. 2px eller 3px) */
    border-radius: 12px; /* Ydre radius */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Klipper farverne der stikker udenfor */
    isolation: isolate; /* Opretter ny stack context */
    flex-shrink: 0;
    /* Fix for Safari flickering */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* 1. Det Roterende Farvehjul (Ligger nederst) */
.growth-btn-css::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Vi laver et kæmpe kvadrat der er stort nok til at dække knappen under rotation */
    width: 300%; 
    aspect-ratio: 1/1; /* Tvinger den til at være kvadratisk */
    
    /* Gradienten: Google farver i et loop */
    background: conic-gradient(
        from 0deg, 
        #4285F4, 
        #EA4335, 
        #FBBC05, 
        #34A853, 
        #4285F4 /* Slutter med samme farve for smooth loop */
    );
    
    /* Animationen der drejer kvadratet */
    animation: rotate-gradient 4s linear infinite;
    z-index: -2; 
}

/* 2. Den Indre Maske (Det grå område) */
.growth-btn-css .btn-bg {
    position: absolute;
    inset: 3px; /* Skal matche padding på .growth-btn-css */
    background: #f5f5f7; /* Inaktiv baggrundsfarve */
    border-radius: 9px; /* Indre radius (skal være lidt mindre end ydre) */
    z-index: -1;
    transition: background 0.3s;
}

/* 3. Teksten (Ligger øverst) */
.growth-btn-css .btn-text {
    position: relative;
    z-index: 1;
    padding: 10px 15px; /* Luft omkring teksten */
    font-size: 14px;
    font-weight: 600;
    color: #86868b;
    width: 100%;
    text-align: center;
    transition: color 0.3s;
}

/* --- AKTIV TILSTAND --- */

/* Når knappen er aktiv: Hvid baggrund i midten */
.growth-btn-css.active .btn-bg {
    background: #fff;
}

/* Når knappen er aktiv: Mørk tekst */
.growth-btn-css.active .btn-text {
    color: #1d1d1f;
}

/* --- ANIMATION --- */
@keyframes rotate-gradient {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


.calc-tab-content { display: none; animation: fadeIn 0.3s ease; }
.calc-tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* Range Slider Styling */
.cg-label { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; margin-bottom: 15px; color: #1d1d1f; }
.cg-value { color: var(--studio-blue); }
.range-wrapper { padding: 0 10px; }
.custom-range {
    width: 100%; -webkit-appearance: none; height: 6px; background: #e5e5e5; border-radius: 3px; outline: none;
}
.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none; width: 24px; height: 24px; background: #fff; border: 2px solid var(--studio-blue); border-radius: 50%; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: 0.2s;
}
.custom-range::-webkit-slider-thumb:hover { transform: scale(1.1); }
.range-marks { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: #aaa; font-weight: 500; }

/* Radio Cards (Complexity) */
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.radio-card { position: relative; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.rc-content {
    border: 2px solid #f0f0f0; border-radius: 16px; padding: 20px; transition: 0.3s; height: 100%;
}
.radio-card input:checked + .rc-content { border-color: var(--studio-blue); background: rgba(0, 122, 255, 0.03); }
.rc-title { display: block; font-weight: 700; margin-bottom: 5px; }
.rc-desc { font-size: 13px; color: #86868b; line-height: 1.4; display: block; }

/* Toggle List */
/* Added margin-top here for spacing below the slider */
.toggle-list { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    margin-top: 40px; 
}
.calc-item {
    display: flex; justify-content: space-between; align-items: center; padding: 16px 20px;
    background: #fbfbfd; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: 0.2s;
}
.calc-item:hover { background: #f5f5f7; }
.ci-title { font-size: 15px; font-weight: 600; display: block; }
.ci-desc { font-size: 12px; color: #86868b; }

/* Toggle Switch */
.calc-toggle { display: none; }
.toggle-switch {
    width: 44px; height: 26px; background: #e5e5e5; border-radius: 30px; position: relative; transition: 0.3s; flex-shrink: 0;
}
.toggle-switch::after {
    content: ''; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px;
    background: #fff; border-radius: 50%; transition: 0.3s; box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.calc-toggle:checked + .toggle-switch { background: var(--studio-blue); }
.calc-toggle:checked + .toggle-switch::after { transform: translateX(18px); }

/* Receipt Card */
.calc-summary { position: relative; }
.receipt-card {
    background: #1d1d1f; color: #fff; padding: 40px; border-radius: 32px;
    position: sticky; top: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.receipt-header { text-transform: uppercase; letter-spacing: 1px; color: #86868b; font-size: 12px; font-weight: 700; margin-bottom: 25px; border-bottom: 1px solid #333; padding-bottom: 15px; }
.receipt-lines { margin-bottom: 25px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #d2d2d7; min-height: 100px; }
.receipt-line { display: flex; justify-content: space-between; }
.rl-price { color: #fff; font-weight: 600; }
.receipt-divider { height: 1px; background: #333; margin-bottom: 20px; }
.receipt-total { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.receipt-total span:first-child { font-size: 14px; color: #86868b; }
.rt-price { font-size: 32px; font-weight: 700; line-height: 1; }
.receipt-note { font-size: 11px; color: #666; font-style: italic; margin-bottom: 20px; text-align: center; }
.receipt-btn {
    display: block; width: 100%; padding: 16px; background: var(--studio-blue); color: #fff; text-align: center;
    border-radius: 12px; font-weight: 600; transition: 0.2s; cursor: pointer; border: none; font-family: inherit; font-size: 16px;
}
.receipt-btn:hover { background: #0062cc; transform: translateY(-2px); }

/* OWNERSHIP BADGE */
.ownership-badge {
    background: rgba(255,255,255,0.1); border-radius: 12px; padding: 15px; margin-bottom: 20px;
    display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,0.1);
}
.ob-icon { 
    width: 24px; height: 24px; background: #34c759; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; flex-shrink: 0; 
}
.ownership-badge div { font-size: 12px; line-height: 1.4; color: #d2d2d7; }
.ownership-badge strong { color: #fff; }

/* TOOLTIP STYLING */
.info-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; background: rgba(255,255,255,0.2);
    border-radius: 50%; font-size: 10px; color: #aaa; cursor: help;
    margin-left: 8px; border: 1px solid rgba(255,255,255,0.3);
    position: relative;
}
.info-icon::after {
    content: attr(data-tooltip);
    position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%) translateY(10px);
    width: 200px; background: rgba(0,0,0,0.9); color: #fff;
    padding: 8px 12px; border-radius: 8px; font-size: 11px; line-height: 1.4;
    text-align: center; pointer-events: none; opacity: 0; visibility: hidden;
    transition: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); font-weight: 500;
    z-index: 100;
}
.info-icon::before {
    content: ''; position: absolute; bottom: 19px; left: 50%; transform: translateX(-50%) translateY(10px);
    border-width: 6px; border-style: solid;
    border-color: rgba(0,0,0,0.9) transparent transparent transparent;
    opacity: 0; visibility: hidden; transition: 0.2s; z-index: 100;
}
.info-icon:hover::after, .info-icon:hover::before {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* PARTNER MARQUEE STYLES */
.partner-marquee-section { 
    padding: 60px 0; background: #fbfbfd; overflow: hidden; position: relative; margin-bottom: 0px; 
}
.partner-marquee-section::before, .partner-marquee-section::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none;
}
.partner-marquee-section::before { left: 0; background: linear-gradient(to right, #fbfbfd, transparent); }
.partner-marquee-section::after { right: 0; background: linear-gradient(to left, #fbfbfd, transparent); }

.sp-label-large { 
    text-align: center; display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; 
    color: #86868b; margin-bottom: 30px; letter-spacing: 1px; 
}
.partner-track-wrapper { overflow: hidden; white-space: nowrap; margin-bottom: 20px; }
.partner-track { display: inline-flex; gap: 60px; animation: marqueeScroll 40s linear infinite; }
.partner-item { 
    font-size: 24px; font-weight: 800; color: #d1d1d6; white-space: nowrap; cursor: default; transition: 0.3s; 
}
.partner-item:hover { color: #1d1d1f; }

@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   5. MEGA FOOTER (GLOBAL)
   ========================================= */
.mega-footer { 
    background: #f5f5f7; padding: 20px 20px 0; 
    position: relative; margin-top: 0; 
    overflow: hidden; padding-bottom: 120px; display: flex; flex-direction: column; z-index: 20; 
}
.mf-content { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; width: 100%; }
.mf-brand-wrap { 
    position: absolute; bottom: -2%; left: 0; width: 100%; text-align: center; 
    z-index: 1; pointer-events: none; line-height: 0.75; 
}
.mf-big-text { font-size: 14vw; font-weight: 800; color: rgba(0,0,0,0.03); letter-spacing: -0.05em; }

.mf-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.mf-col h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; color: #86868b; margin-bottom: 16px; letter-spacing: 0.5px; }
.mf-col ul { list-style: none; }
.mf-col li { margin-bottom: 12px; }
.mf-col a { font-size: 15px; color: #424245; transition: 0.2s; }
.mf-col a:hover { color: #000; text-decoration: underline; }

.mf-bottom { 
    position: absolute; bottom: 0; left: 0; width: 100%; margin: 0; padding: 15px 40px; 
    background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255,255,255,0.4); display: flex; flex-wrap: wrap; justify-content: space-between; 
    align-items: center; color: #86868b; font-size: 12px; z-index: 10; 
}

/* =========================================
   6. MODAL
   ========================================= */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px); z-index: 10000; display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal-content { width: 90%; max-width: 1000px; border-radius: 24px; overflow: hidden; background: #000; position: relative; }
.modal-img { width: 100%; display: block; object-fit: contain; }
.modal-text {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent); color: #fff; pointer-events: none;
}
.modal-close-btn {
    position: absolute; top: 20px; right: 20px; width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 20; color: #fff; font-size: 24px;
}
.modal-subtitle { color: #aaa; text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.modal-title { font-size: 32px; font-weight: 700; margin-top: 5px; }

/* =========================================
   7. RESPONSIVE QUERIES
   ========================================= */
@media (max-width: 1024px) {
    .headline { font-size: 48px; }
    .mf-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .process-row { grid-template-columns: 1fr; }
    .process-row::before { display: none; }
    
    .calc-layout { grid-template-columns: 1fr; }
    .calc-summary { margin-top: 40px; }
}

@media (max-width: 768px) {
    /* --- 1. GENERELT & NAV --- */
    .desktop-nav-links { display: none; }
    .burger-menu-btn { display: block; z-index: 10001; } 
    .vision-nav { width: 90%; justify-content: space-between; padding: 10px 15px; }
    
    /* FIX: REDUCERET PADDING I BUNDEN FOR AT FJERNE HVID PLADS */
    .detail-page { padding-top: 120px; padding-bottom: 40px; }
    .subhead { font-size: 18px; }
    
    /* --- 2. SLIDER FIX --- */
    .compare-container {
        height: 480px; 
        touch-action: pan-y; 
        user-select: none; -webkit-user-select: none;
        z-index: 5;
    }

    .blueprint-bg, .real-ui-bg { 
        background-size: cover; width: 100vw; max-width: 800px; 
        /* VIGTIGT: Dette gør at product-label kan positioneres relativt til billedet */
        position: relative; 
    }

    /* FIX: "The Product" badge flyttet til venstre */
    .label-product {
        position: absolute;
        top: 30px;
        left: 30px; /* Flyttet til venstre side */
        right: auto;
        z-index: 30;
    }

    .bp-layout, .ui-layout {
        width: 500px; height: auto;
        transform: scale(0.8); transform-origin: top center;
        margin-top: 85px; margin-left: auto; margin-right: auto;
        display: flex; flex-direction: column; gap: 12px;
        pointer-events: none; 
    }
    
    .ui-nav-btn, .ui-btn-primary { pointer-events: auto; touch-action: manipulation; }
    
    .slider-handle {
        width: 60px; height: 60px; right: -30px;
        z-index: 999; touch-action: none;
    }

    .ui-section, .bp-section { height: 230px; flex: 0 0 auto; padding: 20px; }
    .ui-title-text { font-size: 32px; }
    .aurora-blob { transform: scale(0.5); opacity: 0.5; }

    /* --- 3. BENTO COLOR PICKER FIX (MOBILVENLIG) --- */
    .bento-grid { 
        display: flex; 
        flex-direction: column; 
        gap: 20px; 
    }
    
    .bc-large { 
        grid-column: span 1; 
        height: auto !important; 
        min-height: 450px; 
        padding: 0 !important;
        display: flex;
        flex-direction: column;
    }

    /* "Interactive" badge flyttet lidt til venstre */
    .try-me-badge {
        right: 10px; /* Var -15px, nu trukket ind */
    }

    .palette-stage {
        position: relative;
        width: 100%;
        height: 200px;
        top: 0; left: 0;
    }

    .palette-info-card {
        position: relative;
        top: auto; right: auto; left: auto; bottom: auto;
        width: 100%;
        background: #fff;
        border-top: 1px solid rgba(0,0,0,0.05);
        border-radius: 0 0 32px 32px;
        padding: 25px;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.05);
    }
    
    .pic-slider-row { margin-bottom: 15px; }
    .pic-slider-track { height: 8px; }
    .pic-slider-thumb { width: 24px; height: 24px; top: -8px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }

    .bc-wide, .bc-tall, .bc-std { height: 300px; }

    /* --- 4. MARQUEE SPACE FIX (FJERNET LUFT) --- */
    .partner-marquee-section { 
        padding: 20px 0; /* Reduceret fra 60px til 20px */
        margin-bottom: 0; 
    }
    .sp-label-large { margin-bottom: 15px; font-size: 10px; }
    .partner-item { font-size: 18px; }

    /* --- 5. APPLE SLIDER --- */
    .as-card { width: 85vw; min-width: 85vw; height: 450px; }
    .as-nav-controls { position: relative; z-index: 50; padding-bottom: 20px; }
    .as-nav-btn { width: 50px; height: 50px; touch-action: manipulation; }

    /* --- 6. PRISBEREGNER & KVITTERING --- */
    /* FIX: Margin i bunden justeret for at mindske hullet til marquee */
    .price-calc-section { 
        padding: 0 15px; width: 100vw; overflow-x: hidden; box-sizing: border-box; 
        margin-bottom: 40px; /* Reduceret margin */
    }
    .calc-container { 
        padding: 30px 20px; width: 100%; box-sizing: border-box; 
        margin-bottom: 10px; /* Lille margin for at adskille fra sektionen nedenunder */
    }
    .calc-layout { display: flex; flex-direction: column; gap: 30px; width: 100%; }
    
    .mobile-scroll-hint {
        display: block; font-size: 11px; text-transform: uppercase;
        color: var(--studio-blue); font-weight: 700; margin-bottom: 5px;
        text-align: right; animation: bounceRight 2s infinite;
    }
    @keyframes bounceRight { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

    .calc-nav {
        width: 100%; padding-bottom: 15px;
        flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
        justify-content: flex-start; z-index: 50; position: relative;
    }
    .calc-tab { flex-shrink: 0; touch-action: manipulation; z-index: 51; cursor: pointer; }
    .toggle-list { width: 100%; }
    .calc-item { padding: 15px; touch-action: manipulation; }
    .growth-btn-css { min-width: 100px; }

    .calc-summary { width: 100%; margin-top: 20px; }
    .receipt-card {
        width: 100%; position: relative; top: 0;
        background: #1d1d1f !important; color: #fff !important;
        z-index: 20; padding: 30px 25px; border-radius: 24px; min-height: 300px;
    }
    .receipt-lines { display: flex !important; flex-direction: column; gap: 12px; color: #d2d2d7; margin-bottom: 20px; }
    .receipt-line { display: flex !important; justify-content: space-between; width: 100%; font-size: 14px; }
    .rt-price, .rl-price { color: #fff; font-weight: 700; }
    
    /* Footer */
    .mf-top { grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 60px; }
    .mega-footer { padding-bottom: 100px; padding-top: 50px; }
    .mf-bottom { padding: 20px; flex-direction: column; text-align: center; gap: 10px; }
    .float-widget { display: none; }
    .growth-grid { grid-template-columns: 1fr; }
}

/* Skjul scroll-hint på desktop */
@media (min-width: 769px) {
    .mobile-scroll-hint { display: none; }
}