:root {
    --bg-color: #f5f4ff;
    --text-color: #1e1b4b;
    --text-muted: #6b7280;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #8b5cf6;
    --glass-bg: #ffffff;
    --glass-border: rgba(99, 102, 241, 0.12);
    --card-shadow: 0 2px 4px rgba(99,102,241,0.06), 0 8px 24px rgba(99,102,241,0.09);
    --card-shadow-hover: 0 4px 8px rgba(99,102,241,0.1), 0 20px 48px rgba(99,102,241,0.18);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

img, video, iframe, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    background-color: var(--bg-color);
    scroll-padding-top: 90px;
}

body {
    background-color: transparent;
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}
body.menu-open {
    overflow: hidden;
    height: 100%;
}

/* Typography & Utils */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 6vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
}

.grid {
    display: grid;
    gap: 2rem;
}

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1.1rem;
    padding: 1rem 2.2rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    font-size: 1.1rem;
    padding: 1rem 2.2rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.w-100 { width: 100%; }
.relative { position: relative; }
.z-2 { z-index: 2; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(245, 244, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.08);
    transition: var(--transition);
    will-change: transform;
    transform: translateZ(0);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.1);
}

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

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--primary);
}

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* --- PREMIUM HERO SECTION --- */
.premium-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: transparent;
    overflow: hidden;
    padding-top: 80px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}


/* --- CENTERED HERO LAYOUT --- */
.hero-centered {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(123, 94, 167, 0.12);
    border: 1px solid rgba(123, 94, 167, 0.25);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #A855F7;
    margin-bottom: 1.75rem;
    animation: fadeInUp 0.8s ease both;
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto 2.25rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-centered .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--text-muted);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── Typewriter ── */
.typewriter-text {
    display: inline;
    background: linear-gradient(270deg, #7B5EA7, #4A90D9, #A855F7, #7B5EA7);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}
.typewriter-cursor {
    display: inline-block;
    font-weight: 300;
    color: #7B5EA7;
    -webkit-text-fill-color: #7B5EA7;
    animation: cursorBlink 0.75s step-end infinite;
    margin-left: 1px;
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ── Hero Stats ── */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    animation: fadeInUp 0.8s ease 0.75s both;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}
.hero-stat-number {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 900;
    color: var(--text-color);
    letter-spacing: -0.03em;
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}
.hero-stat-divider {
    width: 1px;
    height: 2.5rem;
    background: rgba(99, 102, 241, 0.2);
}


/* Ensure all page content sits above the fixed particle canvas */
header, main, footer {
    position: relative;
    z-index: 1;
}

/* --- GLOBAL BACKGROUND --- */
.global-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: transparent;
    contain: layout style;
    will-change: transform;
}

/* Ambient Animated Mesh Background */
.ambient-bg {
    position: absolute;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
}
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.32;
    animation: drift 25s infinite alternate ease-in-out;
}
.orb-1 {
    top: -10%; left: -5%;
    width: 70vw; height: 70vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.55) 0%, transparent 70%);
}
.orb-2 {
    bottom: -10%; right: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, transparent 70%);
    animation-delay: -5s;
}
.orb-3 {
    top: 25%; left: 35%;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    animation-delay: -10s;
}
@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 15%) scale(1.1); }
}

.interactive-glow { display: none; }

/* Digital Dot Grid */
.premium-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(rgba(99, 102, 241, 0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    pointer-events: none;
}

/* Hero Watermark */
.hero-watermark {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    z-index: 0;
    font-size: clamp(8rem, 20vw, 18rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    color: rgba(99, 102, 241, 0.04);
    user-select: none;
    pointer-events: none;
    line-height: 1;
}

/* Split Layout */
.hero-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}
@media (max-width: 968px) {
    .hero-split { grid-template-columns: 1fr; text-align: center; }
}

/* Glassmorphism Text Card */
.glass-hero-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.14);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(99,102,241,0.06), 0 24px 56px rgba(99,102,241,0.12);
    position: relative;
    overflow: hidden;
}
.glass-hero-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}
.hero-left h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    animation: fadeInUp 1s ease 0.2s both;
}
.hero-left p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.4s both;
}
.hero-actions {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s both;
}
@media (max-width: 968px) {
    .hero-actions { justify-content: center; }
    /* clamped font-size takes care of scaling automatically below this width */
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.1s both;
}
.pulse-dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

/* Premium Buttons */
.premium-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}
.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.5);
    filter: brightness(1.1);
}
.premium-btn .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}
.premium-btn:hover .arrow {
    transform: translateX(5px);
}
.premium-btn-outline {
    background: transparent;
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary);
    transition: all 0.3s ease;
}
.premium-btn-outline:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ── Process Cards ── */
.process-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.process-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow:
        0 2px 8px rgba(99,102,241,0.08),
        0 8px 32px rgba(99,102,241,0.10);
    border: 1px solid rgba(99,102,241,0.08);
    opacity: 0;
    transform: translateY(18px);
    animation: pcFadeIn 0.5s ease forwards;
}
.pc-1 { animation-delay: 0.1s; }
.pc-2 { animation-delay: 0.4s; }
.pc-3 { animation-delay: 0.7s; }

@keyframes pcFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.pc-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}
.pc-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pc-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}
.pc-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* 3D SVG Orb Animations */
.premium-illustration {
    animation: fadeInUp 1s ease 0.4s both;
}
.premium-illustration svg { width: 100%; height: auto; max-width: 650px; }
@media (max-width: 968px) { .premium-illustration svg { max-width: 450px; margin: 0 auto; } }

.orbit-glow {
    animation: orbit 4s linear infinite;
}
@keyframes orbit {
    0% { stroke-dasharray: 0 1380; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 200 1380; stroke-dashoffset: -690; }
    100% { stroke-dasharray: 0 1380; stroke-dashoffset: -1380; }
}

.float-core {
    animation: floatCore 6s ease-in-out infinite;
    transform-origin: center;
}
@keyframes floatCore {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}
.pulse-core {
    animation: pulseCoreGlow 4s ease-in-out infinite;
}
@keyframes pulseCoreGlow {
    0%, 100% { opacity: 0.4; filter: blur(30px); }
    50% { opacity: 0.7; filter: blur(50px); }
}

.float-node {
    animation: floatNode 3s ease-in-out infinite alternate;
}
.float-node-delayed {
    animation: floatNode 4s ease-in-out infinite alternate-reverse;
}
@keyframes floatNode {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-15px) translateX(10px); }
}

