:root {
    --primary-color: #005596; /* Info-Auto Ford Blue */
    --accent-color: #FFD700; /* Star Color */
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --card-bg: rgba(255, 255, 255, 0.9);
    --text-color: #333;
    --muted-text: #666;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
}

#survey-container {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    margin: 20px;
}

#language-selector {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.lang-btn {
    background: #f0f0f0;
    border: none;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--muted-text);
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

#survey-subtitle {
    font-size: 1rem;
    color: var(--muted-text);
}

.question-group {
    margin-bottom: 40px;
}

h2 {
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.question {
    margin-bottom: 30px;
}

.question-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 400;
}

/* Stars */
.stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 10px;
}

.star {
    font-size: 2.5rem;
    cursor: pointer;
    color: #ddd;
    transition: var(--transition);
}

.star:hover,
.star:hover ~ .star,
.star.selected,
.star.selected ~ .star {
    color: var(--accent-color);
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Options (YES/NO) */
.options-row {
    display: flex;
    gap: 20px;
}

.option-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #eee;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.option-btn:hover, .option-btn.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Free Text */
.feedback-input {
    width: 100%;
    height: 100px;
    border-radius: 12px;
    border: 2px solid #eee;
    padding: 15px;
    font-family: inherit;
    resize: none;
    box-sizing: border-box;
    font-size: 1rem;
    transition: var(--transition);
}

.feedback-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.send-btn {
    display: block;
    margin: 20px auto 0;
    width: 100%;
    max-width: 200px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.main-btn {
    display: block;
    width: 100%;
    margin-top: 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

#intro-step {
    animation: fadeIn 0.5s ease;
}

.send-btn:hover, .main-btn:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

/* Success Message */
#thank-you-msg {
    text-align: center;
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

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

@media (max-width: 480px) {
    #survey-container {
        padding: 20px;
    }
    h1 { font-size: 1.8rem; }
    .star { font-size: 2rem; }
}
