/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    background-image: radial-gradient(ellipse at center, rgba(255, 149, 0, 0.15) 0%, rgba(26, 26, 26, 0) 70%);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* 全局背景暗纹伪元素 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 24 24' fill='none' stroke='%23ff9500' stroke-width='0.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='6'%3E%3C/circle%3E%3Cline x1='12' y1='1' x2='12' y2='3'%3E%3C/line%3E%3Cline x1='12' y1='21' x2='12' y2='23'%3E%3C/line%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'%3E%3C/line%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'%3E%3C/line%3E%3Cline x1='1' y1='12' x2='3' y2='12'%3E%3C/line%3E%3Cline x1='21' y1='12' x2='23' y2='12'%3E%3C/line%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'%3E%3C/line%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'%3E%3C/line%3E%3C/svg%3E"),
                      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 24 24' fill='none' stroke='%23ff9500' stroke-width='0.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z'%3E%3C/path%3E%3Cpath d='M16 8L2 22'%3E%3C/path%3E%3Cpath d='M17.5 15H9s-1.5-1.5 0-3c1.5-1.5 3 0 3 0h5.5z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: top -20px left -20px, bottom -30px right -30px;
    background-size: 150px, 200px;
    opacity: 0.08;
    filter: blur(2px);
}

/* 针对所有具有浅色背景的卡片/容器，重置其文字颜色为深色 */
.feature-item, .trust-badges, .upload-area, .preview-container, .compression-controls, .convert-form, .original-list-preview, .file-list-table, .feature-card-large, .features .feature-card, .advantages, .about-section, .about-card {
    color: #1d1d1f;
}

/* 主容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    margin-top: 80px;
    -webkit-backdrop-filter: blur(10px);
}

/* 标题区域样式 */
.header {
    text-align: center;
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #ff9500, #ffb84d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* 特性列表样式 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    font-size: 0.95rem;
    color: #1d1d1f;
}

