/* =========================================================
   OM OSS – NordPair
   Bruker samme designspråk som forsiden
   ========================================================= */

:root {
    --bg-primary: #04060d;
    --bg-secondary: #0a0d1a;
    --bg-card: rgba(15, 19, 32, 0.5);
    --bg-card-hover: rgba(20, 26, 44, 0.6);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-tertiary: rgba(255, 255, 255, 0.4);

    --accent: #5b8cff;
    --accent-glow: rgba(91, 140, 255, 0.5);
    --accent-soft: rgba(91, 140, 255, 0.1);

    --border: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Aktiv lenke i header */
.site-header__link--active {
    color: var(--text-primary) !important;
    position: relative;
}

.site-header__link--active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 100% !important;
    height: 1px;
    background: var(--accent);
}

/* =========================================================
   BAKGRUNNS-EFFEKTER (samme som forsiden)
   ========================================================= */
.bg-gradient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(91, 140, 255, 0.15), transparent),
        linear-gradient(180deg, #04060d 0%, #06091a 50%, #04060d 100%);
    z-index: -3;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

.bg-glow--1 {
    width: 600px;
    height: 600px;
    background: rgba(91, 140, 255, 0.3);
    top: 10%;
    right: -10%;
}

.bg-glow--2 {
    width: 500px;
    height: 500px;
    background: rgba(60, 100, 200, 0.2);
    bottom: 20%;
    left: -10%;
}

/* =========================================================
   FELLES CONTAINER
   ========================================================= */
.about {
    padding-top: 120px;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 48px;
    padding-right: 48px;
    padding-bottom: 60px;
}

/* =========================================================
   HERO – Intro
   ========================================================= */
.about-hero {
    padding: 40px 0 80px;
}

.about-hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-hero__content {
    animation: fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-hero__eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.about-hero__title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.about-hero__title-accent {
    background: linear-gradient(135deg, #5b8cff 0%, #7ba2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Hindrer at descenders klippes av gradient-clip */
    display: inline-block;
    padding-bottom: 0.08em;
    padding-right: 0.12em;
}

.about-hero__lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 24px;
    max-width: 480px;
}

.about-hero__text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-tertiary);
    font-weight: 300;
    max-width: 480px;
}

/* =========================================================
   HERO-VISUAL (Stilisert laptop med dashboard)
   ========================================================= */
.about-hero__visual {
    position: relative;
    animation: fade-up 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.about-hero__visual-glow {
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 50% 50%, rgba(91, 140, 255, 0.3), transparent 60%),
        radial-gradient(circle at 30% 70%, rgba(91, 140, 255, 0.15), transparent 50%);
    filter: blur(50px);
    pointer-events: none;
}

.about-hero__device {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: linear-gradient(135deg,
        rgba(20, 26, 44, 0.9) 0%,
        rgba(15, 19, 32, 0.85) 100%);
    border-radius: 18px;
    border: 1px solid rgba(91, 140, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 22px 26px 26px;
    box-shadow:
        0 25px 60px rgba(91, 140, 255, 0.3),
        0 0 0 1px rgba(91, 140, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: perspective(1000px) rotateY(-3deg) rotateX(2deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-3deg) rotateX(2deg) translateY(-10px); }
}

/* Subtilt skinn på toppen av enheten */
.about-hero__device::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(91, 140, 255, 0.6), transparent);
}

.about-hero__device-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 22px;
}

.about-hero__device-logo {
    color: var(--text-primary);
}

.about-hero__device-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.about-hero__device-menu span {
    width: 18px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
}

.about-hero__device-title {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.about-hero__device-title span {
    background: linear-gradient(135deg, #5b8cff, #7ba2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero__device-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.about-hero__device-lines span {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.about-hero__device-lines span:nth-child(1) { width: 95%; }
.about-hero__device-lines span:nth-child(2) { width: 80%; }
.about-hero__device-lines span:nth-child(3) { width: 60%; }

.about-hero__device-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 18px;
}

.about-hero__device-chart {
    position: relative;
    height: 80px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.about-hero__device-chart svg {
    position: absolute;
    top: 16px;
    left: 0;
    width: 60%;
    height: calc(100% - 16px);
}

.about-hero__device-bars {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 35%;
    height: calc(100% - 16px);
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.about-hero__device-bars span {
    flex: 1;
    background: linear-gradient(180deg, rgba(91, 140, 255, 0.8), rgba(91, 140, 255, 0.3));
    border-radius: 2px 2px 0 0;
}

/* =========================================================
   VERDIER (3-kortet)
   ========================================================= */
.about-values {
    margin: 40px 0 80px;
}

.about-values__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    padding: 40px 44px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

/* Vertikale skiller mellom verdiene */
.about-values__card .about-value:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background: var(--border);
}

.about-value {
    position: relative;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.about-value__icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(91, 140, 255, 0.08);
    border: 1px solid rgba(91, 140, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.about-value__content {
    flex: 1;
}

.about-value__title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.about-value__text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-tertiary);
    font-weight: 300;
}

/* =========================================================
   TEAM
   ========================================================= */
.about-team {
    margin: 80px 0;
    text-align: center;
}

.about-team__header {
    margin-bottom: 48px;
}

.about-team__eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.about-team__title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.about-team__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.about-member {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease;
}

.about-member:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 140, 255, 0.25);
}

.about-member__photo {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0d1a 0%, #14182a 100%);
}

.about-member__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder hvis bilde ikke finnes */
.about-member__photo--placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 40%, rgba(91, 140, 255, 0.15), transparent 50%),
        linear-gradient(135deg, #0f1322 0%, #1a2038 100%);
}

