﻿/* Index Page Styles - Mobile & Laptop Optimized */

/* Brand tokens */
:root {
    --accent: oklch(0.58 0.10 280);
    --accent-hover: oklch(0.52 0.11 280);
    --accent-soft: oklch(0.95 0.03 280);
    --pill-border: oklch(0.94 0.008 280);
    --ink: #1e293b;
    --ink-soft: #475569;
}

/* Container adjustments for laptops */
@media (max-width: 1600px) and (min-width: 1200px) {
    .container {
        max-width: 1140px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 1366px) and (min-width: 992px) {
    .container {
        max-width: 1000px;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (max-width: 1280px) and (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

/* Laptop screen adjustments (15" laptops typically 1366x768 or 1920x1080) */
@media (max-width: 1600px) and (min-width: 992px) {
    .hero-section {
        min-height: 85vh;
        padding-top: 80px;
    }

    .hero-image-container {
        height: 480px;
    }

    .hero-main-image {
        max-width: 240px;
    }

    .mascot-image {
        width: 60px;
    }

    .floating-card {
        padding: 0.75rem;
        border-radius: 12px;
    }
}

@media (max-width: 1366px) and (min-width: 992px) {
    .hero-section {
        min-height: 80vh;
        padding-top: 70px;
    }

    .hero-image-container {
        height: 420px;
    }

    .hero-main-image {
        max-width: 200px;
    }

    .mascot-image {
        width: 50px;
    }

    .hero-badge {
        padding: 6px 16px;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        margin-bottom: 1.5rem;
    }
}
/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -90px;
    padding-top: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Alt D — "Nuvarande, uppstramad": same lavender world, calmer & cleaner */
    background: linear-gradient(135deg, #F3F0FB 0%, #EEF1FB 100%);
    background-image: linear-gradient(135deg, #F3F0FB 0%, #EEF1FB 100%);
    opacity: 1;
}


.dark-mode .hero-background {
    background: linear-gradient(135deg, oklch(0.22 0.02 290) 0%, oklch(0.20 0.015 240) 100%);
    background-image: linear-gradient(135deg, oklch(0.22 0.02 290) 0%, oklch(0.20 0.015 240) 100%);
}



.hero-section .container {
    position: relative;
    z-index: 2;
}


.hero-badge {
    background: #ffffff;
    backdrop-filter: blur(6px);
    color: #6D4BEF;
    padding: 7px 16px 7px 13px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.83rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    text-transform: none;
    letter-spacing: -0.005em;
    border: 1px solid #E7E0F8;
    box-shadow: 0 4px 18px -10px rgba(91, 63, 214, 0.35);
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6D4BEF;
    flex-shrink: 0;
}

/* Hero section uses Plus Jakarta Sans */
.hero-section,
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-cta-button,
.hero-cta-secondary,
.hero-suffix-accent,
.hero-section .rotating-words,
.hero-section .word {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    color: #1E1B2E;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
    overflow: visible;
}

.text-gradient {
    background: linear-gradient(135deg, #b99cf4, #7bb5cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #6B6680;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
}

/* Alt D — accent on the rotating word */
.hero-title .rotating-words .word {
    color: #6D4BEF !important;
}

/* Suffix accent ("oro och stress") — inherits on desktop, becomes the
   purple accent on mobile to match the mobile design mockup. */
.hero-suffix-accent {
    color: inherit;
}

/* Alt D — soft aura glow behind the mark, no scattered chips */
.hero-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 460px;
    height: 460px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.22), transparent 68%);
    z-index: 0;
    pointer-events: none;
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-device {
    position: relative;
    z-index: 3;
}

.hero-main-image {
    max-width: 300px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* Mascots in hero */
.mascot {
    position: absolute;
    z-index: 4;
    animation: mascotFloat 4s ease-in-out infinite;
    cursor: pointer;
}

.mascot-1 {
    top: 15%;
    left: -5%;
    animation-delay: 0s;
}

.mascot-2 {
    bottom: 20%;
    right: -8%;
    animation-delay: 2s;
}

.mascot-image {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.mascot:hover .mascot-image {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.15));
}

/* Speech bubbles */
.mascot-speech-bubble {
    position: absolute;
    background: white;
    padding: 8px 12px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 1;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    pointer-events: none;
}

.mascot-1 .mascot-speech-bubble {
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
}

.mascot-2 .mascot-speech-bubble {
    bottom: -45px;
    right: 0;
}

.mascot:hover .mascot-speech-bubble {
    opacity: 1;
}

.mascot-1:hover .mascot-speech-bubble {
    transform: translateX(-50%) translateY(-5px);
}

.mascot-2:hover .mascot-speech-bubble {
    transform: translateY(5px);
}

.mascot-speech-bubble p {
    margin: 0;
    color: #1e293b;
    font-weight: 500;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
    border: 1px solid rgba(0,0,0,0.05);
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
    z-index: 2;
}

.card-2 {
    bottom: 30%;
    left: -15%;
    animation-delay: 1s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.card-3 {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.card-content h6 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: #1e293b;
}

.card-content p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.meditation-icon {
    font-size: 1.5rem;
}

/* Hero Chat Mockup */
.hero-chat-mockup {
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    width: 320px;
    max-width: 100%;
    position: relative;
    z-index: 3;
    margin: 0 auto;
    overflow: hidden;
}

.chat-header {
    background: #fff;
    color: #111;
    padding: 1.1rem 1.25rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-bottom: 1px solid #f1f1ef;
}

.chat-avatar {
    position: relative;
    flex-shrink: 0;
}

.chat-avatar .avatar-circle {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #b8b3ec;
}

.avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.heroavatar-img {
    width: 80px;
    height: 85px;
    object-fit: cover;
}


.heroavatarlg-img {
    width: 80px;
    height: 85px;
    object-fit: cover;
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
    border: 2px solid white;
}

.chat-info {
    flex: 1;
    min-width: 0;
}

.chat-info h6 {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: #111;
}

.chat-info .status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #6b7280;
    margin-top: 2px;
}

.chat-info .online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
}

.chat-time {
    font-size: 0.78rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.chat-messages {
    padding: 1.1rem 1.1rem 0.5rem;
    min-height: 220px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0;
}

.nova-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 80%;
    padding: 0.7rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.nova-message .message-bubble {
    background: #f4f4f3;
    color: #1f2937;
    border-bottom-left-radius: 6px;
}

.user-message .message-bubble {
    background: #b99cf4;
    color: #fff;
    border-bottom-right-radius: 6px;
}

/* Typing Indicator */
.typing-bubble {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.7rem 0.9rem;
}

    .typing-bubble .typing-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: #9ca3af;
        animation: typing 1.4s infinite ease-in-out;
    }

        .typing-bubble .typing-dot:nth-child(1) {
            animation-delay: -0.32s;
        }

        .typing-bubble .typing-dot:nth-child(2) {
            animation-delay: -0.16s;
        }

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Method indicators — Alt D: two calm chips framing the mark */
.method-indicator {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 999px;
    padding: 9px 16px 9px 13px;
    box-shadow: 0 6px 22px -6px rgba(70, 50, 120, 0.22);
    backdrop-filter: blur(6px);
    animation: float 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: #2B2740;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 4;
}
.dark-mode .method-indicator {
    background: rgba(57, 62, 70, 0.92);
    color: #e4ebf5;
}


/* Positioning around the mascot */
.indicator-1 {
    top: 12%;
    right: 4%;
    animation-delay: 0s;
}

.indicator-3 {
    bottom: 15%;
    left: 2%;
    animation-delay: 2s;
}

.method-indicator.active {
    opacity: 1;
}

/* Per-chip accent dot */
.method-indicator .method-icon {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 999px;
    display: inline-block;
    flex-shrink: 0;
}

.method-indicator .method-icon-research {
    background: #9B82F5;
}

.method-indicator .method-icon-secure {
    background: #6D4BEF;
}

.method-indicator .method-icon i {
    display: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

    .fade-in.show {
        opacity: 1;
        transform: translateY(0);
    }

/* Hero CTA */
.hero-cta {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.hero-cta-button {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: #ffffff;
    padding: 0.95rem 1.75rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 2px rgba(89, 70, 140, 0.08);
    border: 1px solid transparent;
}

    .hero-cta-button:hover {
        background: var(--accent-hover);
        color: #ffffff;
        text-decoration: none;
        transform: translateY(-1px);
    }

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--ink);
    padding: 0.95rem 1.75rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid #d4d4d8;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

    .hero-cta-secondary:hover {
        background: rgba(0, 0, 0, 0.03);
        border-color: #a1a1aa;
        color: var(--ink);
        text-decoration: none;
    }

/* Alt D — hero buttons: calm filled primary + soft white ghost */
.hero-cta .hero-cta-button {
    background: #5B3FD6;
    border-radius: 14px;
    padding: 0.95rem 1.6rem;
    box-shadow: 0 12px 28px -10px rgba(91, 63, 214, 0.45);
    border: 1px solid transparent;
}

    .hero-cta .hero-cta-button:hover {
        background: #5034c4;
        box-shadow: 0 16px 32px -10px rgba(91, 63, 214, 0.5);
    }

.hero-cta .hero-cta-secondary {
    background: #ffffff;
    color: #1E1B2E;
    border: 1px solid #E4DEF4;
    border-radius: 14px;
    padding: 0.95rem 1.5rem;
    font-weight: 600;
}

    .hero-cta .hero-cta-secondary:hover {
        background: #FAF8FF;
        border-color: #D9CFF2;
        color: #1E1B2E;
    }

/*.dark-mode .hero-cta-button,
.dark-mode .btn-chat-now {
    color: #222831 !important;
}*/

/* Sections */
.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    line-height: 1.6;
}

/* How Nova Works Section */
.how-it-works-section {
    background: #fafbfc;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

    .how-it-works-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23bfd9e0' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
        pointer-events: none;
    }

.step-card {
    position: relative;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    background: white;
}

    .step-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 0px;
        transition: all 0.3s ease;
    }

    /*  .step-card.step-1::before {
        background: linear-gradient(135deg, #10b981, #059669);
    }

    .step-card.step-2::before {
        background: linear-gradient(135deg, #b99cf4, #7bb5cf);
    }

    .step-card.step-3::before {
        background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    }

    */

    .step-card:hover::before {
        height: 100%;
        opacity: 0.05;
    }

    .step-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

.step-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
}

.step-card.step-1 .step-icon-container {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
}

.step-card.step-2 .step-icon-container {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.1));
}