/* 信任标识样式 */
.trust-badges {
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.trust-text {
    color: #1d1d1f;
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

/* 使用提示样式 */
.tips-section {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tips-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #a0a0a0;
    font-size: 1.5rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tip-item:hover {
    transform: translateY(-2px);
}

.tip-item h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.tip-item p {
    color: #d1d1d1;
    font-size: 0.9rem;
}

/* 上传区域样式 */
.upload-area,
.upload-area.avatar-upload-area,
.upload-area.comic-upload-area,
.upload-area.video-upload-area,
.upload-area.logo-upload-area,
.upload-area.ai-upload-area {
    max-width: 700px;
    min-width: 320px;
    width: 100%;
    margin: 0 auto 2rem auto;
    border-radius: 24px;
    background: white;
    transition: border-color 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 800px) {
    .upload-area,
    .upload-area.avatar-upload-area,
    .upload-area.comic-upload-area,
    .upload-area.video-upload-area,
    .upload-area.logo-upload-area,
    .upload-area.ai-upload-area {
        max-width: 98vw;
        min-width: 0;
        padding: 1.5rem 0.5rem;
    }
}

.upload-area:hover {
    border-color: #007AFF;
    transform: translateY(-2px);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.upload-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.upload-hint {
    color: #86868b;
    font-size: 0.9rem;
}

.file-input {
    display: none;
}

/* 预览区域样式 */
.preview-container {
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.preview-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.preview-box {
    text-align: center;
}

.preview-box h3 {
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.image-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f5f5f7;
    margin-bottom: 1rem;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.file-info {
    color: #86868b;
    font-size: 0.9rem;
}

/* 压缩控制区域样式 */
.compression-controls {
    background-color: #f5f5f7;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.quality-control {
    margin-bottom: 1.5rem;
}

.slider {
    width: 100%;
    max-width: 400px;
    margin: 1rem 0;
    -webkit-appearance: none;
    height: 4px;
    background: #444;
    border-radius: 2px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #ff9500;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.download-btn {
    background: linear-gradient(90deg, #ff9500, #ffb84d);
    color: #1d1d1f;
    font-weight: bold;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 149, 0, 0.2);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .preview-section {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 1rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }
}

/* AI文生图输入区域美化 */
.ai-generate-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem 0 2rem 0;
}

.ai-form-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.ai-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 350px;
    max-width: 600px;
    width: 100%;
}

.ai-label {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.ai-input {
    width: 100%;
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    outline: none;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
    transition: border-color 0.3s, background-color 0.3s;
    box-sizing: border-box;
}

.ai-input::placeholder {
    color: #a0a0a0;
}

.ai-input:focus {
    border-color: #ff9500;
    background: rgba(0, 0, 0, 0.3);
}

.ai-generate-btn {
    background: linear-gradient(90deg, #ff9500, #ffb84d);
    color: #1d1d1f;
    font-weight: bold;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 20px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 149, 0, 0.2);
}

.ai-generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.ai-loading {
    color: #007AFF;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    text-align: center;
}

.ai-error {
    color: #ff3b30;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    text-align: center;
}

.ai-preview {
    margin-top: 2rem;
    text-align: center;
}

.ai-image-container {
    margin: 1.5rem 0;
    background: #f5f5f7;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-image-container img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@media (max-width: 600px) {
    .ai-form {
        min-width: 0;
        max-width: 100%;
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    }
    .ai-form-wrapper {
        padding: 0 0.5rem;
    }
}

/* 图片格式转换功能美化（主色调绿色） */
.convert-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem 0 2rem 0;
}

.convert-form-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.convert-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 350px;
    max-width: 600px;
    width: 100%;
}

.convert-label {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.convert-input {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 18px;
    outline: none;
    margin-bottom: 1.5rem;
    background: #f5f5f7;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.convert-input:focus {
    border-color: #34C759;
    background: #fff;
}

.convert-select-group {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.convert-select {
    font-size: 1.1rem;
    padding: 0.7rem 1.2rem;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s;
}

.convert-select:focus {
    border-color: #ff9500;
    background: rgba(0, 0, 0, 0.3);
}

.convert-btn {
    background: linear-gradient(90deg, #ff9500, #ffb84d);
    color: #1d1d1f;
    font-weight: bold;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 20px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 149, 0, 0.2);
}

.convert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.convert-preview {
    margin-top: 2rem;
    text-align: center;
}

.convert-image-container {
    margin: 1.5rem 0;
    background: #f5f5f7;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(52,199,89,0.08);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.convert-image-container img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(52,199,89,0.10);
}

@media (max-width: 600px) {
    .convert-form {
        min-width: 0;
        max-width: 100%;
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    }
    .convert-form-wrapper {
        padding: 0 0.5rem;
    }
}

/* 上传文件列表表格样式（优化居中加宽，提升最大宽度） */
.original-list-preview {
    margin: 2.5rem auto 2.5rem auto;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.file-list-table {
    width: 100%;
    max-width: 1000px;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    margin: 0 auto;
}
.file-list-table th, .file-list-table td {
    padding: 1.1rem 0.5rem;
    text-align: center;
    font-size: 1.05rem;
}
.file-list-table th {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 600;
}
.file-list-table tr:not(:last-child) td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.file-list-table td {
    color: #d1d1d1;
}
.file-list-table input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: #ff9500;
    border-radius: 6px;
}

@media (max-width: 1100px) {
    .original-list-preview, .file-list-table {
        max-width: 98vw;
    }
    .file-list-table th, .file-list-table td {
        font-size: 0.95rem;
        padding: 0.7rem 0.2rem;
    }
}

/* 苹果风格导航栏 */
.apple-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-bottom: 1.5px solid #e0e0e0;
    height: 64px;
    display: flex;
    align-items: center;
}
.apple-navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}
.apple-navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    text-decoration: none;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #007AFF, #34C759);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.apple-navbar-logo img {
    height: 28px;
}
.apple-navbar-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
}
.apple-navbar-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.2s;
    white-space: nowrap;
}
.apple-navbar-link:hover {
    background: linear-gradient(90deg, #e0fbe6 0%, #e6f0ff 100%);
    color: #007AFF;
}
.apple-navbar-link.active {
    background: linear-gradient(90deg, #007AFF 0%, #34C759 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(52,199,89,0.10);
}
@media (max-width: 800px) {
    .apple-navbar-container {
        padding: 0 12px;
    }
    .apple-navbar-links {
        gap: 0.5rem;
    }
    .apple-navbar-link {
        font-size: 0.98rem;
        padding: 0.4rem 0.7rem;
    }
}

/* AI动漫头像上传区域（紫色） */
.upload-area.avatar-upload-area {
    border: 2.5px dashed #AF52DE;
    box-shadow: 0 6px 24px rgba(175,82,222,0.10);
}
.upload-area.avatar-upload-area:hover {
    border-color: #B983FF;
    box-shadow: 0 8px 32px rgba(175,82,222,0.16);
}
.upload-area.avatar-upload-area .upload-icon {
    filter: none;
}

/* 图片转漫画上传区域（橙色） */
.upload-area.comic-upload-area {
    border: 2.5px dashed #FF9500;
    box-shadow: 0 6px 24px rgba(255,149,0,0.10);
}
.upload-area.comic-upload-area:hover {
    border-color: #FFD180;
    box-shadow: 0 8px 32px rgba(255,149,0,0.16);
}

/* 视频转实况上传区域（红色） */
.upload-area.video-upload-area {
    border: 2.5px dashed #FF3B30;
    box-shadow: 0 6px 24px rgba(255,59,48,0.10);
}
.upload-area.video-upload-area:hover {
    border-color: #FF7F7F;
    box-shadow: 0 8px 32px rgba(255,59,48,0.16);
}

/* AI生成Logo上传区域（黄色） */
.upload-area.logo-upload-area {
    border: 2.5px dashed #FFD60A;
    box-shadow: 0 6px 24px rgba(255,214,10,0.10);
}
.upload-area.logo-upload-area:hover {
    border-color: #FFF59D;
    box-shadow: 0 8px 32px rgba(255,214,10,0.16);
}

/* AI文生图上传区域（蓝紫色） */
.upload-area.ai-upload-area {
    border: 2.5px dashed #5856D6;
    box-shadow: 0 6px 24px rgba(88,86,214,0.10);
}
.upload-area.ai-upload-area:hover {
    border-color: #A390F7;
    box-shadow: 0 8px 32px rgba(88,86,214,0.16);
}

/* 图片压缩上传区域（蓝色虚线） */
.upload-area.compress-upload-area {
    border: 2.5px dashed #ff9500;
    box-shadow: 0 6px 24px rgba(255, 149, 0, 0.1);
    background: rgba(255, 255, 255, 0.05);
}
.upload-area.compress-upload-area:hover {
    border-color: #ffb84d;
    box-shadow: 0 8px 32px rgba(255, 149, 0, 0.16);
}

/* 图片格式转换上传区域（绿色虚线） */
.upload-area.convert-upload-area {
    border: 2.5px dashed #ff9500;
    box-shadow: 0 6px 24px rgba(255, 149, 0, 0.1);
    background: rgba(255, 255, 255, 0.05);
}
.upload-area.convert-upload-area:hover {
    border-color: #ffb84d;
    box-shadow: 0 8px 32px rgba(255, 149, 0, 0.16);
}

/* 视频转实况参数区苹果风格样式 */
.video-param-area {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-end;
    margin: 2.5rem 0 1.5rem 0;
}
.param-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 260px;
    margin-bottom: 0.5rem;
}
.param-label {
    font-size: 1.08rem;
    color: #1d1d1f;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.param-slider {
    width: 220px;
    accent-color: #007AFF;
    margin-bottom: 0.2rem;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #007AFF 0%, #5856D6 100%);
    box-shadow: 0 2px 8px rgba(0,122,255,0.08);
}
.range-slider-wrapper {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
}
.range-time-info {
    font-size: 0.98rem;
    color: #86868b;
    margin-top: 0.2rem;
}
@media (max-width: 700px) {
    .video-param-area {
        flex-direction: column;
        gap: 1.2rem;
        align-items: stretch;
    }
    .param-slider {
        width: 98vw;
        min-width: 120px;
    }
}

/* 统一的章节标题样式 */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* New Hero Section Styling */
.hero-new {
    position: relative;
    padding: 100px 2rem;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: #E0E0E0;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

#hero-prompt-input {
    flex-grow: 1;
    border: none;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    outline: none;
}

#hero-generate-btn {
    border: none;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    color: white;
    padding: 0 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

#hero-generate-btn:hover {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

/* --- 核心AI功能区 --- */
.features-highlight {
    margin-bottom: 4rem;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card-large {
    background: white;
    padding: 0;
    border-radius: 20px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2);
}

.feature-card-large .card-image-container {
    width: 100%;
    height: 200px;
}

.feature-card-large .card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card-large .card-content {
    padding: 1.5rem;
}

.feature-card-large .feature-icon {
    display: none;
}

.feature-card-large h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.feature-card-large p {
    color: #4b5563;
    line-height: 1.6;
}

/* 其他工具区域的卡片，调整为更简洁 */
.features .feature-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.features .feature-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.features .feature-card .feature-icon {
    font-size: 2.5rem;
}
.features .feature-card h2 {
    font-size: 1.3rem;
    margin: 1rem 0 0.5rem;
}
.features .feature-card p {
     margin-bottom: 1.5rem;
     color: #4b5563;
     flex-grow: 1;
}
.features .feature-card .feature-btn {
    padding: 0.8rem 1.5rem;
}


/* 优势区域样式调整 */
.advantages {
    padding: 4rem 1rem;
    background-color: #ffffff;
    border-radius: 30px;
    margin-top: 4rem;
}

.advantages-grid {
    grid-template-columns: repeat(4, 1fr);
}

.advantage-item {
    text-align: center;
    padding: 1rem;
}
.advantage-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* --- 响应式设计 --- */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .highlight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 1.8rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-cta-form {
        flex-direction: column;
        border-radius: 15px;
    }
    #hero-prompt-input {
       border-bottom: 1px solid #e5e7eb;
       border-radius: 15px 15px 0 0;
    }
     #hero-generate-btn {
        border-radius: 0 0 15px 15px;
        padding: 1rem;
    }
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* "关于我们" 页面样式 */
.about-section {
    max-width: 800px;
    margin: 2rem auto;
}

