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

body {
    font-family: 'Raleway', sans-serif;
    background-color: #f3f4f6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    padding: 1rem;
    border-bottom: 1px solid #374151;
    background-color: #0B3151;
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.flask-icon {
    width: 2rem;
    height: 2rem;
    color: #54b6e7;
}

header span {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.splash-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.5s ease-in;
}

.splash-image {
    max-width: 28rem;
    margin: 0 auto 2rem;
    border-radius: 0.5rem;
}

.splash-container h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #0B3151;
    margin-bottom: 1rem;
}

.splash-description {
    font-size: 1rem;
    color: #374151;
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.btn-primary {
    background-color: #54b6e7;
    color: white;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #41a5d6;
    transform: scale(1.05);
}

.btn-secondary {
    background-color: #e5e7eb;
    color: #374151;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background-color: #d1d5db;
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.survey-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 48rem;
    padding: 1rem;
}

.progress-container {
    width: 100%;
    max-width: 48rem;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    background-color: #e5e7eb;
    border-radius: 9999px;
    height: 0.5rem;
    margin-bottom: 1rem;
}

.progress-fill {
    background-color: #54b6e7;
    height: 100%;
    border-radius: 9999px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

.step-content {
    width: 100%;
    max-width: 48rem;
}

.step-content h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0B3151;
    margin-bottom: 0.5rem;
    text-align: center;
}

.question-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 1.5rem;
}

.video-container {
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.survey-form {
    width: 100%;
}

.slider-container {
    margin-bottom: 2rem;
}

.slider-wrapper {
    position: relative;
    margin-bottom: 0.25rem;
}

.slider {
    width: 100%;
    height: 0.5rem;
    border-radius: 0.25rem;
    background: #e5e7eb;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #54b6e7;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.slider::-moz-range-thumb {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #54b6e7;
    cursor: pointer;
    border: none;
    position: relative;
    z-index: 2;
}

.tick-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5rem;
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    pointer-events: none;
}

.tick-line {
    width: 2px;
    height: 100%;
    background-color: #9ca3af;
    border-radius: 1px;
}

.tick-marks {
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.tick-marks span {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.slider-value {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #0B3151;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}


.help-link {
    font-size: 0.875rem;
    color: #54b6e7;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.help-link:hover {
    text-decoration: underline;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    background-color: white;
}

.radio-option:hover {
    border-color: #54b6e7;
    background-color: #f0f9ff;
}

.radio-option input[type="radio"] {
    margin-top: 0.25rem;
    cursor: pointer;
    width: 1.25rem;
    height: 1.25rem;
    accent-color: #54b6e7;
}

.radio-option span {
    flex: 1;
    color: #374151;
    line-height: 1.5;
}

.button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.form-container {
    width: 100%;
    max-width: 32rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-container h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0B3151;
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-form {
    width: 100%;
    padding: 2rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #54b6e7;
    ring: 2px;
    ring-color: #54b6e7;
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
}

.results-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 32rem;
    padding: 2rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in;
}

.check-icon {
    width: 6rem;
    height: 6rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.results-container h2 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #0B3151;
    margin-bottom: 1rem;
}

.results-message {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.confirmation-email {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

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

@media (max-width: 768px) {
    header {
        padding: 0.75rem 1rem;
    }
    
    header span {
        font-size: 1rem;
    }
    
    .flask-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    main {
        padding: 1rem 0.5rem;
    }
    
    .splash-container {
        padding: 1rem;
    }
    
    .splash-container h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .splash-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .splash-image {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .btn-primary {
        padding: 0.625rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .survey-container {
        padding: 0.5rem;
    }
    
    .progress-container {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .step-content h2 {
        font-size: 1.25rem;
        line-height: 1.4;
        padding: 0 0.5rem;
    }
    
    .question-subtitle {
        font-size: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .video-container {
        margin: 0 -0.5rem 1.5rem;
    }
    
    .video-container iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    
    .slider-value {
        font-size: 1.25rem;
    }
    
    .tick-marks span {
        font-size: 0.75rem;
    }
    
    .radio-option {
        padding: 0.75rem;
    }
    
    .radio-option span {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .radio-option input[type="radio"] {
        width: 1.1rem;
        height: 1.1rem;
        flex-shrink: 0;
    }
    
    .button-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .button-container button {
        width: 100%;
        justify-content: center;
    }
    
    .btn-secondary {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .form-container {
        padding: 0 0.5rem;
    }
    
    .form-container h2 {
        font-size: 1.25rem;
        line-height: 1.4;
        padding: 0 0.5rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group select {
        font-size: 0.95rem;
        padding: 0.625rem 0.5rem;
    }
    
    .results-container {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .results-container h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .results-message {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .check-icon {
        width: 4.5rem;
        height: 4.5rem;
        margin-bottom: 1rem;
    }
    
    .confirmation-email {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    header span {
        font-size: 0.9rem;
    }
    
    .splash-container h1 {
        font-size: 1.25rem;
    }
    
    .splash-description {
        font-size: 0.85rem;
    }
    
    .step-content h2 {
        font-size: 1.1rem;
    }
    
    .tick-marks {
        padding: 0 0.25rem;
    }
    
    .tick-marks span {
        font-size: 0.7rem;
    }
    
    .radio-option span {
        font-size: 0.85rem;
    }
    
    .form-container h2 {
        font-size: 1.1rem;
    }
    
    .results-container h2 {
        font-size: 1.25rem;
    }
    
    .results-message {
        font-size: 0.95rem;
    }
}