.step-card.step-3 .step-icon-container {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.1));
}

.step-card:hover .step-icon-container {
    transform: scale(1.05);
}

.step-icon {
    font-size: 2rem;
}

.step-card.step-1 .step-icon {
    color: #10b981;
}

.step-card.step-2 .step-icon {
    color: #b99cf4;
}

.step-card.step-3 .step-icon {
    color: #8b5cf6;
}

.step-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #1e293b;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.step-card p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #64748b;
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

/* Chat with Nova Section */
.chat-nova-section {
    background: #f7f7f5;
    position: relative;
    overflow: hidden;
}

.chat-nova-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.chat-nova-headline {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 1.25rem;
}

.chat-nova-subtitle {
    font-size: 1.05rem;
    color: var(--ink-soft);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 32rem;
}

.btn-chat-now {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* Same purple as the hero "Prova gratis" button */
    background: #5B3FD6;
    color: #fff;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 2px rgba(89, 70, 140, 0.08);
    margin-bottom: 2rem;
    border: 1px solid transparent;
}

    .btn-chat-now:hover,
    .btn-chat-now:focus {
        transform: translateY(-1px);
        background: #6D4BEF;
        color: #fff;
        text-decoration: none;
    }

.btn-chat-now .btn-arrow {
    display: inline-flex;
    transition: transform 0.2s ease;
}

.btn-chat-now:hover .btn-arrow {
    transform: translateX(2px);
}

.chat-nova-pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.chat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--pill-border);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    color: var(--ink-soft);
    font-weight: 500;
}

.pill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

