/* General */
:root {
    --dark1: #050505;
    --dark2: #0b0b1e;
    --dark3: #101016;
    --gray: #4b4b67;


    --dblue: #0e0e2d;
    --lblue: #6a7aae;
    --primary: #1c2f6e;
    --lprimary: #4b75ff;
    --secondary: #1d1630;
    --lsecondary: #50407d;
    --dsecondary: #151428;

    --text-dark: #1b1b1b;
    --text-light: #f4f4f4;
    --text-light2: #8689b1;
    --text-muted: #9aa0b4;

    --shadow: 0 10px 30px rgba(4, 6, 12, 0.6);

    --lock-render-size: 300px;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans;
}

html,
body {
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    height: 100%;
    width: 100%;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle, var(--dark2) 0%, var(--dark1) 100%);

}

/*margins*/
.m-top {
    margin-top: 3rem;
}

/* Nav */
nav {
    position: relative;
    top: 0 !important;
    width: 100%;
    z-index: 100;
}

.nav-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    background-color: var(--primary);
    transition: height 0.3s ease, opacity 0.3s ease;
}

.nav-top.hidden {
    height: 10px;
}

.nav-top a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    font-size: small;
    transform: translateY(calc(-100% * var(--scroll)));
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-top.hidden a {
    transform: translateY(-100%);
    opacity: 0;
}

.nav-top a span {
    color: red;
    text-decoration: underline;
}

.nav {
    display: flex;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: var(--dblue);
}

.nav .beta-tester {
    display: block;
    padding-right: 10px;
    width: 160px;
}

.nav .beta-tester a {
    display: flex;
    justify-content: end;
    align-items: center;

    height: 100%;
    width: 100%;

    color: var(--text-light);
    font-size: small;
    font-weight: 600;
    text-decoration: none;
}

.nav .beta-tester a:hover {
    color: var(--text-light2);
}

.nav .profile {
    width: 50px;
    height: 50px;
    display: flex;
}

#profile-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    background: transparent;
    cursor: pointer;
}

#profile-btn svg {
    width: 26px;
    color: var(--text-light);
}

.nav .profile:hover svg {
    color: var(--text-light2) !important;
}

.nav .cart {
    width: 50px;
    height: 50px;
    display: flex;
}

#cart-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    background: transparent;
    cursor: pointer;
}

#cart-btn svg {
    width: 26px;
    color: var(--text-light);
}

.nav .cart:hover svg {
    color: var(--text-light2) !important;
}


/*Dropdown Menu*/
.nav .menu {
    width: 50px;
    height: 50px;
    display: block;
}

.sidebar {
    position: fixed;
    top: 50px;
    /* below nav */
    left: calc(max(-100vw, -400px) - 50px);
    width: 70vw;
    max-width: 400px;
    height: calc(100vh - 50px);
    background: linear-gradient(180deg, var(--dark2) 0%, #070812 100%);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4);
    transition: 0.4s ease;
    padding-left: 20px;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar.open {
    left: 0;
}

.sidebar ul {
    margin-top: 4rem;
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 1.5rem 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar ul li a:hover {
    color: var(--lblue);
    transform: translateX(6px);
}

.sidebar ul li a::before {
    content: "•";
    color: var(--lblue);
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar ul li a:hover::before {
    opacity: 1;
}

.sidebar-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    margin-bottom: 4rem;
}

.sidebar-bottom a {
    color: #777;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin: 10px 0;
}

.sidebar-bottom a:hover {
    color: var(--text-light2);
}

/* Overlay (optional for focus) */
.overlay {
    position: fixed;
    top: 70px;
    /* below navbar */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 0;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

#menu-button {
    width: 100%;
    height: 100%;
    display: inline-grid;
    place-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
}

#menu-button:focus {
    outline: 3px solid rgba(99, 102, 241, 0.18);
    outline-offset: -3px;
}

.hamburger {
    width: 26px;
    height: 18px;
    position: relative;
    display: block;
}

.hamburger span {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    display: block;
    transform-origin: center;

    --transition: 320ms cubic-bezier(.22, .9, .32, 1);
    transition: transform var(--transition), opacity var(--transition), top var(--transition), left var(--transition);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 7.5px;
}

.hamburger span:nth-child(3) {
    top: 15px;
}

#menu-button.open .hamburger span:nth-child(1) {
    top: 7.5px;
    transform: rotate(45deg) translateY(-0.5px);
}

#menu-button.open .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
}

#menu-button.open .hamburger span:nth-child(3) {
    top: 7.5px;
    transform: rotate(-45deg) translateY(0.5px);
}

