:root {
    --font-display: 'Funnel Display', sans-serif;
    --font-body: 'Funnel Sans', sans-serif;

    --color-bg: #0a0a12;
    /* Deep space dark */
    --color-text: #e0e0e0;
    --color-primary: #3b82f6;
    --color-secondary: #162d5c;
    --color-tertiary: #b5c9f2;
    /* Tech Blue */
    --color-accent: #3b82f6;
    /* Purple for "Loop" vibe */
    --color-glass: rgba(255, 255, 255, 0.05);
    --color-glass-border: rgba(255, 255, 255, 0.1);

    --spacing-container: 1200px;
    --spacing-section: 4rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px; /* Offset för fixerad header */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {margin-bottom: 1rem;}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 2rem;
}

.service-card h3 {
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.service-icon {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.heart {
    color: var(--color-accent);
    display: inline-block;
    animation: beat 1s infinite alternate;
}

@keyframes beat {
    to {
        transform: scale(1.2);
    }
}

/* Header */
.main-header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-glass-border);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
}

p i {
    color: var(--color-primary);
    margin-right: 0.15rem;
}

.logo {
    height: 30px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav li {
    display: flex;
    align-items: center;
}

.main-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
}

.main-nav a:hover {
    color: var(--color-primary);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-bg);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Abstract Background Animation */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 100vw;
    height: 40vh;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: 0;
    animation: float 10s infinite ease-in-out alternate;
}

.hero::before {
    background: var(--color-primary);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.hero::after {
    background: var(--color-accent);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
        background: var(--color-primary);
    }

    50% {
        transform: translate(50px, 50px) scale(1.1);
        background: var(--color-secondary);
    }

    100% {
        transform: translate(50px, 50px) scale(1.5);
        background: var(--color-tertiary);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-motto {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-motto .highlight {
    color: var(--color-accent);
    -webkit-text-fill-color: var(--color-accent);
}

.hero-sub {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    animation-play-state: paused;
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 10px 20px -10px var(--color-primary);
}

/* Sections */
section {
    padding: var(--spacing-section) 0;
}

.card {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}



/* Core Section - Modern Design */
.section-core {
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
}

.section-core h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-core h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--color-tertiary), var(--color-primary), var(--color-text));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.section-core p {
    max-width: 900px;
    margin: 0 auto 1rem auto;
    font-size: 1.25rem;
    line-height: 1.8;
    text-align: center;
    padding: 0 2rem;
}

/* Offering Section - Slagkraftigt block */
.section-offering {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    overflow: hidden;
}

.section-offering::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-offering h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.offering-text {
    font-size: 1.75rem;
    line-height: 1.25;
    text-align: center;
    color: var(--color-text);
    margin: 0;
    font-weight: 400;
}

.offering-text strong {
    color: var(--color-primary);
    font-weight: 700;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contact Section */
.section-contact {
    padding: 4rem 0;
    background: var(--color-bg);
}

.section-contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-contact > .container > p {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #9ca3af;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    border-color: var(--color-primary);
    box-shadow: 0 5px 20px -5px rgba(59, 130, 246, 0.2);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-primary);
}

.contact-item span {
    color: var(--color-text);
    font-size: 1.125rem;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--color-glass-border);
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-motto {
        font-size: 2.5rem;
    }

    .section-core h2 {
        font-size: 2rem;
    }

    .section-core::before {
        width: 3px;
        height: 50%;
    }

    .section-offering {
        padding: 4rem 0;
    }

    .offering-block {
        padding: 2.5rem 1.5rem;
    }

    .offering-text {
        font-size: 1.25rem;
        line-height: 1.7;
    }

    .section-contact {
        padding: 3rem 0;
    }

    .section-contact h2 {
        font-size: 2rem;
    }

    .section-contact > .container > p {
        font-size: 1.125rem;
        padding: 0 1rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-item i {
        font-size: 1.25rem;
        width: 25px;
    }

    .contact-item a,
    .contact-item span {
        font-size: 1rem;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 18, 0.95);
        backdrop-filter: blur(10px);
        transition: right 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block !important;
        cursor: pointer;
        z-index: 1001;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-motto,
.hero-sub {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-motto {
    animation-delay: 0.2s;
}

.hero-sub {
    animation-delay: 0.4s;
}

.cta-button {
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards 0.6s, bounce 2s ease-in-out infinite 0.4s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.2);
    border-color: var(--color-primary);
}

.hamburger {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-text);
    position: absolute;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-135deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(135deg);
    top: 9px;
}