/* Font Stack */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #0d0d0d;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Logo Area */
.logo-area {
    text-align: center;
    margin-bottom: 16px;
}

.logo-area img {
    max-width: 120px;
    height: auto;
}

/* Heading */
h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    color: #0d0d0d;
    text-align: center;
}

/* Message Paragraph */
#message {
    font-size: 16px;
    line-height: 1.5;
    color: #0d0d0d;
    text-align: center;
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 16px 0;
}

/* Mode Sections */
.mode-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Survey Fieldset */
.survey-fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.survey-fieldset legend {
    font-size: 16px;
    font-weight: 500;
    color: #0d0d0d;
    margin-bottom: 12px;
    padding: 0;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #0d0d0d;
}

.radio-label input[type="radio"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #0d0d0d;
}

.radio-label span {
    user-select: none;
}

/* Textarea */
.textarea {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px;
    border: 1px solid #d0d0d0;
    border-radius: 12px;
    color: #0d0d0d;
    background-color: #ffffff;
    resize: vertical;
    min-height: 100px;
}

.textarea::placeholder {
    color: #999999;
}

.textarea:focus {
    outline: none;
    border-color: #0d0d0d;
    box-shadow: 0 0 0 3px rgba(13, 13, 13, 0.1);
}

/* Button Group */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: #0d0d0d;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #2a2a2a;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background-color: #ffffff;
    color: #0d0d0d;
    border: 1px solid #0d0d0d;
}

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

.btn-secondary:active {
    transform: scale(0.98);
}

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

/* State Messages */
.state-message {
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 12px;
    color: #666666;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.footer a {
    color: #0d0d0d;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

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

    h1 {
        font-size: 24px;
    }

    #message {
        font-size: 14px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}