@media (prefers-reduced-motion: reduce) {

    .top-menu,
    .hamburger span {
        transition-duration: 0ms !important;
    }
}

.nav .logo {
    position: relative;
    width: 50px;
}

.nav .logo svg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 50px;
}

.logo.animate .logo-ring {
    transform-origin: center;
    transform: scale(1);
    transform-origin: center;
    -webkit-animation: lscale 2s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    -moz-animation: lscale 2s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    animation: lscale 2s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    animation-fill-mode: none;
}

.logo.animate .logo-ref {
    transform-origin: center;
    -webkit-animation: lspin 1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    -moz-animation: lspin 1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    animation: lspin 1s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    animation-fill-mode: none;
}

.logo.animate .logo-led {
    transform-origin: center;
    -webkit-animation: lled 1s cubic-bezier(0.645, 0.045, 0.355, 1.0) infinite;
    -moz-animation: lled 1s cubic-bezier(0.645, 0.045, 0.355, 1.0) infinite;
    animation: lled 1s cubic-bezier(0.645, 0.045, 0.355, 1.0) infinite;
    animation-fill-mode: none;
}

@-moz-keyframes lscale {
    100% {
        -moz-transform: scale(.95);
    }
}

@-webkit-keyframes lscale {
    100% {
        -webkit-transform: scale(.95);
    }
}

@keyframes lscale {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(.95);
        transform: scale(0.95);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes lspin {
    100% {
        -moz-transform: rotate(720deg);
    }
}

@-webkit-keyframes lspin {
    100% {
        -webkit-transform: rotate(7200deg);
    }
}

@keyframes lspin {
    100% {
        -webkit-transform: rotate(720deg);
        transform: rotate(720deg);
    }
}

@-moz-keyframes lled {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes lled {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes lled {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 0.0;
    }

    100% {
        opacity: 1;
    }
}

.nav-left,
.nav-right {
    display: flex;
    flex: 1;
}

.nav-left {
    justify-content: start;
    padding-left: 10px;
}

.nav-right {
    justify-content: end;
    padding-right: 10px;
}

/*.nav-left li {
    justify-content: end;
}*/

/*.nav-left li a,
.nav-right li a {
    padding: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: var(--text-light);
    font-weight: bold;
    text-decoration: none;
    font-size: large;
}

.nav-left li a:hover,
.nav-right li a:hover {
    scale: 1.1;
    color: var(--text-hover);
}*/

@media screen and (max-width: 770px) {
    /*.nav-right {
        justify-content: end;
    }*/

    /*.nav-left li,
    .nav-right li {
        display: none;
    }*/
    .nav .beta-tester {
        display: none;
    }

    /*.nav .menu {
        display: block;
        position: relative;
    }*/
}

/* Scrollbar related */
.scrollbar {
    position: fixed;
    display: flex;
    flex-direction: column;

    margin-top: 90px;
    top: 0;
    right: 0;
    padding-right: 5px;
    width: 20px;
    height: calc(100vh - 90px);
    z-index: 101;
}

.scrollthumb-container {
    display: flex;
    justify-content: center;
    position: relative;
    flex: 1;
}

.scrollthumb {
    width: 60%;
    height: 40px;
    border-radius: 50px;
    background-color: var(--dark3);
    position: absolute;
    top: 0;
    cursor: pointer;
    touch-action: none;
}


.scroll-up,
.scroll-down {
    padding: 5px;

}

.scroll-up {
    padding-top: 10px;

}

.scroll-down {
    padding-bottom: 10px;

}



.main-container {
    display: block;
    position: relative;
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}

/* Home -> Main section */
#product-renderer {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    touch-action: none;
    width: var(--lock-render-size);
    height: calc(100vh - 110px);
}


.section-main {
    height: 100%;
    width: 100%;
    display: flex;
}

.section-main .filler {
    position: relative;
    display: flex;
    justify-content: end;
    width: calc(50% + var(--lock-render-size)/2);
    height: 100%;
    z-index: -1;
}

.filler .img {
    align-self: flex-end;
    width: 100%;
    height: 50%;
    margin-right: calc(var(--lock-render-size));
    margin-bottom: 4rem;
    max-width: 400px;
    max-height: 300px;
    background-image: url("../res/img/image.jpg");
    opacity: .7;
    background-size: cover;
    border-radius: 150px;
    border-bottom-right-radius: 50vh;
}

.section-main .content {
    fill: 1;
    align-self: center;
}

.section-main .content h1 {
    width: 100%;

    font-weight: 500;
    font-size: clamp(1.6rem, 3vw + 1rem, 2.4rem);
    color: var(--text-light);
}

.section-main .content h3 {
    max-width: 400px;

    font-weight: 200;
    font-size: clamp(.8rem, 4vw + 0.1rem, 1rem);
    color: var(--text-light2);
}

.section-main .content .buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: start;
    gap: .5rem;
}

