/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
}

/* 页面容器 */
#app {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: calc(100vh - 40px);
}

/* 页面切换 */
.page {
    display: none;
    height: 100%;
}

.page.active {
    display: block;
}

/* 容器 */
.container {
    padding: 30px 25px;
    height: 100%;
}

/* 首页样式 */
.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo i {
    font-size: 60px;
    color: #4a6fa5;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.3;
}

.subtitle {
    text-align: center;
    font-size: 15px;
    color: #6c757d;
    margin-bottom: 10px;
    padding: 0 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.test-info {
    text-align: center;
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 40px;
    padding: 0 10px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #4a6fa5;
}

.feature i {
    color: #4a6fa5;
    font-size: 20px;
    width: 24px;
}

.feature span {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}

/* 按钮样式 */
.btn-primary, .btn-secondary {
    display: block;
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover, .btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #4a6fa5;
    border: 2px solid #e0e6ff;
}

.btn-secondary:hover, .btn-secondary:active {
    background: #eef1ff;
    transform: translateY(-2px);
}

.disclaimer {
    margin-top: 30px;
    padding: 15px;
    background: #fff8e1;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
}

.disclaimer p {
    font-size: 14px;
    color: #856404;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.disclaimer i {
    color: #ffc107;
    margin-top: 2px;
}

/* 题目页样式 */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    height: 8px;
    background: #e0e6ff;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    width: 8.33%; /* 1/12 */
    transition: width 0.3s ease;
}

.progress-text {
    text-align: right;
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

.system-identifier {
    text-align: center;
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.system-identifier-bottom {
    text-align: center;
    font-size: 13px;
    color: #adb5bd;
    font-weight: 500;
    margin-top: 25px;
    letter-spacing: 1px;
    opacity: 0.8;
}

.question-container {
    margin-bottom: 40px;
}

.question-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.4;
}

.observation {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid #4a6fa5;
}

.observation:before {
    content: "观察标准：";
    font-weight: 600;
    color: #4a6fa5;
    display: block;
    margin-bottom: 8px;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option {
    padding: 18px;
    background: #f8f9fa;
    border: 2px solid #e0e6ff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    color: #2c3e50;
    position: relative;
}

.option:hover {
    background: #eef1ff;
    transform: translateY(-2px);
}

.option.selected {
    background: #eef1ff;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.option.selected:after {
    content: "✓";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-weight: bold;
}

.navigation-buttons {
    display: flex;
    gap: 15px;
}

.navigation-buttons .btn-primary,
.navigation-buttons .btn-secondary {
    flex: 1;
    margin: 0;
}

/* 结果页样式 */
.result-header {
    text-align: center;
    margin-bottom: 30px;
}

.result-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.result-subtitle {
    font-size: 16px;
    color: #7f8c8d;
}

.result-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.result-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e6ff;
}

.result-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.result-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #4a6fa5;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-section h3 i {
    font-size: 20px;
}

.result-value {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.result-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

.result-summary {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 6px solid #ffc107;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.1);
}

.result-summary h3 {
    font-size: 20px;
    font-weight: 700;
    color: #856404;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(133, 100, 4, 0.2);
}

.summary-text {
    font-size: 16px;
    color: #856404;
    line-height: 1.8;
    font-weight: 400;
}

.summary-text p {
    margin-bottom: 18px;
    text-align: justify;
}

.summary-text p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: #5d4203;
}

.upgrade-module {
    background: linear-gradient(135deg, #f8f0ff 0%, #e6ccff 100%);
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0 0 0;
    border: 2px solid #d8b4fe;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.1);
}

.upgrade-module h3 {
    font-size: 17px;
    font-weight: 600;
    color: #6b21a8;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(107, 33, 168, 0.2);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
    letter-spacing: 0.3px;
}

.upgrade-module h3 i {
    color: #8b5cf6;
}

.upgrade-content {
    margin-bottom: 18px;
}

.upgrade-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    padding-left: 2px;
}

