/* 全局样式 */
body {
    background: #000000;
    /* 纯黑色背景 */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* 确保footer完全黑色背景 */
footer {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
}

footer * {
    background-image: none !important;
}

/* 移动设备优化 */
@media (max-width: 768px) {
    body {
        background: #000000;
        /* 纯黑色背景 */
    }
}

/* 全局样式重置 */
:root {
    --primary-color: #8b5cf6;
    --secondary-color: #6366f1;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --dark-bg: #0f0f0f;
    --card-bg: rgba(30, 30, 30, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
}

/* 动画库 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
    }
}

/* 工具类 */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.glow-animation {
    animation: glow 3s infinite;
}

/* 卡片样式 */
.tech-card {
    background: rgba(30, 30, 40, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.tech-card:hover {
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.4);
}

/* AI功能卡片统一高度 */
.ai-feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 600px;
    padding: 0;
    /* 移除tech-card的默认padding */
}

.ai-feature-card .card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    flex: 1;
    /* 确保内容区域填满整个卡片 */
}

.ai-feature-card .feature-list {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin: 1.5rem 0;
}

.ai-feature-card .action-button {
    margin-top: auto;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(to right, #8b5cf6, #6366f1);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.recharge-btn {
    padding-left: 25px;
    padding-right: 25px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(to right, #4a5568, #6b46c1);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 10px rgba(74, 85, 104, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(74, 85, 104, 0.4);
}

.btn-accent:active {
    transform: translateY(0);
}

/* 宽箭头按钮样式 */
.wide-arrow-btn {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.3));
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    color: white;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

.wide-arrow-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(168, 85, 247, 0.5));
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.4);
}

.wide-arrow-btn .arrow-text {
    transition: all 0.3s ease;
}

.wide-arrow-btn .arrow-icon {
    transition: all 0.3s ease;
    font-size: 18px;
}

.wide-arrow-btn:hover .arrow-icon {
    transform: translateY(4px);
    color: #a855f7;
}

.wide-arrow-btn:hover .arrow-text {
    color: #e879f9;
}

/* 输入框样式 */
.input-field {
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
    background: rgba(17, 24, 39, 1);
}

.input-field::placeholder {
    color: var(--text-muted);
}

.input-field option {
    background: #111827;
    color: #e5e7eb;
}

/* 导航栏样式 */
.navbar {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* 导航链接样式 */
.nav-link {
    color: #d1d5db;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-1px);
}

.nav-link.router-link-active {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.15);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

/* 加载动画 */
.loading-spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #8b5cf6;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 20px;
    color: white;
    z-index: 10000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.notification.success {
    border-left: 4px solid var(--success-color);
}

.notification.error {
    border-left: 4px solid var(--error-color);
}

.notification.warning {
    border-left: 4px solid var(--warning-color);
}

/* 特效类 */
.neon-text {
    text-shadow:
        0 0 5px var(--primary-color),
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color);
}