.p-button,
.s-button {
    display: block;
    width: fit-content;
    padding-top: .75rem;
    padding-bottom: .75rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-width: 0px;
    border-radius: 1rem;
    font-size: clamp(.8rem, 2vw + 0.1rem, .8rem);
    color: var(--text-light);
    box-shadow: var(--shadow);
    cursor: pointer;
}

.p-button {
    background: linear-gradient(180deg, var(--primary), var(--dblue));
    border: 1px solid var(--dsecondary);
    font-weight: 800;

}

.s-button {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.02);
    font-weight: 100;
}

.seperator {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    margin-left: .5rem;
    width: 80%;
}

.seperator .spacer {
    height: auto;
    width: 2px;
    border-radius: 2px;
    background-color: var(--text-light2);
}

.seperator p {
    color: var(--text-muted);
    font-size: clamp(.8rem, 2vw + 0.1rem, 1rem);
}

@media screen and (max-width: 1100px) {
    :root {
        --lock-render-size: 40vw;
    }

    #product-renderer {
        left: auto;
        right: 0;
        transform: translate(0);
    }

    .section-main .filler {
        width: 0;
    }

    .section-main .content {
        fill: 0;
        width: calc(100% - var(--lock-render-size));
        padding-left: 24px;
    }
}

.section-a {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    column-gap: 2rem;
    row-gap: 1rem;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

@media screen and (max-width: 1058px) {
    .section-a {
        flex-direction: column-reverse;
    }
}

.section h1 {
    text-align: start;
    font-size: clamp(1.6rem, 3vw + 1rem, 2.4rem);
    font-weight: 500;
    color: var(--text-light);
}

.section h2 {
    text-align: start;
    margin-top: .5rem;

    font-weight: 500;
    font-size: clamp(1rem, 2vw + .3rem, 1.4rem);
    color: var(--text-light);
}

.section .small-bar {
    margin-top: 2rem;
    margin-left: 20px;
    margin-right: auto;
    height: 3px;
    width: 80px;
    background-color: var(--primary);
}

.section h3 {
    text-align: start;
    margin-top: .5rem;

    font-weight: 500;
    font-size: clamp(.8rem, 2.5vw + .3rem, 1.2rem);
    color: var(--text-light2);
}

.section h4 {
    text-align: start;
    margin-top: .5rem;

    font-weight: 500;
    font-size: clamp(.8rem, 2.5vw + .3rem, 1.2rem);
    color: var(--text-light2);
}

.section h5 {
    text-align: start;
    margin-top: .5rem;

    font-weight: 500;
    font-size: clamp(.6rem, 2.5vw + .1rem, 1rem);
    color: var(--text-light2);
}

.section h6 {
    text-align: start;

    font-weight: 800;
    font-size: clamp(.4rem, 2vw + .1rem, 1rem);
    color: var(--text-light);
}

.section p {
    text-align: start;

    font-weight: 200;
    font-size: clamp(.4rem, 2vw + .1rem, 1rem);
    color: var(--text-light2);
}

.section p strong {
    font-weight: bold;
}

.section a {
    margin-top: .5rem;
    text-align: start;
    text-decoration: none;
    font-weight: 200;
    font-size: clamp(.4rem, 2vw + .1rem, 1rem);
    color: var(--text-light2);
}

#enter-methods {
    display: flex;
    gap: 40px;
    row-gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    padding-right: 20px;
    padding-left: 20px;

    margin-top: 2rem;
}

#enter-methods .method {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    -webkit-transition: transform .3s cubic-bezier(0.42, 0, 0.58, 1);
    transition: transform .3s cubic-bezier(0.42, 0, 0.58, 1);
}

#enter-methods .method.selected {
    transform: scale(1.2);
}

#enter-methods .method-icon {
    --dyn-size: clamp(2rem, 6vw + 1rem, 4rem);
    width: var(--dyn-size);
    height: var(--dyn-size);
    border-radius: 100px;
}


#enter-methods .method h4 {
    font-weight: 100;
    font-size: clamp(.8rem, 3vw + .1rem, 1rem);
    color: var(--text-light);
}

#enter-methods .method.selected h4 {
    text-shadow: 0 0 10px #fff, 0 0 20px var(--primary), 0 0 30px var(--primary), 0 0 40px var(--primary), 0 0 50px var(--primary), 0 0 60px var(--primary), 0 0 70px var(--primary);
}

