/* 全局样式 */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

#app-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1125 / 2436;
    background-image: url('assets/background.gif');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.content-wrapper {
    width: 90%;
    max-width: 400px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-box {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 15px;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- 修改：使用背景图片 --- */
.main-content-box {
    background-image: url('assets/text_background.png'); /* 替换为您的背景图 */
    background-size: 100% 100%; /* 拉伸以填充 */
    background-repeat: no-repeat;
    padding: 35px 25px; /* 调整内边距以适应您的图片 */
    margin-bottom: 25px;
    border-radius: 15px; /* 可选：如果您的图片有圆角 */
}

.main-content-box .main-title {
    font-size: 24px;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 15px;
}

.main-content-box .sub-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* 输入区域和按钮样式 */
.input-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

input[type="text"] {
    width: 90%;
    padding: 15px;
    border: 2px solid #ccc;
    border-radius: 30px;
    font-size: 16px;
    text-align: center;
}

button {
    width: 95%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s;
}

button:hover {
    transform: translateY(-2px);
}

/* --- 修改：分析进度样式 (无进度条) --- */
.analysis-box {
    width: 100%;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
}

.analysis-box h2 {
    color: #333;
    margin-bottom: 30px;
}

.progress-item {
    text-align: left;
    margin-bottom: 20px;
    font-size: 20px; /* 放大字体 */
    color: #555;
    font-weight: bold;
}

.checkmark {
    color: green;
    display: inline; /* 让它可以和文字在同一行 */
    opacity: 0; /* 默认透明 */
    transition: opacity 0.5s; /* 添加渐显动画 */
    margin-left: 10px;
}

/* 页脚样式 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    z-index: 1000;
}

.footer a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}