/* GifMake 产品主题样式 - 紫色系科技感 */

[data-theme="gifmake"] {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --gradient: linear-gradient(135deg, #8b5cf6, #ec4899);
    --gradient-hover: linear-gradient(135deg, #7c3aed, #db2777);
    --tech-glow: rgba(139, 92, 246, 0.3);
}

[data-theme="gifmake"] .hero-section {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 50%, #e9d5ff 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="gifmake"] .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="gifmake"] .hero-title {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="gifmake"] .hero-badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #7c3aed;
}

[data-theme="gifmake"] .btn-hero-primary {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

[data-theme="gifmake"] .btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

[data-theme="gifmake"] .btn-hero-primary:hover::before {
    left: 100%;
}

[data-theme="gifmake"] .btn-hero-primary:hover {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

[data-theme="gifmake"] .btn-hero-secondary {
    background: rgba(139, 92, 246, 0.05);
    border: 2px solid rgba(139, 92, 246, 0.3);
    color: #7c3aed;
}

[data-theme="gifmake"] .btn-hero-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: #8b5cf6;
}

[data-theme="gifmake"] .feature-card {
    background: #ffffff;
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="gifmake"] .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

[data-theme="gifmake"] .feature-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
    transform: translateY(-5px);
}

[data-theme="gifmake"] .feature-card:hover::before {
    transform: scaleX(1);
}

[data-theme="gifmake"] .feature-icon {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

[data-theme="gifmake"] .feature-title {
    color: #1e293b;
}

[data-theme="gifmake"] .feature-desc {
    color: #64748b;
}

[data-theme="gifmake"] .feature-tags .tag {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

[data-theme="gifmake"] .advantage-card {
    background: linear-gradient(135deg, #ffffff, #faf5ff);
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

[data-theme="gifmake"] .advantage-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
    transform: translateY(-5px);
}

[data-theme="gifmake"] .advantage-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    color: #8b5cf6;
}

[data-theme="gifmake"] .step-card {
    background: #ffffff;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

[data-theme="gifmake"] .step-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
}

[data-theme="gifmake"] .step-number {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="gifmake"] .step-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    color: #8b5cf6;
}

[data-theme="gifmake"] .support-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="gifmake"] .support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="gifmake"] .support-card {
    background: #ffffff;
    border: 2px solid rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    padding: 25px 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

[data-theme="gifmake"] .support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899, #8b5cf6);
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

[data-theme="gifmake"] .support-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

[data-theme="gifmake"] .support-card:hover::before {
    transform: scaleX(1);
}

[data-theme="gifmake"] .support-card:hover::after {
    width: 300px;
    height: 300px;
}

[data-theme="gifmake"] .support-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.25);
    transform: translateY(-10px) scale(1.05);
}

[data-theme="gifmake"] .support-icon {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

[data-theme="gifmake"] .support-card:hover .support-icon {
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.3));
}

