/* =========================
   BASE
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #070a0f;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}

.eyebrow {
    color: #29d9ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 14px;
}


/* =========================
   HEADER
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(7, 10, 15, 0.92);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid #18222f;
}

.nav {
    position: relative;

    width: min(1500px, 94%);
    min-height: 78px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;

    text-decoration: none;
}

.brand img {
    width: 185px;
    height: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav a {
    color: #b7c1cd;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    transition: 0.2s;
}

.site-nav a:hover {
    color: white;
}

.nav-cta {
    background: linear-gradient(135deg,
            #1668ff,
            #2ce3ff);

    color: white;

    padding: 11px 19px;

    border-radius: 9px;

    text-decoration: none;
    font-weight: 700;

    white-space: nowrap;
}

.menu-toggle {
    display: none;

    background: transparent;
    color: white;

    border: none;

    font-size: 28px;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    overflow: hidden;

    min-height: 720px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(circle at 75% 30%,
            rgba(19, 99, 255, 0.14),
            transparent 34%),
        #070a0f;
}

.hero-layout {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr) minmax(400px, 0.75fr);

    gap: 100px;

    align-items: center;
}

.hero-copy {
    max-width: 760px;
}

.hero h1 {
    font-size: clamp(48px, 5vw, 76px);
    line-height: 1.02;

    letter-spacing: -2px;

    margin-bottom: 26px;
}

.hero h1 span {
    display: block;

    background: linear-gradient(90deg,
            #2374ff,
            #2ce3ff);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-description {
    max-width: 650px;

    color: #9ba9ba;

    font-size: 19px;

    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}

.button {
    display: inline-block;

    padding: 14px 24px;

    border-radius: 9px;

    text-decoration: none;
    font-weight: 700;

    transition: 0.2s;
}

.primary {
    background: linear-gradient(135deg,
            #176cff,
            #26dfff);

    color: white;

    border: 1px solid transparent;
}

.primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.secondary {
    background: #101720;

    color: white;

    border: 1px solid #283647;
}

.secondary:hover {
    background: #17212c;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;

    gap: 20px;

    margin-top: 34px;

    color: #7f8e9f;

    font-size: 14px;
}


/* HERO LOGO */

.hero-visual {
    display: flex;
    justify-content: center;
}

.logo-showcase {
    position: relative;

    width: min(500px, 100%);

    padding: 75px 45px;

    border-radius: 28px;

    text-align: center;

    background:
        linear-gradient(145deg,
            rgba(21, 31, 43, 0.88),
            rgba(8, 13, 20, 0.95));

    border: 1px solid #1b3046;

    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.45),
        0 0 100px rgba(25, 113, 255, 0.08);
}

.logo-showcase::before {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    left: -50px;
    top: -50px;

    background: #156eff;

    filter: blur(100px);

    opacity: 0.3;

    pointer-events: none;
}

.logo-showcase img {
    position: relative;

    width: min(390px, 100%);

    height: auto;

    display: block;

    margin: 0 auto 25px;
}

.logo-showcase p {
    color: #8c9bab;

    font-size: 17px;
}


/* =========================
   SEKSJONSOVERSKRIFTER
========================= */

.section-heading {
    max-width: 720px;

    margin-bottom: 55px;
}

.section-heading h2 {
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.08;

    letter-spacing: -1px;

    margin-bottom: 17px;
}

.section-heading>p:last-child {
    color: #8d9baa;

    font-size: 17px;
}


/* =========================
   TJENESTER
========================= */

.services {
    padding: 120px 0;

    background: #0b1016;
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.service-card {
    position: relative;

    min-height: 250px;

    padding: 31px;

    background: #101720;

    border: 1px solid #1b2735;

    border-radius: 16px;

    transition: 0.25s;
}

.service-card:hover {
    transform: translateY(-5px);

    border-color: #2379ff;
}

.service-number {
    color: #29d9ff;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 45px;
}

.service-card h3 {
    font-size: 22px;

    margin-bottom: 11px;
}

.service-card p {
    color: #8997a7;
}


/* =========================
   WHY
========================= */

.why {
    padding: 115px 0;
}

.why-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: start;
}

.why h2 {
    max-width: 520px;

    font-size: clamp(38px, 4vw, 52px);

    line-height: 1.08;

    letter-spacing: -1px;
}

.why-text {
    font-size: 18px;

    color: #98a5b3;
}

.why-text p+p {
    margin-top: 25px;
}


/* =========================
   DEMOER
========================= */

.demos {
    padding: 120px 0;

    background: #0b1016;
}

.demo-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 24px;
}

.demo-card {
    overflow: hidden;

    background: #101720;

    border: 1px solid #1b2938;

    border-radius: 20px;
}

.demo-screen {
    position: relative;

    height: 330px;

    padding: 18px;

    overflow: hidden;
}

.electrician-demo {
    background:
        radial-gradient(circle at 70% 30%,
            rgba(255, 203, 0, 0.25),
            transparent 35%),
        #11151b;
}

