/* ==========================================================================
   POLL Survey System - Modern Themeable Stylesheet (Dark & Light Mode)
   ========================================================================== */

/* Dark Theme Variables (Default) */
:root, [data-theme="dark"] {
    --bg-main: #0b0f19;
    --bg-surface: rgba(18, 24, 38, 0.75);
    --bg-surface-solid: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-subtle: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-card-active: rgba(99, 102, 241, 0.16);
    --bg-input: rgba(0, 0, 0, 0.3);
    --bg-input-focus: rgba(0, 0, 0, 0.4);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-card: rgba(255, 255, 255, 0.07);
    --border-focus: rgba(99, 102, 241, 0.6);
    --border-active: #6366f1;
    
    --text-main: #f8fafc;
    --text-heading: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --text-label: #e2e8f0;
    
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: rgba(99, 102, 241, 0.15);
    --primary-glow: rgba(99, 102, 241, 0.35);
    
    --accent: #06b6d4;
    --accent-purple: #a855f7;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    
    --icon-box-bg: rgba(255, 255, 255, 0.05);
    --icon-box-color: #94a3b8;
    
    --nps-btn-bg: rgba(255, 255, 255, 0.04);
    --nps-btn-border: rgba(255, 255, 255, 0.1);
    --nps-btn-color: #e2e8f0;
    --nps-btn-hover: rgba(255, 255, 255, 0.1);
    
    --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --blob-opacity: 0.25;
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-main: #f1f5f9;
    --bg-surface: rgba(255, 255, 255, 0.9);
    --bg-surface-solid: #ffffff;
    --bg-card: #ffffff;
    --bg-card-subtle: #f8fafc;
    --bg-card-hover: #f1f5f9;
    --bg-card-active: #eef2ff;
    --bg-input: #ffffff;
    --bg-input-focus: #ffffff;
    
    --border-color: rgba(0, 0, 0, 0.08);
    --border-subtle: rgba(0, 0, 0, 0.05);
    --border-card: rgba(0, 0, 0, 0.08);
    --border-focus: rgba(99, 102, 241, 0.5);
    --border-active: #4f46e5;
    
    --text-main: #1e293b;
    --text-heading: #0f172a;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    --text-label: #334155;
    
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: rgba(79, 70, 229, 0.1);
    --primary-glow: rgba(79, 70, 229, 0.25);
    
    --accent: #0284c7;
    --accent-purple: #9333ea;
    --accent-emerald: #059669;
    --accent-amber: #d97706;
    --accent-rose: #e11d48;
    
    --icon-box-bg: rgba(79, 70, 229, 0.08);
    --icon-box-color: #6366f1;
    
    --nps-btn-bg: #ffffff;
    --nps-btn-border: #cbd5e1;
    --nps-btn-color: #334155;
    --nps-btn-hover: #f1f5f9;
    
    --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
    --blob-opacity: 0.14;
}

/* Constants */
:root {
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --font-sans: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    --font-title: 'Outfit', 'Pretendard', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    padding-bottom: 40px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Ambient Lighting */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: var(--blob-opacity);
    animation: floatBlob 16s ease-in-out infinite alternate;
    transition: opacity 0.3s ease;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6366f1, #3b82f6);
    top: -100px;
    left: 20%;
}

.blob-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #a855f7, #ec4899);
    bottom: -50px;
    right: 15%;
    animation-delay: -6s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #06b6d4, #10b981);
    top: 40%;
    left: 10%;
    animation-delay: -10s;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 40px) scale(1.08); }
    100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* Container */
.survey-container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}

/* Header Card */
.survey-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 36px 30px 28px;
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.survey-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #06b6d4);
}

.header-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

.badge-tag svg {
    width: 14px;
    height: 14px;
}

/* Theme Toggle Button in Header */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.theme-toggle-btn svg {
    width: 15px;
    height: 15px;
    color: var(--accent-amber);
    transition: transform 0.3s ease;
}

.theme-toggle-btn:hover svg {
    transform: rotate(30deg);
}

.main-title {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-heading);
    margin-bottom: 12px;
    line-height: 1.3;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
}

/* Progress bar */
.progress-wrap {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

#progressPercent {
    color: var(--primary);
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #06b6d4);
    border-radius: var(--radius-full);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

/* Survey Main Card */
.survey-card {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 36px 32px;
    transition: all 0.3s ease;
}

/* Question Section Blocks */
.question-block {
    padding: 28px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: transform 0.2s ease;
}

.question-block:first-child {
    padding-top: 0;
}

.question-block:last-of-type {
    border-bottom: none;
}

.q-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.q-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.q-title-wrap {
    flex: 1;
}

.q-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.required {
    color: var(--accent-rose);
    font-weight: 700;
    margin-left: 2px;
}

.q-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.badge-multi {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    margin-right: 4px;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.option-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--icon-box-bg);
    border-radius: 8px;
    color: var(--icon-box-color);
    transition: all 0.25s ease;
}

.icon-box svg {
    width: 18px;
    height: 18px;
}

.opt-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-label);
    line-height: 1.35;
}

/* Hover & Selected state for option cards */
.option-card:hover .card-content {
    background: var(--bg-card-hover);
    border-color: var(--border-focus);
    transform: translateY(-2px);
}

.option-card input:checked + .card-content {
    background: var(--bg-card-active);
    border-color: var(--border-active);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.25);
}