/* Rising Particles */
.particles-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(0.5px);
    opacity: 0;
    animation: rise 15s infinite ease-in;
}
.p1 { left: 10%; bottom: -10px; animation-duration: 12s; }
.p2 { left: 30%; bottom: -10px; animation-duration: 18s; animation-delay: 2s; width: 4px; height: 4px; }
.p3 { left: 60%; bottom: -10px; animation-duration: 15s; animation-delay: 5s; background: var(--primary); }
.p4 { left: 80%; bottom: -10px; animation-duration: 20s; animation-delay: 1s; }
.p5 { left: 85%; bottom: -10px; animation-duration: 14s; animation-delay: 8s; width: 5px; height: 5px; }
.p6 { left: 20%; bottom: -10px; animation-duration: 22s; animation-delay: 4s; }
.p7 { left: 40%; bottom: -10px; animation-duration: 16s; animation-delay: 7s; width: 4px; height: 4px; background: var(--primary); }
.p8 { left: 50%; bottom: -10px; animation-duration: 19s; animation-delay: 11s; }
.p9 { left: 70%; bottom: -10px; animation-duration: 25s; animation-delay: 3s; width: 5px; height: 5px; }
.p10 { left: 95%; bottom: -10px; animation-duration: 13s; animation-delay: 9s; background: var(--primary); }

@keyframes rise {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 0.7; }
    50% { opacity: 0.9; }
    90% { opacity: 0; }
    100% { transform: translateY(-100vh); opacity: 0; }
}

/* Extra Screen Effects */
.floating-shape {
    position: absolute;
    border-radius: 20px;
    background: rgba(99, 102, 241, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
    pointer-events: none;
    animation: floatShape 8s ease-in-out infinite alternate;
}
.shape-1 {
    width: 60px; height: 60px;
    top: 20%; right: 5%;
    transform: rotate(45deg);
    animation-delay: -2s;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}
.shape-2 {
    width: 100px; height: 100px;
    bottom: 15%; left: 45%;
    border-radius: 50%;
    animation-delay: -5s;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.06), rgba(99, 102, 241, 0));
}
.floating-ring {
    position: absolute;
    width: 150px; height: 150px;
    top: 60%; left: 35%;
    border-radius: 50%;
    border: 2px dashed rgba(99, 102, 241, 0.25);
    z-index: 0;
    pointer-events: none;
    animation: spin 45s linear infinite;
}
@keyframes floatShape {
    0% { transform: translateY(0) rotate(45deg); }
    100% { transform: translateY(-30px) rotate(60deg); }
}



/* Services */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.services .card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 8px 40px rgba(0,0,0,0.16);
}

/* Icon box inside service cards */
.services .icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.1));
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 14px;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.services .card:hover .icon {
    background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(139,92,246,0.18));
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Layout og hover-effekt for tjenesteblokkene på 'tjenester.html' */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem;
    margin-bottom: 3rem;
    transition: var(--transition);
}
@media (max-width: 900px) {
    .service-block {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
}
.service-block:hover {
    transform: translateY(-5px);
    border-color: var(--secondary) !important;
    box-shadow: 0 0 35px 8px rgba(139, 92, 246, 0.3) !important;
}


.services h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.services .card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.services .card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.service-content h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 1.5rem;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.2;
}

.services p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Tjenestebilder */
.service-image {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}
.service-image:hover {
    transform: scale(1.02);
}

/* SaaS Lottie-Style Animasjoner */
@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); filter: drop-shadow(0 0 15px var(--primary)); }
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.svg-float {
    animation: floatUp 4s ease-in-out infinite;
    transform-origin: center;
}
.svg-float-delayed {
    animation: floatUp 4s ease-in-out infinite 2s;
    transform-origin: center;
}
.svg-pulse {
    animation: pulseGlow 3s ease-in-out infinite;
    transform-origin: center;
}
.svg-spin {
    animation: spinSlow 10s linear infinite;
    transform-origin: center;
}

/* Chart Draw Animation */
.animated-chart-group {
    clip-path: inset(0 100% 0 0);
    animation: revealChart 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
}
@keyframes revealChart {
    to { clip-path: inset(0 0 0 0); }
}

.lottie-style-container {
    width: 100%;
    height: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    background: rgba(99, 102, 241, 0.04);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}
.lottie-style-container svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* SEO content section desktop pull-up */
@media (min-width: 769px) {
    .seo-content { transform: translateY(-40px); }
}

/* Section alt background */
.section-alt {
    background: rgba(255, 255, 255, 0.72);
}

/* ── Customer Reviews ── */
.customer-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.cr-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(99,102,241,0.07), 0 8px 32px rgba(99,102,241,0.10);
    border: 1px solid rgba(99,102,241,0.10);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
}
.cr-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary);
}

.cr-stars {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.cr-quote {
    font-style: italic;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
    flex: 1;
}

.cr-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.cr-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cr-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-color);
}

.cr-company {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

@media (max-width: 900px) {
    .customer-reviews-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ── Reviews / Trustpilot ── */
.reviews-section {
    background: rgba(255, 255, 255, 0.72);
}

.tp-logo-link {
    display: inline-block;
    margin-bottom: 1.25rem;
}
.tp-logo-img {
    height: 32px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Review cards grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 0;
    align-items: start;
}
.review-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: var(--transition);
}
.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--card-shadow-hover);
}
.review-stars {
    color: #00b67a;
    font-size: 1.1rem;
    letter-spacing: 3px;
}
.review-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}
.review-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}
.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.review-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-color);
}
.review-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── Stats Strip ── */
.stats-strip {
    background: rgba(255, 255, 255, 0.72);
    padding: 3.5rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}
.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
    padding: 1rem 3rem;
    flex: 1;
    min-width: 160px;
}
.stat-number {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    will-change: contents;
    margin-bottom: 0.4rem;
    font-variant-numeric: tabular-nums;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--glass-border);
    flex-shrink: 0;
}

/* ── Marquee Ticker ── */
.marquee-strip {
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.9rem 0;
    white-space: nowrap;
}
.marquee-track {
    display: inline-flex;
    gap: 0;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}
.marquee-track span {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0 1.5rem;
}
.marquee-dot {
    color: rgba(255,255,255,0.4) !important;
    padding: 0 !important;
    font-size: 0.6rem !important;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── Service card gradient top border on hover ── */
.services .card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.services .card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 16px 16px 0 0;
}
.services .card:hover::before {
    transform: scaleX(1);
}

