* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

/* 面包屑导航样式已移至 common.css */

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    margin-bottom: 25px;
    color: white;
}

/* Logo容器 */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

/* 原创鸽子Logo */
.pigeon-logo {
    width: 80px;
    height: 80px;
    position: relative;
    display: inline-block;
}

.pigeon-body {
    width: 45px;
    height: 30px;
    background: #667eea;
    border-radius: 50%;
    position: absolute;
    top: 25px;
    left: 17.5px;
    border: 1px solid #5a6fd8;
}

.pigeon-head {
    width: 25px;
    height: 25px;
    background: #667eea;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 27.5px;
    border: 1px solid #5a6fd8;
}

.pigeon-beak {
    width: 7.5px;
    height: 5px;
    background: #ff6b6b;
    border-radius: 50% 0 50% 0;
    position: absolute;
    top: 15px;
    left: 20px;
}

.pigeon-eye {
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 12.5px;
    left: 32.5px;
}

.pigeon-eye::after {
    content: '';
    width: 2.5px;
    height: 2.5px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    top: 1.25px;
    left: 1.25px;
}

.pigeon-wing-left {
    width: 25px;
    height: 18.75px;
    background: #5a6fd8;
    border-radius: 50% 0 50% 0;
    position: absolute;
    top: 18.75px;
    left: 5px;
    transform: rotate(-20deg);
}

.pigeon-wing-right {
    width: 25px;
    height: 18.75px;
    background: #5a6fd8;
    border-radius: 0 50% 0 50%;
    position: absolute;
    top: 18.75px;
    right: 5px;
    transform: rotate(20deg);
}

.pigeon-tail {
    width: 20px;
    height: 15px;
    background: #5a6fd8;
    border-radius: 0 0 50% 50%;
    position: absolute;
    bottom: 10px;
    left: 30px;
}

.pigeon-leg-left {
    width: 2.5px;
    height: 10px;
    background: #ff6b6b;
    position: absolute;
    bottom: 0;
    left: 35px;
    border-radius: 1.25px;
}

.pigeon-leg-right {
    width: 2.5px;
    height: 10px;
    background: #ff6b6b;
    position: absolute;
    bottom: 0;
    right: 35px;
    border-radius: 1.25px;
}

.star {
    position: absolute;
    color: #ffd93d;
    font-size: 10px;
    opacity: 0.8;
}

.star-1 {
    top: 6px;
    right: 12px;
}

.star-2 {
    top: 12px;
    left: 6px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-area {
    background: white;
    border: 3px dashed #ddd;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    width: 100%;
    max-width: 600px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.upload-area.dragover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: scale(1.02);
}

.upload-content {
    pointer-events: none;
}

.upload-content .select-btn {
    pointer-events: auto !important;
}

.upload-area {
    cursor: pointer;
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.upload-area h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.upload-area p {
    color: #666;
    margin: 10px 0;
}

.select-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.select-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.file-info {
    font-size: 0.9rem;
    color: #999;
    margin-top: 20px;
}

.file-info-panel, .converting-panel, .result-panel {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-details {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.file-icon {
    font-size: 3rem;
    margin-right: 20px;
}

.file-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #333;
}

.file-info p {
    color: #666;
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.btn-success {
    background: #27ae60;
    color: white;
}

.btn-success:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

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

.btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(149, 165, 166, 0.4);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.converting-panel h3, .result-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.converting-panel p, .result-panel p {
    color: #666;
    margin-bottom: 20px;
}

footer {
    text-align: center;
    margin-top: 40px;
    color: white;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .pigeon-logo {
        width: 60px;
        height: 60px;
    }
    
    .pigeon-body {
        width: 33.75px;
        height: 22.5px;
        top: 18.75px;
        left: 13.125px;
    }
    
    .pigeon-head {
        width: 18.75px;
        height: 18.75px;
        top: 7.5px;
        left: 20.625px;
    }
    
    .pigeon-beak {
        width: 5.625px;
        height: 3.75px;
        top: 11.25px;
        left: 15px;
    }
    
    .pigeon-eye {
        width: 3.75px;
        height: 3.75px;
        top: 9.375px;
        left: 24.375px;
    }
    
    .pigeon-eye::after {
        width: 1.875px;
        height: 1.875px;
        top: 0.9375px;
        left: 0.9375px;
    }
    
    .pigeon-wing-left {
        width: 18.75px;
        height: 14.0625px;
        top: 14.0625px;
        left: 3.75px;
    }
    
    .pigeon-wing-right {
        width: 18.75px;
        height: 14.0625px;
        top: 14.0625px;
        right: 3.75px;
    }
    
    .pigeon-tail {
        width: 15px;
        height: 11.25px;
        bottom: 7.5px;
        left: 22.5px;
    }
    
    .pigeon-leg-left {
        width: 1.875px;
        height: 7.5px;
        left: 26.25px;
    }
    
    .pigeon-leg-right {
        width: 1.875px;
        height: 7.5px;
        right: 26.25px;
    }
    
    .star {
        font-size: 7.5px;
    }
    
    .star-1 {
        top: 4.5px;
        right: 9px;
    }
    
    .star-2 {
        top: 9px;
        left: 4.5px;
    }
    
    .upload-area, .file-info-panel, .converting-panel, .result-panel {
        padding: 30px 20px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* SEO优化样式 */
.main-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.highlight-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.features-section {
    background: white;
    margin: 40px 0;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.features-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

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

.feature-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-content {
    text-align: center;
}

.footer-description {
    margin-top: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.footer-links {
    margin: 15px 0;
    font-size: 0.9rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
}

.link-separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 10px;
}

.icp-info {
    margin-top: 15px;
    font-size: 0.85rem;
}

.icp-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-link:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .feature-highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .features-section {
        margin: 20px 0;
        padding: 30px 15px;
    }
    
    .features-section h2 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
}

/* FAQ样式 */
.faq-section {
    background: white;
    margin: 40px 0;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.faq-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 转换效果说明样式 */
.conversion-quality-section {
    background: white;
    margin: 40px 0;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.conversion-quality-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.quality-item {
    text-align: center;
    padding: 25px;
    border-radius: 12px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.quality-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.quality-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.quality-item h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.quality-item p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 使用场景样式 */
.use-cases-section {
    background: white;
    margin: 40px 0;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.use-cases-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

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

.case-item h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.case-item p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* FAQ响应式 */
@media (max-width: 768px) {
    .faq-section {
        margin: 20px 0;
        padding: 30px 15px;
    }
    
    .faq-section h2 {
        font-size: 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
    
    /* 转换效果说明响应式 */
    .conversion-quality-section {
        margin: 20px 0;
        padding: 30px 15px;
    }
    
    .conversion-quality-section h2 {
        font-size: 1.5rem;
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quality-item {
        padding: 20px;
    }
    
    .quality-icon {
        font-size: 2.5rem;
    }
    
    /* 使用场景响应式 */
    .use-cases-section {
        margin: 20px 0;
        padding: 30px 15px;
    }
    
    .use-cases-section h2 {
        font-size: 1.5rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-item {
        padding: 20px;
    }
    
    .case-icon {
        font-size: 2rem;
    }
}