.about-member__photo--placeholder::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin-left: -40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(91, 140, 255, 0.2), rgba(91, 140, 255, 0.05));
    border: 1px solid rgba(91, 140, 255, 0.2);
}

/* Subtil gradient overlay nederst */
.about-member__photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(0deg, rgba(15, 19, 32, 0.4), transparent);
    pointer-events: none;
}

.about-member__info {
    position: relative;
    padding: 22px 24px 24px;
    text-align: left;
}

.about-member__name {
    font-family: 'Manrope', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.about-member__role {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 10px;
}

.about-member__field {
    display: block;
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 300;
}

/* Beskrivelse-tekst under rollen */
.about-member__bio {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-tertiary);
    font-weight: 300;
    margin: 0;
    padding-right: 40px; /* Plass til LinkedIn-ikonet i hjørnet */
}

.about-member__social {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(91, 140, 255, 0.08);
    border: 1px solid rgba(91, 140, 255, 0.2);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.about-member__social:hover {
    background: rgba(91, 140, 255, 0.15);
    transform: translateY(-2px);
}

/* =========================================================
   HVORFOR VI STARTET
   ========================================================= */
.about-why {
    margin: 80px 0;
}

.about-why__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    padding: 48px 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtil mountain/glow-effekt i høyre kolonne som bakgrunn */
.about-why__card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(91, 140, 255, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, transparent 0%, rgba(91, 140, 255, 0.04) 100%);
    pointer-events: none;
}

.about-why__content {
    position: relative;
    z-index: 1;
}

.about-why__eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.about-why__title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-why__text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-tertiary);
    font-weight: 300;
    max-width: 440px;
}

.about-why__list {
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.about-why__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
}

.about-why__check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(91, 140, 255, 0.1);
    border: 1px solid rgba(91, 140, 255, 0.3);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =========================================================
   AVSLUTTENDE CTA
   ========================================================= */
.about-cta {
    position: relative;
    text-align: center;
    padding: 80px 20px 40px;
    overflow: hidden;
}

.about-cta__rays {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 200px;
    background:
        radial-gradient(ellipse 60% 100% at 50% 100%, rgba(91, 140, 255, 0.18), transparent 70%),
        radial-gradient(ellipse 20% 100% at 20% 100%, rgba(91, 140, 255, 0.1), transparent 70%),
        radial-gradient(ellipse 20% 100% at 80% 100%, rgba(91, 140, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.about-cta__title {
    position: relative;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.about-cta__text {
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 28px;
}

.about-cta__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5b8cff, #4170e8);
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
    box-shadow:
        0 0 0 1px rgba(91, 140, 255, 0.5),
        0 10px 32px rgba(91, 140, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.about-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(91, 140, 255, 0.6),
        0 14px 40px rgba(91, 140, 255, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.about-cta__btn svg {
    transition: transform 0.3s ease;
}

.about-cta__btn:hover svg {
    transform: translateX(4px);
}

/* =========================================================
   ANIMASJONER
   ========================================================= */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   RESPONSIV
   ========================================================= */
@media (max-width: 1024px) {
    .about {
        padding-left: 32px;
        padding-right: 32px;
    }

    .about-hero__container {
        gap: 48px;
    }

    .about-values__card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px;
    }

    .about-values__card .about-value:not(:last-child)::after {
        right: 0;
        top: auto;
        bottom: -12px;
        left: 0;
        transform: none;
        width: 100%;
        height: 1px;
    }

    .about-why__card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px;
    }

    .about-why__text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-hero__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-hero__visual {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
        min-height: 280px;
    }

    .about-hero__lead,
    .about-hero__text {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .about {
        padding-top: 100px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-hero {
        padding: 20px 0 60px;
    }

    .about-values,
    .about-team,
    .about-why {
        margin: 60px 0;
    }

    .about-values__card,
    .about-why__card {
        padding: 28px 22px;
    }

    .about-team__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-member__photo {
        aspect-ratio: 4 / 3;
    }

    .about-cta {
        padding: 60px 16px 40px;
    }

    .about-hero__device {
        padding: 18px 20px 22px;
    }

    .about-hero__device-title {
        font-size: 18px;
    }
}

/* =========================================================
   TILGJENGELIGHET
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}