/* 文字渐变效果 */
.gradient-text {
    background: linear-gradient(to right, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 发光文字效果 */
.glow-text {
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5), 0 0 20px rgba(139, 92, 246, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tech-card {
        padding: 1.5rem;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        margin-bottom: 10px;
    }

    .navbar .container {
        padding: 0.5rem 1rem;
    }

    h1.text-5xl,
    h1.text-7xl {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2.text-4xl,
    h2.text-5xl {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .text-xl,
    .text-2xl {
        font-size: 1rem;
        line-height: 1.5;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* AI功能特殊样式 */
.ai-panel {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.ai-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    animation: aiScan 3s infinite;
}

@keyframes aiScan {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* 上传区域样式 */
.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: var(--primary-color);
    background: rgba(139, 92, 246, 0.05);
}

.upload-zone.dragover {
    border-color: var(--accent-color);
    background: rgba(236, 72, 153, 0.1);
    transform: scale(1.02);
}

/* 三角形背景动画 */
.triangle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(139, 92, 246, 0.1);
    animation: floatTriangle 20s infinite linear;
    filter: blur(2px);
}

.floating-triangle:nth-child(2n) {
    border-bottom-color: rgba(99, 102, 241, 0.08);
    animation-direction: reverse;
}

.floating-triangle:nth-child(3n) {
    border-bottom-color: rgba(236, 72, 153, 0.05);
    animation-duration: 25s;
}

@keyframes floatTriangle {
    0% {
        transform: translateY(100vh) rotate(0deg);
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

/* 动态渐变背景 */
.wave-bg {
    background: transparent;
    /* 移除背景，让body的渐变显示出来 */
    z-index: 0;
    overflow: hidden;
}

/* 主动态渐变层 */
.purple-glow {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background:
        radial-gradient(ellipse 90% 60% at 15% 35%,
            rgba(139, 92, 246, 0.45) 0%,
            rgba(139, 92, 246, 0.25) 20%,
            rgba(79, 70, 229, 0.15) 35%,
            rgba(0, 0, 0, 0.5) 60%,
            transparent 80%),
        radial-gradient(ellipse 70% 90% at 85% 65%,
            rgba(147, 51, 234, 0.35) 0%,
            rgba(99, 102, 241, 0.2) 25%,
            rgba(168, 85, 247, 0.12) 40%,
            rgba(0, 0, 0, 0.6) 65%,
            transparent 85%),
        radial-gradient(ellipse 110% 80% at 45% 85%,
            rgba(168, 85, 247, 0.3) 0%,
            rgba(147, 51, 234, 0.18) 30%,
            rgba(236, 72, 153, 0.1) 45%,
            rgba(0, 0, 0, 0.55) 70%,
            transparent 90%),
        radial-gradient(ellipse 80% 100% at 70% 20%,
            rgba(236, 72, 153, 0.25) 0%,
            rgba(168, 85, 247, 0.15) 35%,
            rgba(139, 92, 246, 0.08) 50%,
            rgba(0, 0, 0, 0.65) 75%,
            transparent 95%),
        linear-gradient(135deg,
            #0a0a0a 0%,
            #1a0a1f 12%,
            #2d1b2d 25%,
            #1a0f2e 38%,
            #0f0f1a 50%,
            #2a1a3a 62%,
            #1f1030 75%,
            #0a0a0a 88%,
            #000000 100%);
    filter: blur(40px);
    animation: gradientShift 12s ease-in-out infinite;
}

/* 动态变化的动画 */
@keyframes gradientShift {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }

    25% {
        transform: rotate(90deg) scale(1.1);
        opacity: 0.9;
    }

    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 0.7;
    }

    75% {
        transform: rotate(270deg) scale(1.1);
        opacity: 0.85;
    }

    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.8;
    }
}

/* 多层动态波浪效果 */
.wave {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    opacity: 0.6;
}

.wave1 {
    background:
        radial-gradient(ellipse 130% 90% at 25% 75%,
            rgba(139, 92, 246, 0.22) 0%,
            rgba(147, 51, 234, 0.15) 25%,
            rgba(99, 102, 241, 0.08) 45%,
            rgba(0, 0, 0, 0.4) 70%,
            transparent 90%),
        radial-gradient(ellipse 110% 70% at 75% 25%,
            rgba(168, 85, 247, 0.18) 0%,
            rgba(79, 70, 229, 0.12) 30%,
            rgba(236, 72, 153, 0.06) 50%,
            rgba(0, 0, 0, 0.5) 75%,
            transparent 90%),
        linear-gradient(45deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(139, 92, 246, 0.12) 20%,
            rgba(0, 0, 0, 0.6) 40%,
            rgba(147, 51, 234, 0.08) 60%,
            rgba(0, 0, 0, 0.75) 80%,
            rgba(168, 85, 247, 0.05) 100%);
    filter: blur(30px);
    animation: waveFloat1 15s ease-in-out infinite;
}

.wave2 {
    background:
        radial-gradient(ellipse 100% 130% at 85% 15%,
            rgba(99, 102, 241, 0.2) 0%,
            rgba(79, 70, 229, 0.14) 30%,
            rgba(168, 85, 247, 0.08) 50%,
            rgba(0, 0, 0, 0.45) 75%,
            transparent 95%),
        radial-gradient(ellipse 120% 80% at 15% 85%,
            rgba(236, 72, 153, 0.16) 0%,
            rgba(147, 51, 234, 0.1) 35%,
            rgba(139, 92, 246, 0.06) 55%,
            rgba(0, 0, 0, 0.5) 80%,
            transparent 95%),
        linear-gradient(-45deg,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(99, 102, 241, 0.1) 25%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(168, 85, 247, 0.07) 75%,
            rgba(0, 0, 0, 0.7) 100%);
    filter: blur(50px);
    animation: waveFloat2 18s ease-in-out infinite reverse;
}

.wave3 {
    background:
        radial-gradient(ellipse 90% 110% at 55% 45%,
            rgba(168, 85, 247, 0.18) 0%,
            rgba(236, 72, 153, 0.12) 25%,
            rgba(139, 92, 246, 0.07) 45%,
            rgba(0, 0, 0, 0.4) 70%,
            transparent 90%),
        radial-gradient(ellipse 140% 70% at 90% 80%,
            rgba(147, 51, 234, 0.15) 0%,
            rgba(99, 102, 241, 0.09) 40%,
            rgba(79, 70, 229, 0.05) 60%,
            rgba(0, 0, 0, 0.55) 85%,
            transparent 100%),
        linear-gradient(135deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(168, 85, 247, 0.08) 15%,
            rgba(0, 0, 0, 0.65) 30%,
            rgba(236, 72, 153, 0.06) 45%,
            rgba(0, 0, 0, 0.7) 60%,
            rgba(139, 92, 246, 0.04) 75%,
            rgba(0, 0, 0, 0.75) 90%,
            rgba(147, 51, 234, 0.02) 100%);
    filter: blur(60px);
    animation: waveFloat3 22s ease-in-out infinite;
}

/* 波浪浮动动画 */
@keyframes waveFloat1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(-20px, -30px) rotate(120deg) scale(1.1);
    }

    66% {
        transform: translate(30px, 20px) rotate(240deg) scale(0.9);
    }
}

@keyframes waveFloat2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(40px, -20px) rotate(90deg) scale(1.2);
    }

    50% {
        transform: translate(-10px, 40px) rotate(180deg) scale(0.8);
    }

    75% {
        transform: translate(-30px, -10px) rotate(270deg) scale(1.1);
    }
}

@keyframes waveFloat3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    20% {
        transform: translate(-40px, 30px) rotate(72deg) scale(1.15);
    }

    40% {
        transform: translate(20px, -40px) rotate(144deg) scale(0.85);
    }

    60% {
        transform: translate(50px, 10px) rotate(216deg) scale(1.25);
    }

    80% {
        transform: translate(-20px, -20px) rotate(288deg) scale(0.95);
    }
}

