/* 
   ==============================
   CSS VARIABLES - BRAND STYLING
   ==============================
*/
:root {
    --color-dark: #201f26;
    --color-light: #faf9f5;
    --color-mid-gray: #e3e3e2;
    --color-light-gray: #e8e6dc;

    --color-accent-orange: #d97757;
    --color-accent-blue: #cea43a;
    --color-accent-green: #cea43a;

    --font-heading: 'Poppins', Arial, sans-serif;
    --font-body: 'Lora', Georgia, serif;
}

/* 
   ==============================
   GLOBAL RESETS
   ==============================
*/
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--color-dark);
    color: var(--color-light);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.eyebrow,
.btn,
.stat,
.tier-number,
.footer-logo {
    font-family: var(--font-heading);
    margin-top: 0;
    font-weight: 500;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.section {
    position: relative;
    padding: 100px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(250, 249, 245, 0.05);
    /* Subtle separator */
}

/* 
   ==============================
   UTILITIES & COMPONENTS
   ==============================
*/
.glass-card {
    background: rgba(250, 249, 245, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(250, 249, 245, 0.08);
    border-radius: 16px;
    padding: 40px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(250, 249, 245, 0.2);
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-accent-orange);
    color: var(--color-accent-orange);
    box-shadow: 0 0 20px rgba(217, 119, 87, 0.2);
}

/* Animation trigger classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* 
   ==============================
   PARALLAX LAYERS
   ==============================
*/
.background-layers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.layer-bg {
    background: radial-gradient(circle at 50% 50%, rgba(20, 20, 19, 0) 0%, rgba(20, 20, 19, 1) 100%),
        url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=2000&q=80') center/cover;
    opacity: 0.15;
    mix-blend-mode: luminosity;
    /* Duochrome feeling */
}

/* Abstract shapes with brand colors for background elegance */
.layer-shape {
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.shape-1 {
    left: -10%;
    top: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--color-accent-orange);
}

.shape-2 {
    right: -20%;
    top: 30%;
    width: 60vw;
    height: 60vw;
    background: var(--color-accent-blue);
}

.shape-3 {
    left: 50%;
    top: 10%;
    width: 40vw;
    height: 40vw;
    background: var(--color-accent-green);
}

.shape-4 {
    left: -10%;
    top: 50%;
    width: 70vw;
    height: 70vw;
    background: var(--color-accent-blue);
}

/*
   ==============================
   NEW AESTHETICS (Halftone, Path, Dots)
   ==============================
*/
.global-layers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.layer-halftone {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    background-image: radial-gradient(rgba(250, 249, 245, 0.04) 1.5px, transparent 1.5px);
    background-size: 8px 8px;
}

.layer-path {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('Reference/lines.png') no-repeat right bottom;
    background-size: contain;
    opacity: 0.9;
}

.layer-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('Reference/dots.png') no-repeat right bottom;
    background-size: auto 80%;
    /* Takes up 80% of the section height, anchored bottom right */
    opacity: 0.8;
}

/* ==============================
   NEW: GLOBAL HEADER & NAVIGATION
   ==============================
*/
.header {
    position: fixed;
    /* Fixerad i toppen vid skroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* Sätt en fast höjd */
    background-color: rgba(20, 20, 19, 0.9);
    /* Halvgenomskinlig mörk bakgrund */
    backdrop-filter: blur(8px);
    /* Blur-effekt för att se innehåll under */
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(250, 249, 245, 0.05);
    /* Mycket subtil linje under */
    z-index: 1000;
    /* Se till att den ligger över allt annat */
    display: flex;
    align-items: center;
    /* Vertikalt centrerad */
    transition: background-color 0.3s ease;
    /* Mjuk övergång vid hover */
}

.header:hover {
    background-color: rgba(20, 20, 19, 0.98);
    /* Blir lite mörkare vid hover */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    /* Logo till vänster, Nav till höger */
    align-items: center;
    width: 100%;
    /* Tar upp hela containerns bredd */
    padding: 0 5%;
    /* Matcha containerns padding */
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-light);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--color-accent-orange);
    /* Använd accentfärgen vid hover */
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    /* Utrymme mellan länkarna */
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-mid-gray);
    /* Använd den grå färgen för oaktiva länkar */
    font-weight: 500;
    text-transform: uppercase;
    /* Matcha din footer och eyebrow-stil */
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.main-nav a:not(.btn):hover {
    color: var(--color-light);
    /* Blir ljus vid hover */
    transform: translateY(-2px);
    /* Liten lyft-effekt */
}

/* Anpassa din existerande .btn-secondary för headern */
.nav-cta {
    font-size: 0.9rem;
    padding: 10px 20px;
    /* Mindre padding än de stora knapparna */
    text-transform: none;
    /* Ingen uppercase på knappen */
    letter-spacing: normal;
}

/* ==============================
   ADJUSTMENTS FOR EXISTING CLASSES
   ==============================
*/
/* Justera hero-sektionen så att den inte startar under headern */
.hero {
    padding-top: 140px;
    /* 80px (header) + 60px extra luft */
}

/* Snabbtillfoga styling för .btn-secondary (du hade bara .btn-primary) */
.btn-secondary {
    background-color: transparent;
    color: var(--color-light);
    border: 1px solid rgba(250, 249, 245, 0.2);
}

.btn-secondary:hover {
    background-color: var(--color-accent-blue);
    border-color: var(--color-accent-blue);
    color: var(--color-light);
    box-shadow: 0 0 15px rgba(106, 155, 204, 0.3);
}


