/* ========================================
   在线LQ爱商测试 - 008lq.css
   ======================================== */

/* 全局重置 */
body, html {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* ========================================
   工具页面通用顶部底部样式
   ======================================== */

/* 顶部导航 */
.tool-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.tool-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tool-logo {
    display: flex;
    align-items: center;
}

.tool-logo-img {
    height: 32px;
    width: auto;
}

.tool-page-title-link {
    flex: 1;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.tool-page-title-link:hover {
    opacity: 0.8;
}

.tool-page-title {
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tool-page-title::before {
    content: '✦';
    font-size: 14px;
    color: #6d55fe;
    opacity: 0.6;
}

.tool-page-title::after {
    content: '✦';
    font-size: 14px;
    color: #6d55fe;
    opacity: 0.6;
}

.tool-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: rgba(109, 85, 254, 0.08);
    border: 1px solid rgba(109, 85, 254, 0.15);
    border-radius: 20px;
    color: #6d55fe;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-back-btn:hover {
    background: rgba(109, 85, 254, 0.15);
    border-color: rgba(109, 85, 254, 0.3);
    transform: translateX(-2px);
}

.tool-back-btn svg {
    transition: transform 0.2s ease;
}

.tool-back-btn:hover svg {
    transform: translateX(-2px);
}

/* 底部 */
.tool-footer {
    background: #f5f5f7;
    border-top: 0.5px solid rgba(0, 0, 0, 0.08);
    padding: 0;
}

.tool-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px;
    text-align: center;
}

.tool-copyright {
    font-size: 13px;
    color: #6e6e73;
    margin: 0;
}

.tool-copyright a {
    color: #6d55fe;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.tool-copyright a:hover {
    opacity: 0.7;
}

/* ========================================
   LQ爱商测试专用样式
   ======================================== */

:root {
    --brand-purple: #6d55fe;
    --brand-purple-light: #8572ff;
    --brand-purple-dark: #5a45d8;
}

/* 主内容区 */
.lq-main {
    min-height: calc(100vh - 120px);
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.lq-section {
    padding: 24px 0 48px;
}

.lq-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用隐藏类 */
.hidden {
    display: none !important;
}

/* 介绍区域 */
.lq-intro {
    background: linear-gradient(135deg, 
        #2a2440 0%, 
        #3d3456 50%,
        #4a4066 100%);
    background-image: 
        linear-gradient(135deg, #2a2440 0%, #3d3456 50%, #4a4066 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0px, transparent 1px, transparent 40px, rgba(255, 255, 255, 0.02) 41px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0px, transparent 1px, transparent 40px, rgba(255, 255, 255, 0.02) 41px);
    border-radius: 20px;
    border-top: 3px solid rgba(109, 85, 254, 0.3);
    padding: 48px 40px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.lq-intro::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(109, 85, 254, 0.25) 0%, rgba(133, 114, 255, 0.15) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.lq-intro::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(157, 141, 255, 0.2) 0%, rgba(133, 114, 255, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
        opacity: 0.8;
    }
}

.intro-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.intro-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0 0 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.intro-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.start-test-btn {
    padding: 16px 48px;
    background: #fff;
    border: none;
    border-radius: 24px;
    color: var(--brand-purple);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.start-test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.intro-history-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.intro-history-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 个人信息填写区域 */
.lq-userinfo {
    background: linear-gradient(135deg, 
        #2a2440 0%, 
        #3d3456 50%,
        #4a4066 100%);
    background-image: 
        linear-gradient(135deg, #2a2440 0%, #3d3456 50%, #4a4066 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0px, transparent 1px, transparent 40px, rgba(255, 255, 255, 0.02) 41px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0px, transparent 1px, transparent 40px, rgba(255, 255, 255, 0.02) 41px);
    border-radius: 20px;
    border-top: 3px solid rgba(109, 85, 254, 0.3);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.lq-userinfo::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(109, 85, 254, 0.25) 0%, rgba(133, 114, 255, 0.15) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.lq-userinfo::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(157, 141, 255, 0.2) 0%, rgba(133, 114, 255, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 10s ease-in-out infinite reverse;
}

.userinfo-card {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.userinfo-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    text-align: center;
}

.userinfo-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin: 0 0 32px;
}

.userinfo-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-input option {
    background: #2a2440;
    color: #fff;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.userinfo-actions {
    display: flex;
    gap: 12px;
}

.userinfo-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skip-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.95);
}

.skip-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.confirm-btn {
    background: #fff;
    color: var(--brand-purple);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.confirm-btn:hover {
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* 问卷区域 */
.lq-questionnaire {
    background: linear-gradient(135deg, 
        #2a2440 0%, 
        #3d3456 50%,
        #4a4066 100%);
    background-image: 
        linear-gradient(135deg, #2a2440 0%, #3d3456 50%, #4a4066 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0px, transparent 1px, transparent 40px, rgba(255, 255, 255, 0.02) 41px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0px, transparent 1px, transparent 40px, rgba(255, 255, 255, 0.02) 41px);
    border-radius: 20px;
    border-top: 3px solid rgba(109, 85, 254, 0.3);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.lq-questionnaire::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(109, 85, 254, 0.25) 0%, rgba(133, 114, 255, 0.15) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.lq-questionnaire::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(157, 141, 255, 0.2) 0%, rgba(133, 114, 255, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 10s ease-in-out infinite reverse;
}

/* 键盘快捷键提示 */
.keyboard-hints {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hint-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.hint-item kbd {
    display: inline-block;
    padding: 3px 8px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    min-width: 24px;
    text-align: center;
}

.progress-bar {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 32px;
    overflow: hidden;
    z-index: 1;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-purple-light) 0%, #9d8dff 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    position: absolute;
    top: -28px;
    right: 0;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(109, 85, 254, 0.3);
    padding: 4px 12px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.question-card {
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.dimension-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--brand-purple);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 16px;
    margin-bottom: 16px;
}

.question-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-purple-light);
    margin-bottom: 12px;
}

.question-text {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
    line-height: 1.5;
}

.options-group {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.option-btn {
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 75px;
    backdrop-filter: blur(10px);
}

.option-text {
    display: block;
}

.option-key {
    display: inline-block;
    padding: 2px 6px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    min-width: 18px;
    text-align: center;
}

.option-btn:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.option-btn:hover .option-key {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.option-btn:active {
    transform: scale(0.96);
}

.option-btn.selected {
    border-color: var(--brand-purple-light);
    background: linear-gradient(135deg, 
        rgba(133, 114, 255, 0.9) 0%, 
        rgba(157, 141, 255, 0.85) 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 0 0 3px rgba(133, 114, 255, 0.3),
                0 6px 20px rgba(133, 114, 255, 0.5);
    animation: selectBounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.option-btn.selected .option-key {
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.option-btn.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--brand-purple);
    font-weight: bold;
}

@keyframes selectBounce {
    0% {
        transform: scale(0.96);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.nav-buttons {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.nav-btn {
    flex: 1;
    padding: 14px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.nav-btn:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn.next-btn {
    background: linear-gradient(135deg, var(--brand-purple-light) 0%, #9d8dff 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(133, 114, 255, 0.4);
}

.nav-btn.next-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #9d8dff 0%, #b8a9ff 100%);
    box-shadow: 0 6px 16px rgba(133, 114, 255, 0.5);
}

/* 结果区域 */
.lq-result {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 24px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(109, 85, 254, 0.08);
    position: relative;
    overflow: hidden;
}

.lq-result::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(109, 85, 254, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.lq-result::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(109, 85, 254, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.result-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.result-title {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 8px;
}

.result-subtitle {
    font-size: 14px;
    color: #8e8e93;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 用户信息卡片 */
.result-user-info-card {
    background: linear-gradient(135deg, rgba(243, 244, 246, 0.8) 0%, rgba(249, 250, 251, 1) 100%);
    border: 2px solid rgba(109, 85, 254, 0.15);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(109, 85, 254, 0.08);
}

.user-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--brand-purple);
    font-size: 15px;
    font-weight: 600;
}

.user-info-header svg {
    flex-shrink: 0;
}

.user-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.user-info-grid .user-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border: 1px solid rgba(109, 85, 254, 0.1);
    transition: all 0.2s ease;
}

.user-info-grid .user-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(109, 85, 254, 0.12);
}

.user-info-grid .info-label {
    font-size: 12px;
    color: #8e8e93;
    font-weight: 500;
}

.user-info-grid .info-value {
    font-size: 15px;
    color: #1d1d1f;
    font-weight: 600;
}

/* 雷达图和总评并列展示 */
.result-overview-section {
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.result-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.result-chart-container {
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(109, 85, 254, 0.08);
}

.result-overall-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* 总体评分卡片 */
.result-overall-card {
    text-align: center;
    padding: 32px 28px;
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 100%);
    border-radius: 16px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(255, 107, 157, 0.12);
    border: 2px solid rgba(255, 107, 157, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.overall-score-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(243, 244, 246, 0.8) 0%, rgba(229, 231, 235, 0.6) 100%);
    border: 4px solid rgba(109, 85, 254, 0.3);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 8px 24px rgba(109, 85, 254, 0.15);
}

.overall-score-badge::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, rgba(109, 85, 254, 0.4), rgba(133, 114, 255, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
}

.overall-score {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    color: var(--brand-purple);
}

.overall-score-label {
    font-size: 12px;
    color: #8e8e93;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.overall-level {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--brand-purple);
}

.overall-desc {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.7;
    margin-bottom: 20px;
}

.overall-analysis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.analysis-item {
    padding: 14px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(109, 85, 254, 0.1);
}

.analysis-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.analysis-icon {
    font-size: 16px;
}

.analysis-title {
    font-size: 12px;
    color: #8e8e93;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analysis-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.analysis-dimension {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
}

.analysis-text {
    font-size: 12px;
    line-height: 1.6;
    color: #6e6e73;
}

/* 区域标题 */
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 28px;
    padding-bottom: 12px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-purple) 0%, var(--brand-purple-light) 100%);
    border-radius: 2px;
}

/* 维度详情区域 */
.result-dimensions-section {
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.result-dimensions {
    display: grid;
    gap: 16px;
}

.dimension-result {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid rgba(109, 85, 254, 0.08);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.dimension-result:hover {
    box-shadow: 0 6px 16px rgba(109, 85, 254, 0.15);
    transform: translateY(-2px);
    border-color: rgba(109, 85, 254, 0.2);
}

.dimension-result.expanded {
    border-color: rgba(109, 85, 254, 0.3);
}

.dimension-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dimension-result-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    flex: 1;
}

.dimension-result-icon {
    font-size: 28px;
}

.dimension-result-score {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-purple);
}

.dimension-result-bar {
    height: 10px;
    background: #f2f2f7;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 12px;
}

.dimension-result-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-purple) 0%, var(--brand-purple-light) 100%);
    border-radius: 5px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.dimension-result-level {
    font-size: 14px;
    font-weight: 500;
    color: #6e6e73;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dimension-expand-icon {
    flex-shrink: 0;
    color: var(--brand-purple);
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.dimension-result:hover .dimension-expand-icon {
    opacity: 1;
}

.dimension-detail-content {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 10px;
    border: 1px solid rgba(109, 85, 254, 0.1);
    animation: slideDown 0.3s ease;
    pointer-events: auto;
}

.dimension-detail-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #1d1d1f;
}

.dimension-detail-content strong {
    color: var(--brand-purple);
    font-weight: 600;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 综合建议区域 */
.result-advice-section {
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.result-advice {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 28px;
    border: 2px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.advice-title {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.advice-title::before {
    content: '💡';
    font-size: 24px;
}

.advice-content {
    font-size: 15px;
    line-height: 1.8;
    color: #1d1d1f;
}

.advice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advice-list li {
    padding: 14px 0 14px 32px;
    font-size: 15px;
    line-height: 1.7;
    color: #1d1d1f;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.advice-list li:last-child {
    border-bottom: none;
}

.advice-list li::before {
    content: '♥';
    position: absolute;
    left: 0;
    color: var(--brand-purple);
    font-size: 16px;
}

/* 结果区域中的分数等级说明 */
.result-score-guide-section {
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.result-score-guide-section .lq-score-guide {
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
}

.result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
    position: relative;
    z-index: 1;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    color: #1d1d1f;
    flex-shrink: 0;
    white-space: nowrap;
}

.action-btn svg {
    flex-shrink: 0;
}

.action-btn.secondary:hover {
    border-color: var(--brand-purple);
    color: var(--brand-purple);
    background: rgba(109, 85, 254, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 85, 254, 0.15);
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-light) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(109, 85, 254, 0.3);
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, var(--brand-purple-dark) 0%, var(--brand-purple) 100%);
    box-shadow: 0 6px 20px rgba(109, 85, 254, 0.4);
    transform: translateY(-2px);
}

/* 历史记录弹窗 */
.history-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.history-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.history-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.history-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
}

.history-close-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.history-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.history-modal-body {
    padding: 16px 24px;
    overflow-y: auto;
}

.history-empty {
    text-align: center;
    padding: 48px 20px;
    color: #8e8e93;
    font-size: 15px;
}

.history-item {
    padding: 16px;
    background: #f5f5f7;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.history-item:hover {
    background: #ebebf0;
    box-shadow: 0 2px 8px rgba(109, 85, 254, 0.12);
}

.history-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.history-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.history-score {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-purple);
}

.history-level {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
}

.history-user {
    font-size: 13px;
    color: #6e6e73;
    font-weight: 500;
}

.history-date {
    font-size: 13px;
    color: #6e6e73;
}

.history-item-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.history-view-btn {
    padding: 8px 16px;
    background: rgba(109, 85, 254, 0.1);
    border: 1px solid rgba(109, 85, 254, 0.2);
    border-radius: 8px;
    color: var(--brand-purple);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.history-view-btn:hover {
    background: rgba(109, 85, 254, 0.2);
    border-color: rgba(109, 85, 254, 0.3);
}

.history-delete-btn {
    padding: 8px 12px;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.2);
    border-radius: 8px;
    color: #ff3b30;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.history-delete-btn:hover {
    background: rgba(255, 59, 48, 0.2);
}

/* 测试说明 */
.lq-notice {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    border-radius: 16px;
    padding: 24px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(109, 85, 254, 0.08);
    margin-bottom: 24px;
}

.notice-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 16px;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.notice-list li {
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #1d1d1f;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(109, 85, 254, 0.08);
}

.notice-list li strong {
    color: var(--brand-purple);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

/* 爱商知识科普 */
.lq-knowledge {
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 107, 157, 0.15);
    box-shadow: 0 4px 16px rgba(255, 107, 157, 0.08);
}

.knowledge-title {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 16px;
    text-align: center;
}

.knowledge-intro {
    font-size: 15px;
    line-height: 1.8;
    color: #1d1d1f;
    margin: 0 0 32px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.knowledge-dimensions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.knowledge-dim-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(109, 85, 254, 0.1);
    transition: all 0.3s ease;
}

.knowledge-dim-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(109, 85, 254, 0.15);
    border-color: rgba(109, 85, 254, 0.3);
}

.dim-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.dim-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-purple);
    margin: 0 0 8px;
}

.dim-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #6e6e73;
    margin: 0;
}

/* 分数等级说明 */
.lq-score-guide {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(109, 85, 254, 0.08);
}

.score-guide-title {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 24px;
    text-align: center;
}

.score-guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.score-level-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid;
    transition: all 0.3s ease;
}

.score-level-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.score-level-card.excellent {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.score-level-card.good {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.score-level-card.average {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.score-level-card.need-improve {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.score-level-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.score-level-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.score-level-card.excellent .score-level-badge {
    background: #10b981;
}

.score-level-card.good .score-level-badge {
    background: #3b82f6;
}

.score-level-card.average .score-level-badge {
    background: #f59e0b;
}

.score-level-card.need-improve .score-level-badge {
    background: #ef4444;
}

.score-level-name {
    font-size: 18px;
    font-weight: 700;
}

.score-level-card.excellent .score-level-name {
    color: #10b981;
}

.score-level-card.good .score-level-name {
    color: #3b82f6;
}

.score-level-card.average .score-level-name {
    color: #f59e0b;
}

.score-level-card.need-improve .score-level-name {
    color: #ef4444;
}

.score-level-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #6e6e73;
    margin: 0;
}

/* 测试价值 */
.lq-value {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(109, 85, 254, 0.08);
}

.value-title {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 24px;
    text-align: center;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.value-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(109, 85, 254, 0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(109, 85, 254, 0.15);
    border-color: rgba(109, 85, 254, 0.3);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.value-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 12px;
}

.value-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #6e6e73;
    margin: 0;
}

/* 测试说明 */
.lq-notice {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    border-radius: 16px;
    padding: 24px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(109, 85, 254, 0.08);
    margin-bottom: 24px;
}

.notice-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 16px;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.notice-list li {
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #1d1d1f;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(109, 85, 254, 0.08);
}

.notice-list li strong {
    color: var(--brand-purple);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .options-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .tool-header-inner {
        padding: 12px 16px;
        gap: 12px;
    }
    
    .tool-logo-img {
        height: 28px;
    }
    
    .tool-page-title {
        font-size: 16px;
        gap: 6px;
    }
    
    .tool-back-btn span {
        display: none;
    }
    
    .lq-section {
        padding: 16px 0 32px;
    }
    
    .lq-container {
        padding: 0 16px;
    }
    
    .lq-intro {
        padding: 32px 24px;
    }
    
    .intro-title {
        font-size: 24px;
    }
    
    .intro-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .lq-questionnaire, .lq-result, .lq-notice {
        padding: 20px;
    }
    
    .result-header {
        margin-bottom: 24px;
    }
    
    .result-title {
        font-size: 22px;
    }
    
    .result-subtitle {
        font-size: 12px;
    }
    
    .result-overview-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .result-overall-card {
        padding: 24px 20px;
    }
    
    .overall-score-badge {
        width: 120px;
        height: 120px;
    }
    
    .overall-score {
        font-size: 48px;
    }
    
    .overall-level {
        font-size: 20px;
    }
    
    .overall-desc {
        font-size: 13px;
    }
    
    .overall-analysis {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .result-chart-container {
        padding: 20px;
    }
    
    .result-chart-container canvas {
        max-width: 100%;
        height: auto !important;
    }
    
    .dimension-result {
        padding: 18px;
    }
    
    .dimension-result-name {
        font-size: 15px;
    }
    
    .dimension-result-score {
        font-size: 20px;
    }
    
    .result-advice {
        padding: 20px;
    }
    
    .advice-title {
        font-size: 18px;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .keyboard-hints {
        display: none;
    }
    
    .question-text {
        font-size: 18px;
    }
    
    .options-group {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .option-btn {
        min-height: 60px;
        font-size: 12px;
    }
    
    .notice-list {
        grid-template-columns: 1fr;
    }
    
    .knowledge-dimensions {
        grid-template-columns: 1fr;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .score-guide-content {
        grid-template-columns: 1fr;
    }
    
    .lq-knowledge, .lq-value, .lq-score-guide {
        padding: 20px;
    }
    
    .knowledge-title, .value-title, .score-guide-title {
        font-size: 18px;
    }
    
    .nav-buttons {
        flex-direction: column;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .user-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .user-info-grid .user-info-item {
        padding: 10px 12px;
    }
    
    .user-info-grid .info-label {
        font-size: 11px;
    }
    
    .user-info-grid .info-value {
        font-size: 14px;
    }
    
    .history-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .history-item-actions {
        width: 100%;
        justify-content: flex-start;
    }
}
