/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent-color: #ff8503;
    --border-color: #27272a;
    --card-bg: #18181b;
    --success-green: #10b981;
    --hover-bg: #27272a;
    --max-width: 800px;
    --transition: all 0.2s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 20px;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 80px;
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
}

.profile-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.profile-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    color: var(--text-secondary);
    font-size: 16px;
}

.profile-meta .location i {
    margin-right: 6px;
    font-size: 14px;
}

.profile-meta .revenue {
    color: var(--accent-color);
    font-weight: 600;
}

.profile-meta .separator {
    color: var(--text-muted);
}

.profile-bio {
    max-width: 680px;
    margin: 0 auto 32px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.profile-bio p {
    margin-bottom: 16px;
}

.profile-bio p:last-child {
    margin-bottom: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 20px;
    transition: var(--transition);
    padding: 8px;
}

.social-links a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

/* Chart Section */
.chart-section {
    margin-bottom: 80px;
}

.chart-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}

#revenueChart {
    max-height: 300px;
}

.chart-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Projects Section */
.projects-section {
    margin-bottom: 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover {
    border-color: var(--hover-bg);
    transform: translateY(-2px);
}

.project-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.project-icon {
    width: 48px;
    height: 48px;
    background: var(--hover-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-icon i {
    font-size: 20px;
    color: var(--accent-color);
}

.project-info {
    flex: 1;
}

.project-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.project-revenue {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
}

.project-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-link:hover {
    color: var(--accent-color);
}

.project-link i {
    font-size: 12px;
}

.project-status {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 4px;
}

.project-status.active {
    color: var(--success-green);
    background: rgba(16, 185, 129, 0.1);
}

/* Summary Stats */
.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.stat-card i {
    font-size: 24px;
    color: var(--accent-color);
    width: 48px;
    height: 48px;
    background: var(--hover-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0 20px;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }
    
    .profile-name {
        font-size: 28px;
    }
    
    .profile-meta {
        font-size: 14px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 20px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-section,
.chart-section,
.projects-section,
.footer {
    animation: fadeIn 0.6s ease-out;
}

.project-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.15s; }
.project-card:nth-child(3) { animation-delay: 0.2s; }
.project-card:nth-child(4) { animation-delay: 0.25s; }
.project-card:nth-child(5) { animation-delay: 0.3s; }
.project-card:nth-child(6) { animation-delay: 0.35s; }
.project-card:nth-child(7) { animation-delay: 0.4s; }
.project-card:nth-child(8) { animation-delay: 0.45s; }