* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 25px auto;
  position: relative;
  color: #333;
}

.container *{
  box-sizing: border-box;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 30px;
  width: 100%;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

header p{
  opacity: 0.9;
  font-size: 1.1rem;
}

.container h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
    color: #2c3e50;
    font-weight: 700;
}

/* 主内容样式 */
.main-content {
    margin-bottom: 30px;
}

.tool-panel {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.input-section h2,
.control-section h2 {
	text-align: left;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.input-options {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.audio-info {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
	margin-bottom: 25px;
}

/* 按钮样式 */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #7f8c8d;
    box-shadow: 0 4px 8px rgba(149, 165, 166, 0.3);
}

.btn-success {
    background-color: #2ecc71;
    color: white;
}

.btn-success:hover:not(:disabled) {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.3);
}

.btn-warning {
    background-color: #f39c12;
    color: white;
}

.btn-warning:hover:not(:disabled) {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(243, 156, 18, 0.3);
}

.btn-info {
    background-color: #1abc9c;
    color: white;
}

.btn-info:hover:not(:disabled) {
    background-color: #16a085;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 188, 156, 0.3);
}

.btn-download {
    background-color: #9b59b6;
    color: white;
}

.btn-download:hover:not(:disabled) {
    background-color: #8e44ad;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(155, 89, 182, 0.3);
}

/* 文件上传样式 */
.file-upload {
    position: relative;
    display: inline-block;
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* 控制按钮容器 */
.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* 可视化区域样式已移除 */

/* 功能特点部分 */
.features {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-item {
    text-align: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
}

.feature-item p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* 灵感部分 */
.inspiration {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.inspiration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.inspiration-card {
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    border-radius: 12px;
    border-left: 5px solid #3498db;
}

.inspiration-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.inspiration-card p {
    color: #34495e;
    font-size: 1rem;
    line-height: 1.7;
}

/* 使用说明部分 */
.instructions {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.instructions-content h3 {
    font-size: 1.2rem;
    margin: 25px 0 15px 0;
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
}

.instructions-content p {
    margin-bottom: 12px;
    color: #34495e;
    font-size: 1rem;
    line-height: 1.7;
}

/* 页脚样式 */
.footer {
    text-align: center;
    color: #8a8a8a;
}
.footer p {
    margin-bottom: 10px;
    font-size: 1rem;
}
.footer p:last-child {
    margin-bottom: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Notice 提示框样式 */
.notice {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #34495e;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    animation: slideUp 0.3s ease-out;
}

.notice.show {
    display: block;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.close-notice {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.close-notice:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 动画效果 */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}