:root {
    --bg-color: #0d121f;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --accent: #10b981;
    --border: rgba(255,255,255,0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.05);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

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

.app-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.question-wrapper {
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-wrapper.active {
    opacity: 1;
    transform: translateY(0);
}

.question-number {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* For question title, match the screenshot's teal title */
.question-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
    color: #38bdf8; /* Teal-ish blue matching the screenshot */
}

.question-subtitle {
    font-size: 22px;
    color: #e2e8f0; /* Much brighter slate-200 for good contrast */
    margin-bottom: 32px;
    line-height: 1.6;
    font-weight: 400;
}

/* Input Fields */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
    width: 100%;
    font-size: 24px;
    color: var(--text-main);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border);
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

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

::placeholder {
    color: rgba(255,255,255,0.2);
}

/* Choices (Radio/Select replacements) */
.choices-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.choices-grid.multi-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.choice-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 18px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.choice-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.3);
}

.choice-btn.selected {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--primary);
}

.choice-key {
    background: rgba(255,255,255,0.1);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 16px;
    min-width: 28px;
    text-align: center;
}

.choice-btn.selected .choice-key {
    background: var(--primary);
}

/* Enter button */
.action-row {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.3s forwards;
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.btn-ok {
    background: var(--primary);
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.press-enter {
    font-size: 14px;
    color: var(--text-muted);
}

/* Multi-select Specifics */
.sred-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 10px;
}
.sred-grid::-webkit-scrollbar {
    width: 6px;
}
.sred-grid::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}
.sred-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.4;
    transition: all 0.2s;
}
.sred-label:hover {
    background: rgba(255,255,255,0.05);
}
.sred-label input {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

/* Results Customization */
.result-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border-left: 4px solid;
}
.result-card.success { border-left-color: var(--accent); }
.result-card.info { border-left-color: var(--primary); }
.result-card h3 { margin-bottom: 12px; font-size: 24px; color: #f8fafc; font-weight: 700; }
.result-card p { font-size: 17px; color: #e2e8f0; line-height: 1.6; margin-bottom: 20px; font-weight: 400; }

.calendly-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
}
.calendly-btn:hover { background: var(--primary-hover); }

/* Navigation */
.nav-controls {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.nav-btn:hover:not(:disabled) {
    background: rgba(255,255,255,0.2);
}

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

@media (max-width: 600px) {
    .question-title { font-size: 22px; }
    input[type="text"], input[type="email"], input[type="tel"], input[type="number"] { font-size: 20px; }
    .action-row { flex-direction: column; align-items: flex-start; }
    .app-container { align-items: flex-start; padding-top: 15vh; }
    .choices-grid.multi-col {
        grid-template-columns: 1fr;
    }
}
