/* CoachX Chinese Version Styles */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --danger-color: #f56565;
    --background-light: #f7fafc;
}

/* 基础样式 */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
    padding-bottom: 96px; /* 为底部悬浮CTA预留空间 */
}

.container-fluid {
    padding: 0;
}

/* 头部样式 */
.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.app-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.app-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

/* 整合的价值主张区域样式 */
.integrated-value-prop {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.2rem 1.6rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), inset 0 0 40px rgba(255,255,255,0.08);
}

.value-main-title {
    color: #ffffff !important;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.value-main-desc {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.value-points {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.value-point {
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.value-point:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

/* 原有卖点区域样式（已移除，保留兼容性） */
.value-prop-section {
    display: none;
}

.value-title {
    color: #2d3748 !important;
    font-size: 1.4rem;
    font-weight: 700 !important;
    margin-bottom: 1.5rem;
    text-shadow: none !important;
}

.value-description {
    color: #4a5568;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 价值亮点布局 */
.value-highlights {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.highlight-item {
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.highlight {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(102, 126, 234, 0.2);
    display: inline-block;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.highlight:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.cta-hint {
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    animation: bounce 2s infinite;
}

.cta-hint i {
    margin-right: 8px;
    animation: bounceArrow 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-1px); }
}

/* 顶部导航 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-brand h3 {
    color: #667eea;
    font-weight: 600;
}

/* 品牌头部样式 */
.brand-header {
    margin-bottom: 2rem;
}

/* 主容器优化背景 */
.main-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 20px 0;
    position: relative;
}

/* 添加背景纹理层 */
.main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
    pointer-events: none;
}

/* 确保内容在背景纹理之上 */
.main-container > * {
    position: relative;
    z-index: 1;
}

/* 品牌标题优化 */
.brand-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.brand-name {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.brand-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 语言切换样式更新 */
.language-switch {
    margin-top: 1rem;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    text-decoration: none;
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
}

.lang-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.lang-text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 价值主张优化 */
.value-proposition {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 2rem 0;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.value-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.value-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    font-weight: 500;
}

.value-points {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.value-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 150px;
}

.value-point i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #667eea;
}

.value-point span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a5568;
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.value-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a5568;
}

/* Who Is This For Section */
.who-is-this-for-section {
    display: flex;
    justify-content: center;
}

.who-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 600px;
}

.who-card p {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: #ffffff;
}

.who-card ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
    color: #ffffff;
}

.who-card li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Value Breakdown Section */
.value-breakdown-section .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
}

.tier-card {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.tier-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.tier-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    min-height: 45px;
}

.tier-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.tier-card ul li {
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-size: 1rem;
}

.paid-tier {
    background-color: rgba(120, 80, 228, 0.3); /* A slightly different background */
    border-color: rgba(150, 120, 255, 0.5);
}

/* CTA区域优化 */
.cta-section {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.cta-text {
    font-size: 1.2rem;
    color: #2d3748;
    font-weight: 700;
    text-shadow: none;
}

/* 主要内容区域 */
.main-content {
    background-color: transparent; /* Remove the white background to blend with the page */
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: none; /* Remove shadow as sections are now distinct */
    margin-top: -20px; /* Pull the input section up slightly */
    max-width: 600px; /* Enforce max-width for consistency */
    margin-left: auto;
    margin-right: auto;
}

/* 输入步骤样式 */
.input-step {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.step-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.step-number {
    background: #667eea;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* 表单控件样式 */
.custom-textarea, 
.custom-select, 
.custom-input {
    border: 2px solid #e1e8f0;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px; /* 防止iOS缩放 */
    transition: all 0.3s ease;
}

.custom-textarea:focus,
.custom-select:focus,
.custom-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.custom-textarea {
    resize: none;
    min-height: 120px;
}

/* Placeholder样式 - 确保placeholder文字可见 */
.custom-textarea::placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
}

.custom-textarea::-webkit-input-placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
}

/* 快速示例 Chips */
.quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.quick-chips .chips-label {
    font-size: 0.85rem;
}
.chip-btn {
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.85rem;
    line-height: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #667eea;
}
.chip-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #5a67d8;
}

@media (max-width: 576px) {
    .quick-chips {
        gap: 6px;
    }
    .chip-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

.custom-textarea::-moz-placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
}

