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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #1a3a5f;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    line-height: 1.6;
    color: #ffffff;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(220, 53, 69, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 53, 69, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.survey-card {
    background: transparent;
    padding: 0;
    margin: 0;
}

.survey-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 35px;
    border-bottom: 2px solid rgba(220, 53, 69, 0.3);
}

.logo-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

.survey-header h1 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.intro-text {
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 45px;
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-left: 4px solid #dc3545;
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.intro-text p {
    margin-bottom: 10px;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.form-section {
    margin-bottom: 45px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(220, 53, 69, 0.2);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.required {
    color: #dc3545;
    font-weight: 700;
}

.optional {
    color: rgba(255, 255, 255, 0.65);
    font-weight: normal;
    font-size: 14px;
}

.hint {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    margin-bottom: 18px;
    font-style: normal;
    line-height: 1.5;
}

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

.checkbox-group label,
.radio-group label {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #ffffff;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.checkbox-group label:hover,
.radio-group label:hover {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.5);
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.3);
}

.checkbox-group input[type="checkbox"]:checked,
.radio-group input[type="radio"]:checked {
    filter: brightness(1.2);
}

.checkbox-group input[type="checkbox"]:checked + *,
.radio-group input[type="radio"]:checked + * {
    color: #ffffff;
    font-weight: 500;
}

.checkbox-group input[type="checkbox"],
.radio-group input[type="radio"] {
    margin-right: 16px;
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #dc3545;
    flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:checked + span,
.radio-group input[type="radio"]:checked + span {
    font-weight: 600;
}

.privacy-notice {
    background: rgba(220, 53, 69, 0.12);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 12px;
    padding: 24px;
    margin: 45px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.privacy-notice p {
    margin-bottom: 8px;
}

.privacy-notice p:last-child {
    margin-bottom: 0;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
    border: none;
    padding: 18px 55px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 24px rgba(220, 53, 69, 0.5);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 15px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #e74c5a 0%, #dc3545 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.6);
}

.btn-submit:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.5);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: rgba(26, 58, 95, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    margin: auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.modal-content.modal-success {
    border: 2px solid rgba(220, 53, 69, 0.5);
    border-left: 4px solid #dc3545;
    box-shadow: 0 8px 32px rgba(220, 53, 69, 0.4);
}

.modal-content.modal-error {
    border: 2px solid rgba(220, 53, 69, 0.7);
    border-left: 4px solid #dc3545;
    box-shadow: 0 8px 32px rgba(220, 53, 69, 0.5);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 32px;
    font-weight: bold;
    background: transparent;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.modal-close:hover,
.modal-close:focus {
    color: #ffffff;
    transform: scale(1.2);
    text-decoration: none;
}

.success-message {
    background: rgba(220, 53, 69, 0.15);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: none;
    color: #ffffff;
    padding: 40px 30px;
    border-radius: 14px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.error-message-modal {
    background: rgba(220, 53, 69, 0.2);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: none;
    color: #ffffff;
    padding: 40px 30px;
    border-radius: 14px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

#newsletterForm.hide {
    display: none;
}

.checkbox-group label.checked,
.radio-group label.checked {
    background: rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.4);
}

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

    .logo {
        max-width: 150px;
    }

    .survey-header h1 {
        font-size: 26px;
    }

    .form-section h2 {
        font-size: 20px;
    }

    .btn-submit {
        width: 100%;
        padding: 16px;
    }
}