[data-theme="gifmake"] .support-name {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

[data-theme="gifmake"] .support-card:hover .support-name {
    color: #8b5cf6;
    font-weight: 600;
    transform: translateY(-2px);
}

[data-theme="gifmake"] .download-card {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

[data-theme="gifmake"] .download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

[data-theme="gifmake"] .btn-download-primary {
    background: #ffffff;
    color: #8b5cf6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="gifmake"] .btn-download-primary:hover {
    background: #faf5ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="gifmake"] .tech-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

[data-theme="gifmake"] .logo-title {
    color: #1e293b;
}

[data-theme="gifmake"] .nav-link {
    color: #475569;
}

[data-theme="gifmake"] .nav-link:hover,
[data-theme="gifmake"] .nav-link.active {
    color: #8b5cf6;
}

[data-theme="gifmake"] .btn-tech-login {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
}

[data-theme="gifmake"] .btn-tech-login:hover {
    background: linear-gradient(135deg, #7c3aed, #db2777);
}

[data-theme="gifmake"] .section-badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #7c3aed;
}

[data-theme="gifmake"] .section-title {
    color: #1e293b;
}

[data-theme="gifmake"] .section-subtitle {
    color: #64748b;
}

[data-theme="gifmake"] .tech-footer {
    background: linear-gradient(135deg, #581c87, #701a75);
}

[data-theme="gifmake"] .footer-title {
    color: #f3e8ff;
}

[data-theme="gifmake"] .footer-item a {
    color: #e9d5ff;
}

[data-theme="gifmake"] .footer-item a:hover {
    color: #ffffff;
}

[data-theme="gifmake"] .footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    color: #e9d5ff;
}

[data-theme="gifmake"] .downTop {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

[data-theme="gifmake"] .downTopDowmload {
    background: #ffffff;
    color: #8b5cf6;
}

.gifmake-visualizer {
    position: relative;
    padding: 40px;
}

.recording-container {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.recording-modes {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.mode-item {
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.mode-item.animate {
    opacity: 1;
    transform: scale(1);
}

.mode-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 3rem;
    color: #8b5cf6;
    transition: all 0.3s ease;
    border: 2px solid rgba(139, 92, 246, 0.2);
}

.mode-item:hover .mode-icon {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.mode-label {
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
}

.output-formats {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.format-badge {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    animation: pulse 2s ease-in-out infinite;
}

.format-gif {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    animation-delay: 0s;
}

.format-apng {
    background: linear-gradient(135deg, #ec4899, #db2777);
    animation-delay: 0.3s;
}

.format-avi {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #8b5cf6;
}

.highlight-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #7c3aed;
}

.highlight-label {
    font-size: 0.85rem;
    color: #64748b;
}

.hero-tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 1s ease forwards;
}

.animate-pop-in {
    animation: popIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .recording-modes {
        flex-direction: column;
        gap: 20px;
    }
    
    .mode-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .output-formats {
        flex-wrap: wrap;
    }
    
    .feature-highlights {
        flex-direction: column;
        gap: 15px;
    }
    
    .highlight-item {
        justify-content: center;
    }
    
    [data-theme="gifmake"] .hero-section {
        padding: 60px 0 40px;
    }
    
    [data-theme="gifmake"] .hero-title {
        font-size: 2rem;
    }
    
    [data-theme="gifmake"] .hero-content {
        text-align: center;
    }
    
    [data-theme="gifmake"] .hero-actions {
        justify-content: center;
    }
    
    [data-theme="gifmake"] .btn-hero-primary,
    [data-theme="gifmake"] .btn-hero-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .gifmake-visualizer {
        padding: 20px;
        margin-top: 30px;
    }
    
    .recording-container {
        padding: 20px;
    }
    
    .format-badge {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
    
    .highlight-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .highlight-value {
        font-size: 1rem;
    }
    
    .highlight-label {
        font-size: 0.75rem;
    }
}

[data-theme="gifmake"] .hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

[data-theme="gifmake"] .hero-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(236, 72, 153, 0.4));
    border-radius: 50%;
    animation: float-particle 12s infinite ease-in-out;
}

[data-theme="gifmake"] .hero-particle:nth-child(1) { left: 5%; top: 15%; animation-delay: 0s; }
[data-theme="gifmake"] .hero-particle:nth-child(2) { left: 15%; top: 75%; animation-delay: 1.5s; }
[data-theme="gifmake"] .hero-particle:nth-child(3) { left: 55%; top: 35%; animation-delay: 3s; }
[data-theme="gifmake"] .hero-particle:nth-child(4) { left: 75%; top: 65%; animation-delay: 4.5s; }
[data-theme="gifmake"] .hero-particle:nth-child(5) { left: 25%; top: 25%; animation-delay: 6s; }
[data-theme="gifmake"] .hero-particle:nth-child(6) { left: 65%; top: 75%; animation-delay: 7.5s; }
[data-theme="gifmake"] .hero-particle:nth-child(7) { left: 45%; top: 45%; animation-delay: 9s; }
[data-theme="gifmake"] .hero-particle:nth-child(8) { left: 85%; top: 15%; animation-delay: 10.5s; }

@keyframes float-particle {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translate(40px, -40px) scale(1.3) rotate(90deg);
        opacity: 0.7;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.7) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: translate(20px, 20px) scale(1.1) rotate(270deg);
        opacity: 0.6;
    }
}

[data-theme="gifmake"] .hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

[data-theme="gifmake"] .feature-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

[data-theme="gifmake"] .feature-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 50%;
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

[data-theme="gifmake"] .step-card:hover .step-icon {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    transform: scale(1.1);
}

[data-theme="gifmake"] .step-line {
    position: absolute;
    right: -50%;
    top: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, transparent);
}

@media (max-width: 991px) {
    [data-theme="gifmake"] .step-line {
        display: none;
    }
}

[data-theme="gifmake"] .download-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

[data-theme="gifmake"] .download-bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

[data-theme="gifmake"] .section-header {
    text-align: center;
    margin-bottom: 50px;
}

[data-theme="gifmake"] .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

[data-theme="gifmake"] .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

[data-theme="gifmake"] .section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

[data-theme="gifmake"] .features-section,
[data-theme="gifmake"] .advantages-section,
[data-theme="gifmake"] .steps-section,
[data-theme="gifmake"] .support-section {
    padding: 80px 0;
}

[data-theme="gifmake"] .download-section {
    padding: 60px 0;
}

[data-theme="gifmake"] .download-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

[data-theme="gifmake"] .download-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="gifmake"] .btn-download-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

@media (max-width: 576px) {
    [data-theme="gifmake"] .section-title {
        font-size: 1.6rem;
    }
    
    [data-theme="gifmake"] .section-subtitle {
        font-size: 0.95rem;
    }
    
    [data-theme="gifmake"] .features-section,
    [data-theme="gifmake"] .advantages-section,
    [data-theme="gifmake"] .steps-section,
    [data-theme="gifmake"] .support-section {
        padding: 50px 0;
    }
    
    [data-theme="gifmake"] .download-title {
        font-size: 1.4rem;
    }
    
    [data-theme="gifmake"] .download-desc {
        font-size: 0.9rem;
    }
    
    [data-theme="gifmake"] .btn-download-primary {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* 图标大小修复 */
[data-theme="gifmake"] .feature-icon i {
    font-size: 1.5rem;
}

[data-theme="gifmake"] .step-icon i {
    font-size: 1.75rem;
}

[data-theme="gifmake"] .advantage-icon i {
    font-size: 1.75rem;
}

[data-theme="gifmake"] .stat-icon i {
    font-size: 1.3rem;
}

/* ========================================
   帮助中心和关于我们页面通用样式
   ======================================== */

[data-theme="gifmake"] {
    --help-primary: #8b5cf6;
    --help-primary-light: #a78bfa;
    --help-gradient: linear-gradient(135deg, #8b5cf6, #ec4899);
}

/* ========================================
   页面横幅样式
   ======================================== */

.page-banner {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    padding: 60px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    margin-top: 80px;
}

.page-banner .container {
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #64748b;
}

/* ========================================
   帮助中心页面样式
   ======================================== */

.help-section {
    padding: 60px 0;
}

.help-sidebar {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.help-sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.1);
}

.help-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-category-list li {
    margin-bottom: 8px;
}

.help-category-list li:last-child {
    margin-bottom: 0;
}

.help-category-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.help-category-list li a:hover {
    background: rgba(139, 92, 246, 0.05);
    color: #8b5cf6;
}

.help-category-list li.active a {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    color: #8b5cf6;
    font-weight: 600;
}

.help-category-list li.active a i {
    color: #8b5cf6;
}

.help-category-list li a i {
    color: #94a3b8;
    font-size: 0.9rem;
}

.help-main {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.help-search-box {
    margin-bottom: 30px;
}

.help-search-box .input-group {
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.help-search-box .form-control {
    border: none;
    border-radius: 12px 0 0 12px;
    padding: 16px 20px;
    font-size: 1rem;
}

.help-search-box .btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border: none;
    border-radius: 0 12px 12px 0;
    padding: 16px 24px;
    font-weight: 600;
}

.help-search-box .btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed, #db2777);
}

.help-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.help-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(139, 92, 246, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.06);
    transition: all 0.3s ease;
}

.help-item:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.15);
    transform: translateX(5px);
}

.help-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #8b5cf6;
    font-size: 1.25rem;
}