/* ── Bold CTA Banner ── */
.cta-banner {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #6366f1 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}
.cta-banner-inner {
    position: relative;
    z-index: 1;
}
.cta-banner h2 {
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 1.2rem;
}
.cta-banner p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.btn-white {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #ffffff;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

/* Projects */
.projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.project-card {
    padding: 0;
    overflow: hidden;
    transition: var(--transition);
}
.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--card-shadow-hover);
}

/* Pricing */
.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
}

.pricing-card {
    text-align: center;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 4px 8px rgba(99,102,241,0.12), 0 24px 56px rgba(99,102,241,0.2);
    background: linear-gradient(160deg, #ffffff 0%, rgba(238,237,255,0.6) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--primary), var(--secondary));
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.features {
    margin-bottom: 2rem;
    text-align: left;
}

.features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.features li::before {
    content: '✓';
    color: var(--primary);
    margin-right: 10px;
    font-weight: 800;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-content {
        order: -1; /* Text on top for mobile */
    }
    .about-visual {
        margin-top: -2rem;
    }
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}
.faq-item {
    border-bottom: 1px solid var(--glass-border);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.faq-question:hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}
.faq-question .arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}
.faq-item.active .faq-question {
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(99, 102, 241, 0.04);
}
.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-muted);
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details a {
    display: block;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 16px; /* Prevents auto-zoom on iOS */
    -webkit-appearance: none;
    appearance: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Kontakt-seksjon bakgrunn */
#kontakt {
    background: rgba(238, 237, 255, 0.45);
    border-top: 1px solid var(--glass-border);
}

/* Priser-seksjon bakgrunn */
#priser {
    background: rgba(255, 255, 255, 0.72);
}

/* Google Partner Badge */
.google-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 1.1rem 0.55rem 0.75rem;
    background: rgba(99, 102, 241, 0.07);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 50px;
    margin: 0.25rem 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.google-partner-badge:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}
.gp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    flex-shrink: 0;
}
.gp-icon svg { display: block; }
.gp-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.gp-label {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.gp-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.85);
}

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

/* ── Effekt 1: Universal Card Hover ── */
.project-card,
.pricing-card,
.review-card,
.cr-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.project-card:hover,
.pricing-card:hover,
.review-card:hover,
.cr-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(123, 94, 167, 0.2);
    border-color: rgba(123, 94, 167, 0.3);
}

/* ── Effekt 2: Animated Hero Gradient Text ── */
.hero-gradient-text {
    background: linear-gradient(
        270deg,
        #7B5EA7,
        #4A90D9,
        #A855F7,
        #7B5EA7
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── Scroll Animations ── */
[data-sa] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--sa-delay, 0s);
}
[data-sa="fade-up"]     { transform: translateY(30px); }
[data-sa="fade-bottom"] { transform: translateY(40px); }
[data-sa="from-left"]   { transform: translateX(-40px); }
[data-sa="from-right"]  { transform: translateX(40px); }
[data-sa="fade-in"]     { transform: none; }

