:root {
    --bg-color: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Desktop Split Layout */
.desktop-layout-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 3.5rem 1.75rem 2.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-split-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 2.75rem;
    align-items: start;
}

@media (max-width: 1023px) {
    .main-split-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
        gap: 2.5rem;
    }
}

/* Left Profile Card */
.profile-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 28px;
    padding: 2.75rem 1.75rem 2.25rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-avatar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
}

.profile-avatar {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-avatar:hover {
    transform: scale(1.05);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #334155;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    position: relative;
}

.status-dot.pulse::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.4);
    animation: statusPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0; transform: scale(2); }
}

.logo-box {
    margin-top: 1.5rem;
    border: 2px solid #0f172a;
    border-radius: 12px;
    padding: 0.65rem 1.75rem;
    background: #ffffff;
    display: inline-block;
    width: 100%;
    max-width: 280px;
}

.logo-box h1 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.tagline {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 0.75rem;
    margin-bottom: 2rem;
}

.profile-links-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-link-item {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.profile-link-item:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.profile-link-item.featured-portfolio-btn {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.profile-link-item.featured-portfolio-btn:hover {
    background: #020617;
    border-color: #020617;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
}

.link-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.explore-badge {
    background: #ffffff;
    color: #0f172a;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.chevron-icon {
    color: #94a3b8;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.profile-link-item:hover .chevron-icon {
    color: #0f172a;
    transform: translateX(2px);
}

/* Right Selected Projects Section */
.projects-section {
    display: flex;
    flex-direction: column;
}

.projects-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.projects-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
}

.projects-count-pill {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.03em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.selected-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
}

@media (max-width: 640px) {
    .selected-projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-showcase-card {
    position: relative;
    height: 235px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #1e293b;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.35rem;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
    border-color: #cbd5e1;
}

.card-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.card-text-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.card-category-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cbd5e1;
    margin-bottom: 0.25rem;
}

.card-project-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.25;
}

/* Footer */
.footer {
    margin-top: 4rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #eef2f6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}

.social-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #0f172a;
}

.copyright {
    font-size: 0.75rem;
    color: #94a3b8;
    letter-spacing: 0.02em;
}
