* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: none;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.quiz-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.progress-bar {
    height: 6px;
    background: #e0e0e0;
    position: relative;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #d0909b, #8e5c7f);
    width: 0;
    transition: width 0.3s ease;
}

.step {
    display: none;
    padding: 40px;
    min-height: 500px;
}

.step.active {
    display: block;
}

h2, h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-size: 2.2em;
    background: linear-gradient(135deg, #d0909b, #8e5c7f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #d0909b;
}

.question {
    font-size: 1.3em;
    font-weight: 500;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.5;
}

.answers {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.answer-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.answer-option:hover {
    border-color: #d0909b;
    background: #fcecef;
}

.answer-option input[type="radio"] {
    margin-right: 15px;
    transform: scale(1.2);
}

.answer-option input[type="radio"]:checked + span {
    color: #8e5c7f;
    font-weight: 600;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, #d0909b, #8e5c7f);
    color: white;
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(208, 144, 155, 0.3);
}

.btn-prev {
    background: #ae626e;
    color: #fff;
}

.btn-prev:hover {
    background: #e0e0e0;
}

.loading {
    text-align: center;
    padding: 60px 0;
}

.loading p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 20px;
}

.results {
    background: linear-gradient(135deg, #d0909b, #8e5c7f);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 20px 0;
}

.results h3 {
    color: white;
    margin-bottom: 15px;
}

.results p {
    line-height: 1.6;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    html, body {
        padding: 0;
        margin: 0;
        width: 100%;
        overflow-x: hidden;
    }

    .container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .quiz-container {
        border-radius: 0;
        box-shadow: none;
        margin: 0 !important;
        width: 100% !important;
    }

    .step {
        padding: 10px !important;
    }

    .results {
        padding: 15px !important;
    }

    h2 {
        font-size: 1.6em;
    }

    .question {
        font-size: 1em;
    }

    .navigation {
        flex-direction: column;
        gap: 15px;
    }

    .btn-prev,
    .btn-next,
    .btn-submit {
        width: 100%;
    }
}