/* 额外的模糊效果层 */
.blur-overlay {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%,
            rgba(139, 92, 246, 0.12) 0%,
            rgba(147, 51, 234, 0.08) 20%,
            rgba(99, 102, 241, 0.05) 35%,
            rgba(0, 0, 0, 0.4) 60%,
            transparent 85%),
        radial-gradient(ellipse 70% 90% at 80% 70%,
            rgba(168, 85, 247, 0.1) 0%,
            rgba(236, 72, 153, 0.06) 30%,
            rgba(79, 70, 229, 0.04) 45%,
            rgba(0, 0, 0, 0.45) 70%,
            transparent 90%),
        radial-gradient(ellipse 100% 50% at 50% 80%,
            rgba(99, 102, 241, 0.08) 0%,
            rgba(168, 85, 247, 0.05) 25%,
            rgba(147, 51, 234, 0.03) 40%,
            rgba(0, 0, 0, 0.5) 65%,
            transparent 90%),
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(139, 92, 246, 0.06) 12%,
            rgba(0, 0, 0, 0.65) 25%,
            rgba(168, 85, 247, 0.04) 38%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(236, 72, 153, 0.05) 62%,
            rgba(0, 0, 0, 0.65) 75%,
            rgba(99, 102, 241, 0.03) 88%,
            rgba(0, 0, 0, 0.6) 100%);
    filter: blur(80px);
    opacity: 0.85;
    animation: blurShift 25s ease-in-out infinite;
    z-index: 1;
}