.plumber-demo {
    background:
        radial-gradient(circle at 70% 30%,
            rgba(21, 139, 255, 0.3),
            transparent 35%),
        #0b1622;
}

.demo-browser {
    height: 35px;

    background: rgba(255, 255, 255, 0.07);

    border-radius: 8px 8px 0 0;

    display: flex;
    align-items: center;

    padding: 0 12px;
}

.browser-dots {
    display: flex;

    gap: 5px;
}

.browser-dots span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.3);
}

.browser-line {
    width: 50%;

    height: 6px;

    margin-left: 20px;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.08);
}

.demo-content {
    height: calc(100% - 35px);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 15px;
}

.demo-content span {
    font-size: 50px;
}

.demo-content strong {
    font-size: 30px;
}

.demo-info {
    padding: 30px;
}

.demo-label {
    color: #2bdfff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.demo-info h3 {
    font-size: 26px;

    margin-bottom: 10px;
}

.demo-info>p:not(.demo-label) {
    color: #8d9baa;

    margin-bottom: 20px;
}

.demo-status {
    display: inline-block;

    padding: 7px 11px;

    background: rgba(44, 224, 255, 0.1);

    border: 1px solid rgba(44, 224, 255, 0.25);

    border-radius: 7px;

    color: #2ce0ff;

    font-size: 13px;
    font-weight: 700;
}

.demo-status.muted {
    color: #778596;

    background: #151c24;

    border-color: #26313d;
}


/* =========================
   PRIS
========================= */

.pricing {
    padding: 120px 0;
}

.pricing-card {
    padding: 60px;

    border-radius: 25px;

    background:
        radial-gradient(circle at 85% 35%,
            rgba(31, 120, 255, 0.15),
            transparent 35%),
        #101720;

    border: 1px solid #1c2a39;

    display: grid;

    grid-template-columns: 1.3fr 0.7fr;

    gap: 80px;

    align-items: center;
}

.pricing-copy h2 {
    max-width: 650px;

    font-size: clamp(40px, 4vw, 55px);

    line-height: 1.08;

    margin-bottom: 18px;
}

.pricing-copy h2 span {
    color: #2bdfff;
}

.pricing-copy>p:not(.eyebrow) {
    color: #91a0af;

    max-width: 600px;

    margin-bottom: 30px;
}

.pricing-copy ul {
    list-style: none;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px 25px;

    color: #b2beca;
}

.price-box {
    padding: 40px;

    background: #080d13;

    border: 1px solid #203246;

    border-radius: 18px;

    text-align: center;
}

