/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.nav-logo i {
    margin-right: 10px;
    color: #00f5ff;
    font-size: 1.8rem;
}

.logo-img {
    max-width: 30px;
    max-height: 30px;
    width: auto;
    height: auto;
    margin-right: 10px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 移动端菜单操作区域 - 桌面端隐藏 */
.nav-menu-actions {
    display: none;
}

/* 任务队列容器 */
.task-queue-container {
    position: relative;
}

/* 任务队列按钮 */
.task-queue-btn {
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 245, 255, 0.3);
    min-width: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.task-queue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.4);
}

.task-queue-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 245, 255, 0.3);
}

.task-queue-btn i {
    font-size: 1rem;
}

.task-count {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 任务队列面板 */
.task-queue-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.task-queue-container:hover .task-queue-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 任务队列头部 */
.task-queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.task-queue-header h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.task-queue-count {
    color: #00f5ff;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 任务列表 */
.task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 300px;
    /* 限制最大高度，大约能显示4个任务项 */
    overflow-y: auto;
    /* 添加垂直滚动条 */
    padding-right: 5px;
    /* 为滚动条留出空间 */
}

/* 自定义滚动条样式 */
.task-list::-webkit-scrollbar {
    width: 6px;
}

.task-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.task-list::-webkit-scrollbar-thumb {
    background: rgba(0, 245, 255, 0.5);
    border-radius: 3px;
}

.task-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 245, 255, 0.7);
}

/* 任务项 */
.task-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
}

.task-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 245, 255, 0.3);
}

/* 任务信息 */
.task-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.task-title {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

.task-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

.task-status.running {
    background: rgba(0, 245, 255, 0.2);
    color: #00f5ff;
    border: 1px solid rgba(0, 245, 255, 0.3);
}

.task-status.waiting {
    background: rgba(255, 255, 255, 0.1);
    color: #cccccc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.task-status.finished {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.task-status.failed {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* 任务进度条 */
.task-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.task-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00f5ff, #ff00ff);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* 语言切换容器 */
.lang-toggle-container {
    position: relative;
    display: inline-block;
}

/* 语言切换按钮 */
.lang-toggle-btn {
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 0 16px;
    height: 34px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 245, 255, 0.3);
    min-width: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
}

.lang-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.4);
}

.lang-toggle-btn:active,
.lang-toggle-btn:focus {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 245, 255, 0.3);
    outline: none;
}

.lang-toggle-btn i.fa-globe {
    font-size: 1.1rem;
}

.lang-toggle-btn .lang-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.lang-toggle-container.active .lang-toggle-btn .lang-arrow {
    transform: rotate(180deg);
}

/* 语言下拉菜单 */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lang-toggle-container.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 语言选项 */
.lang-option {
    padding: 10px 16px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-option:hover {
    background: rgba(0, 245, 255, 0.15);
    color: #00f5ff;
}

.lang-option.active {
    background: rgba(0, 245, 255, 0.2);
    color: #00f5ff;
    position: relative;
}

.lang-option.active::before {
    content: '✓';
    position: absolute;
    right: 16px;
    color: #00f5ff;
    font-size: 0.8rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00f5ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00f5ff, #ff00ff);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #00f5ff;
}

.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin: -8px;
    touch-action: manipulation;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #00f5ff, transparent);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #ff00ff, transparent);
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #00ff88, transparent);
    bottom: 10%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #00f5ff, #ff00ff, #00ff88);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.4);
}

