.tcq-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 20px;
    box-sizing: border-box;
    color: #14213d;
    font-family: inherit;
}

.tcq-wrap *,
.tcq-wrap *::before,
.tcq-wrap *::after {
    box-sizing: border-box;
}

.tcq-hero {
    max-width: 760px;
    margin: 0 0 30px;
}

.tcq-eyebrow {
    margin: 0 0 8px;
    color: #b88a2f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.tcq-wrap h1.tcq-title,
.tcq-title {
    margin: 0;
    color: #0d2a52;
    font-size: 42px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0;
}

.tcq-subtitle {
    max-width: 700px;
    margin: 14px 0 0;
    color: #52606f;
    font-size: 18px;
    line-height: 1.7;
}

.tcq-progress {
    margin: 0 0 28px;
}

.tcq-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    color: #4b5b70;
    font-size: 14px;
    font-weight: 700;
}

.tcq-progress-track {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9edf3;
}

.tcq-progress-bar {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0d2a52, #c49a3a);
    transition: width 220ms ease;
}

.tcq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.tcq-questions {
    display: grid;
    gap: 16px;
}

.tcq-question-card {
    border: 1px solid #dbe2ec;
    border-radius: 8px;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 10px 28px rgba(13, 42, 82, 0.06);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.tcq-question-card.tcq-active-question {
    border-color: rgba(196, 147, 61, 1);
    background: rgba(255, 244, 214, 0.9);
    box-shadow: 0 20px 52px rgba(13, 42, 82, 0.34), 0 0 0 8px rgba(196, 147, 61, 0.38);
    animation: tcqQuestionPulse 1.25s ease-in-out infinite;
}

.tcq-question-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.tcq-question-number {
    display: inline-flex;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #edf2f7;
    color: #0d2a52;
    font-size: 15px;
    font-weight: 800;
}

.tcq-active-question .tcq-question-number {
    background: #0d2a52;
    color: #ffffff;
    animation: tcqNumberPulse 1.25s ease-in-out infinite;
}

.tcq-question-title {
    color: #14213d;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 800;
}

.tcq-active-question .tcq-question-title {
    animation: tcqTitlePulse 1.25s ease-in-out infinite;
}

.tcq-options {
    display: grid;
    gap: 10px;
}

.tcq-option-button {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    background: #ffffff;
    color: #24364f;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    padding: 12px 14px;
    text-align: left;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.tcq-option-button:hover,
.tcq-option-button:focus {
    border-color: rgba(13, 42, 82, 0.42);
    box-shadow: 0 0 0 3px rgba(13, 42, 82, 0.08);
    outline: none;
}

.tcq-active-question .tcq-option-button {
    animation: none !important;
}

.tcq-active-question .tcq-option-button:hover,
.tcq-active-question .tcq-option-button:focus {
    animation: none !important;
}

.tcq-option-button.is-selected {
    border-color: #0d2a52;
    background: #0d2a52;
    color: #ffffff;
    box-shadow: none;
    animation: none;
}

.tcq-result-panel {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 16px;
}

.tcq-result-card,
.tcq-recommendation-box {
    border: 1px solid #dbe2ec;
    border-radius: 8px;
    background: #ffffff;
    padding: 22px;
    box-shadow: 0 16px 38px rgba(13, 42, 82, 0.08);
}

.tcq-result-kicker {
    margin: 0 0 8px;
    color: #b88a2f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.tcq-result-title,
.tcq-form-title {
    margin: 0;
    color: #0d2a52;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 800;
}

.tcq-result-range {
    margin: 10px 0 0;
    color: #7a5a13;
    font-size: 14px;
    font-weight: 800;
}

.tcq-result-description {
    margin: 14px 0 0;
    color: #52606f;
    font-size: 15px;
    line-height: 1.7;
}

.tcq-result-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e5eaf1;
    color: #4b5b70;
    font-size: 14px;
    font-weight: 700;
}

.tcq-result-summary strong {
    color: #0d2a52;
    font-size: 24px;
}

.tcq-recommendation-box {
    display: grid;
    gap: 13px;
}

.tcq-field {
    display: grid;
    gap: 6px;
    color: #304159;
    font-size: 14px;
    font-weight: 800;
}

.tcq-input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    background: #ffffff;
    color: #14213d;
    font-family: inherit;
    font-size: 16px;
    padding: 10px 12px;
}

.tcq-input:focus {
    border-color: #0d2a52;
    box-shadow: 0 0 0 3px rgba(13, 42, 82, 0.1);
    outline: none;
}

.tcq-privacy {
    margin: 0;
    color: #6a7584;
    font-size: 13px;
    line-height: 1.55;
}

.tcq-submit-button {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: #0d2a52;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    padding: 12px 16px;
    transition: background-color 160ms ease, transform 160ms ease;
}

.tcq-submit-button:hover,
.tcq-submit-button:focus {
    background: #123767;
    outline: none;
}

.tcq-submit-button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.tcq-form-message {
    min-height: 20px;
    margin: 0;
    color: #0d6b3f;
    font-size: 14px;
    font-weight: 700;
}

.tcq-form-message.is-error {
    color: #b3261e;
}

@keyframes tcqQuestionPulse {
    0%,
    100% {
        background: #ffffff;
        border-color: rgba(196, 147, 61, 0.55);
        box-shadow: 0 12px 34px rgba(15, 23, 42, 0.12), 0 0 0 0 rgba(13, 42, 82, 0.36);
    }
    50% {
        background: rgba(255, 244, 214, 0.9);
        border-color: rgba(196, 147, 61, 1);
        box-shadow: 0 20px 52px rgba(13, 42, 82, 0.34), 0 0 0 8px rgba(196, 147, 61, 0.38);
    }
}

@keyframes tcqNumberPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(13, 42, 82, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(196, 147, 61, 0.42);
        transform: scale(1.12);
    }
}

