
:root {
    --bg-body: #020617;
    --bg-card: #0f172a;
    --emerald: #10b981;
    --gold: #f59e0b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-glow: rgba(16, 185, 129, 0.2);
    --gradient-main: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);

    --page-max-width: 1200px;
    --page-padding-x: 2rem;
    --page-padding-y: 44px;


}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    
}

body > header .nav-links .dropdown .dropdown-menu {
    background: rgb(15 15 20 / 98%) !important; /* blir för genomskinlig annars */
}



body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Tillgänglighet: Fokus-indikator */
:focus {
    outline: 2px solid var(--emerald);
    outline-offset: 4px;
}

/* Navigation */
header {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body > header.dark-mode {
    position: fixed;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
}

body > header.dark-mode .nav-logo img {
    top: 4px;
}

body > header .nav-links li {
    font-size: 14px;
}



header nav {
    
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


h1, h2 {
    font-size: clamp(22px, 7.2vw, 4.8rem) !important;
}

section h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

section h2 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    max-width: 670px;
    line-height: 1.15 !important;
}

section h3 {
    margin-bottom: 11px;
}

section p {
    color: var(--text-secondary);
    font-size: 18px;
}



section p:not(.text-box p, .summary-box p) {
    max-width: 800px;
}


.hero-gradient-text {
    display: block;
    background: linear-gradient(to right, #fff, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


section {
    padding: var(--page-padding-y) var(--page-padding-x);
}

section:first-of-type {
    position: relative;
    text-align: center;
    background: radial-gradient(circle at 50% -20%, rgba(16, 185, 129, 0.15), transparent 70%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 579px;
}


section:first-of-type p {
    margin: auto;
    margin-top: 49px;
    max-width: 860px !important;
}




section:not(:first-of-type), body > footer {
    margin: 0 auto;
    max-width: var(--page-max-width);
}



.section-tag {
    color: var(--emerald);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    display: block;
}



/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-item:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--emerald);
    box-shadow: 0 20px 40px -20px rgba(16, 185, 129, 0.3);
}


.bento-item h3, .price-title {
    font-size: clamp(20px, 5vw, 1.5rem) !important;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.bento-item p, .text-box p {
    font-size: 17px;
}

.text-box {
    background: rgba(16, 185, 129, 0.05); 
    border: 1px dashed var(--emerald); 
    padding: 2.5rem; 
    border-radius: 24px; 
    margin-top: 45px; 
    
}

/* Image Display */
.featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 32px;
    margin-bottom: calc(var(--page-padding-y) * 2 );
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: -31px;
}

/* Checkbox List */
.check-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1rem;

    margin-top: 45px;
    margin-bottom: 71px;
}

.check-list li {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.check-list li::before {
    content: '✓';
    color: var(--emerald);
    font-weight: 900;
}

/* Price Table */
.price-wrapper {
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,0.05);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-item:last-child { border: none; }

.price-item strong {
    font-size: 1.4rem;
    color: var(--gold);
}


/* Price Dashboard */
.price-dashboard {
    background: linear-gradient(180deg, #111116 0%, #050505 100%);
    border: 1px solid #6366f1;
    border-radius: 32px;
    padding: 4rem;
    margin: 4rem 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-row:last-child { border: none; }

.price-title {
    font-weight: 600;
    font-size: 1.4rem;
}

.price-desc {
    max-width: 50%;
    text-align: right;
    color: #94a3b8;
}

/* Summary Box */
.summary-box {
    background: var(--emerald);
    color: #020617;
    padding: 4rem;
    border-radius: 40px;

    position: relative;
    overflow: hidden;
}

.summary-box h2, .summary-box p, .summary-box strong {
    color: #020617 !important;
}

.summary-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    filter: blur(80px);
    border-radius: 50%;
}


body > footer.dark-mode, body > footer.dark-mode .footer-bottom {
    background: inherit;
    
}

body > header.dark-mode .nav-cta {
    font-size: 13px;
    text-transform:none;
}

body > footer {


    background: rgba(2, 6, 23, 0.8);
    padding-top: 38px;
    padding-left: var(--page-padding-x);
    padding-right: var(--page-padding-x);
    border-top: 1px solid #ffffff0f;
}







/* Mobile Adjustments */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .featured-image { height: 300px; }
    .summary-box { padding: 2rem; }
}
@media (max-width: 768px) {
    .price-row { flex-direction: column; text-align: left; }
    .price-desc { max-width: 100%; text-align: left; margin-top: 0.5rem; }

}



@media (max-width: 440px) {

    h1, h2, h3 {
        line-height: 1.15 !important;
    }

    h1, h2 {
        font-size: clamp(22px, 7.25vw, 2.55rem) !important;
    }

    :root {
        --page-padding-x: 20px;
        --page-padding-y: 25px;
        --container-border-radius: 6px;
    }



    section p {
        font-size: 17px !important;
    }
    

    
    section#varfor .text-box {
        border-radius: var(--container-border-radius);
        padding: var(--page-padding-x);
    }

    .featured-image {
        border-radius: var(--container-border-radius);
    }

    .check-list {
        grid-template-columns: auto;
    }

    .price-dashboard {

        border-radius: var(--container-border-radius);
        border: none;
        padding: 0px var(--page-padding-x);
        background: var(--bg-card);

    }

    .bento-item {
        padding: var(--page-padding-x);
        border-radius: var(--container-border-radius);
    }

    .price-row {
        padding: 26px 0;
    }

    .summary {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }

    .summary-box { 
        padding: var(--page-padding-y) var(--page-padding-x);
        border-radius: 0px;
    }


    
}