/* About page styles */
.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-title {
    text-align: center;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    text-align: center;
    color: #888;
    font-size: 18px;
    margin-bottom: 60px;
}

/* Hero section */
.about-hero {
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 32px;
    padding: 48px;
    text-align: center;
    margin-bottom: 48px;
}

.about-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.about-hero-icon svg {
    width: 48px;
    height: 48px;
    color: #a855f7;
}

.about-hero h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
}

.about-hero p {
    font-size: 16px;
    color: #aaa;
    line-height: 1.6;
}

/* Stats section */
.about-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: #c084fc;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Content sections */
.about-section {
    margin-bottom: 48px;
}

.about-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-section h3 svg {
    width: 28px;
    height: 28px;
    color: #a855f7;
}

.about-section p {
    font-size: 16px;
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-section ul {
    list-style: none;
    padding: 0;
}

.about-section li {
    font-size: 16px;
    color: #aaa;
    line-height: 1.7;
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}

.about-section li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #a855f7;
}

/* Legal buttons */
.legal-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(168, 85, 247, 0.15);
}

.legal-btn {
    flex: 1;
    min-width: 200px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c084fc;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.legal-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.2);
}

/* Legal modal */
.legal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.legal-modal-overlay.active {
    display: flex;
}

.legal-modal {
    background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 32px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: modalIn 0.3s ease;
}

.legal-modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-modal-header h2 {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #a855f7, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-modal-close {
    background: none;
    border: none;
    color: #666;
    font-size: 32px;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.legal-modal-close:hover {
    color: #a855f7;
}

.legal-modal-content {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
}

.legal-modal-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #c084fc;
    margin: 20px 0 12px 0;
}

.legal-modal-content h3:first-child {
    margin-top: 0;
}

.legal-modal-content p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 12px;
}

.legal-modal-content ul {
    margin: 12px 0 12px 20px;
    color: #aaa;
    line-height: 1.6;
}

.legal-modal-content li {
    margin-bottom: 8px;
}

.legal-footer {
    padding: 20px 32px;
    border-top: 1px solid rgba(168, 85, 247, 0.15);
    text-align: right;
}

.legal-footer button {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .about-hero {
        padding: 32px;
    }
    
    .about-title {
        font-size: 32px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .legal-buttons {
        flex-direction: column;
    }
    
    .legal-btn {
        width: 100%;
    }
}

/* Custom scrollbar for legal modal */
.legal-modal-content::-webkit-scrollbar {
    width: 6px;
}

.legal-modal-content::-webkit-scrollbar-track {
    background: rgba(168, 85, 247, 0.05);
    border-radius: 10px;
}

.legal-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #a855f7, #c084fc);
    border-radius: 10px;
}

.legal-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c084fc, #a855f7);
}

/* Firefox */
.legal-modal-content {
    scrollbar-width: thin;
    scrollbar-color: #a855f7 rgba(168, 85, 247, 0.05);
}