* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}
#app { max-width: 1200px; width: 100%; padding: 20px; }

.glass {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}
.glass:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

.header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.logo { font-weight: 700; font-size: 1.6rem; background: linear-gradient(135deg, #6C5CE7, #a29bfe); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
nav a { margin-left: 16px; text-decoration: none; color: #333; font-weight: 500; }
nav a.active { color: #6C5CE7; }

.hero { text-align: center; padding: 40px 0 20px; }
.hero h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 12px; }
.hero p { font-size: 1.2rem; color: #555; }

.input-card textarea { width: 100%; padding: 16px; border: none; border-radius: 20px; background: rgba(255,255,255,0.6); font-size: 1rem; resize: vertical; transition: 0.2s; }
.input-card textarea:focus { outline: 2px solid #6C5CE7; }
.actions { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; align-items: center; }
.actions input { flex: 1; padding: 12px 20px; border: none; border-radius: 40px; background: rgba(255,255,255,0.6); min-width: 120px; }
.actions input:focus { outline: 2px solid #6C5CE7; }
.actions button { padding: 12px 40px; background: #6C5CE7; color: white; border: none; border-radius: 40px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.actions button:hover { background: #5a4bd1; }
.actions button:disabled { opacity: 0.6; cursor: not-allowed; }
.example-hints { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; }
.example-hints span { background: rgba(108,92,231,0.08); padding: 6px 16px; border-radius: 30px; font-size: 0.9rem; cursor: pointer; transition: 0.2s; }
.example-hints span:hover { background: rgba(108,92,231,0.2); }

.progress-card .status-label { font-size: 1.2rem; font-weight: 600; margin: 12px 0; }
.steps { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.steps span { background: rgba(0,0,0,0.04); padding: 6px 16px; border-radius: 30px; font-size: 0.9rem; opacity: 0.5; transition: 0.3s; }
.steps span.active { background: #6C5CE7; color: white; opacity: 1; }
.btn-download { display: inline-block; padding: 12px 32px; background: #00b894; color: white; border-radius: 40px; text-decoration: none; font-weight: 600; margin-top: 12px; }
.error { color: #e17055; margin-top: 12px; }

.footer { text-align: center; padding: 20px 0; color: #888; font-size: 0.9rem; }

/* 移动端适配 */
@media (max-width: 640px) {
    .hero h1 { font-size: 2rem; }
    .actions { flex-direction: column; }
    .actions input, .actions button { width: 100%; }
    .header { flex-direction: column; align-items: flex-start; }
    nav a { margin-left: 0; margin-right: 16px; }
}