/* 全宽按钮样式 */
.btn-full-width {
    width: 100%;
    justify-content: center;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 扩写按钮样式 */
.btn-expand {
    padding: 8px 16px;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #ffffff;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    margin-left: 10px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 80px;
    justify-content: center;
}

/* .btn-expand::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
} */

.btn-expand:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-expand:hover::before {
    left: 100%;
}

.btn-expand i {
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

.btn-expand:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.btn-expand:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3), 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-expand:focus-visible {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* 扩写按钮加载状态 */
.btn-expand.loading {
    background: linear-gradient(135deg, #666, #999);
    cursor: not-allowed;
    animation: none;
}

.btn-expand.loading i {
    animation: spin 1s linear infinite;
}

/* 扩写按钮禁用状态 */
.btn-expand:disabled {
    background: linear-gradient(135deg, #555, #777);
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-expand:disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-expand:disabled i {
    animation: none;
}

/* 扩写按钮工具提示 */
.btn-expand[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-expand[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    margin-bottom: 3px;
    z-index: 1000;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Feature Sections */
.feature-section {
    padding: 100px 0;
    position: relative;
}

.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.03), rgba(255, 0, 255, 0.03));
}

.showcase-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.05), rgba(255, 0, 255, 0.05));
}

.alt-bg {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.05), rgba(255, 0, 255, 0.05));
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title i {
    color: #00f5ff;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #cccccc;
}

/* Main Features Grid */
.main-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.main-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.main-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00f5ff, #ff00ff, #00ff88);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.main-feature-card:hover::before {
    transform: scaleX(1);
}

.main-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 245, 255, 0.25);
    border-color: rgba(0, 245, 255, 0.4);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    flex-shrink: 0;
}

.card-title-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.card-title-section p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.4;
}

.card-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateX(4px);
}

.feature-item i {
    color: #00f5ff;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.feature-item span {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

.card-arrow {
    position: absolute;
    top: 40px;
    right: 40px;
    color: #00f5ff;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.main-feature-card:hover .card-arrow {
    transform: translateX(8px);
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #cccccc;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.category-tab:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: rgba(0, 245, 255, 0.3);
    color: #00f5ff;
    transform: translateY(-2px);
}

.category-tab.active {
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.3);
}

.category-tab i {
    font-size: 1.1rem;
}

/* Features Grid (保留原有样式用于其他页面) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00f5ff, #ff00ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.2);
    border-color: rgba(0, 245, 255, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #ffffff;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.card-content p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.5;
    flex: 1;
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    background: rgba(0, 245, 255, 0.1);
    color: #00f5ff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.card-arrow {
    align-self: flex-end;
    color: #00f5ff;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .card-arrow {
    transform: translateX(5px);
}

/* Showcase Actions */
.showcase-actions {
    text-align: center;
    margin-top: 40px;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(255, 0, 255, 0.1));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.page-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    flex-shrink: 0;
}

.page-title-section {
    flex: 1;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    line-height: 1.5;
}

/* Pro Tips Section */
.pro-tips-section {
    padding: 60px 0;
    background: rgba(0, 245, 255, 0.02);
}

/* Filter Section */
.filter-section {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-tab:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: rgba(0, 245, 255, 0.3);
    color: #00f5ff;
}

.filter-tab.active {
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    border-color: transparent;
    color: #ffffff;
}

/* Showcase Section */
.showcase-section {
    padding: 60px 0 100px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.showcase-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.2);
}