@keyframes blurShift {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }

    25% {
        transform: scale(1.3) rotate(90deg);
        opacity: 0.5;
    }

    50% {
        transform: scale(0.8) rotate(180deg);
        opacity: 0.9;
    }

    75% {
        transform: scale(1.1) rotate(270deg);
        opacity: 0.6;
    }
}

/* 科技感文字发光效果 */
.glow-text {
    text-shadow:
        0 0 5px rgba(139, 92, 246, 0.5),
        0 0 10px rgba(139, 92, 246, 0.3),
        0 0 20px rgba(139, 92, 246, 0.2);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow:
            0 0 5px rgba(139, 92, 246, 0.5),
            0 0 10px rgba(139, 92, 246, 0.3),
            0 0 20px rgba(139, 92, 246, 0.2);
    }

    to {
        text-shadow:
            0 0 10px rgba(139, 92, 246, 0.8),
            0 0 20px rgba(139, 92, 246, 0.6),
            0 0 30px rgba(139, 92, 246, 0.4);
    }
}

/* 模式切换器样式 */
.mode-switcher {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.8), rgba(30, 30, 30, 0.6));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.3);
}

.glow-indicator {
    box-shadow:
        0 0 20px rgba(139, 92, 246, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 页面切换动画 */
.slide-fade-enter-active,
.slide-fade-leave-active {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-fade-enter-from {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
}

.slide-fade-leave-to {
    opacity: 0;
    transform: translateX(-50px) scale(0.95);
}

/* AI内容面板 */
.ai-content-panel {
    animation: panelSlideIn 0.6s ease-out;
}

@keyframes panelSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 悬停提升效果 */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(139, 92, 246, 0.3);
}

/* 增强的毛玻璃效果 */
.tech-card {
    background: linear-gradient(135deg,
            rgba(30, 30, 30, 0.9) 0%,
            rgba(45, 27, 105, 0.3) 50%,
            rgba(30, 30, 30, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            transparent,
            rgba(139, 92, 246, 0.1),
            transparent,
            rgba(236, 72, 153, 0.1),
            transparent);
    z-index: -1;
    border-radius: 16px;
    animation: borderGlow 4s linear infinite;
}

@keyframes borderGlow {

    0%,
    100% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 发光按钮增强 */
.glow-btn {
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.glow-btn:hover::before {
    left: 100%;
}

.glow-btn:hover {
    box-shadow:
        0 0 30px rgba(139, 92, 246, 0.5),
        0 0 60px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.02);
}

/* 响应式动画优化 */
@media (prefers-reduced-motion: reduce) {

    .floating-triangle,
    .glow-text,
    .tech-card::before {
        animation: none;
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .floating-triangle {
        border-left-width: 15px;
        border-right-width: 15px;
        border-bottom-width: 26px;
    }

    .glow-text {
        text-shadow:
            0 0 3px rgba(139, 92, 246, 0.5),
            0 0 6px rgba(139, 92, 246, 0.3);
    }

    .mode-switcher {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        padding: 0.5rem;
    }

    .mode-switcher button {
        padding: 0.5rem !important;
        font-size: 0.9rem;
    }

    .glow-indicator {
        width: calc(100% - 1rem) !important;
        left: 0.5rem !important;
        height: 50%;
    }

    .tech-card {
        margin-bottom: 1rem;
    }

    /* 修复移动端导航菜单 */
    .navbar .container {
        flex-direction: column;
    }

    .navbar .flex.justify-between {
        width: 100%;
    }

    .navbar .md\:hidden {
        display: block;
    }

    .navbar .hidden.md\:flex {
        display: none;
    }

    /* 修复移动端文字溢出 */
    .text-center,
    .text-left,
    .text-right {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* 修复移动端间距 */
    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .mb-12,
    .mb-16 {
        margin-bottom: 2rem;
    }

    /* 修复移动端网格布局 */
    .grid {
        grid-gap: 1rem;
    }

    /* AI页面特殊优化 */
    .lg\:col-span-1,
    .lg\:col-span-2,
    .lg\:col-span-3 {
        grid-column: span 1 / span 1;
    }

    .sticky.top-24 {
        position: relative;
        top: 0;
    }

    /* 修复AI页面输入区域 */
    textarea,
    select {
        max-width: 100%;
    }

    /* 修复AI页面结果展示区域 */
    .lg\:col-span-2 .tech-card {
        min-height: auto;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    /* 修复图片和视频显示 */
    img,
    video {
        max-width: 100%;
        height: auto;
    }

    /* 修复按钮组 */
    .flex.space-x-3,
    .flex.space-x-4 {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .flex.space-x-3>*,
    .flex.space-x-4>* {
        margin-left: 0 !important;
    }

    /* 修复风格选择网格 */
    .grid.grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 修复路由链接样式 */
a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    text-decoration: none;
}

/* 修复按钮样式 */
button,
a.btn-primary,
a.btn-secondary {
    cursor: pointer;
    user-select: none;
}

/* 修复路由链接点击区域 */
.router-link-active,
.router-link-exact-active {
    pointer-events: auto;
}

/* 修复页面内容溢出 */
.container {
    max-width: 100%;
    overflow-x: hidden;
}

/* 修复AI页面布局 */
.grid.grid-cols-1.lg\:grid-cols-3 {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .grid.grid-cols-1.lg\:grid-cols-3 {
        grid-template-columns: 1fr 2fr;
    }
}

/* 修复AI页面控制面板 */
.sticky.top-24 {
    position: sticky;
    top: 6rem;
    z-index: 10;
}

/* 修复图片和视频容器 */
.relative.overflow-hidden.rounded-lg {
    width: 100%;
}

/* 修复按钮组布局 */
@media (min-width: 640px) {
    .flex.flex-col.sm\:flex-row {
        flex-direction: row;
    }

    .flex.flex-col.sm\:flex-row .btn-primary,
    .flex.flex-col.sm\:flex-row .btn-secondary {
        width: auto;
    }
}

/* 修复表单元素间距 */
.space-y-6>* {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.space-y-6>*:last-child {
    margin-bottom: 0;
}

/* 水波纹效果 - 已禁用 */
.ripple-btn,
.ripple-card {
    position: relative;
    /* overflow: hidden; */
    cursor: pointer;
}

/* 
.ripple-btn::before, .ripple-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
    z-index: 1;
}

.ripple-btn:active::before, .ripple-card:active::before {
    width: 300px;
    height: 300px;
}

.ripple-btn:hover::before, .ripple-card:hover::before {
    background: rgba(255, 255, 255, 0.1);
    width: 100px;
    height: 100px;
}
*/

/* 背景水波纹 */
.bg-ripple {
    position: fixed;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(139, 92, 246, 0.1) 50%, transparent 100%);
    transform: translate(-50%, -50%) scale(0);
    animation: bg-ripple-animation 3s ease-out forwards;
    pointer-events: none;
    z-index: 5;
}

@keyframes bg-ripple-animation {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* 增强按钮水波纹效果 - 已禁用 */
.btn-primary,
.btn-secondary {
    position: relative;
    /* overflow: hidden; */
}

/*
.btn-primary::after, .btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.btn-primary:active::after, .btn-secondary:active::after {
    width: 200px;
    height: 200px;
    transition: all 0.2s ease;
}
*/

/* 卡片水波纹效果 - 已禁用 */
.feature-card,
.tech-card {
    position: relative;
    /* overflow: hidden; */
    transition: all 0.3s ease;
}

/*
.feature-card::after, .tech-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

.feature-card:hover::after, .tech-card:hover::after {
    width: 300px;
    height: 300px;
    opacity: 1;
}

.feature-card:active::after, .tech-card:active::after {
    width: 600px;
    height: 600px;
    transition: all 0.3s ease;
}
*/

/* 首屏样式 */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 0;
}

/* 下滑箭头动画 */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    50% {
        transform: translateY(-15px) translateX(-50%);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.animate-bounce:hover {
    transform: translateY(-5px) translateX(-50%);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

/* 按钮基础样式 */
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.btn-primary {
    background: linear-gradient(45deg, #8b5cf6, #a855f7, #c084fc);
    background-size: 300% 300%;
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    animation: gradient-shift 3s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
    animation-duration: 1s;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(45deg, #374151, #4b5563, #6b7280);
    background-size: 300% 300%;
    color: white;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 15px rgba(75, 85, 99, 0.4);
    animation: gradient-shift 4s ease infinite;
    white-space: nowrap;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
    animation-duration: 1.5s;
}

/* 关注/粉丝按钮样式 */
.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.follow-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.follow-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.fans-btn {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

.fans-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
    background: linear-gradient(135deg, #db2777 0%, #e11d48 100%);
}

/* 图片上传框样式 */
.aspect-square {
    aspect-ratio: 1 / 1;
}

.image-upload-box {
    transition: all 0.3s ease;
    min-height: 80px;
}

.image-upload-box:hover {
    transform: scale(1.02);
    border-color: #8b5cf6 !important;
}

.image-upload-box .upload-icon {
    transition: transform 0.2s ease;
}

.image-upload-box:hover .upload-icon {
    transform: scale(1.1);
}

/* AI模型选择卡片样式 */
.model-card {
    transition: all 0.2s ease;
}

.model-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.model-card.selected {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* 下拉选择器样式 */
.dropdown-selector {
    position: relative;
}

.dropdown-trigger {
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.dropdown-trigger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.dropdown-menu {
    animation: dropdownFadeIn 0.2s ease-out;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: rgba(139, 92, 246, 0.1) !important;
    transform: translateX(2px);
}

.dropdown-item.selected {
    background: rgba(139, 92, 246, 0.2) !important;
    border-left: 3px solid #8b5cf6;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 样式选择器特殊样式 */
.style-preview {
    transition: all 0.2s ease;
}

.style-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* 层级控制 */
.dropdown-menu {
    z-index: 9999 !important;
}

/* 滚动条样式 */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: rgba(55, 65, 81, 0.5);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.6);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.8);
}

/* 作品集横向滚动样式 */
.portfolio-scroll-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.scroll-row {
    display: flex;
    margin-bottom: 2rem;
    will-change: transform;
}

.scroll-content {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
}

.portfolio-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 280px;
    flex-shrink: 0;
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.4;
}

.scroll-row.scroll-right {
    animation: portfolioScrollRight 30s linear infinite;
}

.scroll-row.scroll-left {
    animation: portfolioScrollLeft 30s linear infinite;
}

@keyframes portfolioScrollRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes portfolioScrollLeft {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.scroll-row:hover {
    animation-play-state: paused;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .portfolio-scroll-container {
        padding: 1rem 0;
    }

    .scroll-content {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .portfolio-item {
        min-width: 220px;
    }

    .portfolio-image {
        height: 150px;
    }

    .portfolio-overlay {
        padding: 1.5rem 1rem 1rem;
    }

    .portfolio-title {
        font-size: 1rem;
    }

    .portfolio-desc {
        font-size: 0.8rem;
    }
}

/* 投递稿件页面样式 */
.submit-guide-card,
.submit-form-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    height: fit-content;
}

/* 投稿指南样式 */
.guide-section {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.guide-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.guide-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.guide-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* 投稿小贴士卡片 */
.tips-card {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1rem;
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tips-icon {
    font-size: 1.25rem;
}

.tips-title {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* 表单样式 */
.submit-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
}

.form-input,
.form-select,
.form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-select {
    cursor: pointer;
}

.form-select option {
    background: #1f2937;
    color: white;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* 复选框样式 */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-input {
    width: 1rem;
    height: 1rem;
    accent-color: #8b5cf6;
}

.checkbox-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.5;
}

.privacy-link {
    color: #8b5cf6;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #a78bfa;
}

/* 提交按钮 */
.submit-btn {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: none;
    border-radius: 0.75rem;
    padding: 1rem 2rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .submit-guide-card,
    .submit-form-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {

    .submit-guide-card,
    .submit-form-card {
        padding: 1rem;
    }

    .guide-section {
        gap: 0.75rem;
    }

    .guide-icon {
        font-size: 1.25rem;
    }

    .guide-title {
        font-size: 1rem;
    }

    .guide-text {
        font-size: 0.8rem;
    }

    .tips-card {
        padding: 1rem;
    }

    .tips-list li {
        font-size: 0.8rem;
    }
}