/* ========================================================================== */
/* PRODUCTS PAGE                                                    */
/* ========================================================================== */

/* Wrapper */
.products-wrapper {
    padding: 0;
    margin: 0;
}

/*  section 1 : HERO */
.products-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    color: white;
}

    .products-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(3, 47, 79, 0.75), rgba(2, 42, 70, 0.9) );
        z-index: 2;
        pointer-events: none;
    }

    .products-hero::after {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 48px;
        background: white;
        border-top-left-radius: 48px;
        border-top-right-radius: 48px;
        z-index: 6;
    }

.products-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.products-hero-content {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 40px;
}

/* hero text */
.hero-text {
    max-width: 800px;
    margin-bottom: 50px;
    margin-top: 60px;
}

    .hero-text h1 {
        font-size: 2.0rem;
        font-weight: 700;
        line-height: 1.25;
    }

.hero-arrow {
    margin: 0 12px;
    font-weight: 600;
}

.hero-accent {
    font-weight: 700;
}

.hero-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* hero cards */
.hero-cards {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
}

.hero-card-image {
    width: 305px;
    max-width: 40vw;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .hero-card-image.highlight {
        /*transform: scale(1.05); keep??*/
        position: relative;
        border: 2px solid rgba(79, 139, 255, 0.85);
        box-shadow: 0 0 0 1px rgba(79, 139, 255, 0.4) inset, 0 26px 70px rgba(79, 139, 255, 0.45);
    }

    .hero-card-image:hover {
        transform: translateY(-8px) scale(1.04);
    }


/* intro */
.products-intro {
    max-width: 780px;
    margin: 0 auto 80px auto;
    padding: 0 24px;
    text-align: center;
    margin-top: 70px;
    margin-bottom: 120px;
}

    .products-intro h3 {
        font-size: 2.2rem;
        font-weight: 650;
        color: #032f4f;
        margin-bottom: 14px;
    }

    .products-intro p {
        font-size: 1.1rem;
        font-weight: 400;
        color: #48687f;
        line-height: 1.65;
        margin-bottom: 12px;
    }


/* section 2: PRODUCT CARDS GRID */

.products-grid.products-grid-two {
    max-width: 920px; /* lagom bredd för 2 kort */
    margin: 0 auto 250px auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 28px;
    justify-content: center;
}

.product-card {
    background: white;
    padding: 26px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    }

    .product-card.recommended {
        box-shadow: 0 0 0 1px rgba(79, 139, 255, 0.35) inset, 0 14px 34px rgba(79, 139, 255, 0.35);
        border: none;
    }

        .product-card.recommended:hover {
            transform: translateY(-8px);
            box-shadow: 0 0 0 1px rgba(79, 139, 255, 0.5) inset, 0 20px 45px rgba(79, 139, 255, 0.45);
        }

/* card header */
.product-header {
    margin-bottom: 16px;
}

.product-card h3 {
    font-size: 1.2rem;
    font-weight: 650;
    margin-bottom: 6px;
    color: #48687f;
}

.product-desc {
    font-size: 0.95rem;
    color: #48687f;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* card image */
.product-image {
    height: 200px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef3ff, #dfe9ff);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .product-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

/* card footer */
.product-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-price {
    margin-bottom: 18px;
}

    .product-price .price {
        font-size: 1.6rem;
        font-weight: 700;
        color: #032f4f;
    }

    .product-price .period {
        font-size: 0.9rem;
        color: #48687f;
    }

.product-actions {
    margin-top: auto; /* 👈 push to bottom */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ADD STYLING TO READ MORE AND ADD TO CART BUTTONS*/
.product-actions .product-btn,
.product-actions .add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    white-space: nowrap;
    color: white;
    height: 42px;
    margin: 0;
    vertical-align: middle;
    box-sizing: border-box;
}

.product-actions .product-btn {
    background: #003a63;
}
.product-actions .product-btn:hover {
    background: #00518c;
}

.product-actions .product-btn.primary,
.product-actions .add-to-cart-btn {
    background: #0078D7;
}

.product-actions .product-btn.primary:hover,
.product-actions .add-to-cart-btn:hover {
    background: #005ea8;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 139, 255, 0.3);
}

/* recommended badge */
.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #4f8bff, #3b73e6);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(79, 139, 255, 0.45);
}

/* billing toggle */
.billing-toggle-wrapper {
    display: flex;
    justify-content: center; /* 👈 horisontell centrering */
    align-items: center;
    margin: 80px 0 120px 0; /* kontrollerad spacing */
}

.billing-toggle {
    background: linear-gradient(135deg, #eef3ff, #e6edff);
    padding: 6px;
    border-radius: 14px;
    display: inline-flex;
    gap: 6px;
    box-shadow: 0 6px 18px rgba(79, 139, 255, 0.12);
   margin-top: -180px;
}

.billing-option {
    position: relative;
    border: none;
    background: transparent;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #032f4f;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

    .billing-option:hover {
        background: rgba(79, 139, 255, 0.08);
    }

    .billing-option.active {
        background: #4f8bff;
        color: white;
        box-shadow: 0 4px 13px rgba(79, 139, 255, 0.45);
    }

.billing-badge {
    margin-left: 8px;
    background: rgba(79, 139, 255, 0.15);
    color: #4f8bff;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}


/*  section 3: FAQ */

.faq-wrapper {
    background: #e1e6ec;
    margin-top: 160px; 
    margin-bottom: -129px;
    padding-top: 70px;
    padding-bottom: 90px;
    border-top-left-radius: 48px;
    border-top-right-radius: 48px;
}

/* faq section */
.faq-section {
    width: 100%;
    max-width: 1100px; 
    margin: 60px auto;
    margin-bottom: 150px;
    padding: 0 60px;
}

.faq-title {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 25px;
    color: black;
}

    .faq-title::after {
        content: "";
        display: block;
        width: 460px; /* length of blue line */
        height: 4px; /* thickness */
        background: #004A85; /* color of line blue */
        margin-top: 6px;
        border-radius: 2px;
    }

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    padding: 18px 0;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    padding: 0;
    font-size: 22px;
    color: black;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: opacity 0.2s;
}

    .faq-question:hover {
        opacity: 0.7;
    }

.faq-arrow {
    font-size: 30px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
}

    .faq-answer p {
        color: black;
        margin-top: 12px;
        line-height: 1.7;
        font-size: 18px;
    }

.faq-item.open .faq-answer {
    max-height: 300px;
    opacity: 1;
}

.faq-item.open .faq-arrow {
    transform: rotate(90deg);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-cards {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 60px;
    }
    .products-hero-content {
        padding: 60px 24px;
    }
}

@media (max-width: 575.98px) {
    .products-grid.products-grid-two {
        grid-template-columns: 1fr;
    }
    .products-hero-content {
        padding: 40px 16px;
    }
    .hero-text {
        margin-top: 40px;
    }
}