.showcase-image {
    height: 200px;
    background: transparent;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

/* 图片和视频自动缩放样式 */
.showcase-image img,
.showcase-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.showcase-image img:hover,
.showcase-image video:hover {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.placeholder-showcase {
    text-align: center;
}

.placeholder-showcase i {
    font-size: 3rem;
    color: #00f5ff;
}

.showcase-info {
    padding: 20px;
}

.showcase-info h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #ffffff;
}

.showcase-info p {
    color: #cccccc;
    margin-bottom: 15px;
    line-height: 1.5;
}

.showcase-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.showcase-tag {
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.showcase-date {
    color: #888888;
    font-size: 0.8rem;
}

/* Hide/show items based on filter */
.showcase-item.hidden {
    display: none;
}

/* Image Editor Interface */
.editor-interface {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.image-input {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.image-output {
    display: flex;
    flex-direction: column;
}

.upload-area {
    border: 2px dashed rgba(0, 245, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-area:hover {
    border-color: #00f5ff;
    background: rgba(0, 245, 255, 0.05);
}

.upload-content i {
    font-size: 3rem;
    color: #00f5ff;
    margin-bottom: 20px;
}

.form-hint {
    font-size: 0.9em;
    color: #888;
    margin-top: 8px;
    font-style: italic;
}

.upload-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.uploaded-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 15px;
    object-fit: cover;
}

.result-image {
    max-width: 100%;
    max-height: 700px;
    border-radius: 15px;
    object-fit: cover;
}

.prompt-input-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.prompt-input-container textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    color: #ffffff;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
}

.prompt-input-container textarea:focus {
    outline: none;
    border-color: #00f5ff;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

/* 扩写按钮样式 */



.pro-tips {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border-left: 4px solid #00f5ff;
}

.pro-tips h4 {
    margin-bottom: 15px;
    color: #00f5ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pro-tips ul {
    list-style: none;
}

.pro-tips li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.pro-tips li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: #00f5ff;
}


.image-output h4 {
    margin-bottom: 15px;
    color: #00f5ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-grid {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 200px;
}

.placeholder-result {
    text-align: center;
}

.placeholder-result i {
    font-size: 3rem;
    color: #00f5ff;
    margin-bottom: 15px;
}

/* Progress Bar */
.progress-container {
    position: relative;
    height: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00f5ff, #ff00ff);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: #fff;
}

/* Digital Human Interface */
.digital-human-interface {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.input-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}



.form-group label {
    font-weight: 600;
    color: #00f5ff;
    display: block;
    margin-bottom: 8px;
}

.form-label-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.form-group textarea,
.form-group select,
.form-group input[type="number"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    color: #ffffff;
    font-size: 1rem;
}

/* 数字输入框占位符样式 */
.form-group input[type="number"]::placeholder {
    color: #888888;
    opacity: 1;
}

/* 下拉框选项样式 - 增强可见性 */
.form-group select option {
    background: #1a1a1a !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    border: none !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    min-height: 40px !important;
    line-height: 1.4 !important;
}

/* 下拉框选项悬停状态 */
.form-group select option:hover {
    background: #2a2a2a !important;
    color: #00f5ff !important;
}

/* 下拉框选项选中状态 */
.form-group select option:checked,
.form-group select option:selected {
    background: #00f5ff !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
}

/* 下拉框选项焦点状态 */
.form-group select option:focus {
    background: #2a2a2a !important;
    color: #00f5ff !important;
    outline: none !important;
}

/* 下拉框选项激活状态 */
.form-group select option:active {
    background: #00f5ff !important;
    color: #1a1a1a !important;
}

/* 下拉框和数字输入框悬停和焦点状态 */
.form-group select:hover,
.form-group input[type="number"]:hover {
    border-color: rgba(0, 245, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

/* 确保下拉框在深色背景下可见 */
.form-group select {
    background-color: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f5ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    color: #ffffff !important;
}

/* 针对不同浏览器的下拉框样式 */
.form-group select::-ms-expand {
    display: none;
}

/* Firefox 特定样式 */
@-moz-document url-prefix() {
    .form-group select {
        background-color: #1a1a1a !important;
        color: #ffffff !important;
    }

    .form-group select option {
        background-color: #1a1a1a !important;
        color: #ffffff !important;
    }
}

/* Webkit 浏览器特定样式 */
.form-group select::-webkit-list-button {
    display: none;
}

/* 为下拉框添加更好的对比度 */
.form-group select {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 自定义下拉框容器 */
.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-select select {
    width: 100%;
    background-color: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 15px 40px 15px 15px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select select:hover {
    border-color: rgba(0, 245, 255, 0.5) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.custom-select select:focus {
    outline: none;
    border-color: #00f5ff !important;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
    background-color: #1a1a1a !important;
}

/* 自定义下拉箭头 */
.custom-select::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #00f5ff;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.custom-select:hover::after {
    border-top-color: #ffffff;
}

.custom-select select:focus+.custom-select::after {
    transform: translateY(-50%) rotate(180deg);
}

/* 确保下拉框选项在深色主题下可见 */
.custom-select select option {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    border: none !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    min-height: 40px !important;
    line-height: 1.4 !important;
}

.custom-select select option:hover {
    background-color: #2a2a2a !important;
    color: #00f5ff !important;
}

.custom-select select option:checked,
.custom-select select option:selected {
    background-color: #00f5ff !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
}

.custom-select select option:focus {
    background-color: #2a2a2a !important;
    color: #00f5ff !important;
    outline: none !important;
}

.custom-select select option:active {
    background-color: #00f5ff !important;
    color: #1a1a1a !important;
}

.form-group select:focus {
    background-color: #1a1a1a;
    border-color: #00f5ff;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

/* 下拉框禁用状态 */
.form-group select:disabled {
    background-color: #0a0a0a;
    color: #666666;
    border-color: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    opacity: 0.6;
}

/* 下拉框加载状态 */
.form-group select.loading {
    background-color: #1a1a1a;
    color: #00f5ff;
    border-color: #00f5ff;
    animation: pulse 2s infinite;
}

.form-group textarea:focus,
.form-group select:focus,
.form-group input[type="number"]:focus {
    outline: none;
    border-color: #00f5ff;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.preview-panel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-container {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.placeholder-preview i {
    font-size: 4rem;
    color: #00f5ff;
    margin-bottom: 20px;
}

/* Voice Interface */
.voice-interface {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.voice-input {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.audio-upload h4,
.text-input h4,
.voice-output h4 {
    margin-bottom: 15px;
    color: #00f5ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.voice-settings .form-row {
    gap: 30px;
}

.form-group input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

.voice-output {
    display: flex;
    flex-direction: column;
}

.audio-result {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 200px;
}

.placeholder-audio {
    text-align: center;
}

.placeholder-audio i {
    font-size: 3rem;
    color: #00f5ff;
    margin-bottom: 15px;
}

/* Video Interface */
.video-interface {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.video-input {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-output {
    display: flex;
    flex-direction: column;
}

.video-result {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 300px;
}

.placeholder-video {
    text-align: center;
}

.placeholder-video i {
    font-size: 4rem;
    color: #00f5ff;
    margin-bottom: 15px;
}

/* Showcase */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.showcase-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.2);
}

.showcase-image {
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-showcase {
    text-align: center;
}

.placeholder-showcase i {
    font-size: 3rem;
    color: #00f5ff;
}

.showcase-info {
    padding: 20px;
}

.showcase-info h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.showcase-info p {
    color: #cccccc;
    margin-bottom: 15px;
}

.showcase-tag {
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-logo i {
    margin-right: 10px;
    color: #00f5ff;
}

.footer-logo .logo-img {
    max-width: 30px;
    max-height: 30px;
    width: auto;
    height: auto;
    margin-right: 10px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00f5ff;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #cccccc;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #00f5ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #00f5ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    /* 移动端菜单操作按钮区域 */
    .nav-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* 移动端任务队列按钮样式 */
    .task-queue-btn.mobile {
        width: 100%;
        justify-content: flex-start;
        padding: 0 20px;
        height: 48px;
        font-size: 1rem;
        border-radius: 12px;
        text-align: left;
    }

    .task-queue-btn.mobile span:not(.task-count-mobile) {
        margin-left: 10px;
    }

    /* 移动端任务队列面板样式 */
    .task-queue-panel.mobile {
        position: static;
        width: 100%;
        margin-top: 10px;
        margin-left: 0;
        margin-right: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .task-queue-panel.mobile.active {
        display: block;
    }

    /* 移动端语言切换容器样式 */
    .lang-toggle-container.mobile {
        width: 100%;
    }

    .lang-toggle-btn.mobile {
        width: 100%;
        padding: 0 20px;
        height: 48px;
        font-size: 1rem;
        border-radius: 12px;
        justify-content: flex-start;
    }

    .lang-toggle-btn.mobile .lang-current-mobile {
        flex: 1;
        text-align: left;
    }

    .lang-dropdown.mobile {
        position: static;
        width: 100%;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .lang-toggle-container.mobile.active .lang-dropdown.mobile {
        display: block;
    }

    .nav-actions {
        display: none;
    }

    /* 移动端用户菜单样式 */
    .user-menu-container.mobile {
        width: 100%;
    }

    .user-menu-btn.mobile {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 20px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        color: #ffffff;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: left;
    }

    .user-menu-btn.mobile:hover {
        background: rgba(0, 245, 255, 0.1);
        border-color: rgba(0, 245, 255, 0.3);
    }

    .user-initial.mobile {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        border-radius: 50%;
        background: linear-gradient(135deg, #00f5ff, #ff00ff);
        color: #fff;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        user-select: none;
        transition: all 0.3s ease;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .user-dropdown.mobile {
        position: static;
        width: 100%;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .user-menu-container.mobile.active .user-dropdown.mobile {
        display: block;
    }

    /* 任务队列移动端样式 */
    .task-queue-panel {
        width: 280px;
        right: -10px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
        padding: 8px;
        margin-right: -8px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .editor-interface,
    .digital-human-interface,
    .voice-interface,
    .video-interface {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn-expand {
        padding: 6px 12px;
        font-size: 0.8rem;
        margin-left: 8px;
        min-width: 70px;
    }

    .form-group label {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .btn-expand {
        align-self: flex-start;
        margin-left: 0;
    }

    /* 移动端logo缩放 */
    .logo-img {
        max-width: 20px;
        max-height: 20px;
    }

    .footer-logo .logo-img {
        max-width: 18px;
        max-height: 18px;
    }

    /* 页面头部响应式 */
    .page-header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .page-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    /* 主要功能卡片响应式 */
    .main-features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .main-feature-card {
        padding: 30px;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .card-title-section h3 {
        font-size: 1.5rem;
    }

    .card-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-item {
        padding: 10px 14px;
    }

    .card-arrow {
        position: static;
        text-align: center;
        margin-top: 20px;
    }

    /* 功能卡片响应式 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .card-content h3 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    /* 分类标签响应式 */
    .category-tabs {
        gap: 15px;
        margin-bottom: 30px;
    }

    .category-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .category-tab i {
        font-size: 1rem;
    }

    /* 过滤标签响应式 */
    .filter-tabs {
        gap: 10px;
    }

    .filter-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* 作品展示响应式 */
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .showcase-item {
        margin-bottom: 20px;
    }

    .showcase-image {
        height: 150px;
    }

    /* 移动端图片缩放优化 */
    .showcase-image img,
    .showcase-image video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .showcase-info {
        padding: 15px;
    }

    .showcase-info h4 {
        font-size: 1.1rem;
    }

    .showcase-info p {
        font-size: 0.9rem;
    }

    .showcase-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* 工具页面响应式 */
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tool-card {
        padding: 20px;
    }

    .tool-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .tool-content h3 {
        font-size: 1.1rem;
    }

    .tool-content p {
        font-size: 0.9rem;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .upload-area {
        padding: 20px;
        min-height: 200px;
    }

    /* 超小屏幕logo缩放 */
    .logo-img {
        max-width: 18px;
        max-height: 18px;
    }

    .footer-logo .logo-img {
        max-width: 16px;
        max-height: 16px;
    }
}

/* Tools Section */
.tools-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.02), rgba(255, 0, 255, 0.02));
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00f5ff, #ff00ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.2);
    border-color: rgba(0, 245, 255, 0.3);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #ffffff;
}

.tool-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tool-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.tool-content p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.5;
    flex: 1;
}

.tool-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tool-arrow {
    align-self: flex-end;
    color: #00f5ff;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-arrow {
    transform: translateX(5px);
}

/* Features Preview */
.features-preview {
    padding: 80px 0;
    background: rgba(0, 245, 255, 0.02);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.feature-content p {
    color: #cccccc;
    line-height: 1.5;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff00ff, #00f5ff);
}

/* 用户头像容器 */
.user-avatar-container {
    margin-left: 10px;
    cursor: pointer;
}

/* 用户头像样式 - 圆形裁剪 */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid #e1e5e9;
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1;
}

.user-avatar:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .user-avatar {
        width: 36px;
        height: 36px;
    }
}

/* 登录容器样式 */
.login-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    margin: 100px auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.input-wrapper i {
    color: #cccccc;
    margin-right: 12px;
    font-size: 1.1rem;
}

.input-wrapper input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1rem;
    flex: 1;
    padding: 0;
    min-height: 30px;
}

.input-wrapper input::placeholder {
    color: #888888;
    opacity: 1;
}

.input-wrapper:hover {
    border-color: rgba(0, 245, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.toggle-password {
    cursor: pointer;
    color: #cccccc;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    color: #00f5ff;
}

.forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.text-link {
    color: #00f5ff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.text-link:hover {
    text-decoration: underline;
}

.register-link {
    text-align: center;
    margin-bottom: 20px;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    position: relative;
}

.divider span {
    color: #888888;
    font-size: 0.9rem;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.05);
}

.social-login {
    margin: 20px 0;
}

.social-login .btn {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-login .btn i {
    font-size: 1.1rem;
}

.terms {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #888888;
}

.terms a {
    color: #00f5ff;
    text-decoration: none;
}

.login-btn {
    width: 100%;
    /* 设置为100%宽度，填满容器 */
    padding: 12px 20px;
    margin-bottom: 5px;
    font-size: 1rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 注册页面样式表 */
.registration {
    padding: 60px 20px;
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.registration-container {
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
}

.registration-title {
    color: #ffffff;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    color: #ffffff;
    font-weight: 600;
}

/* =========================
   禁用浏览器自带的密码眼睛
   ========================= */

/* Edge / IE（Chromium Edge 仍然有效）对Windows浏览器的支持 */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

/* Chrome / Safari（自动填充 & 密码按钮）对谷歌和苹果浏览器的支持 */
input[type="password"]::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
}

input[type="password"]:focus::-ms-reveal,
input[type="password"]:focus::-ms-clear {
    display: none !important;
}

input[type="password"]:focus::-webkit-credentials-auto-fill-button {
    visibility: hidden !important;
    pointer-events: none;
}

input[type="password"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.auth-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 用户菜单容器 */
.user-menu-container {
    position: relative;
    display: flex;
    align-items: center;
}

.user-initial {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f5ff, #ff00ff);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}

.user-initial:hover {
    transform: scale(1.1);
    border-color: rgba(0, 245, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 245, 255, 0.3);
}

/* 用户下拉菜单 */
.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 180px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.user-menu-container.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 下拉菜单项 */
.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.user-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00f5ff;
}

.user-dropdown-item i {
    width: 18px;
    font-size: 0.9rem;
    color: #00f5ff;
    transition: all 0.3s ease;
}

.user-dropdown-item:hover i {
    color: #00f5ff;
    transform: scale(1.1);
}

/* 退出登录项特殊样式 */
.logout-item {
    color: #ff4d4f;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4px;
    padding-top: 12px;
}

.logout-item:hover {
    background: rgba(255, 77, 79, 0.15);
    color: #ff7875;
}

.logout-item i {
    color: #ff4d4f;
}

.logout-item:hover i {
    color: #ff7875;
}

#userActions {
    display: flex;
    align-items: center;
    position: relative;
}