#enter-methods .method.selected .method-icon {
    box-shadow: 0 0 10px #fff, 0 0 20px var(--primary), 0 0 30px var(--primary), 0 0 40px var(--primary), 0 0 50px var(--primary), 0 0 60px var(--primary), 0 0 70px var(--primary);
}

.methods-img-slider {
    display: flex;
}

.prev,
.next {
    color: #fff;
    background: none;
    border: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.methods-img-container {
    overflow: hidden;
}

#methods-img-row {
    display: flex;
    position: relative;
    width: 500px;
    max-width: 70vw;
    height: fit-content;
}

.section-a .door-img {
    position: absolute;
    flex-shrink: 0;
    width: 500px;
    max-width: 70vw;
    border-radius: 1.5rem;
    box-shadow: 0 0 8px rgba(106, 122, 174, 0.3);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.section-a .door-img.selected {
    position: relative;
    opacity: 1;
}

.section-a .content {
    order: 1;
}

.section-a .content.first {
    order: 0;
}


.section-b {
    margin-top: 3rem;
    gap: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}


.content-why,
.content-extra,
.content-form {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 1rem;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.03);
    height: fit-content;
}

.content-form h2 {
    margin-bottom: 1rem;
}

.content-form h3 {
    text-align: start;
    margin-top: .5rem;
    font-weight: bold;
    font-size: clamp(.8rem, 2vw + .3rem, 1.2rem);
    color: var(--text-light2);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    margin-bottom: 1rem;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 1rem;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.checkbox-group input {
    height: auto;
    margin-right: .5rem;
}

.checkbox-group a {
    font-weight: bold;
    text-decoration: underline;
    color: var(--lblue);
}

.content-form .last-line {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
}

.content-form .last-line h2 {
    margin-top: .5rem;
}

.content-why h5,
.content-form {
    max-width: 70ch;
}

.section .kicker {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: .8rem
}

.section .kicker .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 2px 8px rgba(110, 168, 255, 0.12)
}

.content-why .benefits {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 20px
}

.content-why .benefit {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.benefit .icon {
    min-width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    color: var(--text-muted);
    font-weight: bold;
    font-size: 24px;
}

.content-extra {
    padding: 1.5rem;
    margin-top: 1rem;
    height: fit-content;
    background: linear-gradient(180deg, var(--secondary), var(--dsecondary));
}

.content-extra h2 {

    color: var(--lprimary);
    font-weight: bolder;
}

.content-extra h3 {

    color: var(--text-light);
    font-weight: 600;
}

.content-extra p {
    padding-top: .25rem;
    font-size: 12px;
}

.content-extra p strong {
    font-weight: bold;
}

.content-extra .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6rem;
}

.content-extra .testers {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-extra .buttons {
    display: flex;
    gap: 1rem;

    margin-top: 1rem;
}

.content-extra .line {
    display: flex;
    align-items: center;
    gap: .5rem;
}


.section-c {
    padding-top: 4rem;
    display: flex;
    padding-left: 20px;
    padding-right: 20px;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.section-c .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.section-c .content-render {
    height: 100%;

}

.section-c .content-render>* {
    min-height: 0;
}

.section-c h1 {
    text-align: center;
}

.section-c h3 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 60ch;

}

.section-c .top-section {
    width: fit-content;
}
.section-c .top-section h1{
    text-align: start;
}

.section-c .top-section h5 {
    max-width: 70ch;
}

.content-why .beta-advantages {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1rem;
    column-gap: 3rem;

    margin-top: 1rem;
}

.content-why h3 {
    text-align: start;
    color: var(--text-light);
    font-weight: 600;
    display: flex;
    gap: 1rem;
}

#tech-list {
    display: flex;
}

#tech-list h3 {
    align-self: center;

    margin: 0;
    padding: 0;
    width: 20ch;
    height: fit-content;

    cursor: pointer;
    text-align: center;
    color: var(--text-light);
}

.render-wrapper {
    width: calc(100vw - 40px);
    flex: 1;
    overflow-y: hidden;
    scrollbar-width: none;
}

#tech-renderer {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    width: 70vw;
}

#toggleEye {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .5rem;
    background: transparent;
    border: none;
    color: #e6eef8;
    cursor: pointer;
    user-select: none;
}

#toggleEye .icon {
    width: 32px;
    height: 32px;
    display: block;
}

/* both groups are positioned exactly; we toggle opacity/scale */
.icon .eye-open,
.icon .eye-closed {
    transform-origin: 50% 50%;
    transition: opacity var(--transition), transform var(--transition);
}