[data-sa].sa-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Legacy support */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Pricing Toggle ── */
.pricing-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.pricing-toggle {
    display: inline-flex;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 50px;
    padding: 5px;
    gap: 4px;
}
.toggle-btn {
    position: relative;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-main);
}
.toggle-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(99,102,241,0.35);
}
.toggle-badge {
    background: #22c55e;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

/* Price wrap fade */
.price-wrap {
    position: relative;
    min-height: 4rem;
}
.price-engang,
.price-monthly {
    animation: priceFade 0.3s ease;
}
@keyframes priceFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.price-total {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
}

/* ── Mid-page CTA ── */
.mid-cta {
    background: linear-gradient(135deg, #1a0533 0%, #2d1b69 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.mid-cta::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(139,92,246,0.25) 0%, transparent 70%);
    pointer-events: none;
}
.mid-cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.mid-cta-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.mid-cta-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #c4b5fd;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}
.mid-cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.mid-cta-btn-primary {
    background: #7c3aed;
    color: #ffffff;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    border: 2px solid #7c3aed;
    box-shadow: 0 8px 32px rgba(124,58,237,0.45);
    transition: var(--transition);
    text-decoration: none;
}
.mid-cta-btn-primary:hover {
    background: #6d28d9;
    border-color: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(124,58,237,0.55);
}
.mid-cta-btn-outline {
    background: transparent;
    color: #ffffff;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    border: 2px solid rgba(255,255,255,0.5);
    transition: var(--transition);
    text-decoration: none;
}
.mid-cta-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}
.mid-cta-trust {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
}


/* ═══════════════════════════════════
   RESPONSIVE – TABLET (max 900px)
═══════════════════════════════════ */
@media (max-width: 900px) {
    .pricing-card.popular { transform: scale(1); }
    .contact-container { grid-template-columns: 1fr; padding: 2rem; }
    .about-grid { grid-template-columns: 1fr; }
    .about-content { order: -1; }
    .about-visual { margin-top: -1rem; }
    .service-block { grid-template-columns: 1fr; padding: 2rem; gap: 2rem; }
    .customer-reviews-grid { grid-template-columns: 1fr !important; gap: 1.25rem; }
}

/* ═══════════════════════════════════
   RESPONSIVE – MOBILE (max 768px)
═══════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Global ── */
    * { -webkit-tap-highlight-color: transparent; }
    html, body { overflow-x: hidden; }
    section { overflow-x: hidden; }
    .container { padding: 0 1.25rem; }
    .section-padding { padding: 3rem 0; }
    .section-heading { margin-bottom: 2rem; }
    .section-heading h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.15; }
    .section-heading p { font-size: 0.93rem; }

    /* ── Navbar ── */
    .navbar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(245, 244, 255, 0.97);
        will-change: auto;
    }
    .navbar.scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgb(255, 255, 255);
    }
    .logo { font-size: 1.55rem; }
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100dvh;
        min-height: 100dvh;
        background: rgba(245, 244, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 6rem 2rem 3rem;
        text-align: center;
        overflow-y: auto;
        gap: 1.5rem;
        z-index: 999;
    }
    .nav-links.active {
        display: flex;
        animation: menuFadeIn 0.25s ease forwards;
    }
    @keyframes menuFadeIn {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .nav-cta { display: none; }
    .mobile-menu-btn { display: flex; z-index: 1001; }

    /* ── Hero – new centered layout ── */
    .premium-hero {
        padding-top: 80px;
        min-height: 100svh;
        min-height: 100dvh;
        padding-bottom: 2.5rem;
        align-items: center;
        justify-content: center;
    }
    .hero-centered { padding: 1rem 1.25rem; }
    .hero-badge { font-size: 0.78rem; padding: 0.4rem 1rem; margin-bottom: 1.25rem; }
    .hero-title {
        font-size: clamp(2rem, 9vw, 2.8rem) !important;
        line-height: 1.12 !important;
        letter-spacing: -0.03em !important;
        margin-bottom: 1.1rem;
    }
    .hero-sub { font-size: 0.96rem; margin-bottom: 1.75rem; }
    .hero-br { display: none; }
    .hero-trust { gap: 0.75rem; font-size: 0.82rem; }
    .hero-stats { display: none; }
    /* Stopp animert gradient på mobil – sparer GPU */
    .hero-gradient-text,
    .typewriter-text {
        animation: none;
        background-position: 0% 50%;
    }
    .hero-centered .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin-bottom: 1.75rem;
    }
    .hero-centered .hero-actions .btn {
        width: 100%; max-width: 340px;
        display: flex; justify-content: center; align-items: center;
        padding: 0.95rem 1rem; font-size: 0.97rem;
    }
    .hero-centered .hero-actions .btn:active { transform: scale(0.97); }
    .hero-watermark { font-size: 4rem; bottom: 0.5rem; right: 0.5rem; }

    /* ── Hero – legacy split layout (hidden on mobile) ── */
    .hero-right { display: none; }
    .hero-split { grid-template-columns: 1fr; text-align: center; gap: 0; padding: 1rem 0; }
    .glass-hero-card { padding: 1.75rem 1.25rem; border-radius: 18px; }
    .hero-left h1 { font-size: clamp(1.9rem, 7.5vw, 2.8rem) !important; line-height: 1.15 !important; margin-bottom: 0.9rem; letter-spacing: -0.02em !important; }
    .hero-left p { font-size: 0.93rem; margin-bottom: 1.4rem; }
    .badge { font-size: 0.78rem; padding: 0.4rem 1rem; margin-bottom: 1.25rem; }

    /* ── Scroll animations: no horizontal slide on mobile ── */
    [data-sa="from-left"]  { transform: translateY(20px); }
    [data-sa="from-right"] { transform: translateY(20px); }

    /* ── Stats strip ── */
    .stats-strip { padding: 2rem 0; }
    .stats-row { flex-direction: column; gap: 0; }
    .stat-item {
        min-width: 100%; width: 100%;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid var(--glass-border);
    }
    .stat-item:last-child { border-bottom: none; }
    .stat-number { font-size: 2rem !important; }
    .stat-label { font-size: 0.8rem; }
    .stat-divider { display: none; }

    /* ── Services ── */
    .services-grid { grid-template-columns: 1fr !important; gap: 0.9rem; }
    .card { padding: 1.4rem 1.2rem; }
    .card h3 { font-size: 1.05rem; }
    .lottie-style-container { min-height: 220px; }

    /* ── SEO content section ── */
    .seo-content { transform: none !important; margin-top: 0 !important; }
    .seo-content .container.glass { padding: 1.6rem 1.2rem !important; border-radius: 14px !important; }
    .seo-content h2 { font-size: clamp(1.25rem, 5vw, 1.8rem) !important; margin-bottom: 1rem !important; line-height: 1.3 !important; max-width: 100% !important; }
    .seo-content .container.glass > div:last-child { grid-template-columns: 1fr !important; gap: 1rem !important; font-size: 0.9rem !important; line-height: 1.65 !important; }

    /* ── Customer reviews ── */
    .customer-reviews-grid { grid-template-columns: 1fr !important; gap: 0.9rem; }
    .cr-card { padding: 1.35rem 1.2rem; }
    .cr-quote { font-size: 0.93rem; }

    /* ── Trustpilot reviews ── */
    .reviews-section { padding: 3rem 0; }
    .reviews-grid { grid-template-columns: 1fr !important; gap: 0.9rem; }
    .review-card { padding: 1.2rem; }
    .tp-score-bar { flex-direction: column; gap: 0.5rem; padding: 0.75rem 1rem; }

    /* ── Projects ── */
    .projects-grid { grid-template-columns: 1fr !important; gap: 1rem; }
    .project-card h3 { font-size: 1.15rem !important; }

    /* ── Pricing toggle ── */
    .pricing-toggle-wrap { padding: 0 0.5rem; }
    .pricing-toggle { flex-direction: row; border-radius: 16px; width: 100%; max-width: 340px; }
    .toggle-btn { justify-content: center; padding: 0.65rem 0.75rem; border-radius: 10px; font-size: 0.85rem; flex: 1; }
    .toggle-badge { display: none; }

    /* ── Pricing cards ── */
    .pricing-grid { grid-template-columns: 1fr !important; gap: 1rem; }
    .pricing-card.popular { transform: scale(1) !important; margin: 0; }
    .pricing-card h3 { font-size: 1.15rem; }
    .price { font-size: 2rem !important; margin: 1rem 0; }
    .price-total { font-size: 0.78rem; }
    .features { margin-bottom: 1.5rem; }
    .features li { font-size: 0.88rem; padding: 0.4rem 0; }
    .pricing-card .btn { width: 100%; justify-content: center; }

    /* ── Mid-CTA ── */
    .mid-cta { padding: 3rem 0; }
    .mid-cta::before { width: 100%; }
    .mid-cta-title { font-size: clamp(1.7rem, 6vw, 2.4rem); }
    .mid-cta-sub { font-size: 0.93rem; margin-bottom: 1.75rem; }
    .mid-cta-btns { flex-direction: column; align-items: center; gap: 0.75rem; }
    .mid-cta-btn-primary,
    .mid-cta-btn-outline { width: 100%; max-width: 300px; text-align: center; padding: 0.9rem 1.5rem; font-size: 0.95rem; }
    .mid-cta-trust { flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.83rem; }

    /* ── FAQ ── */
    .faq-accordion { border-radius: 12px; }
    .faq-question { padding: 1rem 1.25rem; font-size: 0.93rem; line-height: 1.4; min-height: 48px; }
    .faq-answer p { padding: 0 1.25rem 1.1rem; font-size: 0.88rem; line-height: 1.6; }

    /* ── CTA Banner ── */
    .cta-banner { padding: 3rem 0; }
    .cta-banner h2 { font-size: clamp(1.6rem, 6vw, 2.4rem) !important; }
    .cta-banner p { font-size: 0.93rem; max-width: 100%; }
    .btn-white { display: block; width: 100%; max-width: 280px; margin: 0 auto; text-align: center; }

    /* ── Contact ── */
    .contact-container { grid-template-columns: 1fr; padding: 1.5rem 1.25rem; gap: 1.5rem; }
    .contact-info h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
    .contact-info p { font-size: 0.93rem; }
    .form-group input,
    .form-group textarea { font-size: 1rem; padding: 0.85rem 1rem; }
    .form-group textarea { min-height: 100px; }
    .contact-container button[type="submit"] { width: 100%; justify-content: center; }

    /* ── Footer ── */
    .footer { padding: 1.5rem 0; }
    .footer .container {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: center !important;
        text-align: center;
    }
    .footer p, .footer a, .footer span { font-size: 0.82rem !important; }

    /* ── Disable hover lift on touch devices ── */
    .services .card:hover,
    .project-card:hover,
    .pricing-card:hover,
    .review-card:hover,
    .cr-card:hover { transform: none; box-shadow: none; }
    .services .card:hover::before { transform: scaleX(0); }
    .premium-btn:hover { transform: none; box-shadow: 0 10px 20px rgba(99,102,241,0.3); filter: none; }
    .premium-btn-outline:hover { transform: none; }
    .service-block:hover { transform: none !important; }
}

