:root {
           --primary-color: #4a6cf7;
           --secondary-color: #0f172a;
           --light-color: #f8fafc;
           --dark-color: #1e293b;
       }
       
       body {
           font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
           color: var(--dark-color);
           background-color: #f9fafb;
           padding-top: 56px;
       }
       
       /* 导航栏样式 */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-link {
    color: var(--dark-color);
    margin-left: 1.5rem;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3a5bdf;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
}

/* 英雄区域样式 */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* 功能区域样式 */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title p {
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.features {
    padding: 5rem 0;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(74, 108, 247, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #64748b;
}

/* 流程区域样式 */
.process {
    padding: 5rem 0;
    background-color: white;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: var(--primary-color);
    z-index: 1;
}

.process-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.step-number {
    width: 100px;
    height: 100px;
    background-color: white;
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    background-color: white;
    box-shadow: 0 4px 12px rgba(74, 108, 247, 0.2);
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #64748b;
    font-size: 0.9rem;
}

/* 立即试用区域 */
.try-now {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.try-container {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.try-header {
    text-align: center;
    margin-bottom: 2rem;
}

.try-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.try-header p {
    color: #64748b;
}

.upload-area {
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(74, 108, 247, 0.03);
}

.upload-icon {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.upload-area:hover .upload-icon {
    color: var(--primary-color);
}

.upload-area h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.upload-area p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.upload-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background-color: #3a5bdf;
}

#fileInput {
    display: none;
}

.subject-selector {
    margin-top: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.subject-selector label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: left;
}

/* 图片浏览区 */
.image-preview {
    margin-top: 2rem;
    display: none;
}

.image-preview.active {
    display: block;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.preview-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.remove-image {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.remove-image i {
    margin-right: 0.25rem;
}

.preview-container {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-image {
    max-width: 100%;
    /* max-height: 300px; */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

/* 批改按钮区域 */
.correction-area {
    margin-top: 2rem;
    text-align: center;
    display: none;
}

.correction-area.active {
    display: block;
}

.correction-status {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: none;
}

.correction-status.active {
    display: block;
    color: #10b981;
}

.correction-status a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.5rem;
}

.correction-status a:hover {
    text-decoration: underline;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 示例图片区域 */
.examples-section {
    margin-top: 3rem;
}

.examples-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.examples-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.examples-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
}

.example-item {
    flex: 0 0 auto;
    width: 150px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.example-item:hover {
    transform: translateY(-5px);
}

.example-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.example-caption {
    padding: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    background-color: white;
}

.example-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 108, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.example-item:hover .example-overlay {
    opacity: 1;
}

/* 评价区域样式 */
.testimonials {
    padding: 5rem 0;
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    flex: 1;
    min-width: 300px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: rgba(74, 108, 247, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: #334155;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(74, 108, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.author-info {
    line-height: 1.2;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-role {
    color: #64748b;
    font-size: 0.875rem;
}

.testimonial-rating {
    color: #f59e0b;
    margin-top: 0.5rem;
}

/* CTA区域样式 */
.cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a7af8 100%);
    color: white;
    text-align: center;
    margin: 5rem 0 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-light:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 页脚样式 */
footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-brand h2 {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.footer-brand h2 i {
    margin-right: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* 批改结果模态框 */
.result-modal .modal-dialog {
    max-width: 800px;
}

.result-content {
    text-align: left;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.result-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.result-subject {
    display: inline-block;
    background-color: rgba(74, 108, 247, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
}

.question-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.question-item:last-child {
    border-bottom: none;
}

.question-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.question-type {
    font-weight: 600;
}

.question-score {
    color: #10b981;
    font-weight: 600;
}

.question-content {
    margin-bottom: 1rem;
}

.answer-section {
    margin-bottom: 1rem;
}

.answer-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.answer-content {
    padding: 1rem;
    border-radius: 8px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

.student-answer .answer-content {
    border-left: 3px solid #f59e0b;
}

.correct-answer .answer-content {
    border-left: 3px solid #10b981;
}

.analysis-content {
    padding: 1rem;
    border-radius: 8px;
    background-color: rgba(74, 108, 247, 0.05);
    border: 1px solid rgba(74, 108, 247, 0.1);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .process-steps::before {
        left: 5%;
        right: 5%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
        text-align: center;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        margin-bottom: 3rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .try-container {
        padding: 2rem;
    }
    
    .examples-container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .nav-link {
        margin-left: 0;
        margin-right: 0.75rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .try-header h2 {
        font-size: 1.5rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .example-item {
        width: 120px;
    }
    
    .result-modal .modal-dialog {
        margin: 0.5rem;
    }
}

.pointer{
	cursor:pointer;
}

.topHead{
	position: relative;
}
.topHeadCaozuo{
	display:none;	
	position: absolute;
    top: 40px;
    left: 60px;
    width: 110px;
    font-size: 15px;
    border: 1px solid gray;
    text-align: center;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8); /* 白色光晕 */
  	border-radius: 5px; /* 圆角 */
  	z-index:2002;
  	background-color:#fff;
}

.topHeadCaozuoDiv{
	padding:8px;
	cursor:pointer;
}


 .step-card {
    border-radius: 12px;
    transition: all 0.3s ease;
    border-top: 4px solid #0d6efd;
    margin-bottom: 20px;
}
.step-card.completed {
    border-top-color: #198754;
}
.step-card.active {
    box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.1);
}
.step-icon {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
}
.progress-container {
    max-width: 800px;
    margin: 40px auto;
}
.btn-simulate {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
}
.pulse {
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.mt-2-loadding{
	margin:0px auto;
}
