@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Serif+Pro:wght@400;600&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Source Serif Pro', serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

#landing-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: black;
    color: white;
    text-align: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(15px);
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.landing-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

h1.landing-title {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 3.5em;
    line-height: 1.3;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin: 0;
    letter-spacing: -0.02em;
}

.landing-warning {
    font-family: 'Source Serif Pro', serif;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0;
    line-height: 1.5;
    font-style: italic;
    opacity: 0.8;
}

.landing-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.back-btn {
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
    text-decoration: none;
    font-family: 'Source Serif Pro', serif;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    border-radius: 2px;
    background-color: transparent;
    cursor: pointer;
    width: 145px;
    padding: 15px 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-btn:hover {
    background-color: white;
    color: #1a1a1a;
    border-color: white;
}

#main-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 200;
    background-color: white;
    overflow-y: auto;
    clip-path: circle(0% at 50% 50%);
    -webkit-clip-path: circle(0% at 50% 50%);
    visibility: hidden;
    transition: clip-path 1.5s cubic-bezier(0.77, 0, 0.175, 1), -webkit-clip-path 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}

#main-layer.reveal-active {
    clip-path: circle(150% at 50% 50%);
    -webkit-clip-path: circle(150% at 50% 50%);
    visibility: visible;
}

#main-layer.full-visible {
    clip-path: none;
    -webkit-clip-path: none;
    position: relative;
    height: auto;
    min-height: 100vh;
    visibility: visible;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 300px;
}

.preloader-logo {
    width: 400px;
    height: auto;
    margin-bottom: 25px;
    filter: brightness(0);
}

.preloader-title {
    font-family: "Playfair Display", serif;
    font-size: 2em;
    letter-spacing: 3px;
    color: #000000;
    margin: 0 0 40px 0;
    text-transform: uppercase;
    font-weight: 400;
}

#preloader-text {
    font-family: "Source Serif Pro", serif;
    font-size: 1.1em;
    font-style: italic;
    color: #000000;
    margin-bottom: 25px;
    min-height: 1.5em;
    transition: opacity 0.2s ease;
}

.progress-container {
    width: 100%;
    height: 3px;
    background-color: #f0f0f0;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

#progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background-color: #000000;
    transition: width 8s linear;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#questionnaire-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#questionnaire-overlay.active {
    opacity: 1;
    visibility: visible;
}

.question-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 90%;
    max-width: 800px;
}

.question-slide.hidden {
    display: none;
    opacity: 0;
}

.question-slide.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.question-slide.fade-in {
    animation: fadeInScale 0.8s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.q-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    font-style: italic;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}

.q-options {
    display: flex;
    gap: 30px;
}

.q-btn {
    padding: 12px 40px;
    background: transparent;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    font-family: 'Source Serif Pro', serif;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.q-btn:hover {
    background: #1a1a1a;
    color: white;
}

@media (max-width: 768px) {

    h1.landing-title {
        font-size: 2.2em;
        line-height: 1.4;
    }

    #bg-image {
        filter: blur(10px);
    }

    .back-btn {
        padding: 12px 25px;
        font-size: 0.8em;
    }

    .preloader-logo {
        width: 300px;
        margin-bottom: 20px;
    }

    #preloader-text {
        font-size: 1em;
    }

    @media (max-width: 768px) {
        .q-text {
            font-size: 1.6em;
        }

        .q-btn {
            padding: 10px 30px;
            font-size: 0.9em;
        }
    }
}