/* default: show open, hide closed */
.icon .eye-open {
    opacity: 1;
    transform: scale(1);
}

.icon .eye-closed {
    opacity: 0;
    transform: scale(.85);
}

/* when button has .hidden -> show closed state */
#toggleEye.hidden .eye-open {
    opacity: 0;
    transform: scale(.85);
}

#toggleEye.hidden .eye-closed {
    opacity: 1;
    transform: scale(1);
}


.label-renderer {
    display: block;
    position: absolute;
    top: 0;
    pointer-events: none;
    overflow: visible !important;
    visibility: hidden;
}

.label-renderer .callout {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;

    background-color: #0000007a;
    border: var(--text-light) 2px solid;
    border-radius: 1.1em;
    box-shadow: 0 0 0 2px #0000007a;
    pointer-events: all;
    cursor: pointer;
}

.label-renderer .callout .callout-content {
    position: absolute;
    top: -2px;
    left: -2px;

    min-width: 30px;
    min-height: 30px;

    width: auto;
    height: auto;
    padding: 20px 30px;
    border-radius: 1.1em;
    background-color: #0000007a;
    border: var(--text-light) 2px solid;
    box-shadow: 0 0 0 2px #0000007a;
    -webkit-transition: transform .3s cubic-bezier(0.42, 0, 0.58, 1);
    transition: transform .3s cubic-bezier(0.42, 0, 0.58, 1);
    transform-origin: top left;
    transform: scale(0);
    z-index: -1;
}

.label-renderer .callout.active {
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.label-renderer .callout.active .callout-content {
    transform: scale(1);
}

.label-renderer .callout h3 {
    margin: 0;
    padding: 0;
    text-align: start;
    
    color: var(--text-light);
}

.label-renderer .callout h5 {
    margin: 0;
    margin-top: .25rem;
    min-width: 20ch;
    padding: 0;
}



.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    width: 70vw;
    max-width: 500px;
}

.timeline-line {
    position: relative;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
}

.timeline-point {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 15px var(--secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-top h5 {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -100%);
    padding: .75rem;
    color: var(--text-light);
    text-wrap: nowrap;
}

.timeline-bottom h5 {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 100%);
    padding: .5rem;
    color: var(--text-light);
    text-wrap: nowrap;
}

.timeline-point.selected {
    background-color: var(--primary);
    transform: translateY(-50%) scale(1.3);
}

.timeline-point.selected h5 {
    font-weight: 800;
}

/* Puls animatie */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--secondary);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 183, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 183, 255, 0);
    }
}

.timeline-point {
    animation: pulse 2.5s infinite;
}

/* ===== Uitleg tekst ===== */
.timeline-info {
    text-align: center;
    color: #cfcfcf;
    font-size: 1.1rem;
    min-height: 80px;
    max-width: 700px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Positionering van de punten */
.p1 {
    left: 0%;
}

.p2 {
    left: 33%;
}

.p3 {
    left: 66%;
}

.p4 {
    left: 100%;
    transform: translate(-50%, -50%);
}

.benefit-slider {
    flex: 1;
    align-self: center;
    display: flex;
}

.benefit-container p {
    max-width: 50ch;
}

.benefit-container .benefit {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-50%);

}

.benefit-container .benefit.selected {
    position: relative;
    display: flex;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}



















/* Footer */
.footer {
    margin-top: 2rem;
    background: linear-gradient(180deg, var(--dark2), var(--dark1));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 20px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
}

.footer h2 {
    color: var(--text-light);
}

.footer h6 {
    max-width: 40ch;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
}

.footer-links {
    display: flex;
    gap: 60px;
    justify-content: space-between;
    width: fit-content;
}

.footer-links a {
    display: block;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}



.footer-newsletter {
    display: flex;
    flex-direction: column;
}

.footer-newsletter h2 {
    width: fit-content;
}

.footer-newsletter p {
    width: fit-content;
}

.newsletter-form {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.newsletter-form input {
    padding: .5rem 14px;
    border-radius: 8px;
    border: none;
    background: var(--dark3);
    color: #fff;
    outline: none;
    font-size: .75rem;
}



.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    text-align: center;
}




.content-tc {
    max-width: 70ch;
    margin-bottom: 3rem;
}

.content-tc h2 {
    margin-top: 1.5rem;
    margin-bottom: .75rem;
}

.content-tc .dlist,
.content-tc .nlist {
    list-style-type: none;
    color: var(--text-light2);
}

.content-tc .dlist {
    margin-left: 1rem;
    list-style-type: disc;
}

.content-tc li {
    margin-top: .5rem;
}