/* ═══════════════════════════════════
   RESPONSIVE – SMALL MOBILE (max 480px)
═══════════════════════════════════ */
@media (max-width: 480px) {

    /* ── Global ── */
    .container { padding: 0 1rem; }
    .section-padding { padding: 2.5rem 0; }
    .section-heading h2 { font-size: clamp(1.35rem, 6vw, 1.8rem); }

    /* ── Hero ── */
    .premium-hero { padding-top: 72px; }
    .hero-title { font-size: clamp(1.75rem, 10vw, 2.4rem) !important; }
    .hero-sub { font-size: 0.91rem; }
    .hero-badge { font-size: 0.73rem; padding: 0.35rem 0.85rem; margin-bottom: 1rem; }
    .hero-trust { flex-direction: column; gap: 0.35rem; font-size: 0.8rem; }
    .glass-hero-card { padding: 1.35rem 1rem; border-radius: 14px; }
    .hero-left h1 { font-size: clamp(1.7rem, 8vw, 2.3rem) !important; }
    .hero-left p { font-size: 0.88rem; }
    .badge { font-size: 0.73rem; padding: 0.35rem 0.85rem; }

    /* ── Stats ── */
    .stat-number { font-size: 1.75rem !important; }
    .stat-label { font-size: 0.75rem; }

    /* ── Cards ── */
    .card { padding: 1.2rem 1rem; }
    .review-card { padding: 1rem; }
    .cr-card { padding: 1.1rem 1rem; }
    .service-block { padding: 1.25rem !important; }

    /* ── Pricing ── */
    .pricing-toggle { max-width: 100%; }
    .price { font-size: 1.75rem !important; }
    .features li { font-size: 0.83rem; }
    .popular-badge { font-size: 0.72rem; padding: 0.25rem 0.75rem; }

    /* ── Buttons ── */
    .btn-primary, .btn-secondary { font-size: 0.92rem; padding: 0.8rem 1.2rem; }
    .btn-white { padding: 0.85rem 1.5rem; font-size: 0.9rem; }
    .btn.w-100 { font-size: 0.92rem; padding: 0.85rem; }

    /* ── Contact ── */
    .contact-container { padding: 1.1rem 1rem; }

    /* ── FAQ ── */
    .faq-question { font-size: 0.88rem; padding: 0.95rem 1rem; }
    .faq-answer p { font-size: 0.83rem; padding: 0 1rem 1rem; }
}

/* ═══════════════════════════════════
   MOBIL YTELSE – deaktiver alt som
   ikke er nødvendig under scrolling
═══════════════════════════════════ */
@media (max-width: 768px) {

    /* Skru av alle dekorative animasjoner */
    .orbit-glow,
    .float-core,
    .pulse-core,
    .float-node,
    .float-node-delayed,
    .svg-float,
    .svg-float-delayed,
    .svg-pulse,
    .svg-spin,
    .floating-shape,
    .rotating-ring,
    .bubble,
    .hero-watermark {
        animation: none !important;
        transition: none !important;
    }

    /* Skjul CSS-partikler og dot-grid – sparer GPU på mobil */
    .particle,
    .particles-container { display: none !important; }
    .premium-grid { display: none !important; }

    /* Stopp infinite-animasjoner som stjeler GPU-tråden på mobil */
    .typewriter-text {
        animation: none !important;
        background: linear-gradient(to right, var(--primary), var(--secondary)) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
    }
    .typewriter-cursor { display: none !important; }
    .pulse-dot { animation: none !important; opacity: 1 !important; }
    @keyframes pulseDot { 0%,100% { opacity: 1; } }
    .global-background { display: none !important; }

    /* Fjern backdrop-filter fra alle glass-kort */
    .glass,
    .glass-hero-card,
    .review-card,
    .cr-card,
    .contact-container,
    .faq-item,
    .pricing-card,
    .project-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.96) !important;
    }

    /* Fjern tunge box-shadows */
    .card,
    .glass,
    .pricing-card,
    .project-card,
    .review-card,
    .cr-card {
        box-shadow: 0 2px 12px rgba(99, 102, 241, 0.08) !important;
    }

    /* Skru av hover-transformasjoner */
    .card:hover,
    .glass:hover,
    .project-card:hover,
    .review-card:hover,
    .pricing-card:hover {
        transform: none !important;
        box-shadow: 0 2px 12px rgba(99, 102, 241, 0.08) !important;
    }

    /* Navbar: fjern backdrop-filter — dette blur-er bakgrunnen på HVERT scroll-frame */
    .navbar,
    .navbar.scrolled {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(245, 244, 255, 0.97) !important;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.99) !important;
    }

    /* ROI calc-kort: fjern backdrop-filter */
    .calc-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.96) !important;
    }

    /* Fjern filtrer-blur blobs helt på mobil – sparer GPU */
    .hero-blob { display: none !important; }

    /* animate-on-scroll: ingen overgang på mobil — elementer vises umiddelbart.
       Overgang + counter-animasjon samtidig = jank */
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .animate-on-scroll.visible {
        opacity: 1 !important;
        transform: none !important;
    }

    /* gradient-text på tellere: gradient-clip krever repaint ved hvert frame.
       Bruk plain farge under animasjon — gjenopprettes etter via JS */
    .stat-number.counting { -webkit-text-fill-color: var(--primary) !important; }

    /* Ingen scroll-snap-effekter som kan krasje med native scroll */
    * { scroll-snap-align: none !important; }

    /* Begrens transition-properties for scroll-ytelse */
    * { transition-property: opacity, transform !important; }
    /* Gjenopprett nødvendige transitions for interaktive elementer */
    a, button, .btn, input, textarea, select {
        transition: opacity 0.15s ease, background-color 0.15s ease,
                    color 0.15s ease, border-color 0.15s ease,
                    transform 0.15s ease !important;
    }

    /* Disable inline backdrop blur on URL input wrapper */
    #hero-seo-wrap {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Disable track fill width transition to prevent layout reflows */
    .slider-track-fill {
        transition: none !important;
    }

    /* Clamp heavy box shadows on interactive elements */
    .btn, .btn-primary, .premium-btn, .calc-cta, .hero-cta-primary, .mid-cta-btn-primary {
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15) !important;
    }
}