@keyframes tcqTitlePulse {
    0%,
    100% {
        color: #14213d;
    }
    50% {
        color: #6f4700;
    }
}



.tcq-product-recommendations {
    display: grid;
    gap: 14px;
}

.tcq-product-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    color: #52606f;
    font-size: 14px;
    line-height: 1.7;
    padding: 18px;
    text-align: center;
}

.tcq-product-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #dbe2ec;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 16px;
    box-shadow: 0 14px 32px rgba(13, 42, 82, 0.08);
}

.tcq-product-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #0d2a52, #c4933d);
}

.tcq-product-accent-rose::before { background: linear-gradient(90deg, #be6b7a, #f4b8c6); }
.tcq-product-accent-cyan::before { background: linear-gradient(90deg, #0891b2, #38bdf8); }
.tcq-product-accent-green::before { background: linear-gradient(90deg, #047857, #c4933d); }
.tcq-product-accent-gold::before { background: linear-gradient(90deg, #0d2a52, #e7c56f); }
.tcq-product-accent-blue::before { background: linear-gradient(90deg, #1d4ed8, #38bdf8); }
.tcq-product-accent-slate::before { background: linear-gradient(90deg, #475569, #0d2a52); }
.tcq-product-accent-red::before { background: linear-gradient(90deg, #7f1d1d, #e7c56f); }
.tcq-product-accent-sky::before { background: linear-gradient(90deg, #0284c7, #14b8a6); }
.tcq-product-accent-navy::before { background: linear-gradient(90deg, #0d2a52, #c4933d); }

.tcq-product-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #f7eedb;
    color: #7a5a13;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 10px;
}

.tcq-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 170px;
    margin-bottom: 14px;
    border: 1px solid #e5eaf1;
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
}

.tcq-product-image img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: contain;
}

.tcq-product-image-placeholder {
    min-height: 170px;
    color: #8a97a8;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
    text-align: center;
    background: repeating-linear-gradient(45deg, #ffffff, #ffffff 10px, #f8fafc 10px, #f8fafc 20px);
}

.tcq-product-card h3 {
    margin: 0;
    color: #0d2a52;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 900;
}

.tcq-product-main-reason {
    margin: 10px 0 0;
    color: #52606f;
    font-size: 14px;
    line-height: 1.65;
}

.tcq-product-score {
    margin-top: 12px;
    border-radius: 12px;
    background: #f8fafc;
    color: #4b5b70;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 12px;
}

.tcq-product-score strong {
    color: #0d2a52;
}

.tcq-product-reasons {
    margin-top: 12px;
    color: #304159;
    font-size: 13px;
    line-height: 1.65;
}

.tcq-product-reasons ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

.tcq-product-link {
    display: block;
    margin-top: 14px;
    border-radius: 999px;
    background: #0d2a52;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 900;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease;
}

.tcq-product-link:hover,
.tcq-product-link:focus {
    background: #143c72;
    transform: translateY(-1px);
    outline: none;
}

@media (max-width: 860px) {
    .tcq-wrap {
        padding: 38px 16px;
    }

    .tcq-wrap h1.tcq-title,
    .tcq-title {
        font-size: 32px;
    }

    .tcq-subtitle {
        font-size: 16px;
    }

    .tcq-layout {
        grid-template-columns: 1fr;
    }

    .tcq-result-panel {
        position: static;
    }
}

@media (max-width: 520px) {
    .tcq-question-card,
    .tcq-result-card,
    .tcq-recommendation-box {
        padding: 16px;
    }

    .tcq-question-head {
        align-items: flex-start;
    }

    .tcq-question-title {
        font-size: 18px;
    }
}


/* 9-product recommendation v2 */
.tcq-product-card h3 {
    margin-bottom: 10px;
}

.tcq-product-score {
    border: 1px solid rgba(196, 147, 61, 0.35);
    background: #fff7e6;
    color: #0d2a52;
}

.tcq-product-main-reason strong,
.tcq-product-reasons strong,
.tcq-product-benefits strong {
    color: #0d2a52;
}

.tcq-product-benefits {
    margin-top: 12px;
    border-radius: 14px;
    background: #f8fafc;
    color: #304159;
    font-size: 13px;
    line-height: 1.65;
    padding: 12px;
}

.tcq-product-benefits ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

.tcq-safe-warning {
    margin: 14px 0 0;
    border: 1px solid #f1d6a8;
    border-radius: 14px;
    background: #fff8e8;
    color: #7a4b00;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
    padding: 12px;
}

.tcq-active-question .tcq-option-button,
.tcq-active-question .tcq-option-button:hover,
.tcq-active-question .tcq-option-button:focus {
    animation: none !important;
}
