:root {
    --primary: #2B0F3A;     /* Deep Luxury Berry */
    --primary-light: #4A1A63;
    --secondary: #D4AF37;   /* Premium Gold */
    --bg-color: #F8F5F9;    /* Soft pastel berry tint */
    --surface: #FFFFFF;
    --text-main: #212529;
    --text-muted: #6C757D;
    --border: #E2D9E6;
    --success: #20C997;
    --radius: 16px;
    --shadow: 0 10px 40px rgba(43, 15, 58, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: linear-gradient(135deg, #F8F5F9 0%, #EAE0F0 100%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}

h1, h2, h3, .concept-title {
    font-family: 'Outfit', sans-serif;
}

.survey-container {
    max-width: 760px;
    margin: 40px auto;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

header h1 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

header p {
    color: var(--text-muted);
    font-size: 14px;
}

.section-hint {
    margin-top: 12px;
    font-size: 13px;
    color: var(--primary-light);
    background: #f4eef9;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
}

.progress-bar-container {
    height: 6px;
    background: var(--border);
    width: 100%;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.3s ease;
}

.question-group {
    display: none;
    padding: 30px 40px;
    animation: fadeIn 0.4s ease;
}

.question-group.active {
    display: block;
}

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

h2 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text-main);
}

.form-group {
    margin-bottom: 32px;
}

.form-group > label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 15px;
}

/* Radio Cards */
.radio-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.radio-card {
    position: relative;
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    background: var(--surface);
}

.radio-card:focus-within {
    outline: 2px solid var(--primary-light);
    outline-offset: 1px;
}

.radio-card:hover {
    border-color: var(--primary-light);
    background: #F8F5FB;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-card span:not(.emoji) {
    font-size: 15px;
    font-weight: 500;
}

.product-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 10px;
}

.product-card .emoji {
    font-size: 32px;
    margin-bottom: 8px;
}

.radio-card:has(input:checked) {
    border-color: var(--primary);
    background: #F4EEF9;
    color: var(--primary);
}

/* Likert Scale */
.likert-scale {
    display: flex;
    justify-content: space-between;
    background: var(--bg-color);
    padding: 10px;
    border-radius: 8px;
}

.likert-scale label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
    text-align: center;
    flex: 1;
}

.likert-scale input {
    margin-bottom: 8px;
    transform: scale(1.2);
    accent-color: var(--primary);
}

/* PSM Inputs */
.psm-intro {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.psm-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.psm-group label {
    margin-bottom: 0;
    font-weight: 400;
    flex: 1;
}

.psm-group strong {
    font-weight: 600;
    color: var(--text-main);
}

.input-with-currency {
    position: relative;
    width: 120px;
}

.input-with-currency input {
    width: 100%;
    padding: 10px 30px 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    text-align: right;
}

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

.input-with-currency .currency {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Concept Board */
.concept-board {
    background: linear-gradient(120deg, #FFFFFF 0%, #F8F5F9 100%);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    gap: 24px;
    align-items: center;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.concept-image {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(43, 15, 58, 0.15);
    flex-shrink: 0;
}

.concept-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.concept-text h3 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.concept-text p {
    font-size: 14px;
    margin-bottom: 12px;
}

.concept-text ul {
    list-style: none;
    font-size: 13px;
    color: #495057;
}

/* Slider */
.slider-container {
    padding: 10px 0;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    outline: none;
    margin-bottom: 15px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.slider-val {
    font-weight: bold;
    color: var(--primary);
    font-size: 16px;
}

/* Buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 16px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

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

.btn-primary {
    background: var(--primary);
    color: white;
    flex: 1;
    box-shadow: 0 4px 14px rgba(43, 15, 58, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 15, 58, 0.25);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-color);
}

.btn-success {
    background: var(--success);
    color: white;
    flex: 1;
}

.privacy-note {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
    margin: 20px 0;
    text-align: center;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.checkmark {
    font-size: 64px;
    margin-bottom: 20px;
}

.success-message h2 {
    color: var(--success);
    margin-bottom: 12px;
}

.small {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 24px;
}

/* Language Switcher */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    background: var(--surface);
    padding: 6px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    z-index: 100;
}

.lang-select {
    border: none;
    background: transparent;
    padding: 6px 12px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-main);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.lang-select:focus {
    background: #F4EEF9;
}

/* Comparison Grid (Franui vs Berrie) */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.competitor-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.competitor-card h3 {
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-main);
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}

.berrie-card {
    border: 2px solid var(--primary-light);
    background: #FAFAFA;
}

.berrie-card h3 {
    color: var(--primary);
    border-bottom-color: var(--primary-light);
}

.val-display {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-top: -10px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    body { padding: 16px; }
    .survey-container { margin: 54px auto 20px; }
    header { padding: 24px 20px 18px; }
    .lang-switcher {
        top: 8px;
        right: 50%;
        transform: translateX(50%);
    }
    .question-group { padding: 20px; }
    .concept-board { flex-direction: column; text-align: center; }
    .psm-group { flex-direction: column; align-items: flex-start; gap: 8px; }
    .input-with-currency { width: 100%; }
    .comparison-grid { grid-template-columns: 1fr; }
    .nav-buttons { flex-direction: column-reverse; }
}
