:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius: 8px;
    --transition: 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: var(--card-bg);
    padding: 1rem 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
    letter-spacing: -0.05em;
}

.funnel-container {
    flex: 1;
    max-width: 600px;
    width: 100%;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%; /* JS will update this */
    transition: width 0.4s ease;
}

/* Steps */
.step {
    display: none; /* Hidden by default */
    animation: fadeIn 0.5s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h1, h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 0.9rem;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

/* Option Cards (Radio) */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-card {
    position: relative;
    cursor: pointer;
}

.option-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.option-card input:checked + .card-content {
    border-color: var(--primary-color);
    background-color: #eff6ff;
}

.option-card:hover .card-content {
    border-color: #cbd5e1;
}

.card-content .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-content .label {
    font-weight: 600;
}

/* Form Inputs */
.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.input-field {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Checkbox List */
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-item:hover {
    background-color: #f1f5f9;
}

.checkbox-item input {
    margin-right: 1rem;
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--primary-color);
}

/* Buttons */
.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    margin-left: auto; /* Push to right if alone */
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    color: var(--text-color);
}

/* Success State */
.success-message {
    text-align: center;
    padding: 2rem 0;
}

.icon-large {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .funnel-container {
        margin: 0;
        border-radius: 0; /* Full screen on mobile */
        min-height: 100vh;
        box-shadow: none;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
}

/* Lang Switcher */
.lang-switch { display: flex; gap: 0.5rem; }
.lang-btn { background: none; border: 1px solid #ddd; color: #555; padding: 5px 12px; cursor: pointer; border-radius: 4px; font-size: 0.85rem; transition: all 0.2s; }
.lang-btn:hover { background: #f0f0f0; }
.lang-btn.active { background: var(--primary-color); color: white; font-weight: bold; border-color: var(--primary-color); }

/* Logo updates */
/* More height for the logo to breathe */
header { height: 80px; }
.logo-img { 
    max-height: 50px; 
    width: auto; 
    object-fit: contain; /* Ensure it doesn't skew */
}
 
 
 