/* ─────────────────────────────────────────
   ROI CALCULATOR
───────────────────────────────────────── */
.calc-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.calc-section::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.calc-header {
  text-align: center;
  margin-bottom: 3.5rem;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
.calc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(99,102,241,0.10);
  border: 1px solid rgba(99,102,241,0.22);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.calc-header h2 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 0.9rem;
}
.calc-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.calc-card {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.left-panel {
  padding: 2.25rem 2rem;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.4rem;
}
.slider-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.budget-display {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.slider-wrap {
  position: relative;
  margin-bottom: 0.6rem;
  padding: 8px 0;
}
input[type=range].calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: transparent;
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.slider-track-bg {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  height: 8px;
  border-radius: 999px;
  background: rgba(26,26,46,0.82);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
  pointer-events: none;
  overflow: hidden;
}
.slider-track-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  box-shadow: 0 0 12px rgba(99,102,241,0.40);
  transition: width 0.15s cubic-bezier(0.22,1,0.36,1);
}
input[type=range].calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 6px rgba(99,102,241,0.20), 0 2px 8px rgba(0,0,0,0.15);
  cursor: grab;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.2s ease;
}
input[type=range].calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(99,102,241,0.22), 0 4px 16px rgba(0,0,0,0.18);
}
input[type=range].calc-slider:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.05);
}
input[type=range].calc-slider::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 6px rgba(99,102,241,0.20), 0 2px 8px rgba(0,0,0,0.15);
  cursor: grab;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
input[type=range].calc-slider::-moz-range-thumb:hover { transform: scale(1.08); }
input[type=range].calc-slider:active::-moz-range-thumb { cursor: grabbing; transform: scale(1.05); }
input[type=range].calc-slider::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(26,26,46,0.82);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
}
.slider-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}
.metric-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 1.1rem 1rem 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.22s ease;
  cursor: default;
}
.metric-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 0 0 2px 2px;
}
.metric-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.metric-card:hover::after { transform: scaleX(1); }
.metric-icon { font-size: 1.3rem; margin-bottom: 0.45rem; display: block; }
.metric-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.metric-value {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-color);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}
.metric-value.accent  { color: var(--primary); }
.metric-value.success { color: #10b981; }

/* Metric SVG icon */
.metric-icon-svg {
  width: 22px; height: 22px;
  margin-bottom: 0.45rem;
  display: block;
  color: var(--primary);
}
.metric-icon-svg.success { color: #10b981; }
.right-panel {
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}
.chart-header { margin-bottom: 1.5rem; }
.chart-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.chart-header p { font-size: 0.85rem; color: var(--text-muted); }
.chart-legend {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.legend-dot.leads { background: var(--primary); }
.legend-dot.rev   { background: #10b981; }
/* Leads grid panel */
.leads-panel {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.leads-panel-header { margin-bottom: 1.25rem; }
.leads-panel-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 3px;
}
.leads-panel-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* Calculation breakdown */
.breakdown-list {
  list-style: none;
  border-top: 0.5px solid rgba(99,102,241,0.12);
}
.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 0.5px solid rgba(99,102,241,0.10);
}
.breakdown-label {
  font-size: 14px;
  color: var(--text-muted);
}
.breakdown-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
  font-variant-numeric: tabular-nums;
}
.breakdown-value--accent {
  color: var(--primary);
  font-weight: 600;
}

/* Big leads counter */
.leads-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
.leads-counter-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 160px;
  line-height: 1.4;
}
.leads-counter-value {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Leads dot grid */
.leads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 16px);
  gap: 4px;
  width: 100%;
}
.lead-dot {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background-color: var(--primary);
  opacity: 0.12;
  transition: opacity 0.3s ease, transform 0.2s ease;
  will-change: opacity, transform;
}
.lead-dot.active {
  opacity: 1;
  transform: scale(1.1);
}

/* Insight quote box */
.leads-insight-box {
  margin-top: 24px;
  background: rgba(99,102,241,0.05);
  border: 1px solid rgba(99,102,241,0.10);
  padding: 16px 20px;
  border-radius: 10px;
}
.leads-insight-box p {
  font-style: italic;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}
.leads-insight-box strong {
  color: var(--primary);
  font-style: normal;
  font-weight: 600;
}

/* Responsive — leads grid */
@media (max-width: 420px) {
  .leads-grid { grid-template-columns: repeat(auto-fill, 14px); gap: 3px; }
  .lead-dot { width: 14px; height: 14px; }
  .leads-counter-value { font-size: 38px; }
}
.calc-insight {
  margin-top: 2rem;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.3s both;
  box-shadow: var(--card-shadow);
}
.insight-text-wrap { flex: 1; }
.insight-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.insight-text { font-size: 1rem; color: var(--text-color); line-height: 1.65; }
.insight-text strong { color: var(--primary); font-weight: 700; }
.calc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.95rem 2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(99,102,241,0.32);
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.22s ease;
  flex-shrink: 0;
}
.calc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99,102,241,0.45);
}
.calc-cta:hover .cta-arrow { transform: translateX(4px); }
.cta-arrow { display: inline-block; transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1); }