/* Chat Mockup */
.chat-demo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-mockup {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.chat-input-demo {
    display: flex;
    padding: 0.85rem 1rem 1.1rem;
    background: #fff;
    align-items: center;
    gap: 0.5rem;
}

    .chat-input-demo input {
        flex: 1;
        border: 1px solid #ececec;
        border-radius: 999px;
        padding: 0.85rem 1.1rem;
        font-size: 0.9rem;
        background: #f4f4f3;
        color: #6b7280;
    }

    .chat-input-demo input::placeholder {
        color: #9ca3af;
    }

    .chat-input-demo .send-btn {
        flex-shrink: 0;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: none;
        background: #b99cf4;
        color: #fff;
        font-size: 1.1rem;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: default;
    }

/* Floating Testimonials */
.floating-testimonial {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.testimonial-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.testimonial-2 {
    bottom: 20%;
    right: -10%;
    animation-delay: 3s;
}

.testimonial-content {
    text-align: center;
}

.stars {
    color: #ffc107;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.testimonial-content p {
    font-size: 0.8rem;
    margin: 0.5rem 0;
    color: #333;
}

.testimonial-content small {
    color: #666;
    font-style: italic;
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Expert Section */
.expert-features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.expert-feature-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(185, 156, 244, 0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .expert-feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        /*background: linear-gradient(135deg, #b99cf4, #7bb5cf);
        transition: height 0.3s ease;*/
    }

    .expert-feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(185, 156, 244, 0.15);
    }

        .expert-feature-card:hover::before {
            height: 100%;
            opacity: 0.05;
        }

    .expert-feature-card i {
        font-size: 2.5rem;
        color: #b99cf4;
        margin-bottom: 1rem;
        display: block;
    }

    .expert-feature-card h6 {
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #1e293b;
        font-size: 1.1rem;
    }

    .expert-feature-card p {
        color: #64748b;
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.4;
    }

.expert-bottom-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

    .expert-bottom-features .expert-feature {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        background: rgba(185, 156, 244, 0.1);
        padding: 1rem 1.5rem;
        border-radius: 25px;
        border: 1px solid rgba(185, 156, 244, 0.2);
    }

        .expert-bottom-features .expert-feature i {
            color: #10b981;
            font-size: 1.2rem;
        }

        .expert-bottom-features .expert-feature span {
            color: #1e293b;
            font-weight: 500;
        }

/* Mobile responsive */
@media (max-width: 768px) {
    .expert-features-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .expert-feature-card {
        padding: 1.5rem 1rem;
    }

        .expert-feature-card i {
            font-size: 2rem;
        }

    .expert-bottom-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .expert-features-row {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Features Section */
#funktioner {
    padding: 80px 0;
}

.enhanced-feature-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: white;
    height: 100%;
    transition: all 0.4s ease;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

    .enhanced-feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 0px;
        transition: all 0.3s ease;
    }

    .enhanced-feature-card:hover::before {
        height: 100%;
        opacity: 0.05;
    }
    /*
    .enhanced-feature-card.security::before {
        background: linear-gradient(135deg, #10b981, #059669);
    }

    .enhanced-feature-card.availability::before {
        background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    }

    .enhanced-feature-card.expertise::before {
        background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    }

    .enhanced-feature-card.affordability::before {
        background: linear-gradient(135deg, #f59e0b, #d97706);
    }

    .enhanced-feature-card.personalization::before {
        background: linear-gradient(135deg, #ef4444, #dc2626);
    }

    .enhanced-feature-card.safety::before {
        background: linear-gradient(135deg, #06b6d4, #0891b2);
    }
        */
    .enhanced-feature-card:hover {
        box-shadow: 0 20px 40px rgba(16, 239, 245, 0.2);
    }

    .enhanced-feature-card.security:hover {
        box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
    }

    .enhanced-feature-card.availability:hover {
        box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    }

    .enhanced-feature-card.expertise:hover {
        box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    }

    .enhanced-feature-card.affordability:hover {
        box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2);
    }

    .enhanced-feature-card.personalization:hover {
        box-shadow: 0 20px 40px rgba(239, 68, 68, 0.2);
    }

.feature-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.enhanced-feature-card:hover .feature-icon-container {
    transform: scale(1.05);
}

.enhanced-feature-card.security .feature-icon-container {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
}

.enhanced-feature-card.availability .feature-icon-container {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.1));
}

.enhanced-feature-card.expertise .feature-icon-container {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.1));
}

.enhanced-feature-card.affordability .feature-icon-container {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
}

.enhanced-feature-card.personalization .feature-icon-container {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
}

.enhanced-feature-card.safety .feature-icon-container {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(8, 145, 178, 0.1));
}

.enhanced-feature-card .feature-icon {
    font-size: 2rem;
}

.enhanced-feature-card.security .feature-icon {
    color: #10b981;
}

.enhanced-feature-card.availability .feature-icon {
    color: #b99cf4;
}

.enhanced-feature-card.expertise .feature-icon {
    color: #8b5cf6;
}

.enhanced-feature-card.affordability .feature-icon {
    color: #f59e0b;
}

.enhanced-feature-card.personalization .feature-icon {
    color: #ef4444;
}

.enhanced-feature-card.safety .feature-icon {
    color: #06b6d4;
}

.enhanced-feature-card h3 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.enhanced-feature-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-badges {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mini-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.enhanced-feature-card.security .mini-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.2);
}

.enhanced-feature-card.availability .mini-badge {
    background: rgba(59, 130, 246, 0.1);
    color: #1e3a8a;
    border-color: rgba(59, 130, 246, 0.2);
}

.enhanced-feature-card.expertise .mini-badge {
    background: rgba(139, 92, 246, 0.1);
    color: #581c87;
    border-color: rgba(139, 92, 246, 0.2);
}

.enhanced-feature-card.affordability .mini-badge {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.2);
}

.enhanced-feature-card.personalization .mini-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.2);
}

.enhanced-feature-card.safety .mini-badge {
    background: rgba(6, 182, 212, 0.1);
    color: #155e75;
    border-color: rgba(6, 182, 212, 0.2);
}

/* Usage Guide Section */
.usage-guide-section {

}

.usage-guide-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.guide-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.guide-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .guide-icon.green {
        background: rgba(34, 197, 94, 0.1);
        color: #16a34a;
    }

    .guide-icon.orange {
        background: rgba(249, 115, 22, 0.1);
        color: #ea580c;
    }

    .guide-icon i {
        font-size: 1.5rem;
    }

.guide-content h5 {
    color: #333;
    font-weight: 700;
    margin-bottom: 1rem;
}

.guide-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-content li {
    color: #666;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 1.5rem;
}

    .guide-content li:before {
        content: "•";
        color: var(--primary-color, #5b8c85);
        font-weight: bold;
        position: absolute;
        left: 0;
    }

    .guide-content li:last-child {
        border-bottom: none;
    }

.crisis-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
}

.crisis-alert {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

    .crisis-alert i {
        color: #dc2626;
        font-size: 1.5rem;
        flex-shrink: 0;
        margin-top: 0.2rem;
    }

    .crisis-alert strong {
        color: #991b1b;
        display: block;
        margin-bottom: 0.5rem;
    }

    .crisis-alert p {
        color: #7f1d1d;
        margin: 0;
        line-height: 1.5;
    }

    /* FAQ Section */
    .faq-item {
    border: none !important;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

    .faq-item .accordion-button {
        background-color: white;
        border: none;
        padding: 1.5rem;
        font-weight: 600;
        color: #333;
        box-shadow: none;
        border-radius: 12px !important;
    }

        .faq-item .accordion-button:not(.collapsed) {
            background-color: #f8f9fa;
            color: #b99cf4;
        }

        .faq-item .accordion-button:focus {
            box-shadow: none;
            border: none;
        }

        .faq-item .accordion-button::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
            transition: transform 0.3s ease;
        }

        .faq-item .accordion-button:not(.collapsed)::after {
            transform: rotate(180deg);
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b99cf4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        }

    .faq-item .accordion-body {
        padding: 0 1.5rem 1.5rem 1.5rem;
        background-color: white;
    }

.faq-contact-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.faq-item:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.faq-item .accordion-button:hover {
    background-color: #f8f9fa;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #bfd9e0 0%, #dad9f8 100%);
    color: #1e293b;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
    }

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #475569;
}
.dark-mode .cta-subtitle,
.dark-mode .cta-title {
    color: #f8f9fa;
}

