/* About Page Specific Styles */

/* Language Switcher - 与主页保持一致 */
.language-switcher {
    position: absolute;
    top: 20px;
    right: 5%;
    display: flex;
    gap: 5px;
    background-color: var(--card-bg);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(76, 217, 100, 0.2);
    z-index: 1000;
}

.language-switcher button {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.language-switcher button.active {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Banner Section */
.about-hero-banner {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.1), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particles 20s linear infinite;
}

@keyframes particles {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

/* Logo Showcase */
.logo-showcase {
    margin-bottom: 3rem;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.main-logo {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 30px rgba(0, 255, 157, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.brand-title {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, #00ff9d, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 157, 0.3);
}

.brand-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0 0 0;
    font-weight: 300;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn.primary {
    background: linear-gradient(45deg, #00ff9d, #00d4ff);
    color: #1a1a2e;
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-btn.primary:hover {
    box-shadow: 0 10px 30px rgba(0, 255, 157, 0.3);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-icon {
    font-size: 1.2rem;
}

/* About Intro Section */
.about-intro {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.platform-badge {
    display: inline-block;
    background: linear-gradient(45deg, #00ff9d, #00d4ff);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 0.9rem;
}

.intro-visual {
    position: relative;
}

.visual-container {
    position: relative;
    text-align: center;
}

.about-illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.visual-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(0, 255, 157, 0.1), rgba(0, 212, 255, 0.1));
    border-radius: 50%;
    z-index: -1;
}

/* Features Section */
.about-features {
    padding: 5rem 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card.premium {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 157, 0.1);
}

.feature-card.premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 255, 157, 0.3);
}

.feature-card.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #00ff9d, #00d4ff);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(0, 255, 157, 0.1), rgba(0, 212, 255, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 30px;
    height: 30px;
}

.feature-badge {
    font-size: 1.5rem;
    opacity: 0.7;
}

.card-content h3 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    color: #00ff9d;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

/* Mission Section */
.about-mission {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    text-align: center;
}

.about-mission h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Section */
.about-contact {
    padding: 5rem 0;
    background: #f8f9fa;
    text-align: center;
}

.about-contact h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-buttons .cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-buttons .cta-button.primary {
    background: linear-gradient(45deg, #00ff9d, #00d4ff);
    color: #1a1a2e;
}

.contact-buttons .cta-button.secondary {
    background: transparent;
    color: #1a1a2e;
    border: 2px solid #1a1a2e;
}

.contact-buttons .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* About Content Card Wrapper */
.about-content-wrapper {
    background: #f8f9fa;
    padding: 3rem 0;
}

.about-content-wrapper .container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin: 0 auto;
    max-width: 1200px;
}

/* Responsive Design */

@media (max-width: 768px) {
    .about-content-wrapper {
        padding: 1.5rem 0;
    }
    
    .about-content-wrapper .container {
        border-radius: 15px;
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .brand-title {
        font-size: 2.5rem;
    }
    
    .main-logo {
        width: 80px;
        height: 80px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .about-intro {
        padding: 2rem 0;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .intro-text h2 {
        font-size: 2rem;
    }
    
    .intro-text p {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2,
    .intro-text h2,
    .about-mission h2,
    .about-contact h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-hero-banner {
        min-height: 80vh;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .hero-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-card.premium {
        padding: 1.5rem;
    }
}

/* 社区选择弹窗样式 */
.community-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(76, 217, 100, 0.3);
    z-index: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(76, 217, 100, 0.2);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 1.5rem;
}

.modal-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1rem;
}

.community-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.community-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(76, 217, 100, 0.05);
    border: 2px solid rgba(76, 217, 100, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.community-option:hover {
    background: rgba(76, 217, 100, 0.1);
    border-color: rgba(76, 217, 100, 0.5);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(76, 217, 100, 0.2);
}

.option-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 217, 100, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.option-content {
    flex: 1;
}

.option-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 600;
}

.option-content p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.option-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.community-option:hover .option-arrow {
    transform: translateX(5px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: none;
    }

    .modal-header {
        padding: 1.25rem;
    }

    .modal-header h3 {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 1.25rem;
    }

    .community-option {
        padding: 1rem;
        gap: 0.75rem;
    }

    .option-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

    .option-content h4 {
        font-size: 1.1rem;
    }

    .option-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }

    .community-option {
        flex-direction: column;
        text-align: center;
    }

    .option-arrow {
        display: none;
    }
}