/* ----------------------- */
/* Global Styles */
/* ----------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #080808;
    color: white;
    overflow-x: hidden;
}

/* ----------------------- */
/* Animated Background */
/* ----------------------- */

.background {
    position: fixed;
    inset: 0;

    background:
        radial-gradient(circle at top left,#2f5eff22,transparent 35%),
        radial-gradient(circle at bottom right,#008cff22,transparent 35%),
        #080808;

    z-index: -1;
}

/* ----------------------- */
/* Survey Card */
/* ----------------------- */

.survey-container {

    width: 90%;
    max-width: 750px;

    margin: 60px auto;

    background: #111;

    border: 1px solid #222;

    border-radius: 20px;

    padding: 40px;

    box-shadow:
        0 0 40px rgba(0,140,255,.15);

}

/* ----------------------- */
/* Logo */
/* ----------------------- */

.logo {

    display:block;

    width:140px;

    margin:auto;

    margin-bottom:25px;

}

/* ----------------------- */
/* Headings */
/* ----------------------- */

h1 {

    text-align:center;

    font-size:36px;

    margin-bottom:15px;

}

.subtitle{

    color:#bbbbbb;

    text-align:center;

    margin-bottom:35px;

    line-height:1.6;

}

h2{

    margin-bottom:20px;

    font-size:24px;

    line-height:1.5;

}

/* ----------------------- */
/* Progress Bar */
/* ----------------------- */

.progress{

    width:100%;

    height:10px;

    background:#222;

    border-radius:30px;

    margin-bottom:40px;

    overflow:hidden;

}

.progress-bar{

    width:14%;

    height:100%;

    background:linear-gradient(
        90deg,
        #0077ff,
        #00bfff
    );

    transition:.4s;

}

/* ----------------------- */
/* Questions */
/* ----------------------- */

.question{

    display:none;

    animation:fade .4s;

}

.question.active{

    display:block;

}

@keyframes fade{

from{

opacity:0;

transform:translateX(25px);

}

to{

opacity:1;

transform:none;

}

}

/* ----------------------- */
/* Inputs */
/* ----------------------- */

input[type=text],
textarea{

    width:100%;

    background:#1c1c1c;

    border:1px solid #333;

    color:white;

    padding:15px;

    border-radius:12px;

    font-size:16px;

}

textarea{

    resize:vertical;

}

input:focus,
textarea:focus{

    outline:none;

    border:1px solid #008cff;

    box-shadow:0 0 15px rgba(0,140,255,.35);

}

/* ----------------------- */
/* Radio Buttons */
/* ----------------------- */

.radio{

    display:block;

    margin:15px 0;

    font-size:18px;

    cursor:pointer;

}

.radio input{

    margin-right:12px;

}

/* ----------------------- */
/* Buttons */
/* ----------------------- */

.buttons{

    display:flex;

    justify-content:space-between;

    margin-top:40px;

}

button{

    border:none;

    padding:14px 28px;

    border-radius:12px;

    font-size:16px;

    cursor:pointer;

    transition:.3s;

}

#prevBtn{

    background:#2b2b2b;

    color:white;

}

#prevBtn:hover{

    background:#444;

}

#nextBtn{

    background:#008cff;

    color:white;

}

#nextBtn:hover{

    background:#0a6edb;

}

#submitBtn{

    display:none;

    background:#00c853;

    color:white;

}

#submitBtn:hover{

    background:#0ea44b;

}

/* ----------------------- */
/* Mobile */
/* ----------------------- */

@media(max-width:700px){

.survey-container{

padding:25px;

}

h1{

font-size:28px;

}

h2{

font-size:20px;

}

.buttons{

flex-direction:column;

gap:15px;

}

button{

width:100%;

}

}