.cta-main-button {
    background: white;
    color: #1e293b;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

    .cta-main-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
        color: #1e293b;
        text-decoration: none;
        background: rgba(255, 255, 255, 0.95);
    }

/* Rotating words */
.rotating-words {
    position: relative !important;
    height: 1.2em !important;
    overflow: visible !important;
    vertical-align: baseline !important;
    line-height: 1 !important;
    text-align: center !important;
}

.word {
    position: absolute !important;
    width: auto !important;
    height: 100% !important;
    font-weight: 600 !important;
    font-style: normal !important;
    text-decoration: none !important;
    background: none !important;
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: currentColor !important;
    background-clip: border-box !important;
    color: var(--accent) !important;
    opacity: 0 !important;
    transform: rotateX(90deg) !important;
    transition: all 0.8s ease !important;
    white-space: nowrap !important;
    top: 6px !important;
    left: 10px !important;
    text-align: left !important;
    display: inline-block !important;
}


    .word.active {
        opacity: 1 !important;
        transform: rotateX(0deg) !important;
    }

    .word.leaving {
        opacity: 0 !important;
        transform: rotateX(-90deg) !important;
    }

.mobile-break {
    display: none;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes mascotFloat {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 100px;
}

.nav-scroll-link.active {
    font-weight: 600;
}

.dropdown-item.nav-scroll-link.active {
    background: linear-gradient(135deg, #b99cf4, #7bb5cf);
    color: #ffff !important;
}

/* MOBILE RESPONSIVE STYLES */

/* Prevent horizontal overflow */
@media (max-width: 767px) {
    .mobile-break {
        display: block;
    }

    body {
        overflow-x: hidden;
    }

    .hero-section,
    .chat-nova-section,
    .how-it-works-section {
        overflow-x: hidden;
    }

    .hero-section {
        margin-top: -70px;
        padding-top: 20px;
    }

    .container {
        padding-top:20px;
        padding-left: 1rem;
        padding-right: 1rem;
    }


    /* Mobile Mascot Styling — centered above the left-aligned text */
    .mobile-mascot {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .mobile-mascot-img {
        width: 120px;
    }

    /* Hide desktop version completely on mobile */
    .hero-image-container {
        display: none !important;
    }

    /* Hide elements that cause overflow on mobile */
    .method-indicator,
    .mascot,
    .floating-card {
        display: none !important;
    }

    /* Text left-aligned on mobile (mascot stays centered above it) */
    .hero-section .col-lg-6 {
        text-align: left;
    }

    .hero-badge,
    .hero-title,
    .hero-subtitle {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    /* Match the mobile mockup: rotating word reads as plain ink, the
       purple accent sits on "oro och stress". */
    .hero-title .rotating-words .word {
        color: #1E1B2E !important;
    }

    .hero-suffix-accent {
        color: #6D4BEF;
    }

    .dark-mode .hero-title .rotating-words .word {
        color: #F4F1FD !important;
    }

    .dark-mode .hero-suffix-accent {
        color: oklch(0.80 0.11 285);
    }


    /* Typography adjustments — font scales so "Bygg [längsta ordet]"
       ryms på en rad bredvid varandra på alla mobilbredder. */
    .hero-title {
        font-size: clamp(1.5rem, 7.5vw, 2rem);
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: -0.025em;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
        margin-bottom: 1rem;
    }

    /* CTA Button mobile optimization */
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-button,
    .hero-cta-secondary,
    .btn-chat-now {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
        margin-bottom: 0;
    }

    /* Roterande ord som inline-grid: alla ord delar samma cell, så
       behållaren reserverar bredden för det bredaste ordet och ordet
       flödar bredvid "Bygg" utan att överlappa (inget absolut-läge). */
    .rotating-words {
        position: relative !important;
        display: inline-grid !important;
        justify-items: start !important;
        align-items: baseline !important;
        text-align: left !important;
        vertical-align: bottom !important;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
    }

    .word {
        position: relative !important;
        grid-area: 1 / 1 !important;
        top: auto !important;
        left: auto !important;
        height: auto !important;
        text-align: left !important;
        /* Matcha rubriken exakt så ordet inte ser ut som ett annat typsnitt */
        font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
        font-weight: 800 !important;
        font-size: inherit !important;
        letter-spacing: -0.025em !important;
        transform: rotateX(90deg) !important;
    }

        .word.active {
            transform: rotateX(0deg) !important;
        }

        .word.leaving {
            transform: rotateX(-90deg) !important;
        }
}
/* Small mobile devices */
@media (max-width: 480px) {
    .hero-section .col-lg-6 {
        text-align: left; /* Ändra från center */
    }

    .hero-badge,
    .hero-title,
    .hero-subtitle {
        text-align: left; /* Ändra från center */
        margin-left: 0;
        margin-right: 0;
    }

    .hero-cta-button {
        width: 100%;
        justify-content: center; /* Behåll knappen centrerad */
    }
    .min-vh-100 {
        min-height: 30vh !important;
    }
    .hero-title {
        font-size: clamp(1.5rem, 7.5vw, 2rem);
        line-height: 1.1;
    }

    .rotating-words {
        height: 1.6em !important;
    }

    .word {
        font-size: inherit !important;
        top: auto !important;
        left: auto !important;
        color: #1E1B2E !important;
    }
}

/* Section spacing mobile fixes */
@media (max-width: 767px) {
    .hero-section .col-lg-6 {
        text-align: left; /* Ändra från center */
    }

    .hero-badge,
    .hero-title,
    .hero-subtitle {
        text-align: left; /* Ändra från center */
        margin-left: 0;
        margin-right: 0;
    }

    .hero-cta-button {
        width: 100%;
        justify-content: center; /* Behåll knappen centrerad */
    }
    .min-vh-100 {
        min-height: 30vh !important;
    }
    .word {
        top: auto !important;
        left: auto !important;
        color: #1E1B2E !important;
    }
    .hero-title {
        font-size: clamp(1.5rem, 7.5vw, 2rem);
        line-height: 1.1;
        letter-spacing: -0.025em;
        margin-bottom: 1rem;
        text-align: left;
    }

    .rotating-words {
        height: 1.5em !important; /* Extra höjd på mobil */
        min-width: 180px; /* Anpassad bredd för mobil */
        vertical-align: baseline !important
    }
    
    .how-it-works-section,
    .chat-nova-section,
    .expert-section,
    #funktioner {
        padding: 60px 0 40px;
    }

    .usage-guide-section {
        padding: 40px 0;
    }

    /* Cards mobile optimization */
    .step-card,
    .enhanced-feature-card,
    .usage-guide-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }

    /* Section titles mobile */
    .section-title {
        font-size: 2rem;
        text-align: center;
    }

    .section-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .chat-nova-title {
        font-size: 2rem;
        text-align: center;
    }

    .chat-nova-subtitle {
        font-size: 1rem;
        text-align: center;
    }
}

/* FAQ mobile improvements */
@media (max-width: 767px) {
    .faq-item .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-item .accordion-body {
        padding: 0 1rem 1rem;
    }
}

/* Chat demo mobile optimization */
@media (max-width: 767px) {
    .chat-demo-container {
        margin: 2rem 0;
    }

    .floating-testimonial {
        position: static !important;
        margin: 1rem auto;
        animation: none;
        max-width: 250px;
    }

    .testimonial-1,
    .testimonial-2 {
        display: block;
        position: static;
        margin: 1rem auto;
    }
}

/* Expert section mobile */
@media (max-width: 767px) {
    .expert-badges {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .expert-content {
        padding-left: 0;
        margin-top: 2rem;
        text-align: center;
    }

    .expert-features {
        align-items: center;
        text-align: center;
    }
}

/* Guide section mobile */
@media (max-width: 767px) {
    .guide-item {
        flex-direction: column;
        text-align: left;
        gap: 1rem;
    }

    .crisis-alert {
        flex-direction: column;
        text-align: center;
    }

    .usage-guide-card {
        padding: 2rem 1.5rem;
    }
}

/* Navigation mobile improvements */
@media (max-width: 767px) {
    .chat-features {
        margin-top: 1.5rem;
    }

    .feature-point {
        justify-content: center;
        text-align: center;
    }
}

/* Feature cards mobile */
@media (max-width: 767px) {
    .enhanced-feature-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .feature-badges {
        justify-content: center;
    }
}

/* Touch-friendly buttons */
@media (max-width: 767px) {
    .btn,
    .cta-button,
    .hero-cta-button,
    .cta-main-button {
        min-height: 44px;
        padding: 12px 24px;
    }

    .cta-main-button {
        width: 100%;
        justify-content: center;
    }
}

/* Improved text readability */
@media (max-width: 767px) {
    .section-subtitle,
    .chat-nova-subtitle,
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .feature-card p,
    .step-card p,
    .enhanced-feature-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}
/* Hide entire chat mockup on mobile */
@media (max-width: 767px) {
    .hero-chat-mockup,
    .chat-mockup,
    .chat-demo-container {
        display: none !important;
    }

    /* Adjust hero layout when chat is hidden */
    .hero-image-container {
        display: none;
    }

    /* Make hero section single column on mobile */
    .hero-section .row {
        text-align: left;
    }

    .hero-section .col-lg-6 {
        order: 1 !important;
        text-align: left;
    }

    /* Hero copy left-aligned; mascot stays centered via .mobile-mascot */
    .hero-title,
    .hero-subtitle,
    .hero-badge {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-subtitle {
        max-width: 100%;
    }
}

/* Also hide on small tablets in portrait mode */
@media (max-width: 1024px) and (orientation: portrait) {
    .hero-chat-mockup {
        width: 280px; /* Make smaller but still visible */
    }
}

/* Optional: Show a simple illustration or icon instead */
@media (max-width: 767px) {
    .mobile-hero-icon {
        display: block;
        text-align: center;
        margin: 2rem 0;
        font-size: 4rem;
        color: #b99cf4;
    }
}

/* Dark mode support */
.dark-mode .hero-section,
.dark-mode .how-it-works-section,
.dark-mode .expert-section,
.dark-mode .chat-nova-section,
.dark-mode .usage-guide-section,
.dark-mode .py-5,
.dark-mode profile-card {
    background: #222831 !important;
}

.dark-mode .crisis-alert strong,
.dark-mode .crisis-alert p {
    color: #f8f9fa !important;
}

.dark-mode .step-card,
.dark-mode .expert-badge,
.dark-mode .usage-guide-card,
.dark-mode .enhanced-feature-card,
.dark-mode .hero-chat-mockup,
.dark-mode .chat-mockup {
    background: #393e46 !important;
    border-color: #555 !important;
}


.dark-mode .btn-primary {
    background: #b99cf4 !important;
    border-color: #a67ff5 !important;
    color: #222831 !important;
}
        .dark-mode .btn-primary:hover {
            background: #a67ff5 !important;
            border-color: #8e63e6 !important;
            color: #222831 !important;
        }

.dark-mode .step-card h4,
.dark-mode .expert-badge h6,
.dark-mode .guide-content h5,
.dark-mode .enhanced-feature-card h3,
.dark-mode .section-title,
.dark-mode .chat-nova-title,
.dark-mode .hero-title,
.dark-mode .expert-feature,
.dark-mode .expert-bottom-features,
.dark-mode .expert-bottom-features .expert-feature span,
.dark-mode .chat-nova-subtitle,
.dark-mode .section-subtitle mx-auto
{
    color: #f8f9fa !important;
}

.dark-mode .hero-badge {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #C9B8FF;
}

.dark-mode .hero-badge-dot {
    background: #B9A4FF;
}

.dark-mode .chat-input-demo input {
    background: rgb(67 74 83);
    border: 1px solid #4d4141;
}

/* Hero dark mode refinements */
.dark-mode .hero-section {
    background: transparent !important;
}

.dark-mode .hero-subtitle {
    color: #cbd5e1;
}

.dark-mode .word {
    color: oklch(0.78 0.10 280) !important;
}

.dark-mode .hero-cta-button {
    background: oklch(0.65 0.12 280);
    color: #ffffff;
}

    .dark-mode .hero-cta-button:hover {
        background: oklch(0.70 0.13 280);
    }

.dark-mode .hero-cta-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    border-color: rgba(255, 255, 255, 0.16);
}

    .dark-mode .hero-cta-secondary:hover {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.30);
        color: #ffffff;
    }

.dark-mode .method-indicator .method-icon {
    background: oklch(0.78 0.10 280);
}

.dark-mode .cta-section {
    background: linear-gradient(135deg, #5b5869 0%, #5e6f71 100%);
}
.dark-mode .faq-item .accordion-button {
    background-color: #393e46 !important;
    color: #f8f9fa !important;
}

    /* Lägg till denna - stylar pilen */
    .dark-mode .faq-item .accordion-button::after {
        filter: brightness(0) invert(1);
        /* Eller använd background-image för mer kontroll: */
        /* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); */
    }

    .dark-mode .faq-item .accordion-button:not(.collapsed) {
        background-color: #222831 !important;
        color: #b99cf4 !important;
    }

.dark-mode .faq-item .accordion-body {
    background-color: #393e46 !important;
    color: #f8f9fa !important;
}

.dark-mode .faq-contact-card {
    background: linear-gradient(135deg, #393e46 0%, #222831 100%) !important;
    color: #f8f9fa !important;
}

.dark-mode .faq-item {
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

    .dark-mode .faq-item .accordion-button:hover {
        background-color: #222831 !important;
    }
.dark-mode .crisis-alert {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}
.dark-mode .expert-feature-card:hover {
    box-shadow: 0 20px 40px rgba(185, 156, 244, 0.2);
}
.dark-mode .expert-feature-card,
.dark-mode .expert-feature-card h6{
    border-color: #555 !important;
    background: #393e46 !important;
    color: #f8f9fa !important;
}

.dark-mode .enhanced-feature-card.security .mini-badge {
    color: #a2e8d4;
}
.dark-mode .enhanced-feature-card.availability .mini-badge {
    color: #b0c4f6;
}
.dark-mode .enhanced-feature-card.expertise .mini-badge {
    color: #d3b4f9;
}
.dark-mode .enhanced-feature-card.affordability .mini-badge {
    color: #f3d8a8;
}
.dark-mode .enhanced-feature-card.personalization .mini-badge {
    color: #f7a8a8;
}
.dark-mode .enhanced-feature-card.safety .mini-badge {
    color: #9be6f7;
}

.dark-mode .floating-testimonial {
    background: #393e46 !important;
}

.dark-mode .testimonial-content p {
    color: #f8f9fa !important;
}

.dark-mode .chat-messages,
.dark-mode .chat-header,
.dark-mode .chat-input-demo {
    background: #222831 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.dark-mode .chat-info h6 {
    color: #f8f9fa !important;
}

.dark-mode .chat-info .status,
.dark-mode .chat-time {
    color: #9ca3af !important;
}

.dark-mode .nova-message .message-bubble {
    background: #393e46 !important;
    color: #f8f9fa !important;
}

.dark-mode .user-message .message-bubble {
    background: #b99cf4 !important;
    color: #fff !important;
}

.dark-mode .chat-pill {
    background: #393e46 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e4ebf5 !important;
}

.dark-mode .chat-nova-headline {
    color: #f8f9fa !important;
}

.dark-mode .chat-nova-subtitle {
    color: #cbd5e1 !important;
}

.dark-mode .btn-chat-now {
    background: #f8f9fa !important;
    color: #111 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

    .dark-mode .btn-chat-now:hover {
        background: #fff !important;
        color: #111 !important;
    }

.desktop-mascot {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    z-index: 3;
}

.desktop-mascot-img {
    width: 250px;
    height: auto;
    max-width: 100%;
    /* Alt D — warmer, softer lavender lift */
    filter: drop-shadow(0 26px 40px rgba(91, 63, 214, 0.25));
    animation: mascotFloat 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

    .desktop-mascot-img:hover {
        transform: scale(1.05);
        filter: drop-shadow(0 30px 48px rgba(91, 63, 214, 0.32));
    }

/* Mobile Mascot Styling */
.mobile-mascot {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

/* Soft purple glow behind the mark (the desktop .hero-aura is hidden on mobile) */
.mobile-mascot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 230px;
    height: 230px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.38), transparent 66%);
    z-index: 0;
    pointer-events: none;
}

.dark-mode .mobile-mascot::before {
    background: radial-gradient(circle, rgba(150, 120, 255, 0.50), transparent 68%);
}

.mobile-mascot-img {
    position: relative;
    z-index: 1;
    width: 120px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 12px 26px rgba(91, 63, 214, 0.35));
}

/* ========================================
   LAPTOP SCREEN OPTIMIZATIONS (15" screens)
   Typical resolutions: 1366x768, 1440x900, 1920x1080
   ======================================== */
@media (max-width: 1600px) and (min-width: 992px) {
    /* Section padding reduction */
    #funktioner,
    #how-it-works,
    #testimonials,
    #faq {
        padding: 60px 0;
    }

    /* Feature cards */
    .enhanced-feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon-container {
        width: 65px;
        height: 65px;
        margin-bottom: 1rem;
    }

    .enhanced-feature-card h3 {
        font-size: 1.1rem;
    }

    /* Desktop mascot */
    .desktop-mascot {
        height: 400px;
    }

    .desktop-mascot-img {
        width: 240px;
    }

    /* Expert feature cards */
    .expert-feature-card {
        padding: 1.25rem;
    }

    /* Registration/Form pages */
    .usage-guide-card {
        padding: 2.5rem;
    }
}

@media (max-width: 1366px) and (min-width: 992px) {
    /* Further reductions for smaller laptops */
    #funktioner,
    #how-it-works,
    #testimonials,
    #faq {
        padding: 50px 0;
    }

    .enhanced-feature-card {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
    }

    .feature-icon-container {
        width: 55px;
        height: 55px;
        border-radius: 14px;
    }

    .desktop-mascot {
        height: 350px;
    }

    .desktop-mascot-img {
        width: 200px;
    }

    /* FAQ adjustments */
    .faq-item .accordion-button {
        padding: 1rem 1.25rem;
    }

    /* CTA section */
    .cta-section {
        padding: 50px 0;
    }

    /* Registration/Form pages adjustments */
    .usage-guide-card {
        padding: 2rem;
        border-radius: 16px;
    }

    .form-control-lg,
    .form-select-lg {
        padding: 0.65rem 1rem;
        font-size: 0.95rem;
    }

    .consent-section {
        padding: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }
}

/* ============================================================
   HERO PROPOSAL  (ChatNova hero redesign — design handoff)
   Fully scoped under .hero-proposal so nothing collides with the
   rest of index.css / the lower "Chat with Nova" section / Bootstrap.
   Keeps the existing brand colours; the Nova chat mark reuses the
   exact purple square from the real chat page (.sidebar-brand-logo).
   ============================================================ */
.hero-proposal {
    --hp-accent: #5B3FD6;
    --hp-accent-2: #6D4BEF;
    --hp-ink: #1E1B2E;
    --hp-ink-soft: #6B6680;
    --hp-pill-border: #ECE6F4;
    /* Nova chat icon gradient — identical to the real chat page */
    --hp-nova: linear-gradient(135deg, #b8b4f2, #855ae7);

    position: relative;
    background: linear-gradient(135deg, #F3F0FB 0%, #EEF1FB 100%);
    margin-top: -90px;        /* slide under the fixed navbar (matches old hero) */
    padding-top: 90px;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.hero-proposal .hp-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-proposal .hp-hero {
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 54px 0 70px;
    /* Fill the viewport below the fixed navbar, matching the old hero (~90vh) */
    min-height: calc(90vh - 90px);
}

/* Rotating word keeps the brand accent inside the new title */
.hero-proposal .hp-title .rotating-words .word {
    color: var(--hp-accent-2) !important;
}

/* Badge */
.hero-proposal .hp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--hp-accent-2);
    border: 1px solid #E7E0F8;
    border-radius: 999px;
    padding: 8px 16px 8px 13px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 18px -10px rgba(91, 63, 214, .35);
    margin-bottom: 26px;
}
.hero-proposal .hp-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hp-accent-2);
}

/* Title */
.hero-proposal .hp-title {
    font-size: clamp(2.4rem, 5vw, 64px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.035em;
    margin: 0 0 22px;
    color: var(--hp-ink);
}
.hero-proposal .hp-title .hp-accent {
    color: var(--hp-accent-2);
}

/* Subtitle */
.hero-proposal .hp-sub {
    font-size: 18px;
    line-height: 1.6;
    color: var(--hp-ink-soft);
    max-width: 460px;
    margin: 0 0 32px;
}

/* CTA */
.hero-proposal .hp-cta {
    display: flex;
    gap: 13px;
    align-items: center;
    flex-wrap: wrap;
}
.hero-proposal .hp-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--hp-accent);
    color: #fff;
    text-decoration: none;
    padding: 15px 26px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 14px 30px -10px rgba(91, 63, 214, .5);
    transition: transform .15s ease, box-shadow .15s ease;
}
.hero-proposal .hp-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -10px rgba(91, 63, 214, .55);
    color: #fff;
}
.hero-proposal .hp-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: var(--hp-ink);
    text-decoration: none;
    padding: 15px 24px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #E4DEF4;
    transition: transform .15s ease;
}
.hero-proposal .hp-cta-secondary:hover {
    transform: translateY(-2px);
    color: var(--hp-ink);
}
.hero-proposal .hp-cta-secondary .hp-arr {
    opacity: .5;
}

