
        /* 基础重置与移动端优化 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }
        
        html {
            font-size: 16px;
            height: 100%;
        }
        
        @media (max-width: 414px) {
            html { font-size: 15px; }
        }
        
        @media (max-width: 375px) {
            html { font-size: 14px; }
        }
        
        @media (max-width: 320px) {
            html { font-size: 13px; }
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
            background: linear-gradient(90deg, #b2c0ff, #c2e6ff);
            min-height: 100vh;
            height: 100%;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        /* 主容器满屏布局 */
        .container {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            width: 100%;
            padding: 0;
            justify-content: center;
            align-items: center;
        }
        
        .card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 1.25rem;
            padding: 2rem 1.5rem;
            box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.15);
            margin: 1rem;
            width: calc(100% - 2rem);
            max-width: 28rem;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        .header {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .title {
            font-size: 2.5rem;
            color: #333;
            margin-bottom: 0.625rem;
            font-weight: 700;
            line-height: 1.2;
        }
        
        .subtitle {
            color: #666;
            font-size: 1.125rem;
            line-height: 1.5;
        }
        
        .question-card {
            margin-bottom: 1.5rem;
        }
        
        .question-title {
            font-size: 1.25rem;
            color: #333;
            margin-bottom: 1rem;
            font-weight: 600;
            line-height: 1.4;
        }
        
        .option {
            display: block;
            width: 100%;
            padding: 1rem 1.25rem;
            margin-bottom: 0.75rem;
            border: 0.125rem solid #e1e5e9;
            border-radius: 0.75rem;
            background: white;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 1rem;
            line-height: 1.4;
            min-height: 2.75rem;
            display: flex;
            align-items: center;
            touch-action: manipulation;
        }
        
        .option:hover, .option:active {
            border-color: #6782fe;
            background: #f0f4ff;
            transform: scale(0.98);
        }
        
        .option.selected {
            border-color: #6782fe;
            background: #6782fe;
            color: white;
            box-shadow: 0 0.25rem 0.75rem rgba(103, 130, 254, 0.3);
        }
        
        .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 0.75rem;
            font-size: 1.125rem;
            cursor: pointer;
            transition: all 0.2s ease;
            width: 100%;
            font-weight: 600;
            min-height: 2.75rem;
            touch-action: manipulation;
        }
        
        .btn-primary {
            background: #6782fe;
            color: white;
            box-shadow: 0 0.25rem 0.75rem rgba(103, 130, 254, 0.3);
        }
        
        .btn-primary:hover, .btn-primary:active {
            background: #5a6fd8;
            transform: translateY(-0.125rem);
            box-shadow: 0 0.375rem 1rem rgba(103, 130, 254, 0.4);
        }
        
        .btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .progress-bar {
            height: 0.5rem;
            background: rgba(225, 229, 233, 0.5);
            border-radius: 0.25rem;
            margin-bottom: 1.5rem;
            overflow: hidden;
        }
        
        .progress-fill {
            height: 100%;
            background: #6782fe;
            transition: width 0.3s ease;
            border-radius: 0.25rem;
        }
        
        .result-card {
            text-align: center;
        }
        
        .result-score {
            font-size: 3.5rem;
            color: #6782fe;
            font-weight: 800;
            margin: 1.5rem 0;
            line-height: 1.2;
        }
        
        .result-type {
            font-size: 1.5rem;
            color: #333;
            margin-bottom: 1rem;
            font-weight: 600;
        }
        
        .result-desc {
            font-size: 1rem;
            color: #666;
            line-height: 1.6;
        }
        
        /* 新结果页样式 - 统一蓝色配色 */
        .results-score-page {
            background: linear-gradient(90deg, #b2c0ff, #c2e6ff);
            min-height: 100vh;
            padding: 0;
            padding-top: 3.5rem;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
            display: flex;
            flex-direction: column;
        }
        
        .results-header {
            background: #6782fe;
            text-align: center;
            padding: 1rem 0;
            color: white;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 0.125rem 0.5rem rgba(103, 130, 254, 0.3);
        }
        
        .results-title {
            font-size: 1.125rem;
            margin: 0;
            font-weight: 700;
            color: white;
        }
        
        .promotion-banner {
            background: #6782fe;
            padding: 0.75rem 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.875rem;
            color: white;
            font-weight: 600;
            width: 100vw;
            margin-left: calc(-50vw + 50%);
            margin-right: calc(-50vw + 50%);
            box-sizing: border-box;
            padding-left: 4%;
            padding-right: 4%;
        }
        
        .promotion-text {
            margin: 0;
            color: white;
            flex: 1;
        }
        
        .promotion-banner .action-btn {
            margin: 0;
            height: 2rem;
            line-height: 2rem;
            font-size: 0.875rem;
            background: #ff9a43;
            color: #fff;
            border: none;
            border-radius: 0.25rem;
            padding: 0 0.75rem;
            cursor: pointer;
            font-weight: 600;
            touch-action: manipulation;
        }
        
        .action-buttons-bar {
            width: 100%;
            padding: 1.5rem 4% 4rem;
            -webkit-clip-path: ellipse(90% 100% at 50% 0);
            clip-path: ellipse(90% 100% at 50% 0);
            box-sizing: border-box;
            position: relative;
        }
        
        .action-buttons-bar .action-btn {
            height: 2.25rem;
            color: rgba(255, 255, 255, 0.95);
            font-size: 0.875rem;
            font-weight: 700;
            background: rgba(255, 255, 255, 0.15);
            border: 0.0625rem solid rgba(255, 255, 255, 0.25);
            border-radius: 1.125rem;
            cursor: pointer;
            margin-right: 0.625rem;
            padding: 0 1rem;
            touch-action: manipulation;
        }
        
        .data-analysis-section {
            width: 92%;
            background: rgba(255, 255, 255, 0.98);
            margin: 0 4% 1.5rem 4%;
            padding: 3rem 1rem 1.5rem;
            box-sizing: border-box;
            border-radius: 0.75rem;
            position: relative;
            z-index: 69;
            margin-top: -2.5rem;
            box-shadow: 0 0.5rem 2rem rgba(103, 130, 254, 0.15);
        }
        
        .section-header {
            margin-bottom: 1.25rem;
        }
        
        .official-entry {
            font-size: 0.75rem;
            color: #999;
            display: block;
            margin-bottom: 0.625rem;
        }
        
        .analysis-title {
            width: 10rem;
            height: 2.5rem;
            background: #6782fe;
            line-height: 2.5rem;
            font-size: 1rem;
            font-weight: 700;
            text-align: center;
            display: inline-block;
            position: absolute;
            color: #fff;
            top: 0;
            left: 50%;
            margin-left: -5rem;
            border-radius: 0 0 0.75rem 0.75rem;
            box-shadow: 0 0.25rem 1rem rgba(103, 130, 254, 0.25);
        }
        
        .chart-container {
            width: 100%;
            height: 18.75rem;
            margin: 1.25rem 0;
        }
        
        .score-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1.5rem;
            border: 0.0625rem #f0f0f0 solid;
            border-radius: 0.5rem;
            box-sizing: border-box;
            overflow: hidden;
        }
        
        .score-table th,
        .score-table td {
            height: 2.5rem;
            line-height: 2.5rem;
            text-align: center;
            font-size: 0.875rem;
            border-right: 0.0625rem #f0f0f0 solid;
            box-sizing: border-box;
            color: #666;
            padding: 0;
        }
        
        .score-table th {
            background: #6782fe;
            color: #fff;
            font-weight: 600;
        }
        
        .score-table th:last-child,
        .score-table td:last-child {
            border-right: none;
        }
        
        .score-table td:nth-child(2) {
            width: 40%;
        }
        
        .score-table td:nth-child(1),
        .score-table td:nth-child(3) {
            width: 20%;
        }
        
        .score-table tbody tr:nth-child(odd) {
            background: rgba(103, 130, 254, 0.08);
        }
        
        .results-item {
            width: 92%;
            background: rgba(255, 255, 255, 0.98);
            margin: 0 4% 1.5rem 4%;
            padding: 3rem 1rem 1.5rem;
            box-sizing: border-box;
            border-radius: 0.75rem;
            position: relative;
            z-index: 69;
            box-shadow: 0 0.5rem 2rem rgba(103, 130, 254, 0.15);
        }
        
        .results-item .title {
            width: 10rem;
            height: 2.5rem;
            background: #6782fe;
            line-height: 2.5rem;
            font-size: 1rem;
            font-weight: 700;
            text-align: center;
            display: inline-block;
            position: absolute;
            color: #fff;
            top: 0;
            left: 50%;
            margin-left: -5rem;
            border-radius: 0 0 0.75rem 0.75rem;
            box-shadow: 0 0.25rem 1rem rgba(103, 130, 254, 0.25);
        }
        
        .text-html {
            line-height: 1.6;
            margin-top: 1.5rem;
            font-size: 0.9rem;
            color: #555;
        }
        
        .footer {
            width: 100%;
            height: 2.5rem;
            background: transparent;
        }
        
        .total-score {
            font-size: 4rem;
            color: #6782fe;
            font-weight: 800;
            margin: 1.25rem 0;
            line-height: 1.2;
        }
        
        .score-label {
            font-size: 1.25rem;
            color: #666;
            margin-bottom: 2rem;
            font-weight: 600;
        }
        
        .dimensions-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 1.25rem;
            padding: 2rem;
            margin: 1.25rem 0;
            box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.1);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
        }
        
        .dimensions-title {
            font-size: 1.375rem;
            color: #333;
            margin-bottom: 1.25rem;
            text-align: center;
            font-weight: 600;
        }
        
        .dimension-item {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            padding: 1rem;
            background: rgba(248, 249, 255, 0.8);
            border-radius: 0.75rem;
        }
        
        .dimension-name {
            font-weight: 600;
            color: #333;
            width: 5rem;
            flex-shrink: 0;
            font-size: 0.9rem;
        }
        
        .dimension-progress {
            flex: 1;
            margin: 0 1rem;
            height: 0.5rem;
            background: rgba(225, 229, 233, 0.5);
            border-radius: 0.25rem;
            overflow: hidden;
        }
        
        .dimension-progress-fill {
            height: 100%;
            background: #6782fe;
            transition: width 0.8s ease;
            border-radius: 0.25rem;
        }
        
        .dimension-score {
            font-weight: 600;
            color: #6782fe;
            width: 2.8rem;
            text-align: right;
            font-size: 0.9rem;
        }
        
        .action-buttons {
            text-align: center;
            margin: 2rem 0;
        }
        
        .btn-large {
            padding: 1rem 2.5rem;
            margin: 0.625rem;
            border: none;
            border-radius: 1.5rem;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.2s ease;
            font-weight: 600;
            min-height: 2.75rem;
            touch-action: manipulation;
        }
        
        .btn-primary-large {
            background: #6782fe;
            color: white;
            box-shadow: 0 0.25rem 0.75rem rgba(103, 130, 254, 0.3);
        }
        
        .btn-primary-large:hover, .btn-primary-large:active {
            background: #5a6fd8;
            transform: translateY(-0.125rem);
            box-shadow: 0 0.375rem 1rem rgba(103, 130, 254, 0.4);
        }
        
        .btn-secondary-large {
            background: rgba(255, 255, 255, 0.9);
            color: #6782fe;
            border: 0.125rem solid #6782fe;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        .btn-secondary-large:hover, .btn-secondary-large:active {
            background: #6782fe;
            color: white;
            transform: translateY(-0.125rem);
        }
        
        /* 移动端适配 */
        @media (max-width: 480px) {
            .card {
                margin: 0.5rem;
                width: calc(100% - 1rem);
                padding: 1.5rem 1rem;
            }
            
            .title {
                font-size: 2rem;
            }
            
            .subtitle {
                font-size: 1rem;
            }
            
            .question-title {
                font-size: 1.125rem;
            }
            
            .option {
                padding: 0.875rem 1rem;
                font-size: 0.9rem;
            }
            
            .btn {
                padding: 0.875rem 1.5rem;
                font-size: 1rem;
            }
            
            .data-analysis-section,
            .results-item {
                width: 96%;
                margin-left: 2%;
                margin-right: 2%;
                padding: 2.5rem 0.75rem 1.25rem;
            }
            
            .analysis-title,
            .results-item .title {
                width: 8rem;
                margin-left: -4rem;
                font-size: 0.9rem;
            }
        }
        
        /* 超小屏优化 */
        @media (max-width: 360px) {
            .title {
                font-size: 1.75rem;
            }
            
            .total-score {
                font-size: 3rem;
            }
            
            .dimension-name {
                width: 4rem;
                font-size: 0.8rem;
            }
            
            .dimension-score {
                width: 2.5rem;
                font-size: 0.8rem;
            }
        }
        
        /* 完成页面样式 */
        .completion-page {
            max-width: 500px;
            margin: 0 auto;
            text-align: center;
            padding: 40px 20px;
        }
        
        .completion-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
        }
        
        .completion-header h1 {
            font-size: 24px;
            color: #333;
            margin: 0;
            font-weight: 600;
        }
        
        .completion-icon {
            margin: 20px 0;
        }
        
        .success-circle {
            display: inline-block;
            animation: successPulse 0.6s ease-out;
        }
        
        @keyframes successPulse {
            0% {
                transform: scale(0.8);
                opacity: 0.5;
            }
            50% {
                transform: scale(1.1);
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }
        
        .completion-info {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
            color: #666;
            line-height: 1.6;
        }
        
        .completion-info p {
            margin: 8px 0;
        }
        
        .completion-actions {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .btn-outline {
            background: transparent;
            border: 2px solid #7c3aed;
            color: #7c3aed;
            padding: 12px 30px;
            border-radius: 25px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 120px;
        }
        
        .btn-outline:hover {
            background: #7c3aed;
            color: white;
            transform: translateY(-1px);
        }
        
        .btn-primary {
            background: #7c3aed;
            border: 2px solid #7c3aed;
            color: white;
            padding: 12px 30px;
            border-radius: 25px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 120px;
        }
        
        .btn-primary:hover {
            background: #6d28d9;
            border-color: #6d28d9;
            transform: translateY(-1px);
        }
        
        /* 支付页面样式 */
        .payment-page {
            max-width: 500px;
            margin: 0 auto;
            text-align: center;
        }
        
        .payment-header {
            margin-bottom: 2rem;
        }
        
        .payment-header h1 {
            color: #333;
            margin-bottom: 1rem;
        }
        
        .payment-preview {
            background: #f8f9fa;
            border-radius: 0.5rem;
            padding: 1.5rem;
            margin-bottom: 2rem;
            text-align: left;
        }
        
        .payment-preview h3 {
            color: #333;
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .basic-info p {
            margin: 0.5rem 0;
            color: #666;
        }
        
        .payment-features {
            margin-bottom: 2rem;
        }
        
        .payment-features h3 {
            color: #333;
            margin-bottom: 1.5rem;
        }
        
        .feature-list {
            display: grid;
            gap: 1rem;
            text-align: left;
        }
        
        .feature-item {
            display: flex;
            align-items: center;
            padding: 1rem;
            background: #f0f8ff;
            border-radius: 0.5rem;
            border-left: 4px solid #007bff;
        }
        
        .feature-item .icon {
            font-size: 1.5rem;
            margin-right: 0.75rem;
        }
        
        .feature-item .text {
            font-weight: 500;
            color: #333;
        }
        
        .payment-price {
            margin-bottom: 2rem;
        }
        
        .price-tag {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 1.5rem;
            border-radius: 1rem;
            display: inline-block;
            min-width: 200px;
        }
        
        .price-tag .price {
            font-size: 2rem;
            font-weight: bold;
            display: block;
        }
        
        .price-tag .desc {
            font-size: 0.9rem;
            opacity: 0.9;
            margin-top: 0.5rem;
            display: block;
        }
        
        .payment-buttons {
            display: grid;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .pay-btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 0.5rem;
            font-size: 1.1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            color: white;
        }
        
        .pay-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        
        .pay-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }
        
        .pay-btn.alipay {
            background: linear-gradient(135deg, #00a0e9 0%, #0078d4 100%);
        }
        
        .pay-btn.wechat {
            background: linear-gradient(135deg, #07c160 0%, #1aad19 100%);
        }
        
        .pay-btn.demo {
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        }
        
        .payment-notice {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 0.5rem;
            padding: 1rem;
            margin-top: 1rem;
        }
        
        .payment-notice p {
            margin: 0.25rem 0;
            color: #856404;
        }
        
        /* 弹窗样式 */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }
        
        .modal-content {
            background: white;
            border-radius: 12px;
            padding: 24px;
            max-width: 90%;
            width: 400px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        }
        
        .modal-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin: 0 0 16px 0;
            text-align: center;
        }
        
        .modal-body {
            margin: 16px 0;
        }
        
        .url-textarea {
            width: 100%;
            height: 120px;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 12px;
            font-size: 14px;
            color: #666;
            background: #f9f9f9;
            resize: none;
            box-sizing: border-box;
            line-height: 1.5;
        }
        
        .modal-buttons {
            display: flex;
            gap: 12px;
            margin-top: 20px;
        }
        
        .modal-btn {
            flex: 1;
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .cancel-btn {
            background: #f5f5f5;
            color: #666;
        }
        
        .cancel-btn:hover {
            background: #e8e8e8;
        }
        
        .copy-btn {
            background: #007bff;
            color: white;
        }
        
        .copy-btn:hover {
            background: #0056b3;
        }
        
        /* 加载动画 */
        .loading-spinner {
            animation: spin 2s linear infinite;
        }
        
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        /* 新增的loading动画 */
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.1); opacity: 0.8; }
        }
        
        @keyframes loading-bar {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        @keyframes dot-bounce {
            0%, 80%, 100% { 
                transform: scale(0.8); 
                opacity: 0.5; 
            }
            40% { 
                transform: scale(1.2); 
                opacity: 1; 
            }
        }