/* 
   ==============================
   HERO
   ==============================
*/
.hero .content {
    text-align: center;
    padding-top: 10vh;
}

.eyebrow {
    color: var(--color-accent-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.headline {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.subheadline {
    font-size: 1.4rem;
    color: var(--color-mid-gray);
    max-width: 800px;
    margin: 0 auto 50px;
}

.trust-signals {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 40px;
    color: var(--color-mid-gray);
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

/* 
   ==============================
   PROBLEM AGITATE
   ==============================
*/
.problem-container {
    text-align: center;
}

.problem-container h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.problem-agitate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.problem-item {
    text-align: left;
}

.problem-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(217, 119, 87, 0.1);
    color: var(--color-accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.problem-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.problem-item p {
    color: var(--color-mid-gray);
    font-size: 1rem;
}

.transition-statement {
    padding-top: 40px;
    border-top: 1px solid rgba(250, 249, 245, 0.1);
}

.transition-statement h3 {
    font-size: 1.8rem;
    color: var(--color-accent-blue);
}

/* 
   ==============================
   VALUE STACK
   ==============================
*/
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 80px;
}

.stack-container {
    max-width: 800px;
    margin: 0 auto;
}

.stack-tier {
    display: flex;
    padding: 30px 0;
    border-bottom: 1px solid rgba(250, 249, 245, 0.1);
}

.tier-number {
    font-size: 3rem;
    color: rgba(176, 174, 165, 0.2);
    margin-right: 40px;
    line-height: 1;
}

.tier-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.tier-content p {
    color: var(--color-mid-gray);
    margin: 0;
}

.highlight-box {
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(106, 155, 204, 0.1) 0%, rgba(120, 140, 93, 0.1) 100%);
    border: 1px solid rgba(106, 155, 204, 0.2);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}

.highlight-box h3 {
    font-size: 2rem;
    color: var(--color-light);
    margin-bottom: 10px;
}

/* 
   ==============================
   SOCIAL PROOF / METRICS
   ==============================
*/
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.stat {
    font-size: 4rem;
    color: var(--color-accent-green);
    margin-bottom: 15px;
}

.metric-card .description {
    font-size: 1.1rem;
    color: var(--color-mid-gray);
}

/* 
   ==============================
   TRANSFORMATION
   ==============================
*/
.journey-stages {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 50px;
}

.journey-stages::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(250, 249, 245, 0.1);
    z-index: 1;
}

.stage {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    text-align: center;
}

.stage-dot {
    width: 20px;
    height: 20px;
    background-color: var(--color-dark);
    border: 2px solid var(--color-mid-gray);
    border-radius: 50%;
    margin: 0 auto 30px;
    transition: all 0.3s ease;
}

.stage-dot.accent {
    border-color: var(--color-accent-orange);
    background-color: var(--color-accent-orange);
    box-shadow: 0 0 15px rgba(217, 119, 87, 0.5);
}

.stage:hover .stage-dot {
    transform: scale(1.3);
    border-color: var(--color-light);
}

.stage h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.stage p {
    font-size: 0.95rem;
    color: var(--color-mid-gray);
}

/* 
   ==============================
   SECONDARY CTA
   ==============================
*/
.feature-cta {
    text-align: center;
    padding: 80px 40px;
}

.avatar-stack {
    display: inline-flex;
    align-items: center;
    margin-bottom: 30px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-dark);
    margin-left: -15px;
    background-size: cover;
    background-position: center;
    background-color: var(--color-accent-blue);
}

.avatar:nth-child(1) {
    margin-left: 0;
    background-color: var(--color-accent-orange);
}

.avatar:nth-child(2) {
    background-color: var(--color-accent-green);
}

.avatar-text {
    margin-left: 15px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-mid-gray);
}

.question-headline {
    font-size: 3rem;
    margin-bottom: 40px;
}

/* 
   ==============================
   FOOTER
   ==============================
*/
.footer {
    padding: 60px 0;
    border-top: 1px solid rgba(250, 249, 245, 0.1);
    background-color: rgba(20, 20, 19, 0.8);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-nav a,
.footer-legal a,
.footer-social a {
    color: var(--color-mid-gray);
    margin-right: 20px;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-legal a:hover,
.footer-social a:hover {
    color: var(--color-light);
}

.footer-legal span {
    color: var(--color-accent-green);
    margin-right: 20px;
    font-size: 0.9rem;
}

.header-scrolled {
    background-color: rgba(32, 31, 34, 0.98);
    /* Blir nästan helt mörk */
    height: 70px;
    /* Krymper lite */
}

.philosophy-content {
    margin-top: 2rem;
}

/* 
   ==============================
   RESPONSIVENESS
   ==============================
*/
@media (max-width: 900px) {
    .headline {
        font-size: 3rem;
    }

    .journey-stages {
        flex-direction: column;
        padding-top: 0;
    }

    .journey-stages::before {
        left: 30px;
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
    }

    .stage {
        text-align: left;
        padding: 0 0 0 60px;
        margin-bottom: 40px;
    }

    .stage-dot {
        position: absolute;
        left: 20px;
        top: 0;
        margin: 0;
    }

    .question-headline {
        font-size: 2.2rem;
    }

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

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .header {
        height: 70px;
        /* Lite lägre på mobil */
    }

    .main-nav a:not(.nav-cta) {
        display: none;
        /* Dölj alla länkar utom CTA:n */
    }

    .logo {
        font-size: 1.2rem;
        /* Lite mindre logo */
    }
}