/* Trust row (replaces the old scattered chips) */
.hero-proposal .hp-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 46px;
    max-width: 560px;
}
.hero-proposal .hp-trust-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.hero-proposal .hp-trust-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--hp-accent-2);
    font-size: 18px;
    box-shadow: 0 6px 18px -10px rgba(91, 63, 214, .4);
    border: 1px solid var(--hp-pill-border);
}
.hero-proposal .hp-trust h4 {
    margin: 1px 0 3px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--hp-ink);
    letter-spacing: -.01em;
}
.hero-proposal .hp-trust p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--hp-ink-soft);
}

/* Chat mockup */
.hero-proposal .hp-chat-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-proposal .hp-chat-aura {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 92, 255, .20), rgba(168, 130, 255, .08) 45%, transparent 72%);
    filter: blur(10px);
    z-index: 0;
}

/* Faint orbit rings — the card occludes the middle so they read as side arcs */
.hero-proposal .hp-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(124, 92, 255, .14);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.hero-proposal .hp-orbit-1 {
    width: 580px;
    height: 580px;
    transform: translate(-50%, -50%) rotate(-12deg);
}
.hero-proposal .hp-orbit-2 {
    width: 470px;
    height: 540px;
    border-color: rgba(124, 92, 255, .10);
    transform: translate(-50%, -50%) rotate(16deg);
}