.about-card {
    background: rgba(255, 255, 255, 0.05); /* 半透明的卡片背景 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-card h2 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 149, 0, 0.5);
    display: inline-block;
}

.about-card p {
    color: #d1d1d1;
    line-height: 1.8;
}

.about-card.call-to-action {
    text-align: center;
    background: linear-gradient(45deg, rgba(255, 149, 0, 0.2), rgba(255, 149, 0, 0.1));
}

.about-card.call-to-action .feature-btn {
    margin-top: 1rem;
    background: linear-gradient(90deg, #ff9500, #ffb84d);
    color: #1d1d1f;
    font-weight: bold;
}

/* 移除旧的 .hero 样式，因为它已被 .hero-new 替代 */
.hero { display: none; }

/* --- New Example Gallery Section --- */
.example-gallery {
    padding: 4rem 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.prompt-overlay {
    display: none !important;
}

.gallery-item:hover .prompt-overlay {
    display: none !important;
}

.prompt-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* --- CoreAI功能区 (Redesigned Cards) --- */
.features-highlight {
    margin-bottom: 4rem;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card-large {
    background: white;
    padding: 0;
    border-radius: 20px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2);
}

.feature-card-large .card-image-container {
    width: 100%;
    height: 200px;
}

.feature-card-large .card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card-large .card-content {
    padding: 1.5rem;
}

.feature-card-large .feature-icon {
    display: none;
}

.feature-card-large h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.feature-card-large p {
    color: #4b5563;
    line-height: 1.6;
}

.footer {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: #b0b0b0;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff9500;
}

.copyright {
    text-align: center;
    color: #a0a0a0;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .footer {
        padding: 30px 15px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-section a {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .copyright {
        font-size: 0.85rem;
        padding-top: 15px;
    }
}

/* 小屏幕手机适配优化 */
@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }

    .feature-card-large .card-image-container {
        height: 120px;
    }

    .feature-card-large h3 {
        font-size: 15px;
    }

    .feature-card-large p {
        font-size: 12px;
    }

    .features .feature-card {
        padding: 12px 10px;
    }

    .features .feature-card .feature-icon {
        font-size: 24px;
    }

    .features .feature-card h2 {
        font-size: 15px;
    }

    .features .feature-card p {
        font-size: 12px;
    }

    .advantage-item h3 {
        font-size: 14px;
    }

    .advantage-item p {
        font-size: 12px;
    }
}

/* 父亲节特别区域样式 */
.fathers-day-section {
    padding: 40px 20px;
    background: linear-gradient(45deg, rgba(255, 149, 0, 0.1), rgba(255, 149, 0, 0.05));
    border-radius: 20px;
    margin: 30px auto;
    max-width: 1200px;
}

.fathers-day-intro {
    text-align: center;
    color: #e0e0e0;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.fathers-day-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.fathers-day-card {
    background: rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(255, 149, 0, 0.10);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1.5px solid rgba(255, 149, 0, 0.10);
}
.fathers-day-card:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 8px 32px rgba(255, 149, 0, 0.18);
}
.fathers-day-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 149, 0, 0.08);
}

