* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-bg: #0a0f1a;
    --card-bg: #151b2b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-gold: #ffc94e;
    --accent-gold-hover: #ffb81f;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --border: #1e293b;
    --success: #10b981;
    --warning: #f59e0b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.05) 0px, transparent 50%);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 60px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Introduction */
.intro-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-gold));
    color: #0a0f1a;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.intro-text.strong {
    color: var(--text-primary);
    font-weight: 600;
    background: var(--dark-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-gold));
    color: #0a0f1a;
    box-shadow: 0 4px 20px rgba(255, 201, 78, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 201, 78, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--dark-bg);
    color: var(--text-primary);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--dark-bg);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-gold));
    width: 0%;
    transition: width 0.4s ease;
}

.question-counter {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

/* Questions */
.question-block {
    display: none;
    animation: slideIn 0.4s ease;
}

.question-block.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.question-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-style: italic;
}

/* Form Elements */
textarea, input[type="text"] {
    width: 100%;
    background: var(--dark-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    transition: all 0.3s ease;
}

textarea:focus, input[type="text"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea::placeholder, input[type="text"]::placeholder {
    color: #475569;
}

/* Radio Cards */
.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-card, .checkbox-card {
    position: relative;
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: var(--dark-bg);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-card:hover, .checkbox-card:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.05);
}

.radio-card input[type="radio"],
.checkbox-card input[type="checkbox"] {
    margin-right: 14px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.radio-card input[type="radio"]:checked,
.checkbox-card input[type="checkbox"]:checked {
    accent-color: var(--accent);
}

.radio-card:has(input:checked),
.checkbox-card:has(input:checked) {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
}

.radio-card span, .checkbox-card span {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.5;
}

.radio-card.has-input {
    flex-wrap: wrap;
}

.radio-card.has-input input[type="text"] {
    margin-top: 12px;
    margin-left: 34px;
    width: calc(100% - 34px);
}

/* Scale */
.scale-container {
    background: var(--dark-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.scale-group {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.scale-group label {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-secondary);
}

.scale-group label:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
}

.scale-group input[type="radio"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--accent);
}

.scale-group label:has(input:checked) {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent);
}

/* Navigation */
.navigation-buttons {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    justify-content: space-between;
}

#prevBtn {
    flex: 0 0 auto;
}

#nextBtn, #submitBtn {
    flex: 1;
}

/* Confirmation */
.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #0a0f1a;
    margin: 0 auto 30px;
    box-shadow: 0 8px 30px rgba(255, 201, 78, 0.3);
}

.process-steps {
    margin: 40px 0;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 24px;
    background: var(--dark-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #0a0f1a;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.final-note {
    text-align: right;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 40px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px 16px;
    }

    .content-wrapper {
        padding: 40px 24px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 22px;
    }

    .intro-text {
        font-size: 16px;
    }

    .scale-group {
        gap: 4px;
    }

    .scale-group label {
        padding: 10px 4px;
        font-size: 14px;
    }

    .navigation-buttons {
        flex-direction: column;
    }

    #prevBtn, #nextBtn, #submitBtn {
        width: 100%;
    }

    .step {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    .content-wrapper {
        padding: 30px 20px;
    }

    .scale-group {
        flex-wrap: wrap;
    }

    .scale-group label {
        flex: 0 0 calc(20% - 4px);
    }
}