/* Brand sparkles drifting around the chat */
.hero-proposal .hp-spark {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(150deg, #9B82F5, #6D4BEF);
    clip-path: polygon(50% 0%, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0% 50%, 42% 42%);
    opacity: .5;
    animation: hp-twinkle 4s ease-in-out infinite;
}
.hero-proposal .hp-spark-1 { width: 20px; height: 20px; top: 4%;  left: 8%;  animation-delay: 0s; }
.hero-proposal .hp-spark-2 { width: 13px; height: 13px; top: 50%; left: 3%;  animation-delay: .9s; }
.hero-proposal .hp-spark-3 { width: 11px; height: 11px; top: 14%; right: 7%; animation-delay: 1.6s; }
.hero-proposal .hp-spark-4 { width: 22px; height: 22px; bottom: 8%; right: 5%; animation-delay: .4s; }
.hero-proposal .hp-spark-5 { width: 12px; height: 12px; bottom: 14%; left: 6%; animation-delay: 2.1s; }

@keyframes hp-twinkle {
    0%, 100% { opacity: .22; transform: scale(.82); }
    50%      { opacity: .7;  transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-proposal .hp-spark { animation: none; }
}
/* Keep the decorations from cluttering smaller screens */
@media (max-width: 991px) {
    .hero-proposal .hp-orbit { display: none; }
}
@media (max-width: 575px) {
    .hero-proposal .hp-spark { display: none; }
}
/* Dark mode: lift the decorations so they stay visible */
.dark-mode .hero-proposal .hp-orbit { border-color: rgba(180, 160, 255, .18); }
.dark-mode .hero-proposal .hp-spark {
    background: linear-gradient(150deg, #cabff8, #9b82f5);
    opacity: .6;
}
.hero-proposal .hp-chat-mockup {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 24px;
    width: 420px;
    max-width: 100%;
    overflow: hidden;
    box-shadow: 0 28px 70px -20px rgba(40, 25, 90, .28), 0 8px 24px -12px rgba(40, 25, 90, .14);
}
.hero-proposal .hp-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f1f1ef;
}
/* Nova mark — same purple square as the real chat page (.sidebar-brand-logo) */
.hero-proposal .hp-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--hp-nova);
    flex-shrink: 0;
}
.hero-proposal .hp-chat-meta {
    flex: 1;
    min-width: 0;
}
.hero-proposal .hp-chat-meta h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111;
}
.hero-proposal .hp-chat-meta span {
    font-size: 12.5px;
    color: #6b7280;
}
.hero-proposal .hp-chat-more {
    color: #c4c4cc;
    font-size: 20px;
    letter-spacing: 1px;
}
.hero-proposal .hp-chat-body {
    padding: 18px 18px 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fbfbfd;
}
.hero-proposal .hp-msg {
    display: flex;
}
.hero-proposal .hp-msg-user {
    justify-content: flex-end;
}
.hero-proposal .hp-bubble {
    max-width: 84%;
    padding: 11px 14px;
    border-radius: 16px;
    font-size: 14.5px;
    line-height: 1.45;
}
.hero-proposal .hp-msg-user .hp-bubble {
    background: #EDE7FB;
    color: #2c2547;
    border-bottom-right-radius: 6px;
}
.hero-proposal .hp-msg-nova .hp-bubble {
    background: #f4f4f3;
    color: #1f2937;
    border-bottom-left-radius: 6px;
}
.hero-proposal .hp-bubble .hp-time {
    display: block;
    font-size: 11px;
    margin-top: 5px;
    opacity: .5;
    text-align: right;
}
.hero-proposal .hp-msg-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}
/* Mini Nova mark — same purple square */
.hero-proposal .hp-mini {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--hp-nova);
    flex-shrink: 0;
}
/* Both bubbles cycle through real situations people bring to Nova and the
   matching coaching reply. Every variant occupies the same grid cell, so each
   bubble is sized to its widest/tallest variant and never jumps as the active
   one fades through. */