.option-card input:checked + .card-content .icon-box {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.option-card input:checked + .card-content .opt-label {
    color: var(--text-heading);
    font-weight: 600;
}

/* Other Input Field */
.other-input-wrap {
    margin-top: 14px;
    animation: fadeIn 0.3s ease;
}

.other-input-wrap.hidden {
    display: none;
}

.input-with-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-focus);
    border-radius: var(--radius-md);
    padding: 10px 16px;
}

.input-with-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.input-with-icon input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

.input-with-icon input::placeholder {
    color: var(--text-dim);
}

/* Rating List (Q3 & Q4) */
.rating-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-item {
    position: relative;
    display: block;
    cursor: pointer;
}

.rating-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rating-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
}

.rating-item:hover .rating-box {
    background: var(--bg-card-hover);
    border-color: var(--border-focus);
    transform: translateX(4px);
}

.rating-box .emoji {
    font-size: 1.4rem;
    line-height: 1;
}

.rating-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rating-text strong {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-heading);
}

.rating-text small {
    font-size: 0.82rem;
    color: var(--text-dim);
}

.rating-item input:checked + .rating-box {
    background: var(--bg-card-active);
    border-color: var(--border-active);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.2);
}

.rating-item input:checked + .rating-box .rating-text strong {
    color: var(--text-heading);
}

.rating-item input:checked + .rating-box .rating-text small {
    color: var(--primary);
    font-weight: 500;
}

/* Textarea (Q5) */
.textarea-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.textarea-wrap textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 16px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.textarea-wrap textarea:focus {
    border-color: var(--border-active);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Q7 NPS (0-10) */
.nps-container {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
}

.nps-scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.scale-detractor { color: #ef4444; }
.scale-passive { color: #f59e0b; }
.scale-promoter { color: #10b981; }

.nps-buttons {
    display: flex;
    gap: 6px;
    justify-content: space-between;
}

.nps-btn {
    flex: 1;
    min-width: 0;
    height: 48px;
    border: 1px solid var(--nps-btn-border);
    background: var(--nps-btn-bg);
    border-radius: 8px;
    color: var(--nps-btn-color);
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nps-btn:hover {
    background: var(--nps-btn-hover);
    transform: translateY(-2px);
    border-color: var(--primary);
}

/* Detractor (0-6) */
.nps-btn[data-val="0"].active,
.nps-btn[data-val="1"].active,
.nps-btn[data-val="2"].active,
.nps-btn[data-val="3"].active,
.nps-btn[data-val="4"].active,
.nps-btn[data-val="5"].active,
.nps-btn[data-val="6"].active {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
    transform: translateY(-3px) scale(1.05);
}

/* Passive (7-8) */
.nps-btn[data-val="7"].active,
.nps-btn[data-val="8"].active {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    transform: translateY(-3px) scale(1.05);
}

/* Promoter (9-10) */
.nps-btn[data-val="9"].active,
.nps-btn[data-val="10"].active {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.nps-feedback {
    margin-top: 14px;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.nps-feedback strong {
    color: var(--text-heading);
    margin-left: 4px;
}

/* Error Alert */
.form-error-alert {
    margin-top: 24px;
    padding: 14px 18px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: var(--radius-md);
    color: #ef4444;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: shake 0.4s ease-in-out;
}

.form-error-alert.hidden {
    display: none;
}

.form-error-alert svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: #ef4444;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* Submit Action Area */
.submit-action-wrap {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.thank-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.icon-heart {
    width: 18px;
    height: 18px;
    color: #f43f5e;
    fill: #f43f5e;
    animation: heartBeat 2s infinite ease-in-out;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -5px rgba(99, 102, 241, 0.7);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-submit:active {
    transform: translateY(0);
}

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

.btn-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.btn-submit:hover svg {
    transform: translateX(3px);
}

/* Success Thank You Card */
.thankyou-card {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 60px 40px;
    text-align: center;
    animation: fadeInScale 0.5s ease-out;
}

.thankyou-card.hidden {
    display: none;
}

.thankyou-icon-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4), transparent 70%);
    animation: pulseRing 2s infinite;
}

.icon-circle {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.icon-check {
    width: 40px;
    height: 40px;
    color: #ffffff;
    stroke-width: 3;
}

@keyframes pulseRing {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 0.3; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.thankyou-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.thankyou-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto 32px;
}

.thankyou-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.btn-restart, .btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-restart {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-restart:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.btn-home {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #ffffff;
}

.btn-home:hover {
    background: var(--primary-hover);
}

/* Footer */
.survey-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 16px 20px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-theme-btn, .admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 12px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.footer-theme-btn:hover, .admin-link:hover {
    color: var(--text-heading);
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.footer-theme-btn svg, .admin-link svg {
    width: 14px;
    height: 14px;
}

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

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .survey-container {
        padding: 20px 12px;
    }
    
    .survey-header {
        padding: 26px 18px 20px;
    }
    
    .main-title {
        font-size: 1.45rem;
    }
    
    .subtitle {
        font-size: 0.92rem;
    }
    
    .survey-card {
        padding: 24px 18px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .nps-buttons {
        gap: 3px;
    }
    
    .nps-btn {
        height: 40px;
        font-size: 0.95rem;
        border-radius: 6px;
    }
    
    .nps-scale-labels {
        font-size: 0.75rem;
    }
    
    .survey-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
