@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --font-main: 'Manrope', sans-serif;
    --primary-blue: #0066ff;
    --primary-dark: #004080;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --radius-card: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

.assessment-section {
    background-color: var(--bg-light);
    min-height: 100vh;
    padding: 20px 0 100px 0;
    position: relative;
}

.assessment-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Top Progress Header */
.assessment-topbar {
    margin-bottom: 24px;
}

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

.trust-badge i {
    color: #10b981;
}

.progress-box {
    background: #ffffff;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--primary-blue);
    border-radius: 10px;
    transition: width 0.3s ease-in-out;
}

/* Card Wrapper & Step Pane Animations */
.assessment-card-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.step-pane {
    display: none;
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.step-pane.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.step-pane.slide-back {
    transform: translateX(-30px);
}

/* Headings */
.step-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 6px;
}

.step-subheading {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Welcome Screen */
.welcome-content {
    text-align: center;
    padding: 20px 10px;
}

.decor-hero-icon {
    width: 64px;
    height: 64px;
    background: #e0edff;
    color: var(--primary-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px auto;
}

.welcome-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.welcome-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.trust-bullets {
    text-align: left;
    background: var(--bg-light);
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 28px;
}

.trust-item {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.trust-item:last-child {
    margin-bottom: 0;
}

.trust-item i {
    color: var(--primary-blue);
    margin-right: 8px;
}

.btn-primary-start {
    width: 100%;
    background: var(--primary-blue);
    color: #ffffff;
    padding: 16px;
    border-radius: 30px;
    border: none;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Options Cards & Thumb Friendly Radio Inputs */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.option-card input {
    display: none;
}

.card-inner {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
}

.option-card:hover .card-inner {
    border-color: var(--primary-blue);
}

.option-card input:checked+.card-inner {
    border-color: var(--primary-blue);
    background-color: #f0f7ff;
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bg-light);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.card-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-text strong {
    font-size: 15px;
    color: var(--text-dark);
}

.card-text span {
    font-size: 12px;
    color: var(--text-muted);
}

.check-mark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: transparent;
}

.option-card input:checked+.card-inner .check-mark {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
}

/* Form Inputs & Fields */
.form-inputs-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.input-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

.input-field input,
.input-field select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    font-size: 14px;
    outline: none;
}

.input-field input:focus,
.input-field select:focus {
    border-color: var(--primary-blue);
    background: #ffffff;
}

/* Pills Grid & Checkbox Options */
.checkbox-cards-grid,
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.check-pill,
.option-pill {
    cursor: pointer;
}

.check-pill input,
.option-pill input {
    display: none;
}

.check-pill span,
.option-pill span {
    display: block;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: var(--text-dark);
}

.check-pill input:checked+span,
.option-pill input:checked+span {
    border-color: var(--primary-blue);
    background: #e0edff;
    color: var(--primary-blue);
}

/* Conditional Smooth Box */
.conditional-box {
    transition: all 0.3s ease;
    padding-top: 8px;
}

/* Sticky Bottom Controls */
.assessment-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 16px 24px;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    max-width: 680px;
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
    z-index: 100;
}

.btn-control-back {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.btn-control-next,
.btn-control-submit {
    background: var(--primary-blue);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

/* Review Card */
.review-summary-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 8px;
}

.review-item strong {
    color: var(--text-dark);
}

.review-item span {
    color: var(--text-muted);
}

/* Success Screen */
.success-screen {
    text-align: center;
    padding: 20px 0;
}

.success-icon-animation {
    font-size: 54px;
    color: #10b981;
    margin-bottom: 16px;
}

.success-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.success-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.lead-ticket-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 16px;
    text-align: left;
    margin-bottom: 24px;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    margin-bottom: 6px;
}

.priority-badge {
    background: #16a34a;
    color: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
}

.next-steps-timeline {
    text-align: left;
    margin-bottom: 28px;
}

.next-steps-timeline h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
}

.timeline-step {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}

.time-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
}

.time-content strong {
    font-size: 14px;
    color: var(--text-dark);
}

.time-content p {
    font-size: 12px;
    color: var(--text-muted);
}

.btn-home-return {
    background: var(--text-dark);
    color: white;
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
}

/* Mobile Media Queries */
@media (max-width: 600px) {

    .form-row-2,
    .checkbox-cards-grid {
        grid-template-columns: 1fr;
    }
}