.help-item-content {
    flex: 1;
}

.help-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.help-item-title a {
    color: inherit;
    text-decoration: none;
}

.help-item-title a:hover {
    color: #8b5cf6;
}

.help-item-desc {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.help-item-meta {
    display: flex;
    gap: 20px;
    font-size: 0.875rem;
    color: #94a3b8;
}

.help-item-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.help-empty {
    text-align: center;
    padding: 60px 20px;
}

.help-empty i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.help-empty p {
    font-size: 1.125rem;
    color: #64748b;
}

.help-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.help-pagination .pagination {
    gap: 8px;
}

.help-pagination .page-link {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.help-pagination .page-link:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.help-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-color: transparent;
    color: #ffffff;
}

/* ========================================
   关于我们页面样式
   ======================================== */

.about-section {
    padding: 60px 0;
}

.about-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.about-card:hover {
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.1);
}

.about-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.about-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.about-card-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.0625rem;
}

.about-content p {
    margin-bottom: 16px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content ul {
    padding-left: 20px;
    margin-top: 16px;
}

.about-content ul li {
    margin-bottom: 10px;
    list-style: none;
    position: relative;
    padding-left: 24px;
}

.about-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 50%;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.about-feature-card {
    background: rgba(139, 92, 246, 0.02);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(139, 92, 246, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.about-feature-card:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.15);
    transform: translateY(-4px);
}

.about-feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.75rem;
    color: #8b5cf6;
}