/* Responsive — calculator */
@media (max-width: 860px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-insight {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .calc-cta { width: 100%; justify-content: center; }
}
@media (max-width: 540px) {
  .calc-section { padding: 4rem 0; }
  .left-panel, .right-panel { padding: 1.5rem 1.2rem; }
  .calc-insight { padding: 1.35rem 1.2rem; }
  .slider-label-row { flex-direction: column; gap: 0.3rem; }
  .budget-display { font-size: 2rem; }
}
@media (max-width: 420px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-card { padding: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  .calc-slider::-webkit-slider-thumb,
  .calc-slider::-moz-range-thumb {
    transition-duration: 0s !important;
  }
}

/* ── Trust line directly under hero CTA ── */
.hero-trust-line {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.015em;
    margin-top: -0.75rem;
    margin-bottom: 0;
    opacity: 0.85;
    animation: fadeInUp 0.8s ease 0.55s both;
}

/* ── Hero trust bar items with inline SVG icons ── */
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.trust-item svg {
    flex-shrink: 0;
    opacity: 0.65;
}

/* ── Mid-CTA trust items with inline SVG icons ── */
.mid-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mid-trust-item svg {
    flex-shrink: 0;
}

/* ── Customer review stars: solid unicode, no emoji ── */
.cr-stars {
    color: #f59e0b;
    letter-spacing: 3px;
}

@media (max-width: 768px) {
    .hero-trust-line { font-size: 0.75rem; margin-top: -0.5rem; }
}

/* ── Hero primary CTA – conversion-focused, extra prominent ── */
.hero-cta-primary {
    font-size: 1.2rem;
    padding: 1.15rem 2.75rem;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.45);
    letter-spacing: -0.01em;
    gap: 10px;
}
.hero-cta-primary:hover {
    box-shadow: 0 14px 44px rgba(99, 102, 241, 0.65);
    transform: translateY(-3px);
    filter: brightness(1.08);
}
.hero-cta-primary .arrow {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}
.hero-cta-primary:hover .arrow {
    transform: translateX(6px);
}

@media (max-width: 768px) {
    .hero-cta-primary {
        font-size: 1.05rem;
        padding: 1rem 2rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   ROI CALCULATOR — MOBILE COMPACT (≤768px)
   Single column, fits in 1–2 screen heights, no jank
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Section: tighter vertical rhythm */
    .calc-section { padding: 2.5rem 0 2rem !important; }
    .calc-section::before { display: none; }

    /* Header */
    .calc-header { margin-bottom: 1.5rem; }
    .calc-badge {
        font-size: 0.72rem;
        padding: 5px 13px;
        margin-bottom: 0.8rem;
    }
    .calc-header h2 {
        font-size: clamp(1.35rem, 5.5vw, 1.8rem);
        margin-bottom: 0.5rem;
    }
    .calc-header p { font-size: 0.87rem; line-height: 1.55; }

    /* Grid: force single column, tight gap */
    .calc-grid {
        grid-template-columns: 1fr !important;
        gap: 0.8rem;
    }

    /* Both panels: compact padding, no entry animation */
    .left-panel,
    .leads-panel {
        padding: 1.1rem 1rem !important;
        animation: none !important;
    }

    /* Slider label row: stacked so the big number has room */
    .slider-label-row {
        flex-direction: column !important;
        gap: 0.15rem;
        margin-bottom: 0.9rem;
    }
    .slider-label { font-size: 0.74rem; }
    .budget-display { font-size: 1.7rem; line-height: 1.1; }

    /* Slider track & range labels */
    .slider-wrap { padding: 6px 0; }
    .slider-range-labels { font-size: 10.5px; margin-top: 10px; }

    /* Slider thumb: larger touch target (44px+) */
    input[type=range].calc-slider::-webkit-slider-thumb {
        width: 34px;
        height: 34px;
        box-shadow: 0 0 0 8px rgba(99,102,241,0.13), 0 2px 6px rgba(0,0,0,0.12);
    }
    input[type=range].calc-slider::-moz-range-thumb {
        width: 34px;
        height: 34px;
    }

    /* Metrics: 3 tight columns, icon and values scaled down */
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
        margin-top: 1rem;
    }
    .metric-card {
        padding: 0.7rem 0.55rem 0.65rem !important;
    }
    .metric-icon-svg { width: 16px; height: 16px; margin-bottom: 0.28rem; }
    .metric-label { font-size: 0.63rem; margin-bottom: 0.18rem; letter-spacing: 0.03em; }
    .metric-value { font-size: 0.85rem; }

    /* Leads panel header */
    .leads-panel-header { margin-bottom: 0.6rem; }
    .leads-panel-title { font-size: 13px; }
    .leads-panel-sub   { font-size: 11px; }

    /* Breakdown rows */
    .breakdown-row { padding: 6px 0; }
    .breakdown-label { font-size: 12.5px; }
    .breakdown-value { font-size: 13px; }

    /* Big leads counter */
    .leads-counter-row { margin-top: 11px; margin-bottom: 11px; }
    .leads-counter-value { font-size: 32px; letter-spacing: -0.02em; }
    .leads-counter-label { font-size: 11.5px; max-width: 120px; }

    /* Dot grid: smaller dots, guaranteed no overflow */
    .leads-grid {
        grid-template-columns: repeat(auto-fill, 13px) !important;
        gap: 3px !important;
    }
    .lead-dot {
        width: 13px !important;
        height: 13px !important;
        transition: opacity 0.18s ease, transform 0.18s ease !important;
    }

    /* Insight quote box */
    .leads-insight-box {
        margin-top: 11px;
        padding: 10px 13px;
        border-radius: 8px;
    }
    .leads-insight-box p {
        font-size: 11.5px;
        line-height: 1.55;
    }

    /* Bottom insight + CTA row */
    .calc-insight {
        margin-top: 0.8rem !important;
        padding: 1rem !important;
        gap: 0.85rem;
        animation: none !important;
    }
    .insight-eyebrow { font-size: 0.68rem; margin-bottom: 0.28rem; }
    .insight-text { font-size: 0.87rem; line-height: 1.6; }
    .calc-cta {
        padding: 0.8rem 1.4rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

/* Very small screens (≤360px): collapse metrics to 2-col */
@media (max-width: 360px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .metric-card:nth-child(3) { grid-column: 1 / -1; }
    .budget-display  { font-size: 1.5rem; }
    .leads-counter-value { font-size: 28px; }
    .leads-grid {
        grid-template-columns: repeat(auto-fill, 11px) !important;
        gap: 2px !important;
    }
    .lead-dot { width: 11px !important; height: 11px !important; }
}

/* ═══════════════════════════════════════════════════════════
   GDPR COOKIE BANNER
   Bruker @keyframes – immun mot transition-property-overstyringer
═══════════════════════════════════════════════════════════ */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    padding: 1.1rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(99, 102, 241, 0.12);
    box-shadow: 0 -4px 32px rgba(99, 102, 241, 0.10);
    font-family: var(--font-main);
    display: none;   /* alltid skjult som standard */
}
#cookie-banner.cb-visible {
    display: block;  /* vises – animasjon tar seg av slide-inn */
    animation: cookieBannerIn 0.42s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
@keyframes cookieBannerIn {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
}

.cb-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 1rem;
}

.cb-text { flex: 1; min-width: 0; }

.cb-title {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}
.cb-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.cb-link {
    color: var(--primary);
    text-decoration: underline;
}

.cb-actions {
    display: flex;
    gap: 0.65rem;
    flex-shrink: 0;
    align-items: center;
}

/* ── Shared button base ── */
.cb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.58rem 1.3rem;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}
.cb-btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.32);
}
.cb-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 20px rgba(99, 102, 241, 0.48);
}
.cb-btn--secondary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid rgba(99, 102, 241, 0.3);
}
.cb-btn--secondary:hover {
    background: rgba(99, 102, 241, 0.07);
    border-color: var(--primary);
}
.cb-btn--outline {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--glass-border);
}
.cb-btn--outline:hover {
    color: var(--text-color);
    border-color: rgba(99, 102, 241, 0.28);
}