.custom-textarea:-ms-input-placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
}

/* 关系选择按钮样式 */
.relationship-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.relation-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .relation-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .relation-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.relation-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e1e8f0;
    border-radius: 12px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 65px;
    position: relative;
    overflow: hidden;
}

.relation-btn:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.relation-btn.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
    transform: translateY(-1px);
}

/* 多选选中状态的特殊标记 */
.relation-btn.selected::after {
    content: "✓";
    position: absolute;
    top: 8px;
    right: 8px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.relation-emoji {
    font-size: 1.5rem;
    margin-bottom: 4px;
    display: block;
}

.relation-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    line-height: 1.1;
    text-align: center;
}

.relation-btn.selected .relation-text {
    color: #667eea;
    font-weight: 700;
}

/* 选中关系显示区域 */
.selected-relations-display {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.selected-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.selected-tag .tag-emoji {
    margin-right: 4px;
}

.selected-tag .tag-remove {
    margin-left: 6px;
    cursor: pointer;
    font-weight: bold;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.selected-tag .tag-remove:hover {
    opacity: 1;
    color: #dc3545;
}

/* 分析按钮 */
.analyze-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #667eea;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2), 
                0 4px 16px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    text-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #667eea;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2), 
                0 4px 16px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    text-shadow: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    border-color: rgba(255, 255, 255, 1);
    color: #5a67d8;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3), 
                0 6px 20px rgba(102, 126, 234, 0.2);
}

/* Ensure CTA text color does not turn white on focus/active/visited (override Bootstrap) */
.btn-primary:focus,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus-visible {
    color: #667eea !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}

.btn-primary:disabled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 250, 252, 0.6) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(102, 126, 234, 0.5);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

.analyze-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    border-color: rgba(255, 255, 255, 1);
    color: #5a67d8;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3), 
                0 6px 20px rgba(102, 126, 234, 0.2);
}

.analyze-btn:disabled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 250, 252, 0.6) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(102, 126, 234, 0.5);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

/* 结果卡片样式 */
.result-card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    overflow: hidden;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.result-card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-card .card-header i {
    font-size: 1.2rem;
}

.result-card .card-body {
    padding: 20px;
    color: #333;
}