.price-box>p {
    color: #718093;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.price-box strong {
    display: block;

    font-size: clamp(45px, 5vw, 65px);

    line-height: 1.1;

    margin: 13px 0 3px;

    background: linear-gradient(90deg,
            #1c74ff,
            #2ce3ff);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.price-box span {
    display: block;

    color: #778697;

    margin-bottom: 25px;
}

.full-button {
    width: 100%;

    text-align: center;
}


/* =========================
   PROSESS
========================= */

.process {
    padding: 120px 0;

    background: #0b1016;
}

.process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.process-step {
    padding: 28px;

    border-top: 1px solid #26384c;
}

.process-step>span {
    display: block;

    color: #2bdfff;

    font-size: 14px;
    font-weight: 800;

    margin-bottom: 40px;
}

.process-step h3 {
    font-size: 21px;

    margin-bottom: 10px;
}

.process-step p {
    color: #8290a0;
}


/* =========================
   KONTAKT
========================= */

.contact {
    padding: 120px 0;
}

.contact-box {
    padding: 55px;

    border-radius: 24px;

    background:
        linear-gradient(135deg,
            #111a25,
            #0d131c);

    border: 1px solid #1e3042;

    display: grid;

    grid-template-columns: 1fr 0.8fr;

    gap: 90px;

    align-items: start;
}

.contact-copy h2 {
    max-width: 600px;

    font-size: clamp(40px, 4vw, 55px);

    line-height: 1.08;

    margin-bottom: 18px;
}

.contact-copy>p:not(.eyebrow) {
    max-width: 580px;

    color: #91a0af;

    font-size: 17px;
}

.contact-email {
    margin-top: 40px;
}

.contact-email span {
    display: block;

    color: #637387;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 5px;
}

.contact-email strong {
    color: #2bdfff;

    font-size: 20px;
}


/* FORM */

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.contact-form label {
    color: #b7c1cb;

    font-size: 14px;

    margin-top: 3px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 13px 14px;

    background: #080c12;

    color: white;

    border: 1px solid #243345;

    border-radius: 8px;

    outline: none;

    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #257cff;
}

.contact-form textarea {
    min-height: 125px;

    resize: vertical;
}

.form-submit {
    margin-top: 8px;

    padding: 14px 20px;

    border: none;

    border-radius: 9px;

    background: linear-gradient(135deg,
            #176cff,
            #27dfff);

    color: white;

    font-weight: 800;

    cursor: pointer;

    font-size: 15px;
}

.form-submit:hover {
    filter: brightness(1.08);
}


/* =========================
   FOOTER
========================= */

footer {
    padding-top: 65px;

    background: #05080c;

    border-top: 1px solid #17212c;
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 55px;
}

.footer-brand img {
    width: 180px;

    height: auto;

    display: block;

    margin-bottom: 15px;
}

.footer-brand p {
    color: #687687;
}

.footer-grid>div:not(.footer-brand) {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.footer-grid strong {
    margin-bottom: 7px;
}

.footer-grid a,
.footer-grid span {
    color: #748294;

    text-decoration: none;
}

.footer-grid a:hover {
    color: white;
}

.copyright {
    padding: 20px;

    border-top: 1px solid #17212c;

    color: #566273;

    text-align: center;

    font-size: 13px;
}


/* =========================
   TABLET / MOBILMENY
========================= */

@media (max-width: 1050px) {

    .site-nav {
        display: none;

        position: absolute;

        top: 70px;
        left: 2%;
        right: 2%;

        padding: 10px;

        border: 1px solid #253345;

        border-radius: 12px;

        background: #101720;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 14px;

        border-radius: 8px;
    }

    .site-nav a:hover {
        background: #17212c;
    }

    .menu-toggle {
        display: block;
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding: 80px 0;
    }

    .hero-layout {
        grid-template-columns: 1fr;

        gap: 70px;
    }

    .hero-copy {
        max-width: 700px;
    }

    .hero-visual {
        justify-content: flex-start;
    }


    /* TJENESTER */

    .service-grid {
        grid-template-columns: 1fr 1fr;
    }


    /* WHY */

    .why-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    /* DEMO */

    .demo-grid {
        grid-template-columns: 1fr;
    }


    /* PRICE */

    .pricing-card {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    /* PROCESS */

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }


    /* CONTACT */

    .contact-box {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }


    #tjenester,
    #demoer,
    #pris,
    #kontakt {
        scroll-margin-top: 90px;
    }
}


/* =========================
   MOBIL
========================= */

@media (max-width: 650px) {

    .container {
        width: 92%;
    }


    /* HEADER */

    .nav {
        width: 94%;

        gap: 10px;

        min-height: 70px;
    }

    .brand img {
        width: 135px;
    }

    .nav-cta {
        font-size: 12px;

        padding: 9px 11px;
    }

    .menu-toggle {
        font-size: 25px;
    }


    /* HERO */

    .hero {
        padding: 65px 0;
    }

    .hero-layout {
        gap: 50px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 58px);

        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-trust {
        flex-direction: column;

        gap: 7px;
    }

    .logo-showcase {
        padding: 50px 25px;
    }


    /* SEKSJONER */

    .services,
    .demos,
    .pricing,
    .process,
    .contact {
        padding: 85px 0;
    }

    .why {
        padding: 85px 0;
    }


    /* TJENESTER */

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .service-number {
        margin-bottom: 30px;
    }


    /* DEMO */

    .demo-screen {
        height: 260px;
    }


    /* PRIS */

    .pricing-card {
        padding: 28px;

        border-radius: 18px;
    }

    .pricing-copy ul {
        grid-template-columns: 1fr;
    }

    .price-box {
        padding: 28px 20px;
    }


    /* PROCESS */

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-step>span {
        margin-bottom: 20px;
    }


    /* CONTACT */

    .contact-box {
        padding: 28px;

        border-radius: 18px;
    }

    .contact-email strong {
        font-size: 16px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }
}


/* =========================
   EKSTRA SMAL MOBIL
========================= */

@media (max-width: 430px) {

    .brand img {
        width: 120px;
    }

    .nav-cta {
        font-size: 11px;

        padding: 8px 9px;
    }

    .hero-buttons {
        gap: 9px;
    }

    .hero-buttons .button {
        padding: 12px 17px;
    }
}

/* =========================
   ÉN-SIDES SEKSJON
========================= */

.onepage {
    padding: 100px 0 80px;
    background: #070a0f;
}

.onepage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 45px;
}

.onepage-item {
    padding: 30px;
    border-top: 1px solid #26384c;
}

.onepage-item span {
    display: block;
    color: #2bdfff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 35px;
}

.onepage-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.onepage-item p {
    color: #8997a7;
    line-height: 1.6;
}

@media (max-width: 800px) {
    .onepage-grid {
        grid-template-columns: 1fr;
    }

    .onepage {
        padding: 85px 0;
    }

    .onepage-item span {
        margin-bottom: 18px;
    }
}

.demo-content {
    overflow: hidden;
}

.demo-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.real-preview .demo-content {
    position: absolute;
    inset: 35px 18px 0 18px;
}
.real-preview .demo-content img {
    width: 100%;
    height: auto;
    display: block;
}

.real-preview {
    position: relative;
}

.real-preview .demo-browser {
    position: relative;
    z-index: 2;
}

.real-preview .demo-content {
    z-index: 1;
}

@media (max-width: 650px) {
    .logo-showcase img {
        width: 70%;
    }
}

@media (max-width: 650px) {
    .demo-info {
        padding-top: 32px;
    }
}