/* ═══════════════════════════════════════════════════════════
   COOKIE SETTINGS PANEL / OVERLAY
   Bruker @keyframes – immun mot transition-property-overstyringer
═══════════════════════════════════════════════════════════ */
#cookie-overlay {
    position: fixed;
    inset: 0;
    z-index: 9991;
    background: rgba(10, 8, 30, 0.52);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-family: var(--font-main);
    display: none;   /* alltid skjult som standard */
}
#cookie-overlay.cp-visible {
    display: flex;   /* vises – animasjon tar seg av fade-inn */
    animation: cookieOverlayIn 0.28s ease both;
}
@keyframes cookieOverlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.cp-panel {
    background: #ffffff;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90dvh;
    overflow-y: auto;
    box-shadow:
        0 24px 64px rgba(10, 8, 30, 0.22),
        0 4px 16px rgba(99, 102, 241, 0.12);
}
#cookie-overlay.cp-visible .cp-panel {
    animation: cookiePanelIn 0.38s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
@keyframes cookiePanelIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.cp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.75rem 1rem;
    border-bottom: 1px solid var(--glass-border);
}
.cp-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.02em;
}
.cp-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.07);
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.cp-close:hover {
    background: rgba(99, 102, 241, 0.14);
    color: var(--text-color);
}

.cp-body {
    padding: 1.25rem 1.75rem;
}
.cp-intro {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.cp-category {
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin-bottom: 0.8rem;
    background: rgba(99, 102, 241, 0.025);
}
.cp-cat-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
}
.cp-cat-info {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    flex: 1;
    min-width: 0;
}
.cp-cat-name {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--text-color);
}
.cp-cat-desc {
    font-size: 0.79rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Always-on badge */
.cp-always-on {
    flex-shrink: 0;
    padding: 4px 11px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: 50px;
    font-size: 0.73rem;
    font-weight: 600;
    color: #16a34a;
    white-space: nowrap;
    margin-top: 2px;
}

/* Toggle switch */
.cp-switch {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    cursor: pointer;
    margin-top: 2px;
}
.cp-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.cp-slider {
    display: block;
    width: 48px;
    height: 26px;
    background: rgba(99, 102, 241, 0.13);
    border-radius: 50px;
    border: 1.5px solid rgba(99, 102, 241, 0.18);
    transition: background 0.25s ease, border-color 0.25s ease;
    position: relative;
}
.cp-slider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cp-switch input:checked + .cp-slider {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--primary);
}
.cp-switch input:checked + .cp-slider::after {
    transform: translateY(-50%) translateX(22px);
}
.cp-switch input:focus-visible + .cp-slider {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.cp-footer {
    display: flex;
    gap: 0.65rem;
    justify-content: flex-end;
    padding: 1rem 1.75rem 1.5rem;
    border-top: 1px solid var(--glass-border);
}

/* Respekter brukerpreferanse for redusert bevegelse */
@media (prefers-reduced-motion: reduce) {
    #cookie-banner.cb-visible,
    #cookie-overlay.cp-visible,
    #cookie-overlay.cp-visible .cp-panel {
        animation-duration: 0.01ms !important;
    }
}

/* ── Cookie – mobiltilpasning ── */
@media (max-width: 768px) {
    #cookie-banner { padding: 1rem 1rem 1.25rem; }
    .cb-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.9rem;
        padding: 0;
    }
    .cb-actions {
        flex-direction: column;
        gap: 0.55rem;
    }
    .cb-btn { width: 100%; }
    /* Primærknapp øverst på mobil */
    #cb-accept   { order: -1; }
    #cb-reject   { order:  0; }
    #cb-customize { order:  1; }

    .cp-header { padding: 1.1rem 1.25rem 0.8rem; }
    .cp-body   { padding: 1rem 1.25rem; }
    .cp-footer {
        flex-direction: column;
        padding: 0.85rem 1.25rem 1.25rem;
    }
    .cp-footer .cb-btn { width: 100%; }
}

/* ── NY STIL FOR CASE-KORTENE ── */

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

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  transition: var(--transition);
  padding: 0; /* override eventuell padding fra .glass */
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.case-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(99, 102, 241, 0.05);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.case-card__image img,
.case-card__image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
  display: block;
}

.case-card:hover .case-card__image img,
.case-card:hover .case-card__image svg {
  transform: scale(1.03);
}

.case-card__content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.case-card__meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.case-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary);
  letter-spacing: 0.02em;
}

.case-tag--muted {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.case-tag--ads {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}

.case-card h3 {
  font-size: 1.4rem;
  margin: 0;
}

.case-card__lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.case-card__deliverables {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.case-card__deliverables li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.5;
}

.case-card__deliverables li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 700px) {
  .case-card__content {
    padding: 1.25rem;
  }
  .case-card h3 {
    font-size: 1.25rem;
  }
  .case-card__lead {
    font-size: 0.9rem;
  }
}