.hero-proposal .hp-rotate-stack {
    display: inline-grid;
}
.hero-proposal .hp-rotate,
.hero-proposal .hp-reply {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .45s ease, transform .45s ease;
    pointer-events: none;
}
.hero-proposal .hp-rotate.active,
.hero-proposal .hp-reply.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
    .hero-proposal .hp-rotate,
    .hero-proposal .hp-reply {
        transition: opacity .2s ease;
        transform: none;
    }
}
.hero-proposal .hp-chat-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 16px;
}
.hero-proposal .hp-chat-input input {
    flex: 1;
    border: 1px solid #ececec;
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 14px;
    background: #f4f4f3;
    color: #9ca3af;
    font-family: inherit;
}
.hero-proposal .hp-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hp-accent);
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.hero-proposal .hp-send i {
    display: block;
    font-size: 18px;
    line-height: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-proposal .hp-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 32px 0 50px;
        min-height: 0;
    }
    .hero-proposal .hp-title {
        font-size: clamp(2rem, 7vw, 2.75rem);
    }
    .hero-proposal .hp-sub {
        max-width: none;
    }
    .hero-proposal .hp-trust {
        max-width: none;
    }
}
@media (max-width: 575px) {
    .hero-proposal .hp-wrap {
        padding: 0 20px;
    }
    .hero-proposal .hp-trust {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .hero-proposal .hp-chat-mockup {
        width: 100%;
    }
    .hero-proposal .hp-cta {
        width: 100%;
    }
    .hero-proposal .hp-cta-primary,
    .hero-proposal .hp-cta-secondary {
        flex: 1;
        justify-content: center;
    }
}

/* Dark mode (chat card stays light, like a product screenshot) */
.dark-mode .hero-proposal {
    background: linear-gradient(135deg, oklch(0.22 0.02 290) 0%, oklch(0.20 0.015 240) 100%);
}
.dark-mode .hero-proposal .hp-title {
    color: #f4f2fb;
}
.dark-mode .hero-proposal .hp-sub {
    color: #b8b3c9;
}
.dark-mode .hero-proposal .hp-badge {
    background: rgba(255, 255, 255, .06);
    color: #c9bdf6;
    border-color: rgba(255, 255, 255, .12);
}
.dark-mode .hero-proposal .hp-trust h4 {
    color: #f4f2fb;
}
.dark-mode .hero-proposal .hp-trust p {
    color: #b8b3c9;
}
.dark-mode .hero-proposal .hp-trust-icon {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
    color: #c9bdf6;
}
.dark-mode .hero-proposal .hp-cta-secondary {
    background: rgba(255, 255, 255, .06);
    color: #f4f2fb;
    border-color: rgba(255, 255, 255, .12);
}
/* ============================================================
   "Redo att börja?"-card in the hero (mirrors the iOS app screen)
   ============================================================ */
.hero-proposal .hp-ready-card {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 24px;
    width: 420px;
    max-width: 100%;
    padding: 28px 26px 26px;
    text-align: center;
    box-shadow: 0 28px 70px -20px rgba(40, 25, 90, .28), 0 8px 24px -12px rgba(40, 25, 90, .14);
}
.hero-proposal .hp-ready-logo img {
    width: 56px;
    height: auto;
}
.hero-proposal .hp-ready-title {
    margin: 14px 0 8px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #1E1B2E;
}
.hero-proposal .hp-ready-sub {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.5;
    color: #6B6680;
}
.hero-proposal .hp-ready-examples {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.hero-proposal .hp-ready-examples li {
    background: #F1F4F8;
    border-radius: 14px;
    padding: 11px 16px;
    font-size: 14.5px;
    line-height: 1.4;
    color: #33415c;
    text-align: left;
}
.hero-proposal .hp-ready-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    background: var(--hp-accent);
    color: #fff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 14px 30px -10px rgba(91, 63, 214, .5);
    transition: transform .15s ease, box-shadow .15s ease;
}
.hero-proposal .hp-ready-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -10px rgba(91, 63, 214, .55);
    color: #fff;
}
@media (max-width: 575px) {
    .hero-proposal .hp-ready-card {
        width: 100%;
    }
}

