* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e9ecef;
    background: #1a202c; /* Dark blue-gray background */
    min-height: 100vh;
}

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

header {
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
    background: #2d3748; /* Slightly lighter than the background */
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    color: #a0aec0;
}

.search-container {
    margin-bottom: 30px;
    text-align: center;
}

#searchInput {
    width: 100%;
    max-width: 500px;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: 2px solid #4a5568;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    outline: none;
    transition: all 0.3s ease;
    background: #2d3748;
    color: #ffffff;
}

#searchInput:focus {
    border-color: #4299e1;
    box-shadow: 0 4px 20px rgba(66, 153, 225, 0.3);
}

#searchInput::placeholder {
    color: #a0aec0;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: #2d3748;
    color: #e2e8f0;
    border: 2px solid #4a5568;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.filter-btn:hover, .filter-btn.active {
    background: #4299e1;
    color: white;
    border-color: #4299e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
}

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

.investor-card {
    background: #2d3748;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #4a5568;
}

.investor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.investor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4299e1, #2b6cb0);
}

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

.investor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4299e1, #2b6cb0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin-right: 20px;
}

.investor-info h2 {
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.investor-role {
    color: #a0aec0;
    font-weight: 500;
}

.investor-details {
    margin-bottom: 20px;
}

.detail-section {
    margin-bottom: 15px;
}

.detail-section h3 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.detail-section h3::before {
    content: '▶';
    color: #4299e1;
    margin-right: 8px;
    font-size: 0.8rem;
}

.detail-section p, .detail-section ul {
    color: #cbd5e0;
    font-size: 0.95rem;
}

.detail-section ul {
    list-style: none;
    padding-left: 15px;
}

.detail-section li {
    margin-bottom: 5px;
    position: relative;
}

.detail-section li::before {
    content: '•';
    color: #4299e1;
    position: absolute;
    left: -15px;
}

.tweets-section {
    background: #1a202c;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #4a5568;
}

.tweets-section h3 {
    color: #ffffff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.tweets-section h3::before {
    content: '🐦';
    margin-right: 10px;
}

.tweet {
    background: #2d3748;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid #1da1f2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 1px solid #4a5568;
}

.tweet:last-child {
    margin-bottom: 0;
}

.tweet-text {
    color: #e2e8f0;
    margin-bottom: 8px;
    font-style: italic;
}

.tweet-meta {
    color: #a0aec0;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.linkedin { background: #0077b5; }
.twitter { background: #1da1f2; }
.website { background: #4a5568; }

.stats-section {
    background: #2d3748;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid #4a5568;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    background: #1a202c;
    border-radius: 15px;
    padding: 20px;
    border: 1px solid #4a5568;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #4299e1;
}

.stat-label {
    color: #a0aec0;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .investors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .investor-card {
        padding: 20px;
    }
    
    .filters {
        flex-direction: column;
        align-items: center;
    }
}

.loading {
    text-align: center;
    color: #ffffff;
    font-size: 1.2rem;
    margin: 50px 0;
}

.no-results {
    text-align: center;
    color: #a0aec0;
    font-size: 1.1rem;
    margin: 50px 0;
    opacity: 0.8;
}

footer {
    text-align: center;
    color: #a0aec0;
    margin-top: 50px;
    padding: 20px;
    opacity: 0.8;
    background: #2d3748;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}