:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --bg-color: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #38bdf8;
    --success-color: #22c55e;
}

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

body {
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Animations */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.4;
    animation: move 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #6366f1;
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #a855f7;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: #38bdf8;
    top: 40%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, 50px) scale(1.1); }
}

.container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.form-section {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: 24px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.form-section:hover {
    transform: translateY(-5px);
}

.form-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.helper-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

/* Option Cards (Radio/Checkbox) */
.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-card {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
}

.option-card input {
    display: none;
}

.custom-radio, .custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
    margin-right: 1rem;
    position: relative;
    transition: all 0.2s ease;
}

.custom-checkbox {
    border-radius: 4px;
}

.option-card input:checked + .custom-radio {
    border-color: var(--accent-color);
}

.option-card input:checked + .custom-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
}

.option-card input:checked + .custom-checkbox {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.option-card input:checked + .custom-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

.label-text {
    font-size: 1rem;
}

.inline-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-primary);
    margin-left: 0.5rem;
    padding: 2px 5px;
    outline: none;
    flex-grow: 1;
}

.inline-input:focus {
    border-color: var(--accent-color);
}

/* Text Area */
.text-area {
    width: 100%;
    min-height: 120px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    resize: vertical;
    outline: none;
}

.text-area:focus {
    border-color: var(--accent-color);
}

/* NPS Scale */
.nps-container {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nps-item {
    flex: 1;
    min-width: 40px;
}

.nps-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.nps-item input:checked + .nps-box {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    transform: scale(1.1);
}

/* Footer & Submit */
.form-footer {
    text-align: center;
    margin-top: 3rem;
}

.form-footer p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.submit-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
    filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        margin: 2rem auto;
    }
    .header h1 {
        font-size: 1.75rem;
    }
    .nps-container {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
    }
}
