/* ==========================================================================
    GRUNDINSTÄLLNINGAR & VARIABLER
    ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

:root {
    --logo-farg-1: #0a1118;
    --logo-farg-2: #0070f3;
}

body {
    font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

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

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: #f8fafc;
}

/* ==========================================================================
2. NAVIGATIONSFÄLT
========================================================================== */

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

#company-logo {
    height: 100px;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--logo-farg-2);
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-links a.active {
    color: var(--logo-farg-1);
    border-bottom: 2px solid var(--logo-farg-2);
    padding-bottom: 4px;
}

/* ==========================================================================
3. HERO-SEKTION
========================================================================== */

.hero-clean {
    position: relative;
    padding: 160px 0;
    text-align: center;
    overflow: hidden;
}

.particle-hero {
    background-color: var(--logo-farg-1);
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    z-index: 1;
    pointer-events: none;
}

.particle-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(255, 255, 255, 1)
    );
    z-index: 3;
    pointer-events: none;
}

@keyframes EnterpriseGradient {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 0%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.hero-content-clean {
    position: relative;
    z-index: 10;
    color: #ffffff;
}

.hero-content-clean h1 {
    font-size: 3.6rem;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-content-clean p {
    font-size: 1.35rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
4. SEKTIONER & SVG-ILLUSTRATIONER
========================================================================== */

.section-title {
    font-size: 2.6rem;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    color: #64748b;
    margin-bottom: 50px;
    font-size: 1.15rem;
}

/* ==========================================================================
5. BILDFORENSIK-ANIMATION
========================================================================== */

.laser-scanner-line {
    stroke: #00eaff;
    stroke-width: 2px;
    stroke-linecap: round;
    opacity: 0.8;
    animation: laserScan 4s ease-in-out infinite;
}

@keyframes laserScan {
    0% {
        transform: translateX(-5px);
        filter: drop-shadow(0 0 2px #00eaff);
    }

    50% {
        transform: translateX(15px);
        filter: drop-shadow(0 0 6px #00eaff);
    }

    100% {
        transform: translateX(-5px);
        filter: drop-shadow(0 0 2px #00eaff);
    }
}

.meta-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    fill: #0070f3;
    font-weight: bold;
    letter-spacing: 1px;
}

.meta-line {
    font-family: 'Courier New', Courier, monospace;
    font-size: 9px;
    fill: #00eaff;
    font-weight: 600;
    opacity: 0;
}

.code-1 {
    animation: dataStream 3s infinite 0.2s;
}

.code-2 {
    animation: dataStream 3s infinite 0.8s;
}

.code-3 {
    animation: dataStream 3s infinite 1.4s;
}

.code-4 {
    animation: dataStream 3s infinite 2s;
}

@keyframes dataStream {
    0% {
        opacity: 0;
        transform: translateY(2px);
    }

    20% {
        opacity: 1;
        transform: translateY(0);
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.flow-arrows {
    animation: arrowPulse 2s infinite;
}

@keyframes arrowPulse {
    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* ==========================================================================
6. CARD BODIES, BADGES & KNAPPAR
========================================================================== */

.card-body {
    padding: 24px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--logo-farg-2);
    background-color: rgba(0, 112, 243, 0.08);
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.card-body h3 {
    font-size: 1.55rem;
    color: #0f172a;
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.card-body p {
    color: #475569;
    font-size: 0.98rem;
    margin-bottom: 24px;
    line-height: 1.65;
    flex-grow: 1;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background-color: var(--logo-farg-2);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(0, 112, 243, 0.3);
    transition:
        transform 0.2s,
        opacity 0.2s,
        background-color 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 112, 243, 0.4);
    background-color: #0051bb;
}

.btn-secondary {
    background-color: #0f172a;
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: #1e293b;
    box-shadow: none;
}

.btn-submit {
    width: 100%;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
}

/* ==========================================================================
7. LAYOUT & GRID-SYSTEM FÖR UNDERSIDOR
========================================================================== */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.badge {
    background-color: rgba(0, 112, 243, 0.1);
    color: var(--logo-farg-2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.saas-text {
    min-width: 0;
}

.saas-text h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #0f172a;
    font-weight: 800;
}

.saas-text p {
    margin-bottom: 24px;
    color: #475569;
    font-size: 1.05rem;
}

/* ==========================================================================
8. WEBBDESIGN-SIDANS TEXT
========================================================================== */

.webbdesign-page {
    width: 100%;
}

.webbdesign-hero {
    margin-bottom: 60px;
}

.webbdesign-hero h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.2;
}

.webbdesign-hero p {
    margin-bottom: 20px;
    color: #475569;
    font-size: 1.05rem;
}

.webbdesign-section {
    margin-bottom: 60px;
}

.webbdesign-section h2 {
    font-size: 2rem;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.25;
}

.webbdesign-section h3 {
    font-size: 1.2rem;
    color: #0f172a;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 12px;
}

.webbdesign-section p {
    color: #475569;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.webbdesign-section ul {
    margin: 0 0 24px 22px;
    padding: 0;
}

.webbdesign-section li {
    color: #475569;
    font-size: 1.05rem;
    margin-bottom: 10px;
    padding-left: 4px;
}

.webbdesign-section .price {
    color: #0f172a;
    font-size: 1.15rem;
    margin-top: 24px;
}

.feature {
    margin-top: 30px;
}

.feature h3 {
    margin-bottom: 8px;
}

.feature p {
    margin-bottom: 20px;
}

.process-step {
    margin-top: 30px;
}

.process-step h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.process-step p {
    margin-bottom: 20px;
}

.termination-example {
    margin: 30px 0;
}

.termination-example h3 {
    margin-top: 0;
}

.webbdesign-summary {
    margin-top: 70px;
    margin-bottom: 20px;
}

.webbdesign-summary h2 {
    font-size: 2.2rem;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 18px;
}

.webbdesign-summary p {
    color: #475569;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.summary-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.summary-price:first-of-type {
    border-top: 1px solid #e2e8f0;
}

.summary-price strong {
    color: #0f172a;
}

/* ==========================================================================
9. FEATURES-LISTA
========================================================================== */

.features-list {
    list-style: none;
    margin-bottom: 36px;
}

.features-list li {
    margin-bottom: 14px;
    font-size: 1rem;
    color: #334155;
}

/* ==========================================================================
10. ILLUSTRATIONSRUTA
========================================================================== */

.saas-visual {
    min-width: 0;
}

.placeholder-box {
    background-color: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #64748b;
    font-weight: 500;
    text-align: center;
    padding: 20px;
}

/*
Den här är den enda delen som gör att illustrationsrutan
följer med när användaren scrollar.
*/

.sticky-visual {
    position: sticky;
    top: 140px;
    align-self: start;
}

/* ==========================================================================
11. FORMULÄR
========================================================================== */

.form-container {
    max-width: 620px;
}

.form-subtitle {
    color: #475569;
    margin-bottom: 40px;
}

.order-form {
    background: #ffffff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    text-align: left;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    color: #334155;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.98rem;
    transition: border-color 0.2s;
    background-color: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--logo-farg-2);
    background-color: #ffffff;
}

/* ==========================================================================
12. KONTAKT
========================================================================== */

/* ==========================================================================
13. FOOTER
========================================================================== */

footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 40px 0;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}

/* ==========================================================================
14. CEO-DIRECT ANIMATION
========================================================================== */

.data-pulse {
    fill: none;
    stroke: #00eaff;
    stroke-width: 2px;
    opacity: 0;
    transform-origin: 100px 45px;
}

.pulse-1 {
    animation: waveUp 3s infinite linear;
}

.pulse-2 {
    animation: waveUp 3s infinite linear 1s;
}

.pulse-3 {
    animation: waveUp 3s infinite linear 2s;
}

@keyframes waveUp {
    0% {
        transform: translateY(25px) scale(0.3);
        opacity: 0;
    }

    30% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-15px) scale(1.8);
        opacity: 0;
    }
}

.ceo-shield {
    animation: shieldGlow 4s ease-in-out infinite;
}

@keyframes shieldGlow {
    0%,
    100% {
        filter: drop-shadow(0 0 1px #0070f3);
        opacity: 0.9;
    }

    50% {
        filter: drop-shadow(0 0 4px #0070f3);
        opacity: 1;
    }
}

/* ==========================================================================
15. WEBBDESIGN-ANIMATION
========================================================================== */

.web-code-line {
    stroke: #00eaff;
    stroke-width: 2.5px;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.line-short {
    animation: writeCode 4s infinite ease-in-out 0s;
}

.line-long {
    animation: writeCode 4s infinite ease-in-out 0.4s;
}

.line-medium {
    animation: writeCode 4s infinite ease-in-out 0.8s;
}

.line-long-2 {
    animation: writeCode 4s infinite ease-in-out 1.2s;
}

@keyframes writeCode {
    0% {
        stroke-dashoffset: 100;
    }

    40%,
    80% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -100;
    }
}

.web-layout-box {
    fill: rgba(0, 112, 243, 0.1);
    stroke: #0070f3;
    stroke-width: 2px;
    animation: layoutFade 4s ease-in-out infinite;
}

.web-layout-element {
    stroke: #0070f3;
    stroke-width: 2px;
    stroke-linecap: round;
    animation: layoutFade 4s ease-in-out infinite;
}

@keyframes layoutFade {
    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.98);
        transform-origin: 144px 66px;
    }

    50% {
        opacity: 1;
        transform: scale(1);
        transform-origin: 144px 66px;
    }
}

/* ==========================================================================
16. RESPONSIV DESIGN
========================================================================== */

@media (max-width: 900px) {

    .flex-nav {
        flex-direction: column;
        gap: 15px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content-clean h1 {
        font-size: 2.4rem;
    }

    .hero-clean {
        padding: 100px 0;
    }

    .order-form {
        padding: 32px;
    }

    /*
       På mobil ska illustrationen inte vara sticky.
       Då hamnar den normalt under texten.
    */

    .sticky-visual {
        position: relative;
        top: 0;
        align-self: auto;
    }

    .webbdesign-hero h2 {
        font-size: 2rem;
    }

    .webbdesign-section h2 {
        font-size: 1.8rem;
    }

    .webbdesign-summary h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {

    .container {
        width: 92%;
    }

    #company-logo {
        height: 80px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .section {
        padding: 70px 0;
    }

    .webbdesign-section {
        margin-bottom: 45px;
    }

    .placeholder-box {
        height: 300px;
    }

    .summary-price {
        gap: 20px;
    }
}

.grid-2 {
    align-items: start;
}

.saas-visual {
    position: sticky;
    top: 140px;
    align-self: start;
}

/* På mobil ska illustrationen följa det normala flödet */
@media (max-width: 900px) {
    .saas-visual {
        position: relative;
        top: 0;
    }
}

/* ================================================================= */
/* Server-sida / Tjänstesidor - Layout & Sektionsklasser             */
/* ================================================================= */

.hero-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--bg-primary, #ffffff);
}

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

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-primary, #111);
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary, #555);
}

.features-section {
    padding: 60px 20px;
    background-color: var(--bg-secondary, #f9f9f9);
}

.features-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-primary, #111);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg, #ffffff);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color, #eaeaea);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-color, #0056b3);
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary, #555);
}

/* =====================================================================
   Startsidan – finare rytm, tydligare kontrast och responsiv polish
   ===================================================================== */

.home-page {
    --home-ink: #0b1727;
    --home-muted: #526174;
    --home-blue: #0877ef;
    --home-surface: #081321;
    background: linear-gradient(155deg, #081321 0%, #0b1c30 48%, #081321 100%);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.home-page .container {
    max-width: 1200px;
}

.home-page #particleCanvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

.home-page .navbar {
    position: sticky;
    z-index: 100;
    padding: 8px 0;
    background: linear-gradient(180deg, rgba(58, 83, 107, 0.98) 0%, rgba(28, 48, 69, 0.97) 54%, rgba(8, 19, 33, 0.94) 100%);
    border-bottom: 1px solid rgba(125, 180, 228, 0.06);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(18px);
}

.home-page .flex-nav {
    gap: 22px;
}

.home-page #company-logo {
    height: 62px;
    width: auto;
}

.home-page .nav-links {
    align-items: center;
    gap: clamp(10px, 1.2vw, 19px);
}

.home-page .nav-links a {
    color: #c1d1e2;
    font-size: 0.87rem;
    font-weight: 650;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.home-page .nav-links a:hover {
    color: #78c2ff;
    opacity: 1;
}

.home-page .lang-btn {
    border-color: rgba(176, 208, 237, 0.28);
    color: #d9e8f7;
    padding: 7px 10px;
    border-radius: 999px;
}

.home-page .lang-btn:hover {
    color: #fff;
    background: rgba(48, 138, 214, 0.2);
    border-color: rgba(143, 204, 255, 0.55);
    transform: none;
}

.home-page .lang-menu {
    top: calc(100% + 10px);
    background: #fff;
    border-color: #e0e8f1;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(11, 23, 39, 0.16);
    overflow: hidden;
}

.home-page .lang-menu li button {
    color: #34445a;
}

.home-page .lang-menu li button:hover {
    color: #075bb9;
    background: #edf5ff;
}

.home-page footer {
    position: relative;
    z-index: 2;
    padding: 30px 0;
    border-top: 1px solid rgba(125, 180, 228, 0.16);
    background: rgba(7, 17, 30, 0.68);
    color: #a6b4c5;
    backdrop-filter: blur(14px);
}

.home-page .footer-service-link {
    color: #78bcff;
    font-size: 0.92rem;
    text-decoration: none;
}

.home-page .footer-service-link:hover {
    color: #b5ddff;
}

.home-page a:focus-visible,
.home-page button:focus-visible,
.home-page input:focus-visible {
    outline: 3px solid rgba(8, 119, 239, 0.5);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .home-page .navbar {
        padding: 7px 0 11px;
    }

    .home-page .flex-nav {
        gap: 8px;
    }

    .home-page .nav-links {
        gap: 8px 15px;
    }

}

@media (max-width: 600px) {
    .home-page .container {
        width: 90%;
    }

    .home-page #company-logo {
        height: 54px;
    }

    .home-page .nav-links {
        gap: 7px 12px;
    }

    .home-page .nav-links a {
        font-size: 0.8rem;
    }

}

@media (prefers-reduced-motion: reduce) {
    .home-page,
    .home-page * {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .home-page #particleCanvas {
        display: none;
    }
}



/* Startsidan: fyra tydliga tjänstesektioner */
.home-page .home-services {
    position: relative;
    z-index: 2;
}

.home-page .home-service {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 560px;
    align-items: center;
    padding: clamp(76px, 9vw, 124px) 0;
}

.home-page .home-service--forensics {
    padding-bottom: clamp(96px, 11vw, 150px);
}

.home-page .home-service-inner {
    display: grid;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: clamp(36px, 7vw, 96px);
}

.home-page .home-service-copy {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.home-page .home-service-copy h1,
.home-page .home-service-copy h2 {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(3rem, 5.3vw, 5.15rem);
    font-weight: 740;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.home-page .home-service-copy p {
    max-width: 570px;
    margin: 0 0 30px;
    color: #c9d6e5;
    font-size: clamp(1.02rem, 1.35vw, 1.16rem);
    line-height: 1.78;
}

.home-page .service-cta {
    display: inline-flex;
    align-items: center;
    padding: 13px 23px;
    border: 1px solid rgba(132, 199, 255, 0.28);
    border-radius: 999px;
    background: #0877ef;
    box-shadow: 0 10px 26px rgba(0, 100, 216, 0.24);
}

.home-page .service-cta:hover {
    background: #0068d9;
}

.home-page .service-illustration {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 360px;
    place-items: center;
    transform: translate3d(var(--pointer-dx, 0px), var(--pointer-dy, 0px), 0);
    transition: transform 180ms ease-out;
}

.home-page .service-illustration::before {
    position: absolute;
    width: min(82%, 390px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 112, 243, 0.2), rgba(0, 112, 243, 0) 70%);
    content: "";
    filter: blur(18px);
}

.home-page .service-art {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 500px);
    overflow: visible;
    filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.16));
}

.home-page .art-halo {
    fill: none;
    stroke: rgba(91, 174, 241, 0.25);
    stroke-width: 1.5;
    stroke-dasharray: 2 10;
}

.home-page .art-node,
.home-page .art-glow,
.home-page .server-light,
.home-page .web-spark {
    fill: #53c5ff;
    filter: drop-shadow(0 0 9px rgba(67, 183, 255, 0.72));
    animation: servicePulse 3.2s ease-in-out infinite;
}

.home-page .node-two,
.home-page .light-two {
    animation-delay: 0.7s;
}

.home-page .node-three,
.home-page .light-three {
    animation-delay: 1.3s;
}

.home-page .art-link,
.home-page .server-link {
    fill: none;
    stroke: rgba(83, 174, 255, 0.58);
    stroke-width: 2;
}

.home-page .shield-shape {
    fill: rgba(15, 69, 118, 0.22);
    stroke: #278df4;
    stroke-width: 3;
}

.home-page .shield-check {
    fill: none;
    stroke: #7be6ff;
    stroke-width: 9;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    animation: drawCheck 1.5s 0.25s ease forwards;
}

.home-page .art-glow {
    fill: #80ecff;
    opacity: 0.55;
}

.home-page .browser-frame,
.home-page .photo-frame,
.home-page .server-frame {
    fill: rgba(11, 34, 57, 0.68);
    stroke: rgba(83, 174, 255, 0.72);
    stroke-width: 2;
}

.home-page .browser-line {
    fill: none;
    stroke: rgba(83, 174, 255, 0.5);
    stroke-width: 2;
}

.home-page .browser-dot {
    fill: #53baff;
}

.home-page .browser-dot.dim {
    fill: #45647c;
}

.home-page .web-block,
.home-page .server-unit {
    fill: rgba(25, 107, 177, 0.17);
    stroke: rgba(61, 161, 239, 0.48);
    stroke-width: 1.5;
}

.home-page .web-stroke,
.home-page .server-slot,
.home-page .metadata-line {
    fill: none;
    stroke: #54bcf5;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: drawLine 3s ease-in-out infinite alternate;
}

.home-page .web-stroke.thin {
    stroke-width: 2.5;
    animation-delay: 0.35s;
}

.home-page .server-slot {
    stroke: rgba(95, 191, 255, 0.58);
    stroke-width: 2;
    stroke-dasharray: none;
}

.home-page .server-light {
    fill: #7be6ff;
}

.home-page .photo-sun {
    fill: rgba(61, 161, 239, 0.22);
    stroke: #53baff;
    stroke-width: 2;
}

.home-page .photo-mountain {
    fill: rgba(29, 117, 186, 0.24);
    stroke: #46b9ff;
    stroke-width: 3;
    stroke-linejoin: round;
}

.home-page .lens-ring,
.home-page .lens-inner {
    fill: rgba(9, 26, 44, 0.28);
    stroke: #278df4;
    stroke-width: 5;
}

.home-page .lens-inner {
    stroke: rgba(99, 204, 255, 0.68);
    stroke-width: 2;
}

.home-page .lens-handle {
    fill: none;
    stroke: #278df4;
    stroke-width: 14;
    stroke-linecap: round;
}

.home-page .scan-line {
    fill: none;
    stroke: #70e9ff;
    stroke-width: 3;
    filter: drop-shadow(0 0 8px #00cfff);
    animation: scanDown 3.4s ease-in-out infinite;
}

.home-page .metadata-line {
    stroke: rgba(112, 233, 255, 0.65);
    stroke-width: 3;
    stroke-dasharray: 80;
    stroke-dashoffset: 0;
    animation-duration: 4s;
}

@keyframes servicePulse {
    0%, 100% { opacity: 0.58; transform: scale(0.92); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes scanDown {
    0%, 100% { transform: translateY(-42px); opacity: 0.3; }
    50% { transform: translateY(58px); opacity: 0.95; }
}

@media (max-width: 900px) {
    .home-page .home-service {
        min-height: 500px;
        padding: 76px 0;
    }

    .home-page .home-service-inner {
        grid-template-columns: minmax(0, 1fr) minmax(270px, 0.88fr);
        gap: 32px;
    }

    .home-page .home-service-copy h1,
    .home-page .home-service-copy h2 {
        font-size: clamp(2.7rem, 5.8vw, 4.2rem);
    }

    .home-page .service-illustration {
        min-height: 300px;
    }
}

@media (max-width: 680px) {
    .home-page .home-service {
        min-height: 0;
        padding: 68px 0;
    }

    .home-page .home-service-inner {
        width: 88%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-page .home-service-copy h1,
    .home-page .home-service-copy h2 {
        margin-bottom: 17px;
        font-size: clamp(2.65rem, 11vw, 3.7rem);
    }

    .home-page .home-service-copy p {
        margin-bottom: 24px;
        font-size: 1rem;
    }

    .home-page .service-illustration {
        min-height: 250px;
    }

    .home-page .service-art {
        width: min(86vw, 390px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .service-illustration {
        transform: none !important;
    }

    .home-page .service-art,
    .home-page .service-art * {
        animation: none !important;
    }
}


/* Samma visuella tema på undersidorna, utan startsidans stjärnhimmel */
.site-theme-page {
    --site-blue: #0877ef;
    background: linear-gradient(155deg, #081321 0%, #0b1c30 48%, #081321 100%);
    color: #c9d6e5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
}

.site-theme-page .container {
    max-width: 1200px;
}

.site-theme-page #particleCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

.site-theme-page .navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 8px 0;
    background: linear-gradient(180deg, rgba(58, 83, 107, 0.98) 0%, rgba(28, 48, 69, 0.97) 54%, rgba(8, 19, 33, 0.94) 100%);
    border-bottom: 1px solid rgba(125, 180, 228, 0.06);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(18px);
}

.site-theme-page .flex-nav {
    gap: 22px;
}

.site-theme-page #company-logo {
    width: auto;
    height: 62px;
}

.site-theme-page .nav-links {
    align-items: center;
    gap: clamp(10px, 1.2vw, 19px);
}

.site-theme-page .nav-links a {
    color: #c1d1e2;
    font-size: 0.87rem;
    font-weight: 650;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-theme-page .nav-links a.active,
.site-theme-page .nav-links .highlight-link,
.site-theme-page #nav-bestall {
    color: #c1d1e2 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.site-theme-page .nav-links a:hover {
    color: #78c2ff;
    opacity: 1;
}

.site-theme-page .lang-btn {
    padding: 7px 10px;
    border: 1px solid rgba(176, 208, 237, 0.28);
    border-radius: 999px;
    color: #d9e8f7;
}

.site-theme-page .lang-menu {
    top: calc(100% + 10px);
    overflow: hidden;
    border-color: #e0e8f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(11, 23, 39, 0.3);
}

.site-theme-page .lang-menu li button {
    color: #34445a;
}

.site-theme-page .lang-menu li button:hover {
    color: #075bb9;
    background: #edf5ff;
}

.site-theme-page main,
.site-theme-page > .section {
    position: relative;
    z-index: 1;
}

.site-theme-page main > .section,
.site-theme-page > .section {
    min-height: 66vh !important;
    padding: clamp(76px, 8vw, 112px) 0 !important;
    background: transparent !important;
}

.site-theme-page main > .section > .container,
.site-theme-page > .section > .container {
    width: 90%;
}

.site-theme-page .grid-2 {
    gap: clamp(36px, 6vw, 84px);
}

.site-theme-page h1,
.site-theme-page h2,
.site-theme-page h3,
.site-theme-page h4 {
    color: #fff !important;
}

.site-theme-page h1 {
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    font-weight: 740;
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.site-theme-page h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 720;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.site-theme-page h3 {
    font-weight: 680;
}

.site-theme-page main p,
.site-theme-page > .section p {
    color: #c9d6e5 !important;
    line-height: 1.75;
}

.site-theme-page strong {
    color: #f4f8fc;
}

.site-theme-page main a:not(.btn),
.site-theme-page > .section a:not(.btn) {
    color: #82c6ff;
}

.site-theme-page .btn,
.site-theme-page .submit-btn {
    border: 1px solid rgba(132, 199, 255, 0.28);
    border-radius: 999px;
    background: #0877ef;
    color: #fff;
    box-shadow: 0 10px 26px rgba(0, 100, 216, 0.24);
}

.site-theme-page .btn:hover,
.site-theme-page .submit-btn:hover {
    background: #0068d9;
    box-shadow: 0 12px 30px rgba(0, 100, 216, 0.32);
}

.site-theme-page .features-list li {
    margin-bottom: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(125, 180, 228, 0.12);
    border-left: 2px solid rgba(8, 119, 239, 0.75);
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, 0.028);
    color: #c9d6e5 !important;
    line-height: 1.65;
}

.site-theme-page .webbdesign-section,
.site-theme-page .process-step,
.site-theme-page .termination-example {
    padding: 26px 28px;
    border: 1px solid rgba(125, 180, 228, 0.13);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.028);
}

.site-theme-page .webbdesign-section {
    margin-bottom: 20px;
}

.site-theme-page .webbdesign-section h2,
.site-theme-page .webbdesign-section h3,
.site-theme-page .webbdesign-summary h2 {
    color: #fff !important;
}

.site-theme-page .webbdesign-section p,
.site-theme-page .webbdesign-section li,
.site-theme-page .webbdesign-summary p,
.site-theme-page .summary-price {
    color: #c9d6e5 !important;
}

.site-theme-page .webbdesign-section li::marker {
    color: #53baff;
}

.site-theme-page .webbdesign-summary {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(83, 174, 255, 0.2);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(8, 119, 239, 0.12), rgba(255, 255, 255, 0.025));
}

.site-theme-page .summary-price,
.site-theme-page .summary-price:first-of-type {
    border-color: rgba(125, 180, 228, 0.18);
}

.site-theme-page .summary-price strong,
.site-theme-page .price,
.site-theme-page .price-highlight {
    color: #a6d5ff !important;
}

.site-theme-page .table-title {
    color: #fff !important;
    border-left-color: #278df4;
}

.site-theme-page .table-container,
.site-theme-page .form-container {
    border: 1px solid rgba(125, 180, 228, 0.16);
    border-radius: 16px;
    background: rgba(8, 19, 33, 0.78);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.site-theme-page .server-table th {
    background: rgba(22, 46, 70, 0.96);
    color: #9dd7ff;
}

.site-theme-page .server-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.025);
}

.site-theme-page .form-container {
    max-width: 680px;
    padding: clamp(24px, 5vw, 42px);
}

.site-theme-page .form-group label,
.site-theme-page .checkbox-group label {
    color: #d6e2ef !important;
}

.site-theme-page .form-group input,
.site-theme-page .form-group select,
.site-theme-page .form-group textarea {
    border-color: rgba(151, 189, 222, 0.26);
    border-radius: 10px;
    background: #091629 !important;
    color: #f4f8fc !important;
}

.site-theme-page .form-group input::placeholder,
.site-theme-page .form-group textarea::placeholder {
    color: #7f93a9;
}

.site-theme-page .form-group select option {
    background: #091629;
    color: #f4f8fc;
}

.site-theme-page .form-group input:focus,
.site-theme-page .form-group select:focus,
.site-theme-page .form-group textarea:focus {
    border-color: #53baff;
    box-shadow: 0 0 0 3px rgba(83, 186, 255, 0.15);
}

.site-theme-page div[style*="#f8fafc"] {
    border-color: rgba(125, 180, 228, 0.16) !important;
    background: rgba(255, 255, 255, 0.035) !important;
}

.site-theme-page .speech-bubble-animated {
    border-radius: 14px;
    background: rgba(20, 40, 62, 0.96);
    color: #e5eef8;
}

.site-theme-page .speech-bubble-animated::after {
    border-right-color: rgba(20, 40, 62, 0.96);
}

.site-theme-page footer {
    position: relative;
    z-index: 2;
    padding: 30px 0;
    border-top: 1px solid rgba(125, 180, 228, 0.16);
    background: rgba(7, 17, 30, 0.78);
    color: #a6b4c5;
    backdrop-filter: blur(14px);
}

.site-theme-page footer p {
    color: #a6b4c5 !important;
}

.site-theme-page a:focus-visible,
.site-theme-page button:focus-visible,
.site-theme-page input:focus-visible,
.site-theme-page select:focus-visible,
.site-theme-page textarea:focus-visible {
    outline: 3px solid rgba(8, 119, 239, 0.5);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .site-theme-page .navbar {
        padding: 7px 0 11px;
    }

    .site-theme-page .flex-nav {
        gap: 8px;
    }

    .site-theme-page .nav-links {
        gap: 8px 15px;
    }

    .site-theme-page .grid-2 {
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .site-theme-page .container {
        width: 90%;
    }

    .site-theme-page #company-logo {
        height: 54px;
    }

    .site-theme-page .nav-links {
        gap: 7px 12px;
    }

    .site-theme-page .nav-links a {
        font-size: 0.8rem;
    }

    .site-theme-page .webbdesign-section,
    .site-theme-page .process-step,
    .site-theme-page .termination-example {
        padding: 22px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-theme-page #particleCanvas {
        display: none;
    }
}