.about-feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.about-feature-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
}

.about-tech-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.about-tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(139, 92, 246, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.06);
}

.about-tech-item i {
    color: #8b5cf6;
    font-size: 1.125rem;
}

.about-tech-item span {
    color: #475569;
    font-size: 0.9375rem;
}

.about-support-list {
    padding-left: 0;
    margin-top: 16px;
}

.about-support-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.06);
    color: #64748b;
    font-size: 0.9375rem;
}

.about-support-list li:last-child {
    border-bottom: none;
}

.about-support-list li i {
    color: #8b5cf6;
    font-size: 1.125rem;
}

/* ========================================
   购买页面样式
   ======================================== */

.buy-section {
    padding: 60px 0;
}

.buy-header {
    text-align: center;
    margin-bottom: 40px;
}

.buy-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.buy-desc {
    font-size: 1.125rem;
    color: #64748b;
}

.buy-payment {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    margin-top: 40px;
}

.payment-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.payment-methods {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 30px;
    background: rgba(139, 92, 246, 0.02);
    border: 2px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.05);
}

.payment-method.active {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
}

.payment-method input {
    display: none;
}

.payment-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.payment-method span {
    font-weight: 600;
    color: #475569;
}

.buy-action {
    text-align: center;
    margin-top: 40px;
}

.btn-buy-now {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    border: none;
    padding: 18px 50px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.btn-buy-now:hover {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    box-shadow: 0 8px 35px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.buy-tips {
    margin-top: 20px;
    font-size: 0.9375rem;
    color: #64748b;
}

.buy-tips i {
    color: #22c55e;
    margin-right: 8px;
}

/* ========================================
   响应式设计
   ======================================== */

@media (max-width: 768px) {
    .page-banner {
        padding: 40px 0;
        margin-top: 60px;
    }

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

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

    .help-section,
    .about-section,
    .buy-section {
        padding: 40px 0;
    }

    .help-sidebar {
        margin-bottom: 20px;
    }

    .help-main {
        padding: 20px;
    }

    .help-item {
        flex-direction: column;
        padding: 20px;
    }

    .help-item-icon {
        align-self: flex-start;
    }

    .help-item-meta {
        flex-direction: column;
        gap: 8px;
    }

    .about-card {
        padding: 24px;
    }

    .about-card-header {
        flex-direction: column;
        text-align: center;
    }

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

    .about-tech-list {
        grid-template-columns: 1fr;
    }

    .payment-methods {
        flex-direction: column;
    }

    .payment-method {
        justify-content: center;
    }

    .btn-buy-now {
        padding: 15px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }

    .help-search-box .form-control {
        padding: 12px 16px;
    }

    .help-search-box .btn-primary {
        padding: 12px 16px;
    }

    .about-card {
        padding: 20px;
    }

    .buy-title {
        font-size: 1.6rem;
    }
}