.upgrade-item i {
    color: #7c3aed;
    font-size: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

.upgrade-item span {
    font-size: 14px;
    color: #5b21b6;
    line-height: 1.5;
    flex: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.upgrade-note {
    font-size: 12px;
    color: #7c3aed;
    line-height: 1.5;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    border-left: 3px solid #a78bfa;
    margin-top: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
    font-weight: 400;
    font-style: italic;
}

.reminder {
    background: #e8f4fd;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    border-left: 4px solid #2196f3;
}

.reminder p {
    font-size: 14px;
    color: #0c5460;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.reminder i {
    color: #2196f3;
    margin-top: 2px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .container {
        padding: 25px 20px;
    }
    
    .main-title, .result-main-title {
        font-size: 24px;
    }
    
    .question-title {
        font-size: 20px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 16px;
        font-size: 16px;
    }
    
    .feature {
        padding: 12px;
    }
    
    .result-value {
        font-size: 20px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 20px 15px;
    }
    
    .main-title, .result-main-title {
        font-size: 22px;
    }
    
    .question-title {
        font-size: 18px;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page.active {
    animation: fadeIn 0.3s ease-out;
}

/* 禁用状态 */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* 触摸优化 */
.option {
    -webkit-user-select: none;
    user-select: none;
}

/* 打印样式 */
@media print {
    body {
        background: white;
        padding: 0;
    }
    
    #app {
        box-shadow: none;
        border-radius: 0;
    }
    
    .btn-primary, .btn-secondary, .navigation-buttons, .action-buttons {
        display: none;
    }
}

/* ============================================
   第二层说明页样式
============================================ */

.info-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #bae6fd;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.info-icon {
    text-align: center;
    margin-bottom: 15px;
}

.info-icon i {
    font-size: 32px;
    color: #0ea5e9;
}

.info-content {
    text-align: center;
}

.info-content p {
    font-size: 16px;
    color: #0369a1;
    line-height: 1.6;
    margin-bottom: 12px;
}

.info-content p:last-child {
    margin-bottom: 0;
}

.info-highlight {
    font-weight: 600;
    color: #0c4a6e;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    border-radius: 8px;
    border-left: 3px solid #0ea5e9;
    margin-top: 15px !important;
}

.process-steps {
    background: #f8fafc;
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #e2e8f0;
}

.process-steps h3 {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.process-steps h3 i {
    color: #4f46e5;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.step:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.step-number {
    background: #4f46e5;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content strong {
    display: block;
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* 移动端调整 */
@media (max-width: 480px) {
    .info-card {
        padding: 20px;
    }
    
    .process-steps {
        padding: 20px;
    }
    
    .step {
        gap: 12px;
    }
    
    .step-number {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
}

/* ============================================
   照片上传页样式
============================================ */

.photo-reference {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #e2e8f0;
}

.photo-reference h3 {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.photo-reference h3 i {
    color: #4f46e5;
}

.reference-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.reference-image {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    border: 2px dashed #cbd5e1;
    text-align: center;
}

.photo-guide-diagram {
    max-width: 400px;
    margin: 0 auto;
}

.head-diagram {
    position: relative;
    width: 200px;
    height: 250px;
    margin: 0 auto 30px;
}

.face-outline {
    position: relative;
    width: 160px;
    height: 200px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 40% 40% 50% 50%;
    border: 3px solid #cbd5e1;
    overflow: hidden;
}

.face-shape {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 60px;
    background: #f1f5f9;
    border-radius: 35% 35% 45% 45%;
}

.eye {
    position: absolute;
    top: 60px;
    width: 20px;
    height: 10px;
    background: #334155;
    border-radius: 50%;
}

.left-eye {
    left: 40px;
}

.right-eye {
    right: 40px;
}

.nose {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 30px;
    background: #475569;
    border-radius: 7px;
}

.mouth {
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 10px;
    background: #64748b;
    border-radius: 5px;
}

.center-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #3b82f6;
    opacity: 0.5;
}

.horizontal-line {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    height: 2px;
    background: #10b981;
    opacity: 0.5;
}

.shoulders {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.shoulder {
    width: 40px;
    height: 20px;
    background: #94a3b8;
    border-radius: 10px 10px 0 0;
}

.left-shoulder {
    transform: rotate(-10deg);
}

.right-shoulder {
    transform: rotate(10deg);
}

.diagram-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #475569;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
}

.legend-color.center-line {
    background: #3b82f6;
}

.legend-color.horizontal-line {
    background: #10b981;
}

.legend-color.shoulders {
    background: #94a3b8;
}

.diagram-note {
    font-size: 12px;
    color: #64748b;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.diagram-note i {
    color: #3b82f6;
}

.photo-tips {
    margin-top: 25px;
}

.photo-tips h4 {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    justify-content: center;
}

.photo-tips h4 i {
    color: #4f46e5;
}

.tip-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.tip-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #c7d2fe;
}

.tip-icon {
    text-align: center;
    margin-bottom: 15px;
}

.tip-icon i {
    font-size: 32px;
    color: #4f46e5;
    background: #eef2ff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
}

.tip-content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 12px;
    text-align: center;
}

.tip-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tip-content li {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.tip-content li:before {
    content: "•";
    color: #4f46e5;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.photo-distance-tip {
    background: #f0f9ff;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #0ea5e9;
    margin-top: 20px;
}

.photo-distance-tip h5 {
    font-size: 16px;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.photo-distance-tip h5 i {
    color: #0ea5e9;
}

.photo-distance-tip p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 8px;
}

.photo-distance-tip p:last-child {
    margin-bottom: 0;
}

.upload-section {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #e2e8f0;
}

.upload-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-section h3 i {
    color: #4f46e5;
}

.upload-area {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.upload-area:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.upload-icon {
    font-size: 40px;
    color: #94a3b8;
    margin-bottom: 15px;
}

.upload-text {
    font-size: 16px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 8px;
}

.upload-subtext {
    font-size: 13px;
    color: #64748b;
}

.photo-preview {
    text-align: center;
    margin-bottom: 20px;
}

.preview-container {
    position: relative;
    display: inline-block;
    max-width: 300px;
    margin-bottom: 10px;
}

.preview-container img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.remove-photo {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
}

.remove-photo:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.preview-text {
    font-size: 14px;
    color: #64748b;
}

.upload-note {
    background: #e8f4fd;
    border-radius: 8px;
    padding: 12px 15px;
    border-left: 3px solid #2196f3;
}

.upload-note p {
    font-size: 13px;
    color: #0c5460;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
}

.upload-note i {
    color: #2196f3;
    margin-top: 2px;
}

/* 移动端调整 */
@media (max-width: 480px) {
    .photo-reference,
    .upload-section {
        padding: 20px;
    }
    
    .reference-image {
        padding: 20px;
    }
    
    .image-placeholder i {
        font-size: 50px;
    }
    
    .preview-container {
        max-width: 250px;
    }
}

/* ============================================
   结果解锁/付款页样式
============================================ */

.unlock-content {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #e2e8f0;
}

.unlock-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.unlock-content h3 i {
    color: #4f46e5;
}

.content-list {
    margin: 0;
    padding: 0;
}

.content-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding-left: 5px;
}

.content-item i {
    color: #4f46e5;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.content-item span {
    font-size: 15px;
    color: #475569;
    line-height: 1.5;
    flex: 1;
}

.price-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #bae6fd;
    text-align: center;
}

.price-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.price-section h3 i {
    color: #0ea5e9;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: #0c4a6e;
    margin: 15px 0;
    letter-spacing: 2px;
}

.price-note {
    font-size: 14px;
    color: #64748b;
    margin-top: 10px;
}

.payment-methods {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #e2e8f0;
}

.payment-methods h3 {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-methods h3 i {
    color: #4f46e5;
}

.method-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.method-tab {
    flex: 1;
    padding: 15px;
    background: #e2e8f0;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.method-tab:hover {
    background: #d1d5db;
    border-color: #94a3b8;
}

.method-tab.active {
    background: #4f46e5;
    border-color: #4338ca;
    color: white;
}

.method-tab.active i {
    color: white;
}

.method-tab i {
    font-size: 18px;
}

.method-tab[data-method="alipay"] i {
    color: #1677ff;
}

.method-tab[data-method="wechat"] i {
    color: #07c160;
}

.method-tab.active[data-method="alipay"] i,
.method-tab.active[data-method="wechat"] i {
    color: white;
}

.qrcode-section {
    position: relative;
    min-height: 300px;
}

.qrcode-container {
    display: none;
    text-align: center;
}

.qrcode-container.active {
    display: block;
}

.qrcode-placeholder {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 40px 20px;
    margin: 0 auto 20px;
    max-width: 300px;
    border: 2px dashed #cbd5e1;
}

.qrcode-placeholder i {
    font-size: 60px;
    margin-bottom: 15px;
}

.qrcode-placeholder[data-method="alipay"] i {
    color: #1677ff;
}

.qrcode-placeholder[data-method="wechat"] i {
    color: #07c160;
}

.qrcode-placeholder p {
    font-size: 16px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 5px;
}

.qrcode-placeholder small {
    font-size: 12px;
    color: #94a3b8;
}

.qrcode-note {
    font-size: 14px;
    color: #64748b;
    margin-top: 10px;
}

.payment-instruction {
    background: #fef3c7;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    border-left: 3px solid #f59e0b;
}

.payment-instruction p {
    font-size: 14px;
    color: #92400e;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.payment-instruction i {
    color: #f59e0b;
    margin-top: 2px;
}

.instruction-note {
    font-size: 13px;
    color: #92400e;
    font-style: italic;
    margin-top: 10px !important;
    padding-left: 24px;
}

.process-explanation {
    background: #f0f9ff;
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #bae6fd;
}

.process-explanation h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.process-explanation h3 i {
    color: #0ea5e9;
}

.explanation-content {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

.explanation-content p {
    margin-bottom: 15px;
}

.explanation-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 20px;
}

.explanation-content li {
    margin-bottom: 8px;
    padding-left: 5px;
    position: relative;
}

.explanation-content li:before {
    content: "•";
    color: #0ea5e9;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.explanation-note {
    font-size: 13px;
    color: #64748b;
    font-style: italic;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

/* 移动端调整 */
@media (max-width: 480px) {
    .unlock-content,
    .price-section,
    .payment-methods,
    .process-explanation {
        padding: 20px;
    }
    
    .price-amount {
        font-size: 36px;
    }
    
    .method-tabs {
        flex-direction: column;
    }
    
    .qrcode-placeholder {
        padding: 30px 15px;
    }
    
    .qrcode-placeholder i {
        font-size: 50px;
    }
}

/* ============================================
   付款确认页样式
============================================ */

.payment-confirm-form {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #e2e8f0;
}

.payment-confirm-form h3 {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-confirm-form h3 i {
    color: #4f46e5;
}

.form-note {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.form-fields {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #4f46e5;
}

.required {
    color: #ef4444;
    margin-left: 2px;
}

.order-id-display {
    background: #f1f5f9;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: monospace;
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    text-align: center;
    letter-spacing: 1px;
}

.form-help {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    background: white;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

.screenshot-upload-area {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.screenshot-upload-area:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.screenshot-upload-area i {
    font-size: 32px;
    color: #94a3b8;
    margin-bottom: 15px;
}

.screenshot-upload-area p {
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 8px;
}

.screenshot-upload-area small {
    font-size: 12px;
    color: #64748b;
}

.screenshot-preview {
    text-align: center;
    margin-top: 15px;
}

.screenshot-preview .preview-container {
    position: relative;
    display: inline-block;
    max-width: 300px;
    margin-bottom: 10px;
}

.screenshot-preview .preview-container img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.remove-screenshot {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
}

.remove-screenshot:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.preview-text {
    font-size: 14px;
    color: #64748b;
}

.form-note-final {
    background: #e8f4fd;
    border-radius: 8px;
    padding: 12px 15px;
    border-left: 3px solid #2196f3;
}

.form-note-final p {
    font-size: 13px;
    color: #0c5460;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
}

.form-note-final i {
    color: #2196f3;
    margin-top: 2px;
}

/* 成功消息样式 */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 60px;
    color: #10b981;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 24px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
}

.success-details {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    border: 2px solid #e2e8f0;
}

.success-details p {
    margin-bottom: 10px;
    font-size: 15px;
    color: #475569;
}

.success-details p:last-child {
    margin-bottom: 0;
}

.success-details strong {
    color: #334155;
    min-width: 80px;
    display: inline-block;
}

.success-note {
    font-weight: 500;
    color: #0c4a6e;
    background: #f0f9ff;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 3px solid #0ea5e9;
}

.success-contact {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
}

/* 移动端调整 */
@media (max-width: 480px) {
    .payment-confirm-form {
        padding: 20px;
    }
    
    .screenshot-upload-area {
        padding: 20px 15px;
    }
    
    .screenshot-upload-area i {
        font-size: 28px;
    }
    
    .screenshot-preview .preview-container {
        max-width: 250px;
    }
    
    .success-message {
        padding: 30px 15px;
    }
    
    .success-icon {
        font-size: 50px;
    }
    
    .success-message h3 {
        font-size: 20px;
    }
}

.confirm-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #bae6fd;
    text-align: center;
}

.confirm-icon {
    text-align: center;
    margin-bottom: 15px;
}

.confirm-icon i {
    font-size: 40px;
    color: #10b981;
}

.confirm-content {
    text-align: center;
}

.confirm-content p {
    font-size: 16px;
    color: #0369a1;
    line-height: 1.6;
    margin-bottom: 12px;
}

.confirm-content p:last-child {
    margin-bottom: 0;
}

.confirm-highlight {
    font-weight: 600;
    color: #0c4a6e;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    border-radius: 8px;
    border-left: 3px solid #10b981;
    margin-top: 15px !important;
}

.version-info {
    background: #fef3c7;
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #f59e0b;
}

.version-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.version-info h3 i {
    color: #f59e0b;
}

.info-content {
    font-size: 15px;
    color: #92400e;
    line-height: 1.6;
}

.info-content p {
    margin-bottom: 10px;
}

.info-content p:last-child {
    margin-bottom: 0;
}

.form-reserved {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #e2e8f0;
}

.form-reserved h3 {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-reserved h3 i {
    color: #4f46e5;
}

.form-note {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.form-fields {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #4f46e5;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    background: #f8fafc;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4f46e5;
    background: white;
}

.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

.upload-area-small {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area-small:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.upload-area-small i {
    font-size: 24px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.upload-area-small p {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 5px;
}

.upload-area-small small {
    font-size: 12px;
    color: #64748b;
}

.form-note-final {
    background: #e8f4fd;
    border-radius: 8px;
    padding: 12px 15px;
    border-left: 3px solid #2196f3;
}

.form-note-final p {
    font-size: 13px;
    color: #0c5460;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
}

.form-note-final i {
    color: #2196f3;
    margin-top: 2px;
}

.next-steps {
    background: #f0f9ff;
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #bae6fd;
}

.next-steps h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.next-steps h3 i {
    color: #0ea5e9;
}

.steps {
    margin: 0;
    padding: 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.step:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.step-number {
    background: #0ea5e9;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content strong {
    display: block;
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* 移动端调整 */
@media (max-width: 480px) {
    .confirm-card,
    .version-info,
    .form-reserved,
    .next-steps {
        padding: 20px;
    }
    
    .step {
        gap: 12px;
    }
    
    .step-number {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
}
/* 线下门店样式 */
.offline-stores {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e0e6ff;
}

.stores-title {
    font-size: 18px;
    font-weight: 600;
    color: #4a6fa5;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.store-card {
    background: #f0f4ff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #dde4ff;
}

.store-name {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
}

.store-city {
    font-size: 13px;
    color: #4a6fa5;
    font-weight: 600;
    margin-bottom: 8px;
}

.store-address {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 6px;
}

.store-phone {
    font-size: 13px;
    color: #2c3e50;
    font-weight: 500;
}