.fathers-day-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 15px 15px 8px;
}

.fathers-day-card p {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0 15px 15px;
    line-height: 1.4;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .fathers-day-section {
        padding: 30px 15px;
        margin: 20px 10px;
    }

    .fathers-day-intro {
        font-size: 0.95rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .fathers-day-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .fathers-day-card img {
        height: 180px;
    }

    .fathers-day-card h3 {
        font-size: 1.1rem;
        margin: 12px 12px 6px;
    }

    .fathers-day-card p {
        font-size: 0.85rem;
        margin: 0 12px 12px;
    }
}

/* Hero区主按钮渐变 */
.main-gradient-btn {
    background: linear-gradient(90deg, #ff9500, #ffb84d);
    color: #1d1d1f;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 1rem 2.5rem;
    box-shadow: 0 2px 8px rgba(255, 149, 0, 0.18);
    transition: all 0.3s;
}
.main-gradient-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px rgba(255, 149, 0, 0.28);
}

/* 分隔线 */
.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff9500 0%, #fff0 100%);
    opacity: 0.18;
    margin: 48px 0 32px 0;
    border-radius: 2px;
}

/* Gallery区图片比例和间距优化 */
.gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.2rem;
}
.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 14px;
}

/* 移动端适配优化 */
@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .main-gradient-btn {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
    .fathers-day-section {
        padding: 18px 6px;
    }
    .fathers-day-card img {
        height: 120px;
    }
    .fathers-day-card h3 {
        font-size: 1rem;
    }
    .fathers-day-card p {
        font-size: 0.85rem;
    }
    .section-divider {
        margin: 28px 0 18px 0;
    }
    .gallery-grid {
        gap: 0.7rem;
    }
    .gallery-item {
        border-radius: 10px;
    }
} 