/* 简化版结果显示样式 */
.result-title {
    color: #2d3748;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-content {
    color: #374151;
    line-height: 1.6;
    font-size: 1rem;
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    /* 防止文字溢出 */
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.result-content h3 {
    color: #1f2937;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.result-content h4 {
    color: #374151;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.result-content h5 {
    color: #4b5563;
    font-weight: 500;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.result-content strong {
    color: #1f2937;
    font-weight: 600;
}

.result-content em {
    color: #6b7280;
    font-style: italic;
}

.premium-card {
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.premium-card .result-title {
    color: #92400e;
}

.premium-card .result-content {
    color: #374151 !important;
    background: transparent !important;
}

.premium-card .blurred-content {
    color: #1f2937 !important;
}

.blurred-content {
    filter: blur(2px);
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
    position: relative;
}

.blurred-content::after {
    content: '🔒 Premium Content - Unlock to View';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(245, 158, 11, 0.95);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.unlock-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.analysis-results {
    margin-top: 2rem;
}

/* 进度显示美化样式 */
.progress-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.progress-card h4 {
    color: #1f2937 !important;
    font-weight: 600;
    text-align: center;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(to right, #e5e7eb, #e5e7eb);
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.active .step-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    animation: pulse 2s infinite;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-text {
    text-align: center;
    max-width: 120px;
}

.step-text strong {
    color: #1f2937 !important;
    font-size: 0.9rem;
    font-weight: 600;
}

.step-text small {
    color: #4b5563 !important;
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 400;
}

/* 确保所有进度步骤文字在任何状态下都清晰可见 */
.progress-step .step-text strong {
    color: #1f2937 !important;
}

.progress-step .step-text small {
    color: #4b5563 !important;
}

.progress-step.active .step-text strong {
    color: #1f2937 !important;
}

.progress-step.active .step-text small {
    color: #4b5563 !important;
}

.analysis-status {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    margin: 1.5rem 0;
}

.status-text {
    font-size: 1.1rem;
    color: #1f2937 !important;
    font-weight: 600;
    text-align: center;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    width: 0%;
    animation: progressAnimation 20s linear infinite;
}

.value-hint {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 1.5rem;
}

.hint-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #4b5563;
    font-size: 0.9rem;
}

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

.hint-item i {
    font-size: 1.1rem;
    min-width: 20px;
}

/* 动画效果 */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes progressAnimation {
    0% { width: 0%; }
    25% { width: 30%; }
    50% { width: 60%; }
    75% { width: 85%; }
    100% { width: 95%; }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .step-text {
        max-width: 200px;
    }
    
    .progress-card {
        padding: 1.5rem;
    }
}

/* 情绪热度样式 */
.heat-display .progress {
    height: 25px;
    border-radius: 12px;
    background-color: #e9ecef;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.progress-bar {
    transition: width 1s ease;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* 解释说明样式 */
.heat-explanation, .risk-explanation {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #e9ecef;
    line-height: 1.4;
}

.heat-explanation strong, .risk-explanation strong {
    color: #495057;
}

.heat-explanation br + strong, .risk-explanation br + strong {
    margin-top: 2px;
}

/* 指标说明的响应式调整 */
@media (max-width: 576px) {
    .heat-explanation, .risk-explanation {
        padding: 8px;
        font-size: 0.8rem;
    }
    
    /* 关系按钮响应式 */
    .relationship-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .relation-btn {
        padding: 14px 8px;
        min-height: 70px;
    }
    
    .relation-emoji {
        font-size: 1.6rem;
        margin-bottom: 4px;
    }
    
    .relation-text {
        font-size: 0.85rem;
    }
}

/* 更小屏幕的调整 */
@media (max-width: 400px) {
    .relationship-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .relation-btn {
        padding: 12px 6px;
        min-height: 65px;
    }
    
    .relation-emoji {
        font-size: 1.4rem;
    }
    
    .relation-text {
        font-size: 0.8rem;
    }
}

/* 问题选项按钮样式 */
.question-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.question-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e1e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #495057;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.question-btn:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.question-btn.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    font-weight: 600;
}

.question-btn::before {
    content: '💭';
    margin-right: 8px;
    font-size: 1.1rem;
}

.question-btn.selected::before {
    content: '✅';
}

/* 手动输入区域样式 */
.manual-input {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
    margin-top: 15px;
}

.manual-input .form-label {
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .question-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

/* 风险等级样式 */
.badge {
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
}

.bg-success {
    background-color: #28a745!important;
}

.bg-warning {
    background-color: #ffc107!important;
    color: #212529!important;
}

.bg-danger {
    background-color: #dc3545!important;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #718096;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.nav-item:hover,
.nav-item.active {
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

/* 推荐行动样式 */
.recommendation-content {
    line-height: 1.6;
}

.recommendation-header {
    color: #667eea;
    border-left: 4px solid #667eea;
    padding-left: 12px;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    padding: 8px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 6px;
}

.item-number {
    color: #667eea;
    font-weight: 600;
    margin-right: 8px;
    min-width: 20px;
}

.item-text {
    flex: 1;
}

.recommendation-list {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.recommendation-bullet {
    margin-bottom: 0.5rem;
    padding: 4px 0;
}

.message-template {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.template-text {
    background: white;
    border-radius: 6px;
    padding: 12px;
    margin: 8px 0;
    font-style: italic;
    border-left: 4px solid #667eea;
    position: relative;
}

.copy-btn {
    margin-left: 8px;
    padding: 2px 6px;
    font-size: 0.8rem;
}

/* 热度进度条动画 */
.progress-bar {
    transition: width 0.8s ease-in-out, background-color 0.5s ease;
}

/* 风险徽章样式 */
.badge {
    transition: all 0.3s ease;
}

/* 关于我们页面样式 */
.about-section {
    max-width: 800px;
    margin: 0 auto;
}

.about-card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.about-card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 16px 16px 0 0;
    padding: 1.5rem;
}

.about-card .card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.about-card .card-body {
    padding: 2rem;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    line-height: 1.6;
}

.about-list li:last-child {
    border-bottom: none;
}

/* 公司页脚样式 */
.company-footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 3rem;
    margin-bottom: 80px; /* 为底部导航留空间 */
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-brand h4 {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.footer-contact h5,
.footer-resources h5 {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-address {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.contact-email {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

.contact-email a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: white;
    text-decoration: underline;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .app-title {
        font-size: 2rem;
    }
    
    .value-title {
        font-size: 1.2rem;
    }
    
    .value-description {
        font-size: 0.9rem;
    }
    
    .highlight {
        display: inline-block;
        margin: 2px;
    }
    
    /* Medium screen responsive for footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 15px 10px;
    }
    
    .input-step {
        padding: 15px;
    }
    
    .app-title {
        font-size: 1.8rem;
    }
    
    .value-title {
        font-size: 1.1rem;
    }
    
    .value-description {
        font-size: 0.85rem;
    }
    
    .step-label {
        font-size: 1rem;
    }
    
    .custom-textarea,
    .custom-select,
    .custom-input {
        padding: 12px;
    }
    
    /* 关于我们页面响应式 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-card {
        margin-bottom: 1.5rem;
    }
    
    .about-card .card-body {
        padding: 1.5rem;
    }
}

/* 动画效果 */
.input-step {
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 新咨询按钮样式 */
.btn-soft-reset {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 20px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-soft-reset:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* 分析结果格式化样式 */
.analysis-section {
    margin-bottom: 1.5rem;
    color: #333;
}

.analysis-text {
    color: #333;
    line-height: 1.6;
}

.analysis-section h6 {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.choice-item {
    background: rgba(13, 110, 253, 0.05);
    border-radius: 8px;
}

.consequence-item {
    background: rgba(255, 193, 7, 0.05);
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #ffc107;
}

.consequence-content {
    line-height: 1.6;
}

/* 博弈矩阵样式 */
.matrix-container {
    overflow-x: auto;
    padding: 15px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.matrix-display {
    margin: 1rem 0;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 15px;
}

.matrix-table {
    margin: 0;
    font-size: 0.9rem;
    background: white;
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
}

/* 表格容器，防止越界 */
.table-responsive-custom {
    overflow-x: auto;
    max-width: 100%;
}

.table-responsive-custom .matrix-table {
    min-width: 500px;
}

.matrix-text {
    font-family: monospace;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.matrix-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    font-weight: 600;
    border: 1px solid #dee2e6;
}

.matrix-table td {
    border: 1px solid #dee2e6;
    padding: 12px 8px;
    vertical-align: middle;
}

.matrix-cell {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #495057;
    background: rgba(102, 126, 234, 0.05);
}

.matrix-table td.fw-bold,
.strategy-label {
    background: rgba(118, 75, 162, 0.1);
    color: #764ba2;
    font-weight: 600;
}

/* 策略定义样式 */
.strategy-group, .reaction-group {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    color: #333;
}

/* 确保所有游戏分析内容可见 */
#gameAnalysis, #gameAnalysis * {
    color: #333 !important;
}

#gameAnalysis .strategy-group,
#gameAnalysis .reaction-group,
#gameAnalysis .analysis-section {
    color: #333 !important;
}

.strategy-item {
    background: rgba(13, 110, 253, 0.05);
    border-radius: 8px;
    font-size: 0.95rem;
}

.reaction-item {
    background: rgba(255, 193, 7, 0.05);
    border-radius: 8px;
    font-size: 0.95rem;
}

/* 后果链条样式 */
.consequence-chain {
    background: rgba(255, 193, 7, 0.05);
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #ffc107;
}

.chain-content {
    line-height: 1.8;
    font-size: 0.95rem;
}

/* 加载状态 */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #667eea;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Payment Unlock Styles */
.unlock-overlay {
    position: relative;
    text-align: center;
    margin-top: 20px;
}

.unlock-blur {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.3) 30%,
        rgba(255, 255, 255, 0.8) 70%,
        rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(3px);
    border-radius: 15px;
    pointer-events: none;
}

.unlock-prompt {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px 25px;
    margin: 20px auto;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.unlock-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 15px;
}

.unlock-prompt h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.unlock-prompt p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.unlock-details {
    text-align: left;
    margin-bottom: 20px;
}

.unlock-section {
    margin-bottom: 12px;
}

.unlock-section strong {
    color: #333;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 6px;
}

.unlock-section ul {
    margin: 0;
    padding-left: 16px;
    list-style-type: disc;
}

.unlock-section li {
    color: #555;
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 4px;
}

.unlock-section li strong {
    display: inline;
    color: #667eea;
    font-size: 0.75rem;
}

/* 移动端支付弹窗优化 */
@media (max-width: 768px) {
    .unlock-prompt {
        margin: 10px;
        padding: 25px 20px;
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .unlock-section strong {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    
    .unlock-section li {
        font-size: 0.7rem;
        line-height: 1.2;
        margin-bottom: 3px;
    }
    
    .unlock-section {
        margin-bottom: 10px;
    }
}

.unlock-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 20px;
}

.unlock-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

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

/* 锁定状态的推荐内容 */
.recommendation-locked .recommendation-content {
    position: relative;
    filter: blur(2px);
    opacity: 0.6;
    pointer-events: none;
}

/* 正常状态的推荐内容 */
.recommendation-content {
    position: relative;
}

/* Stripe Elements */
#card-element {
    padding: 15px;
    border: 2px solid #e1e8f0;
    border-radius: 12px;
    background: white;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
    max-width: 100%;
}

#card-element:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

#card-errors {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 10px;
}

.payment-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Limit width and center to match EN */
    max-width: 600px;
    margin: 20px auto;
}

.payment-header {
    text-align: center;
    margin-bottom: 25px;
}

.payment-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.payment-description {
    color: #666;
    margin-bottom: 25px;
}

/* 解锁成功动画 */
@keyframes highlight-flash {
    0% { background-color: rgba(40, 167, 69, 0.2); }
    50% { background-color: rgba(40, 167, 69, 0.4); }
    100% { background-color: rgba(40, 167, 69, 0.2); }
}

.unlocked-highlight {
    animation: highlight-flash 2s ease-in-out;
}

/* 付费提示优化样式 */
.pricing-hint {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    margin-top: 15px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(102, 126, 234, 0.2) !important;
}

.pricing-hint small {
    color: #2d3748 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    text-shadow: none !important;
}

.pricing-hint .price-highlight {
    color: #667eea !important;
    font-weight: 700 !important;
}

.pricing-hint .free-highlight {
    color: #28a745 !important;
    font-weight: 600 !important;
}

/* 解锁成功后的内容样式 */
.recommendation-unlocked {
    position: relative;
    filter: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.recommendation-unlocked::before {
    content: "🔓 已解锁";
    position: absolute;
    top: 8px; /* 避免被父容器 overflow 裁切 */
    right: 10px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
} 

/* 性别选择按钮样式 */
.gender-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.gender-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .gender-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 移动端文字排版优化 */
    .result-content {
        font-size: 0.9rem;
        padding: 0.75rem;
        line-height: 1.5;
    }
    
    .result-content h3,
    .result-content h4,
    .result-content h5 {
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* 确保所有文本容器不溢出 */
    .analysis-section,
    .premium-card,
    .free-content,
    .premium-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    /* 表格在移动端的处理 */
    .matrix-table {
        font-size: 0.8rem;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    .matrix-table th,
    .matrix-table td {
        padding: 0.25rem;
        min-width: 60px;
        word-break: break-word;
        white-space: normal;
    }
}

@media (max-width: 576px) {
    .gender-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 小屏幕进一步优化 */
    .result-content {
        font-size: 0.85rem;
        padding: 0.5rem;
        line-height: 1.4;
    }
    
    .result-content h3 {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .result-content h4 {
        font-size: 1rem;
        margin-top: 0.75rem;
        margin-bottom: 0.4rem;
    }
    
    .result-content h5 {
        font-size: 0.9rem;
        margin-top: 0.5rem;
        margin-bottom: 0.3rem;
    }
    
    /* 确保所有容器都适配小屏 */
    body {
        font-size: 14px;
    }
    
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

.gender-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e1e8f0;
    border-radius: 12px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 65px;
    position: relative;
    overflow: hidden;
}

.gender-btn:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.gender-btn.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
    transform: translateY(-1px);
}

/* 性别选择选中状态的特殊标记 */
.gender-btn.selected::after {
    content: "✓";
    position: absolute;
    top: 8px;
    right: 8px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.gender-emoji {
    font-size: 1.5rem;
    margin-bottom: 4px;
    display: block;
}

.gender-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    line-height: 1.1;
    text-align: center;
}

/* 关系选择按钮样式 */ 

/* 移动端适配 */
@media (max-width: 768px) {
    .brand-name {
        font-size: 3rem;
    }
    
    .brand-subtitle {
        font-size: 1rem;
    }
    
    .brand-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .value-title {
        font-size: 1.2rem;
    }
    
    .value-points {
        gap: 1rem;
    }
    
    .value-point {
        min-width: 120px;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .brand-name {
        font-size: 2.5rem;
    }
    
    .value-points {
        flex-direction: column;
        gap: 1.5rem;
    }
} 

/* 步骤进度显示样式 */
.progress-section {
    margin: 2rem 0;
    padding: 0 1rem;
}

.analysis-progress {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
}

.progress-header i {
    font-size: 1.3rem;
    animation: pulse 2s infinite;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.analysis-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(103, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.analysis-step.in-progress {
    background: rgba(103, 126, 234, 0.1);
    border-color: #667eea;
    transform: scale(1.02);
}

.analysis-step.completed {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
}

.step-icon {
    font-size: 1.2rem;
    min-width: 1.5rem;
    text-align: center;
}

.analysis-step.in-progress .step-icon {
    animation: spin 1s linear infinite;
}

.step-content {
    flex: 1;
}

.step-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.step-status {
    font-size: 0.85rem;
    color: #666;
}

.analysis-step.in-progress .step-status {
    color: #667eea;
    font-weight: 500;
}

.analysis-step.completed .step-status {
    color: #22c55e;
    font-weight: 500;
}

/* 动画效果 */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .progress-section {
        margin: 1.5rem 0;
        padding: 0 0.5rem;
    }
    
    .analysis-progress {
        padding: 1rem;
    }
    
    .analysis-step {
        gap: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .step-title {
        font-size: 0.9rem;
    }
    
    .step-status {
        font-size: 0.8rem;
    }
} 
/* 付费提示优化样式 */
.pricing-hint {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    margin-top: 15px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(102, 126, 234, 0.2) !important;
}

.pricing-hint small {
    color: #2d3748 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    text-shadow: none !important;
}

.pricing-hint .price-highlight {
    color: #667eea !important;
    font-weight: 700 !important;
}

.pricing-hint .free-highlight {
    color: #28a745 !important;
    font-weight: 600 !important;
}

/* Enhanced Value Proposition Styles - Chinese Version */
.value-proposition .value-title,
.hero-section .value-title {
    color: #2d3748 !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    margin-bottom: 1.5rem !important;
}

.value-proposition .value-text,
.hero-section .value-text {
    color: #4a5568 !important;
    text-shadow: none !important;
}

.value-proposition .urgency-text,
.hero-section .urgency-text {
    color: #2d3748 !important;
    text-shadow: none !important;
}

.urgency-text {
    font-size: 1.1rem;
    color: #2d3748 !important;
    font-style: italic;
    margin-bottom: 2rem;
    text-shadow: none !important;
    line-height: 1.4;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.value-detail {
    display: block;
    font-size: 0.8rem;
    color: #718096 !important;
    margin-top: 0.5rem;
    font-style: italic;
    text-shadow: none !important;
}

.social-proof-highlight {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1rem 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
}

.proof-text {
    color: #2d3748 !important;
    font-weight: 500;
    text-shadow: none !important;
    font-size: 0.95rem;
}

/* 免费价值展示样式 */
.free-value-showcase {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
}

.free-value-card {
    position: relative;
    text-align: center;
}

.free-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.free-value-card h4 {
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.free-value-card .lead {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.free-features {
    text-align: left;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item strong {
    color: #2d3748;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.feature-item small {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.4;
}

.free-guarantee {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.guarantee-text {
    color: #047857;
    font-weight: 600;
    font-size: 1rem;
}

/* 免费提示优化样式 */
.free-reassurance {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    margin-top: 15px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

.free-reassurance small {
    color: #2d3748 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}

/* 你将看到 - 预期结果提示 */
.expected-preview {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
}
.expected-preview small {
    color: #4a5568;
    font-weight: 600;
}
.expected-preview .expected-list {
    margin: 8px 0 0 0;
    padding-left: 18px;
    color: #4a5568;
}
.expected-preview .expected-list li {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

/* 底部悬浮CTA（移动端） */
.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -6px 18px rgba(0,0,0,0.12);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    z-index: 1050;
    display: none; /* 默认隐藏，移动端显示 */
}
.sticky-cta .btn {
    width: 100%;
}
@media (max-width: 768px) {
    .sticky-cta { display: block; }
}
