/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e9ecef;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2196f3;
}

.home-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    margin-right: 12px;
    height: 40px;
}

.home-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ff5252, #ff7979);
}

.home-icon {
    font-size: 18px;
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.home-text {
    font-size: 14px;
    font-weight: 500;
    color: white;
    white-space: nowrap;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2196f3;
    background-color: #e3f2fd;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 用户菜单 */
.user-menu {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.user-info:hover {
    background-color: #f8f9fa;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: #2196f3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.user-badge {
    background: #4caf50;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    display: none;
}

.user-menu:hover .user-dropdown {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* 主要内容 */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.page {
    display: none;
    padding: 2rem 0;
}

.page.active {
    display: block;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* 首页样式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.hero-content {
    padding: 0 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: #e3f2fd;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grading-preview {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.score-circle {
    width: 120px;
    height: 120px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.score-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.score-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.score-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.score-name {
    font-size: 0.9rem;
    opacity: 0.8;
}

.score-value {
    font-weight: 600;
}

/* 特性介绍 */
.features-section {
    padding: 4rem 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 统计信息 */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 评分页面 - 左右分栏布局 */
.grading-layout {
    display: flex;
    gap: 2rem;
    min-height: calc(100vh - 200px);
    align-items: stretch; /* 确保左右区域高度一致 */
}

/* 左侧表单区域 */
.grading-form-section {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
}

.grading-form-section .form-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    flex: 1; /* 填充整个左侧区域高度 */
    display: flex;
    flex-direction: column;
}

/* 让开始评分按钮自动定位到表单底部 */
.grading-form-section .form-section .btn {
    margin-top: auto;
}

/* 右侧浮窗区域 */
.grading-panel-section {
    flex: 0 0 55%;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* 嵌入式浮窗 */
.floating-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1; /* 填充整个右侧区域高度 */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-section {
    margin-bottom: 2rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2196f3;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.word-count {
    font-weight: 500;
}

.radio-group {
    display: flex;
    gap: 1rem;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-item input[type="radio"]:checked + .radio-custom {
    border-color: #2196f3;
}

.radio-item input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #2196f3;
    border-radius: 50%;
}

/* 评分结果 - 浮窗样式 */
.floating-panel .result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid rgba(233, 236, 239, 0.5);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.floating-panel .result-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.floating-panel .result-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4caf50;
    font-weight: 500;
    flex-wrap: wrap;
}

/* 版本标识和警告标识 */
.version-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.warning-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

/* 浮窗内容区域 - 可滚动 */
.floating-panel .panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 2rem 2rem;
    scroll-behavior: smooth;
    max-height: calc(100vh - 200px); /* 确保有固定高度 */
}

/* 自定义滚动条 */
.floating-panel .panel-content::-webkit-scrollbar {
    width: 8px;
}

.floating-panel .panel-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.floating-panel .panel-content::-webkit-scrollbar-thumb {
    background: rgba(33, 150, 243, 0.5);
    border-radius: 4px;
    min-height: 20px;
}

.floating-panel .panel-content::-webkit-scrollbar-thumb:hover {
    background: rgba(33, 150, 243, 0.7);
}

/* 强制显示滚动条 */
.floating-panel .panel-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(33, 150, 243, 0.5) rgba(0, 0, 0, 0.1);
}

.result-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.result-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4caf50;
    font-weight: 500;
}

/* 浮窗中的评分显示 */
.floating-panel .score-display {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.floating-panel .overall-score {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.floating-panel .score-circle-large {
    width: 120px;
    height: 120px;
    border: 4px solid #2196f3;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.2);
}

.score-circle-large .score-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2196f3;
}

.score-circle-large .score-label {
    font-size: 1rem;
    color: #666;
}

.detailed-scores {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detailed-scores .score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.detailed-scores .score-name {
    font-weight: 500;
    color: #333;
}

.detailed-scores .score-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2196f3;
}

/* 浮窗中的反馈区域 */
.floating-panel .feedback-section {
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.floating-panel .feedback-tabs {
    display: flex;
    border-bottom: 1px solid rgba(233, 236, 239, 0.5);
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px 8px 0 0;
    padding: 0.5rem;
}

.floating-panel .tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
}

.floating-panel .tab-btn.active,
.floating-panel .tab-btn:hover {
    color: #2196f3;
    background: rgba(33, 150, 243, 0.1);
}

.floating-panel .tab-panel {
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.floating-panel .tab-panel.active {
    display: block;
}

.floating-panel .feedback-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.floating-panel .feedback-list li {
    padding: 1rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border-left: 4px solid #2196f3;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.floating-panel .feedback-list li:hover {
    background: rgba(248, 249, 250, 1);
    transform: translateX(5px);
}

/* 浮窗中的操作按钮 */
.floating-panel .result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(233, 236, 239, 0.5);
}

.floating-panel .result-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.floating-panel .result-actions .btn-outline {
    background: transparent;
    color: #2196f3;
    border: 2px solid #2196f3;
}

.floating-panel .result-actions .btn-outline:hover {
    background: #2196f3;
    color: white;
}

.floating-panel .result-actions .btn-primary {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.floating-panel .result-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4);
}

/* 会员页面 */
.membership-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.plan-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid #e9ecef;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.plan-card.featured {
    border-color: #2196f3;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #2196f3;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2196f3;
}

.period {
    color: #666;
    font-size: 1rem;
}

.savings {
    background: #ffeb3b;
    color: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.5rem 0;
    color: #666;
}

.plan-status {
    text-align: center;
}

.current-plan {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.membership-activation {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.membership-activation h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.activation-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* 仪表板 */
.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.membership-status {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-type {
    font-weight: 600;
    color: #333;
}

.status-desc {
    color: #666;
    font-size: 0.9rem;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #2196f3;
    color: white;
}

.btn-primary:hover {
    background: #1976d2;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2196f3;
    border: 2px solid #2196f3;
}

.btn-outline:hover {
    background: #2196f3;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    font-size: 1.2rem;
}

/* 模态框 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: #f8f9fa;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    margin-top: 1rem;
}

.modal-footer a {
    color: #2196f3;
    text-decoration: none;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* 支付相关 */
.payment-info {
    text-align: center;
}

.order-info {
    margin-bottom: 2rem;
}

.order-info h4 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.order-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2196f3;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method.active {
    border-color: #2196f3;
    background: #e3f2fd;
}

.payment-method:hover {
    border-color: #2196f3;
}

.method-icon {
    font-size: 1.5rem;
}

.qr-code-section {
    margin-bottom: 2rem;
}

.qr-code {
    display: none;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #e9ecef;
}

.qr-code.active {
    display: block;
}

.qr-placeholder {
    text-align: center;
}

.qr-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.qr-placeholder p {
    color: #666;
    margin-bottom: 1rem;
}

.qr-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2196f3;
}

.payment-tips {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    text-align: left;
}

.payment-tips p {
    color: #1976d2;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.payment-tips p:last-child {
    margin-bottom: 0;
}

/* 加载指示器 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    color: #666;
    font-weight: 500;
}

/* 消息提示 */
.message-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 2500;
}

.message {
    background: white;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2196f3;
    animation: slideIn 0.3s ease-out;
}

.message.success {
    border-left-color: #4caf50;
}

.message.error {
    border-left-color: #f44336;
}

.message.warning {
    border-left-color: #ff9800;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .home-link {
        padding: 6px 12px;
        height: 36px;
        margin-right: 8px;
    }
    
    .home-icon {
        font-size: 16px;
    }
    
    .home-text {
        font-size: 13px;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    /* 平板端：上下分栏布局 */
    .grading-layout {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .grading-form-section {
        flex: none;
        position: static;
    }
    
    .grading-panel-section {
        flex: none;
    }
    
    .floating-panel {
        max-height: 500px;
        min-height: 400px;
    }
    
    .score-display {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .activation-form {
        flex-direction: column;
    }
    
    .payment-methods {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    /* 手机端：全屏浮窗 */
    .grading-layout {
        gap: 1rem;
    }
    
    .floating-panel {
        border-radius: 16px;
        margin: 0;
        max-height: calc(100vh - 100px);
        min-height: 300px;
    }
    
    .floating-panel .result-header {
        padding: 1rem 1.5rem 0.75rem;
    }
    
    .floating-panel .panel-content {
        padding: 0 1.5rem 1.5rem;
    }
    
    .floating-panel .score-circle-large {
        width: 100px;
        height: 100px;
    }
    
    .floating-panel .score-circle-large .score-number {
        font-size: 2.5rem;
    }
    
    .floating-panel .feedback-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .floating-panel .tab-btn {
        padding: 0.75rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .membership-plans {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .home-link {
        padding: 4px 8px;
        height: 32px;
        gap: 6px;
    }
    
    .home-text {
        font-size: 12px;
    }
    
    .home-icon {
        font-size: 14px;
    }
}

/* ========== 扣子工作流结果样式（新增）========== */

/* 徽章样式 */
.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 8px;
}

.badge-info {
    background-color: #e3f2fd;
    color: #1976d2;
}

.badge-success {
    background-color: #e8f5e9;
    color: #388e3c;
}

/* 禁用的单选项 */
.radio-item.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.radio-item.disabled input[disabled] {
    cursor: not-allowed;
}

/* 扣子结果容器 */
.coze-result {
    animation: fadeInUp 0.5s ease-out;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.version-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.warning-badge {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 8px;
}

.raw-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

/* 主评分卡片 */
.score-card-main {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.score-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    animation: scaleIn 0.6s ease-out;
}

.score-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.score-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
}

/* 反馈区块 */
.feedback-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feedback-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Markdown 内容样式 */
.markdown-content {
    line-height: 1.8;
    color: #555;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4 {
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.markdown-content h4 {
    font-size: 1.1rem;
    color: #34495e;
}

.markdown-content p {
    margin-bottom: 1rem;
}

.markdown-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.markdown-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.markdown-content strong {
    color: #2c3e50;
    font-weight: 600;
}

/* 范文样式 */
.model-essay-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.essay-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    line-height: 1.8;
    color: #2c3e50;
    font-family: 'Georgia', serif;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* 结果操作按钮 */
.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== 加载动画样式 ========== */

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 2rem;
}

.loading-progress {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

/* 进度条 */
.progress-bar-wrapper {
    margin-bottom: 3rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: progressAnimation 2s linear infinite;
    border-radius: 10px;
}

@keyframes progressAnimation {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.progress-text {
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
}

/* 加载步骤 */
.loading-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.step.active {
    opacity: 1;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border: 2px solid #667eea;
    transform: scale(1.05);
}

.step-icon {
    font-size: 2rem;
}

.step-text {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
}

.step.active .step-text {
    color: #667eea;
    font-weight: 600;
}

/* 加载提示 */
.loading-tips {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 2rem;
}

.loading-tips p {
    margin: 0.5rem 0;
    color: #856404;
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .loading-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .step {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1rem;
    }
    
    .step-icon {
        font-size: 1.5rem;
    }
    
    .score-circle {
        width: 160px;
        height: 160px;
    }
    
    .score-number {
        font-size: 2.5rem;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .result-actions button {
        width: 100%;
    }
}

/* Task 1 图片上传样式 */
.label-hint {
    font-size: 0.875rem;
    color: #666;
    font-weight: 400;
    margin-left: 0.5rem;
}

.image-upload-container {
    margin-top: 0.5rem;
}

.upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #2196f3;
    background: #e3f2fd;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.upload-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.upload-hint {
    font-size: 0.875rem;
    color: #666;
}

.image-preview {
    margin-top: 1rem;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    padding: 1rem;
}

.image-preview img {
    max-width: 100%;
    max-height: 400px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.btn-remove-image {
    display: block;
    margin: 1rem auto 0;
    padding: 0.5rem 1rem;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.btn-remove-image:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

.btn-remove-image span {
    margin-right: 0.25rem;
}

.badge-warning {
    background: #ff9800;
    color: white;
}
  
 