/* iOS App Store notice under the hero CTAs */
.hero-proposal .hp-appstore {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    font-size: 14.5px;
    color: var(--hp-ink-soft);
    text-decoration: none;
}
.hero-proposal .hp-appstore i {
    font-size: 17px;
    color: var(--hp-ink);
}
.hero-proposal .hp-appstore strong {
    color: var(--hp-accent-2);
    font-weight: 600;
}
.hero-proposal .hp-appstore:hover strong {
    text-decoration: underline;
}
.dark-mode .hero-proposal .hp-appstore { color: #b8b3c9; }
.dark-mode .hero-proposal .hp-appstore i { color: #f4f2fb; }
.dark-mode .hero-proposal .hp-appstore strong { color: #c9bdf6; }

/* Rotating message stacks inside the "Träffa"-section chat mockup
   (same mechanics as the old hero mockup, now scoped to .chat-mockup) */
.chat-mockup .hp-rotate-stack {
    display: inline-grid;
}
.chat-mockup .hp-rotate,
.chat-mockup .hp-reply {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .45s ease, transform .45s ease;
    pointer-events: none;
}
.chat-mockup .hp-rotate.active,
.chat-mockup .hp-reply.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
    .chat-mockup .hp-rotate,
    .chat-mockup .hp-reply {
        transition: opacity .2s ease;
        transform: none;
    }
}

/* Brain logo as chat mockup avatar (replaces the purple square) */
.chat-avatar .avatar-logo {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* FAQ contact button — same purple as the hero "Prova gratis" button */
.faq-contact-card .btn-contact-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #5B3FD6;
    color: #fff;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 14px;
    font-size: 15.5px;
    font-weight: 600;
    box-shadow: 0 14px 30px -10px rgba(91, 63, 214, .5);
    transition: transform .15s ease, box-shadow .15s ease;
}
.faq-contact-card .btn-contact-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -10px rgba(91, 63, 214, .55);
    color: #fff;
}
